Reland "Export prebuilt tools to Make"
Test: check out/soong/make_vars-aosp_arm.mk
Test: rm -rf out; m product_mac_permissions.xml
Test: use codesearch to look for other problems with BISON/LEX/M4
Change-Id: I16ab5c2f62107be59dbfb046a76f2418c2db9b0e
diff --git a/Android.bp b/Android.bp
index ee4089c..910290a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11,6 +11,7 @@
prebuilt_build_tool {
name: "bison",
deps: ["common/bison/**/*"],
+ export_to_make_var: "BISON",
target: {
darwin: {
src: "darwin-x86/bin/bison",
@@ -25,6 +26,7 @@
prebuilt_build_tool {
name: "flex",
+ export_to_make_var: "LEX",
target: {
darwin: {
src: "darwin-x86/bin/flex",
@@ -37,6 +39,7 @@
prebuilt_build_tool {
name: "m4",
+ export_to_make_var: "M4",
target: {
darwin: {
src: "darwin-x86/bin/m4",