aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-03-18 17:20:28 -0700
committerColin Cross <ccross@google.com>2015-03-21 00:40:20 +0000
commit62ec5f4eb32751c35cd0ea5852e73e0c4aa0a477 (patch)
treeb4962acea2c0b2d110f730eb46ca55632a4d6eb2
parent3f0c9ede6ddd1da33ed0072646a07f36628f2d3e (diff)
downloadbuild_soong-62ec5f4eb32751c35cd0ea5852e73e0c4aa0a477.tar.gz
build_soong-62ec5f4eb32751c35cd0ea5852e73e0c4aa0a477.tar.bz2
build_soong-62ec5f4eb32751c35cd0ea5852e73e0c4aa0a477.zip
Updates for building art
Add art and libnativehelper to the root Blueprints file, and add a warning used by art to the clang unknown flags list. Change-Id: If282413103fa20fa66422e4330fbabff61b66144
-rw-r--r--cc/clang.go1
-rw-r--r--root.bp2
2 files changed, 3 insertions, 0 deletions
diff --git a/cc/clang.go b/cc/clang.go
index 6b25d4fa..f3ced687 100644
--- a/cc/clang.go
+++ b/cc/clang.go
@@ -23,6 +23,7 @@ var clangUnknownCflags = []string{
"-Wno-unused-but-set-variable",
"-Wno-unused-but-set-parameter",
"-Wno-unused-local-typedefs",
+ "-Wunused-but-set-parameter",
// arm + arm64 + mips + mips64
"-fgcse-after-reload",
diff --git a/root.bp b/root.bp
index 2dd14d4a..247c96c7 100644
--- a/root.bp
+++ b/root.bp
@@ -1,7 +1,9 @@
subdirs = [
+ "art",
"build/blueprint",
"build/soong",
"bionic/*",
"external/*",
+ "libnativehelper",
"system/core/*",
]