change C/C++ compiler flags in the build configuration files like .json
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/4f428018-1cd4-4e6f-9897-d29cfe821479n%40googlegroups.com.
Thanks Dan for the response. Yes we are using a custom json file to maintain compiler flags and this json file is parsed in build/soong/cc/config/global.go file.
I tried adding a Android.bp file to create a module with json file as src file and added this module as dependency in Android.bp file in folder containing global.go file.
This did not work , I got “depends on undefined module test-json” error message in the build.
Is there anyway to add json file as dependency to the go modules?
Also I think that go files are executed only in the clean build not in incremental build. Is it possible to retrigger go files execution in Incremental build to regenerate the build config( not sure if re running the go files will affect the source file changes timestamps and hashes needed for Incremental build to work).
Thanks,
Vijay
Also I think that go files are executed only in the clean build not in incremental build. Is it possible to retrigger go files execution in Incremental build to regenerate the build config( not sure if re running the go files will affect the source file changes timestamps and hashes needed for Incremental build to work).
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/2ff3466d-8b71-4323-87d3-733fd29d5959n%40googlegroups.com.