summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2024-02-13 09:48:35 -0800
committerJesse Hall <jessehall@google.com>2024-02-23 14:03:16 -0800
commit99e91386fca4ee44ab604259f59f269a0917fb71 (patch)
tree60d9bd7b95e1ba255be159a786a6b6b57bb68ba4
parent7b4bc16a785775a73653036034bdb33e669393c7 (diff)
downloadbuild-tools-99e91386fca4ee44ab604259f59f269a0917fb71.tar.gz
Add make prebuilt_build_tool
Although make shouldn't be used to describe or execute any part of the build graph, some external projects generate code such as configuration headers using logic embedded in the Makefile, essentially using make as a scripting language. Test: local test with proof-of-concept make-based configuration genrule Bug: 325067608 Change-Id: I1a6396a8e026a7c4f17f12ae2caad932aa54e325
-rw-r--r--Android.bp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 31990b29..592b0e01 100644
--- a/Android.bp
+++ b/Android.bp
@@ -137,6 +137,25 @@ prebuilt_build_tool {
},
}
+prebuilt_build_tool {
+ name: "make",
+ enabled: false,
+ arch: {
+ x86_64: {
+ enabled: true,
+ },
+ },
+ target: {
+ darwin: {
+ src: "darwin-x86/bin/make",
+ },
+ linux: {
+ src: "linux-x86/bin/make",
+ },
+ },
+ visibility: ["//vendor:__subpackages__"],
+}
+
///
// cpython3 host prebuilts
///