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/standalone/BUILD.gn b/gn/standalone/BUILD.gn
index 387e258..a132a3b 100644
--- a/gn/standalone/BUILD.gn
+++ b/gn/standalone/BUILD.gn
@@ -12,6 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+import("//gn/perfetto_check_build_deps.gni")
 import("//gn/standalone/android.gni")
 import("//gn/standalone/sanitizers/sanitizers.gni")
 import("//gn/standalone/wasm.gni")
@@ -286,3 +287,12 @@
   outputs = [ generated_header ]
   public_configs = [ ":gen_include_path" ]
 }
+
+# Checks that tools/install-build-deps has been run since it last changed.
+perfetto_check_build_deps("check_build_deps") {
+  args = []
+}
+
+perfetto_check_build_deps("check_build_deps_android") {
+  args = [ "--android" ]
+}