aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2017-02-04 17:47:46 -0800
committerNan Zhang <nanzhang@google.com>2017-02-06 22:23:19 -0800
commit6d34b308ff8c87425163c3dbc864aa388f18d468 (patch)
treef235ede9d0d67e942fa57b1f377c762bcb5ba103 /Android.bp
parentae853ae0c018400070e73464e7a952acf556c68e (diff)
downloadbuild_soong-6d34b308ff8c87425163c3dbc864aa388f18d468.tar.gz
build_soong-6d34b308ff8c87425163c3dbc864aa388f18d468.tar.bz2
build_soong-6d34b308ff8c87425163c3dbc864aa388f18d468.zip
Added phony module type for soong.
The "required" field within "phony" module in .bp file has to be non-empty. And "phony" module doesn't contain any "src" files. Bug: b/32981153 Test: make -j out/soong/build.ninja Change-Id: Iaa2009467c44702572b97ca9cbd02c1d368c8d83
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp13
1 files changed, 13 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ec3cabb3..5e00a523 100644
--- a/Android.bp
+++ b/Android.bp
@@ -168,6 +168,19 @@ bootstrap_go_package {
}
bootstrap_go_package {
+ name: "soong-phony",
+ pkgPath: "android/soong/phony",
+ deps: [
+ "blueprint",
+ "soong-android",
+ ],
+ srcs: [
+ "phony/phony.go",
+ ],
+ pluginFor: ["soong_build"],
+}
+
+bootstrap_go_package {
name: "soong-java",
pkgPath: "android/soong/java",
deps: [