summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2016-11-07 20:28:25 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-11-07 20:28:26 +0000
commitd834009ee15800ec64a3dbbf7160f44023a0af03 (patch)
tree02ac58fd2b6f0ff4ff17b2adbb6e33b722d8ba4a /compiler
parent8ef4642ef27a0acf8dce07b174adea3e7f997846 (diff)
parentf657ed0472ea64e12a6d5aa7c98967c8abcf361b (diff)
Merge "Support genrules with multiple tools"
Diffstat (limited to 'compiler')
-rw-r--r--compiler/Android.bp3
l---------compiler/generate-operator-out.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/compiler/Android.bp b/compiler/Android.bp
index b2ed074fa7..f1bf27ece7 100644
--- a/compiler/Android.bp
+++ b/compiler/Android.bp
@@ -204,7 +204,8 @@ art_cc_defaults {
gensrcs {
name: "art_compiler_operator_srcs",
- cmd: "art/tools/generate-operator-out.py art/compiler $in > $out",
+ cmd: "$(location generate-operator-out.py) art/compiler $(in) > $(out)",
+ tool_files: ["generate-operator-out.py"],
srcs: [
"compiled_method.h",
"dex/dex_to_dex_compiler.h",
diff --git a/compiler/generate-operator-out.py b/compiler/generate-operator-out.py
new file mode 120000
index 0000000000..cc291d20c1
--- /dev/null
+++ b/compiler/generate-operator-out.py
@@ -0,0 +1 @@
+../tools/generate-operator-out.py \ No newline at end of file