aboutsummaryrefslogtreecommitdiffstats
path: root/build.ninja.in
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-03-17 13:24:18 -0700
committerColin Cross <ccross@android.com>2015-03-17 13:24:18 -0700
commit9454bfafcb0e4394acc83914414815939c391db3 (patch)
tree1bda5ffddb021c5063fc424401a96c9d27765442 /build.ninja.in
parent3075ad07e4cb8bdc3074afbb364ca2b0bb296cd6 (diff)
downloadbuild_soong-9454bfafcb0e4394acc83914414815939c391db3.tar.gz
build_soong-9454bfafcb0e4394acc83914414815939c391db3.tar.bz2
build_soong-9454bfafcb0e4394acc83914414815939c391db3.zip
Add support for checkbuild target
Modules can choose to add "installed files", which are files that a product can depend on to cause the module to build, and "checkbuild files", which will only be built if another module that needs to build depends on them. For every target, add a module-install and a module-checkbuild target that create dependencies on those files, and then add a global checkbuild target that depends on all the module-checkbuild targets. Also add a module target for each module that depends on module-install and module-checkbuild. Change-Id: I801389ad6ab9806b71d92cd327a0f9cb7582e0df
Diffstat (limited to 'build.ninja.in')
-rw-r--r--build.ninja.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/build.ninja.in b/build.ninja.in
index b3447c74..016e6252 100644
--- a/build.ninja.in
+++ b/build.ninja.in
@@ -53,7 +53,7 @@ rule g.bootstrap.link
# Variant:
# Type: bootstrap_go_binary
# Factory: blueprint/bootstrap.newGoBinaryModule
-# Defined: build/soong/Blueprints:106:1
+# Defined: build/soong/Blueprints:107:1
build .bootstrap/androidmk/obj/androidmk.a: g.bootstrap.gc $
${g.bootstrap.srcDir}/build/soong/androidmk/cmd/androidmk/android.go $
@@ -79,7 +79,7 @@ default .bootstrap/bin/androidmk
# Variant:
# Type: bootstrap_go_package
# Factory: blueprint/bootstrap.newGoPackageModule
-# Defined: build/soong/Blueprints:119:1
+# Defined: build/soong/Blueprints:120:1
build .bootstrap/androidmk-parser/pkg/android/soong/androidmk/parser.a: $
g.bootstrap.gc $
@@ -274,7 +274,7 @@ default .bootstrap/bin/minibp
# Variant:
# Type: bootstrap_go_package
# Factory: blueprint/bootstrap.newGoPackageModule
-# Defined: build/soong/Blueprints:79:1
+# Defined: build/soong/Blueprints:80:1
build .bootstrap/soong-cc/pkg/android/soong/cc.a: g.bootstrap.gc $
${g.bootstrap.srcDir}/build/soong/cc/builder.go $
@@ -308,6 +308,7 @@ default .bootstrap/soong-cc/pkg/android/soong/cc.a
build .bootstrap/soong-common/pkg/android/soong/common.a: g.bootstrap.gc $
${g.bootstrap.srcDir}/build/soong/common/arch.go $
+ ${g.bootstrap.srcDir}/build/soong/common/checkbuild.go $
${g.bootstrap.srcDir}/build/soong/common/defs.go $
${g.bootstrap.srcDir}/build/soong/common/glob.go $
${g.bootstrap.srcDir}/build/soong/common/module.go $
@@ -329,7 +330,7 @@ default .bootstrap/soong-common/pkg/android/soong/common.a
# Variant:
# Type: bootstrap_go_package
# Factory: blueprint/bootstrap.newGoPackageModule
-# Defined: build/soong/Blueprints:66:1
+# Defined: build/soong/Blueprints:67:1
build .bootstrap/soong-config/pkg/android/soong/config.a: g.bootstrap.gc $
${g.bootstrap.srcDir}/build/soong/config/config.go | $