Merge "Move hardware/libhardware/include from -isystem to -I"
diff --git a/cc/config/x86_darwin_host.go b/cc/config/x86_darwin_host.go
index 1a4972e..09418c7 100644
--- a/cc/config/x86_darwin_host.go
+++ b/cc/config/x86_darwin_host.go
@@ -91,14 +91,19 @@
"10.11",
}
- darwinAvailableLibraries = append(addPrefix([]string{
- "c",
- "dl",
- "m",
- "ncurses",
- "pthread",
- "z",
- }, "-l"), "-framework CoreFoundation")
+ darwinAvailableLibraries = append(
+ addPrefix([]string{
+ "c",
+ "dl",
+ "m",
+ "ncurses",
+ "objc",
+ "pthread",
+ "z",
+ }, "-l"),
+ "-framework CoreFoundation",
+ "-framework IOKit",
+ )
)
const (
diff --git a/root.bp b/root.bp
index 95f089b..d82e09d 100644
--- a/root.bp
+++ b/root.bp
@@ -15,6 +15,8 @@
"frameworks/av",
"frameworks/base",
"frameworks/native",
+ "frameworks/rs",
+ "frameworks/wilhelm",
"hardware/*",
"libcore",
"libnativehelper",