From 62ec5f4eb32751c35cd0ea5852e73e0c4aa0a477 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 18 Mar 2015 17:20:28 -0700 Subject: [PATCH] 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 --- cc/clang.go | 1 + root.bp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cc/clang.go b/cc/clang.go index 6b25d4fac..f3ced687c 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 2dd14d4ae..247c96c75 100644 --- a/root.bp +++ b/root.bp @@ -1,7 +1,9 @@ subdirs = [ + "art", "build/blueprint", "build/soong", "bionic/*", "external/*", + "libnativehelper", "system/core/*", ]