diff options
author | Dan Willemsen <dwillemsen@google.com> | 2020-07-17 20:11:06 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2020-08-06 16:16:09 -0700 |
commit | 90a4022e091f39d3534a30bbb9d02986f2f5ad9b (patch) | |
tree | 9ecd1042be4d3f980b75154072bfc88736a6800a | |
parent | 4f66ca349520a6a7f69fadbbcf97aa678bf57658 (diff) | |
download | flex-emu-33-dev.tar.gz |
Reland "Fix dependency loop with flex"HEADmastermainemu-35-1-releaseemu-34-releaseemu-34-3-releaseemu-34-2-releaseemu-34-2-devemu-33-releaseemu-33-devemu-32-releaseemu-32-devemu-31-stable-releaseemu-31-releaseemu-30-release
I'm adding a prebuilt_build_tool module for flex so that it can be used
by genrules. But since flex uses flex during it's own build, and
prebuilt_build_tool can't handle the loop, explicitly change the name to
"flex_bin", and use stem so that the final binary is still called flex.
Bug: 128690776
Test: treehugger
Change-Id: I6a818cbd297f951552d2890374787eb40c074463
-rw-r--r-- | src/Android.bp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Android.bp b/src/Android.bp index e3b3132..d916fb0 100644 --- a/src/Android.bp +++ b/src/Android.bp @@ -1,5 +1,9 @@ cc_binary_host { - name: "flex", + // Not named "flex" because we need the flex module to build scan.l below, + // and we don't support dependency loops. The stem renames this back to + // 'flex' in the installed path + name: "flex_bin", + stem: "flex", stl: "none", srcs: [ |