diff options
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 28 |
1 files changed, 22 insertions, 6 deletions
@@ -14,12 +14,28 @@ // limitations under the License. // -cc_prebuilt_binary { - name: "shflags", - device_supported: false, - host_supported: true, +package { + default_applicable_licenses: ["external_shflags_license"], +} - srcs: ["src/shflags"], +// Added automatically by a large-scale-change +// +// large-scale-change filtered out the below license kinds as false-positives: +// SPDX-license-identifier-LGPL +// See: http://go/android-license-faq +license { + name: "external_shflags_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + ], + license_text: [ + "LICENSE", + ], +} - relative_install_path: "lib/shflags", +sh_binary_host { + name: "shflags", + src: "shflags", + sub_dir: "lib/shflags", } |