aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-08 16:00:36 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-08 16:00:36 +0000
commitd091c86854edde8d560597956f592fe390e6cb16 (patch)
tree2c84fc5e79ab2a790388b709d620944da22029e2
parent19a39c785fd4a0e5ebf8af12aff43c08f8d92184 (diff)
parent8703a3bf83f05149602c8aaed691a7be51a72816 (diff)
downloadgflags-android12-mainline-tzdata2-release.tar.gz
Change-Id: Ia16da2151b654b40ff980f9d5c8c864c66a2d79a
-rw-r--r--Android.bp32
-rw-r--r--METADATA1
-rw-r--r--NOTICE28
3 files changed, 28 insertions, 33 deletions
diff --git a/Android.bp b/Android.bp
index 9ac1f35..7bf43dc 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,34 +1,8 @@
-package {
- default_applicable_licenses: ["external_gflags_license"],
-}
-
-// Added automatically by a large-scale-change
-//
-// large-scale-change included anything that looked like it might be a license
-// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
-//
-// Please consider removing redundant or irrelevant files from 'license_text:'.
-// See: http://go/android-license-faq
-license {
- name: "external_gflags_license",
- visibility: [":__subpackages__"],
- license_kinds: [
- "SPDX-license-identifier-BSD",
- ],
- license_text: [
- "COPYING.txt",
- "LICENSE",
- ],
-}
-
cc_library {
name: "libgflags",
host_supported: true,
vendor_available: true,
- product_available: true,
recovery_available: true,
- ramdisk_available: true,
- vendor_ramdisk_available: true,
srcs: [
"src/gflags.cc",
"src/gflags_completions.cc",
@@ -47,10 +21,4 @@ cc_library {
export_include_dirs: [
"android",
],
- static: {
- apex_available: [
- "com.android.gki.*",
- "com.android.virt",
- ],
- },
}
diff --git a/METADATA b/METADATA
index 0e91755..37eaaf0 100644
--- a/METADATA
+++ b/METADATA
@@ -10,7 +10,6 @@ third_party {
value: "https://github.com/gflags/gflags.git"
}
version: "v2.2.2"
- license_type: NOTICE
last_upgrade_date {
year: 2019
month: 2
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..d15b0c2
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,28 @@
+Copyright (c) 2006, Google Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.