-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unnecessary java file extracted when compile AOSP with codeql #84
Comments
Hi. I don't believe any of the log messages above are error messages, but merely an indication that the relevant (generated) |
@thor509 I believe your assessment is correct. Although we are aware of the problem, we haven't yet solved it on the CodeQL side. Would it be possible to change your build command so that it doesn't generate the stub files? Then CodeQL will only see the 'correct' |
@adityasharad Currently I have not found a way to solve this problem by changing build command. Is there any way to specify |
Hey @thor509, we recently introduced a new extractor option in the CodeQL CLI that you might find useful for this use case. By using Example:
|
Hi
I'm trying to run CodeQL on AOSP with this command:
codeql database create new-database --working-dir=./ --source-root=./ --language=java --command='make services'
many unnecessary java files were extracted by codeql in output/soong/.intermediates, some javac-extractor logs are as following:
My question is how can I exclude these unnecessary java files while compile AOSP?
The text was updated successfully, but these errors were encountered: