Loading graphics/Android.bp 0 → 100644 +59 −0 Original line number Diff line number Diff line // Copyright (C) 2022 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package { default_applicable_licenses: ["hardware_interfaces_license"], } cc_defaults { name: "android.hardware.graphics.allocator-ndk_static", static_libs: [ "android.hardware.graphics.allocator-V1-ndk", ], } cc_defaults { name: "android.hardware.graphics.allocator-ndk_shared", shared_libs: [ "android.hardware.graphics.allocator-V1-ndk", ], } cc_defaults { name: "android.hardware.graphics.common-ndk_static", static_libs: [ "android.hardware.graphics.common-V3-ndk", ], } cc_defaults { name: "android.hardware.graphics.common-ndk_shared", shared_libs: [ "android.hardware.graphics.common-V3-ndk", ], } cc_defaults { name: "android.hardware.graphics.composer3-ndk_static", static_libs: [ "android.hardware.graphics.composer3-V1-ndk", ], } cc_defaults { name: "android.hardware.graphics.composer3-ndk_shared", shared_libs: [ "android.hardware.graphics.composer3-V1-ndk", ], } graphics/allocator/aidl/vts/Android.bp +1 −2 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ cc_test { name: "VtsHalGraphicsAllocatorAidl_TargetTest", defaults: [ "VtsHalTargetTestDefaults", "android.hardware.graphics.allocator-ndk_shared", "use_libaidlvintf_gtest_helper_static", "hwui_defaults", ], Loading @@ -35,8 +36,6 @@ cc_test { ], shared_libs: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.common-V3-ndk", "android.hardware.graphics.mapper@4.0", "libEGL", "libGLESv2", Loading graphics/composer/2.1/utils/vts/Android.bp +4 −3 Original line number Diff line number Diff line Loading @@ -25,14 +25,16 @@ package { cc_library_static { name: "android.hardware.graphics.composer@2.1-vts", defaults: ["hidl_defaults"], defaults: [ "android.hardware.graphics.allocator-ndk_static", "hidl_defaults", ], srcs: [ "ComposerVts.cpp", "GraphicsComposerCallback.cpp", "TestCommandReader.cpp", ], static_libs: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.composer@2.1", "android.hardware.graphics.mapper@2.0-vts", "android.hardware.graphics.mapper@3.0-vts", Loading @@ -40,7 +42,6 @@ cc_library_static { "libgtest", ], export_static_lib_headers: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.composer@2.1", "android.hardware.graphics.mapper@2.0-vts", "android.hardware.graphics.mapper@3.0-vts", Loading graphics/composer/2.1/vts/functional/Android.bp +4 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,10 @@ package { cc_test { name: "VtsHalGraphicsComposerV2_1TargetTest", defaults: ["VtsHalTargetTestDefaults"], defaults: [ "VtsHalTargetTestDefaults", "android.hardware.graphics.allocator-ndk_static", ], tidy_timeout_srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"], srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"], Loading @@ -42,7 +45,6 @@ cc_test { "android.hardware.graphics.mapper@4.0", ], static_libs: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.allocator@2.0", "android.hardware.graphics.allocator@3.0", "android.hardware.graphics.allocator@4.0", Loading graphics/composer/2.2/utils/vts/Android.bp +5 −3 Original line number Diff line number Diff line Loading @@ -25,7 +25,11 @@ package { cc_library_static { name: "android.hardware.graphics.composer@2.2-vts", defaults: ["hidl_defaults"], defaults: [ "android.hardware.graphics.allocator-ndk_static", "android.hardware.graphics.composer3-ndk_static", "hidl_defaults", ], srcs: [ "ComposerVts.cpp", "ReadbackVts.cpp", Loading @@ -35,7 +39,6 @@ cc_library_static { "libui", ], static_libs: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.composer@2.1-vts", "android.hardware.graphics.composer@2.2", "android.hardware.graphics.composer3-V1-ndk", Loading @@ -53,7 +56,6 @@ cc_library_static { "android.hardware.graphics.mapper@4.0-vts", ], export_static_lib_headers: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.composer@2.1-vts", "android.hardware.graphics.composer@2.2", "android.hardware.graphics.mapper@2.1-vts", Loading Loading
graphics/Android.bp 0 → 100644 +59 −0 Original line number Diff line number Diff line // Copyright (C) 2022 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package { default_applicable_licenses: ["hardware_interfaces_license"], } cc_defaults { name: "android.hardware.graphics.allocator-ndk_static", static_libs: [ "android.hardware.graphics.allocator-V1-ndk", ], } cc_defaults { name: "android.hardware.graphics.allocator-ndk_shared", shared_libs: [ "android.hardware.graphics.allocator-V1-ndk", ], } cc_defaults { name: "android.hardware.graphics.common-ndk_static", static_libs: [ "android.hardware.graphics.common-V3-ndk", ], } cc_defaults { name: "android.hardware.graphics.common-ndk_shared", shared_libs: [ "android.hardware.graphics.common-V3-ndk", ], } cc_defaults { name: "android.hardware.graphics.composer3-ndk_static", static_libs: [ "android.hardware.graphics.composer3-V1-ndk", ], } cc_defaults { name: "android.hardware.graphics.composer3-ndk_shared", shared_libs: [ "android.hardware.graphics.composer3-V1-ndk", ], }
graphics/allocator/aidl/vts/Android.bp +1 −2 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ cc_test { name: "VtsHalGraphicsAllocatorAidl_TargetTest", defaults: [ "VtsHalTargetTestDefaults", "android.hardware.graphics.allocator-ndk_shared", "use_libaidlvintf_gtest_helper_static", "hwui_defaults", ], Loading @@ -35,8 +36,6 @@ cc_test { ], shared_libs: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.common-V3-ndk", "android.hardware.graphics.mapper@4.0", "libEGL", "libGLESv2", Loading
graphics/composer/2.1/utils/vts/Android.bp +4 −3 Original line number Diff line number Diff line Loading @@ -25,14 +25,16 @@ package { cc_library_static { name: "android.hardware.graphics.composer@2.1-vts", defaults: ["hidl_defaults"], defaults: [ "android.hardware.graphics.allocator-ndk_static", "hidl_defaults", ], srcs: [ "ComposerVts.cpp", "GraphicsComposerCallback.cpp", "TestCommandReader.cpp", ], static_libs: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.composer@2.1", "android.hardware.graphics.mapper@2.0-vts", "android.hardware.graphics.mapper@3.0-vts", Loading @@ -40,7 +42,6 @@ cc_library_static { "libgtest", ], export_static_lib_headers: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.composer@2.1", "android.hardware.graphics.mapper@2.0-vts", "android.hardware.graphics.mapper@3.0-vts", Loading
graphics/composer/2.1/vts/functional/Android.bp +4 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,10 @@ package { cc_test { name: "VtsHalGraphicsComposerV2_1TargetTest", defaults: ["VtsHalTargetTestDefaults"], defaults: [ "VtsHalTargetTestDefaults", "android.hardware.graphics.allocator-ndk_static", ], tidy_timeout_srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"], srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"], Loading @@ -42,7 +45,6 @@ cc_test { "android.hardware.graphics.mapper@4.0", ], static_libs: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.allocator@2.0", "android.hardware.graphics.allocator@3.0", "android.hardware.graphics.allocator@4.0", Loading
graphics/composer/2.2/utils/vts/Android.bp +5 −3 Original line number Diff line number Diff line Loading @@ -25,7 +25,11 @@ package { cc_library_static { name: "android.hardware.graphics.composer@2.2-vts", defaults: ["hidl_defaults"], defaults: [ "android.hardware.graphics.allocator-ndk_static", "android.hardware.graphics.composer3-ndk_static", "hidl_defaults", ], srcs: [ "ComposerVts.cpp", "ReadbackVts.cpp", Loading @@ -35,7 +39,6 @@ cc_library_static { "libui", ], static_libs: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.composer@2.1-vts", "android.hardware.graphics.composer@2.2", "android.hardware.graphics.composer3-V1-ndk", Loading @@ -53,7 +56,6 @@ cc_library_static { "android.hardware.graphics.mapper@4.0-vts", ], export_static_lib_headers: [ "android.hardware.graphics.allocator-V1-ndk", "android.hardware.graphics.composer@2.1-vts", "android.hardware.graphics.composer@2.2", "android.hardware.graphics.mapper@2.1-vts", Loading