diff options
Diffstat (limited to 'libs/ui/tests/Android.bp')
-rw-r--r-- | libs/ui/tests/Android.bp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libs/ui/tests/Android.bp b/libs/ui/tests/Android.bp index b53342cb79..516aad824e 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"], @@ -29,6 +38,20 @@ cc_test { } cc_test { + name: "DisplayId_test", + shared_libs: ["libui"], + srcs: ["DisplayId_test.cpp"], + cflags: ["-Wall", "-Werror"], +} + +cc_test { + name: "FlattenableHelpers_test", + shared_libs: ["libui"], + srcs: ["FlattenableHelpers_test.cpp"], + cflags: ["-Wall", "-Werror"], +} + +cc_test { name: "GraphicBufferAllocator_test", header_libs: [ "libnativewindow_headers", @@ -78,6 +101,14 @@ cc_test { } cc_test { + name: "Rect_test", + test_suites: ["device-tests"], + shared_libs: ["libui"], + srcs: ["Rect_test.cpp"], + cflags: ["-Wall", "-Werror"], +} + +cc_test { name: "Size_test", test_suites: ["device-tests"], shared_libs: ["libui"], |