aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen2016-01-13 01:20:28 -0600
committerDan Willemsen2016-05-12 15:36:55 -0500
commit4b7d5deb843a46aa34f337af852da940556cbd32 (patch)
tree16978ae4ff3bd8f5fe0e5f66c8d5e8617f00b4bb /Android.bp
parent174978cc5834844517fc58f396561f2b24f3a169 (diff)
downloadplatform-build-soong-4b7d5deb843a46aa34f337af852da940556cbd32.tar.gz
platform-build-soong-4b7d5deb843a46aa34f337af852da940556cbd32.tar.xz
platform-build-soong-4b7d5deb843a46aa34f337af852da940556cbd32.zip
Publish Soong configuration to Make variables
For configuration like TARGET_GLOBAL_CFLAGS, it would be good to have Make and Soong use the same values. This change adds an interface for packages like cc to verify the current value of make variables match the Soong equivalents, and once they're satisfied with the results, remove the make definition and use the value from Soong. The cc implementation exports a few variables currently that I expect to match between both implementations in all cases. It also checks {CLANG,}{HOST,TARGET}_GLOBAL_{C,LD}FLAGS, which should be mostly similar between make and soong now. Bug: 23566674 Change-Id: Idc8582ef31ace11a8baefcf525c3683f08a573aa
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 831b703f..c1d664f4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -96,6 +96,7 @@ bootstrap_go_package {
96 "common/defs.go", 96 "common/defs.go",
97 "common/env.go", 97 "common/env.go",
98 "common/glob.go", 98 "common/glob.go",
99 "common/makevars.go",
99 "common/module.go", 100 "common/module.go",
100 "common/mutator.go", 101 "common/mutator.go",
101 "common/package_ctx.go", 102 "common/package_ctx.go",
@@ -124,6 +125,7 @@ bootstrap_go_package {
124 "cc/cc.go", 125 "cc/cc.go",
125 "cc/clang.go", 126 "cc/clang.go",
126 "cc/gen.go", 127 "cc/gen.go",
128 "cc/makevars.go",
127 "cc/sanitize.go", 129 "cc/sanitize.go",
128 "cc/stl.go", 130 "cc/stl.go",
129 "cc/toolchain.go", 131 "cc/toolchain.go",