diff options
Diffstat (limited to 'libs/ui')
-rw-r--r-- | libs/ui/Android.bp | 17 | ||||
-rw-r--r-- | libs/ui/tests/Android.bp | 9 | ||||
-rw-r--r-- | libs/ui/tools/Android.bp | 9 |
3 files changed, 35 insertions, 0 deletions
diff --git a/libs/ui/Android.bp b/libs/ui/Android.bp index 00940ac90b..07760ab765 100644 --- a/libs/ui/Android.bp +++ b/libs/ui/Android.bp @@ -12,6 +12,23 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + default_applicable_licenses: ["frameworks_native_libs_ui_license"], +} + +// Added automatically by a large-scale-change +// See: http://go/android-license-faq +license { + name: "frameworks_native_libs_ui_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + ], + license_text: [ + "NOTICE", + ], +} + cc_library_shared { name: "libui", vendor_available: true, diff --git a/libs/ui/tests/Android.bp b/libs/ui/tests/Android.bp index b53342cb79..bc53346274 100644 --- a/libs/ui/tests/Android.bp +++ b/libs/ui/tests/Android.bp @@ -14,6 +14,15 @@ // limitations under the License. // +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_libs_ui_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_libs_ui_license"], +} + cc_test { name: "Region_test", shared_libs: ["libui"], diff --git a/libs/ui/tools/Android.bp b/libs/ui/tools/Android.bp index fb46c2b20c..c28c303c0c 100644 --- a/libs/ui/tools/Android.bp +++ b/libs/ui/tools/Android.bp @@ -14,6 +14,15 @@ // limitations under the License. // +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_libs_ui_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_libs_ui_license"], +} + cc_defaults { name: "libui_tools_default", clang_cflags: [ |