How to create a #define across the complete project

43 views
Skip to first unread message

Dave McLaughlin

unread,
Mar 1, 2020, 9:49:50 PM3/1/20
to android-porting
I have 2 builds that have different settings. Most of the settings can be handled in the device/yourplatform folder but I also want to make changes to the AOSP source and compile the code based on this define.

Is it possible to set a define in one of the .mk files and somehow use this to across the project and have compile time code selection?

Hope that makes sense?

Reply all
Reply to author
Forward
0 new messages