aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYo Chiang <yochiang@google.com>2020-09-02 16:36:26 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-09-02 16:36:26 +0000
commit761f7ed19bb0b30c0ea777ff385475fbe491c37a (patch)
tree873f7de7ac4d02909173881db1323091e3c0d33d
parent461f9fe047821d4f286fd062b0cb50c368766c94 (diff)
parent220147e990126578ca45a983e91221094c6d0ca4 (diff)
downloadone-true-awk-761f7ed19bb0b30c0ea777ff385475fbe491c37a.tar.gz
Add --no-lines option to genrule bison command am: 936cb7ac18 am: 1549908f98 am: 220147e990
Original change: https://android-review.googlesource.com/c/platform/external/one-true-awk/+/1411747 Change-Id: Icb8030ce2969fb9f7dbc783d13b6ef8fbd377a88
-rw-r--r--Android.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 1fd1ac5..8c06110 100644
--- a/Android.bp
+++ b/Android.bp
@@ -27,7 +27,7 @@ cc_defaults {
genrule {
name: "awkgram.tab.c",
- cmd: "M4=$(location m4) $(location bison) -y --output=$(genDir)/awkgram.tab.c $(in)",
+ cmd: "M4=$(location m4) $(location bison) -y --no-lines --output=$(genDir)/awkgram.tab.c $(in)",
out: ["awkgram.tab.c"],
srcs: ["awkgram.y"],
tools: [
@@ -38,7 +38,7 @@ genrule {
genrule {
name: "awkgram.tab.h",
- cmd: "M4=$(location m4) $(location bison) -y --defines=$(genDir)/awkgram.tab.h --output=$(genDir)/awkgram.tab.c $(in)",
+ cmd: "M4=$(location m4) $(location bison) -y --no-lines --defines=$(genDir)/awkgram.tab.h --output=$(genDir)/awkgram.tab.c $(in)",
out: ["awkgram.tab.h"],
srcs: ["awkgram.y"],
tools: [