Add install-build-deps check at build time
This forces ninja to check that install-build-deps is
current.
Also this changes the default behaviour of install-build-deps
to be "no-android", and flips the switch to be --android
(i.e. opt-in instead of opt-out)
Change-Id: I58ba39f32fc43c4f8d09716af797ac3e2da8e751
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index b00f447..1571a0d 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -106,9 +106,13 @@
deps = [ ":gen_buildflags" ]
if (perfetto_build_standalone) {
public_deps = [
+ "//gn/standalone:check_build_deps",
"//gn/standalone/libc++:deps",
"//gn/standalone/sanitizers:deps",
]
+ if (is_android) {
+ public_deps += [ "//gn/standalone:check_build_deps_android" ]
+ }
}
}