aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorJeff Gaston <jeffrygaston@google.com>2017-03-29 17:29:06 -0700
committerJeff Gaston <jeffrygaston@google.com>2017-06-09 17:57:18 +0000
commitefc1b412f199bbbe2474d4c5396dc4b39a6beff7 (patch)
treec324ef0de2b4a59c76b5c78637852f567be0038b /Android.bp
parent6b78fa8c012d3e84684d458f3271e91f0312423f (diff)
downloadbuild_soong-efc1b412f199bbbe2474d4c5396dc4b39a6beff7.tar.gz
build_soong-efc1b412f199bbbe2474d4c5396dc4b39a6beff7.tar.bz2
build_soong-efc1b412f199bbbe2474d4c5396dc4b39a6beff7.zip
Have Soong try to enforce that genrules declare all their outputs.
This causes Soong to put the outputs of each genrule into a temporary location and copy the declared outputs back to the output directory. This gets the process closer to having an actual sandbox. Bug: 35562758 Test: make Change-Id: I8048fbf1a3899a86fb99d71b60669b6633b07b3e
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp21
1 files changed, 9 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp
index 9f508d57..a0292655 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,15 +1,3 @@
-//
-// WARNING: Modifying this file will NOT automatically regenerate build.ninja.in!
-//
-// Before modifying this file make sure minibp is up to date:
-// 1) "repo sync build/soong" to make sure you have the latest build.ninja.in
-// 2) build minibp, which builds automicatically through the normal build steps. For example:
-//
-// After modifying this file regenerate build.ninja.in and build your changes:
-// 1) In your build directory, execute "../bootstrap.bash -r" to regenerate build.ninja.in
-// 2) Build again
-//
-
subdirs = [
"androidmk",
"cmd/*",
@@ -168,6 +156,7 @@ bootstrap_go_package {
"blueprint-pathtools",
"soong",
"soong-android",
+ "soong-shared",
],
srcs: [
"genrule/filegroup.go",
@@ -233,6 +222,14 @@ bootstrap_go_package {
pluginFor: ["soong_build"],
}
+bootstrap_go_package {
+ name: "soong-shared",
+ pkgPath: "android/soong/shared",
+ srcs: [
+ "shared/paths.go",
+ ],
+}
+
//
// Defaults to enable various configurations of host bionic
//