Skip to content
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

Write output of --file-list to file in $BuildDir instead of stdout #130

Closed
flxo opened this issue Jan 5, 2017 · 2 comments
Closed

Write output of --file-list to file in $BuildDir instead of stdout #130

flxo opened this issue Jan 5, 2017 · 2 comments

Comments

@flxo
Copy link
Member

flxo commented Jan 5, 2017

The format of the --file-list output is quite nasty to handle because of two things:

  • The HEADER and FILE prefixes are kind of a useless obstacle.
  • The output is mixed with other bake output like this Building .... lines.

See a (stripped) example here:

...
HEADER: prebuilts/clang/linux-x86_64/arm-linux-androideabi-4.9/sysroot/usr/include/sys/types.h
HEADER: prebuilts/clang/linux-x86_64/arm-linux-androideabi-4.9/sysroot/usr/include/sys/ucontext.h
HEADER: prebuilts/clang/linux-x86_64/arm-linux-androideabi-4.9/sysroot/usr/include/sys/user.h
HEADER: prebuilts/clang/linux-x86_64/arm-linux-androideabi-4.9/sysroot/usr/include/unistd.h
**** Building 3 of 7: Mindroid.cpp (default) ****
FILE: src/mindroid/app/ContextImpl.cpp
FILE: src/mindroid/app/IOnSharedPreferenceChangeListener.cpp
FILE: src/mindroid/app/Service.cpp
FILE: src/mindroid/app/SharedPreferencesImpl.cpp
...

To make the feature more easy to use (without some grep etc processing) the output could be written to the $BuildDir. If the information about the type of a file is really needed the output could be formatted in json (like --incs-and-defs) to be more consistent.

@aschaal
Copy link
Contributor

aschaal commented Jan 9, 2017

Ok, I will write a file, makes more sense.

@flxo
Copy link
Member Author

flxo commented Jan 16, 2017

Solved with v2.29.2

@flxo flxo closed this as completed Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants