diff options
author | Martin Stjernholm <mast@google.com> | 2020-10-02 22:38:36 +0100 |
---|---|---|
committer | Martin Stjernholm <mast@google.com> | 2020-10-07 16:19:26 +0100 |
commit | 922f738474aeb225abf31892f5651c4814a8ed65 (patch) | |
tree | 4450142c68b092fb12b82ab64d58fd23b5529481 | |
parent | 7ef808bcfab8caf6982638109313922bd01ebabe (diff) | |
download | shflags-922f738474aeb225abf31892f5651c4814a8ed65.tar.gz |
Use sh_binary_host for the shflags shell script.
It's more appropriate (cc_prebuilt_binary will now symlink the file in
the source directory and require it to be executable).
Test: rm -rf out/host/ out/soong/host && m shflags
Check that out/host/linux-x86/bin/lib/shflags/shflags still is
created.
Test: m
Change-Id: I9a0100261c90e6bce1723a69d73f5719d4296a43
-rw-r--r-- | Android.bp | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -14,12 +14,8 @@ // limitations under the License. // -cc_prebuilt_binary { +sh_binary_host { name: "shflags", - device_supported: false, - host_supported: true, - - srcs: ["shflags"], - - relative_install_path: "lib/shflags", + src: "shflags", + sub_dir: "lib/shflags", } |