Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb8583ad authored by Sally Qi's avatar Sally Qi Committed by Android (Google) Code Review
Browse files

Merge "Add cc_defaults as wrapper for graphics composer/common AIDL interfaces."

parents ee3b990b 784c253a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -20,10 +20,10 @@ package {


cc_defaults {
cc_defaults {
    name: "EvsHalDefaults",
    name: "EvsHalDefaults",
    defaults: ["android.hardware.graphics.common-ndk_static"],
    static_libs: [
    static_libs: [
        "android.hardware.automotive.evs-V1-ndk",
        "android.hardware.automotive.evs-V1-ndk",
        "android.hardware.common-V2-ndk",
        "android.hardware.common-V2-ndk",
        "android.hardware.graphics.common-V3-ndk",
    ],
    ],
    shared_libs: [
    shared_libs: [
        "libbase",
        "libbase",
+1 −1
Original line number Original line Diff line number Diff line
@@ -31,6 +31,7 @@ name:
    ],
    ],
    defaults: [
    defaults: [
        "VtsHalTargetTestDefaults",
        "VtsHalTargetTestDefaults",
        "android.hardware.graphics.common-ndk_static",
        "use_libaidlvintf_gtest_helper_static",
        "use_libaidlvintf_gtest_helper_static",
    ],
    ],
    shared_libs: [
    shared_libs: [
@@ -43,7 +44,6 @@ name:
        "android.hardware.automotive.evs@common-default-lib",
        "android.hardware.automotive.evs@common-default-lib",
        "android.hardware.automotive.evs-V1-ndk",
        "android.hardware.automotive.evs-V1-ndk",
        "android.hardware.common-V2-ndk",
        "android.hardware.common-V2-ndk",
        "android.hardware.graphics.common-V3-ndk",
        "libaidlcommonsupport",
        "libaidlcommonsupport",
    ],
    ],
    test_suites: [
    test_suites: [
+1 −1
Original line number Original line Diff line number Diff line
@@ -27,6 +27,7 @@ cc_test {
    name: "VtsAidlHalCameraProvider_TargetTest",
    name: "VtsAidlHalCameraProvider_TargetTest",
    defaults: [
    defaults: [
        "VtsHalTargetTestDefaults",
        "VtsHalTargetTestDefaults",
        "android.hardware.graphics.common-ndk_static",
        "use_libaidlvintf_gtest_helper_static",
        "use_libaidlvintf_gtest_helper_static",
    ],
    ],
    srcs: [
    srcs: [
@@ -61,7 +62,6 @@ cc_test {
        "android.hardware.camera.device-V1-ndk",
        "android.hardware.camera.device-V1-ndk",
        "android.hardware.camera.metadata-V1-ndk",
        "android.hardware.camera.metadata-V1-ndk",
        "android.hardware.camera.provider-V1-ndk",
        "android.hardware.camera.provider-V1-ndk",
        "android.hardware.graphics.common-V3-ndk",
        "android.hidl.allocator@1.0",
        "android.hidl.allocator@1.0",
        "libgrallocusage",
        "libgrallocusage",
        "libhidlmemory",
        "libhidlmemory",

graphics/Android.bp

0 → 100644
+45 −0
Original line number Original line 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.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",
    ],
}
+0 −1
Original line number Original line Diff line number Diff line
@@ -36,7 +36,6 @@ cc_test {


    shared_libs: [
    shared_libs: [
        "android.hardware.graphics.allocator-V1-ndk",
        "android.hardware.graphics.allocator-V1-ndk",
        "android.hardware.graphics.common-V3-ndk",
        "android.hardware.graphics.mapper@4.0",
        "android.hardware.graphics.mapper@4.0",
        "libEGL",
        "libEGL",
        "libGLESv2",
        "libGLESv2",
Loading