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

Commit 482cefd7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libeffects: Move EffectTestHelper to a common folder"

parents 270ceb4f 3c96b1fa
Loading
Loading
Loading
Loading
+6 −21
Original line number Diff line number Diff line
@@ -11,48 +11,33 @@ package {

cc_test {
    name: "EffectReverbTest",
    vendor: true,
    gtest: true,
    host_supported: true,
    defaults: [
      "libeffects-test-defaults",
    ],
    srcs: [
        "EffectReverbTest.cpp",
        "EffectTestHelper.cpp",
    ],
    static_libs: [
        "libaudioutils",
        "libreverb",
        "libreverbwrapper",
    ],
    shared_libs: [
        "liblog",
    ],
    header_libs: [
        "libaudioeffects",
        "libhardware_headers",
    ],
}

cc_test {
    name: "EffectBundleTest",
    vendor: true,
    gtest: true,
    host_supported: true,
    test_suites: ["device-tests"],
    defaults: [
      "libeffects-test-defaults",
    ],
    srcs: [
        "EffectBundleTest.cpp",
        "EffectTestHelper.cpp",
    ],
    static_libs: [
        "libaudioutils",
        "libbundlewrapper",
        "libmusicbundle",
    ],
    shared_libs: [
        "liblog",
    ],
    header_libs: [
        "libhardware_headers",
    ],
}

cc_test {
+45 −0
Original line number Diff line number Diff line
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_av_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_av_license"],
}

filegroup {
    name: "libeffects-test-helper-srcs",
    srcs: [
        "EffectTestHelper.cpp",
    ],
}

cc_library_headers {
    name: "libeffects-test-helper-headers",
    vendor: true,
    host_supported: true,
    export_include_dirs: [
        ".",
    ],
}

cc_defaults {
    name: "libeffects-test-defaults",
    vendor: true,
    gtest: true,
    host_supported: true,
    test_suites: ["device-tests"],
    static_libs: [
        "libaudioutils",
    ],
    srcs: [
        ":libeffects-test-helper-srcs",
    ],
    header_libs: [
        "libeffects-test-helper-headers",
        "libhardware_headers",
    ],
    shared_libs: [
        "liblog",
    ],
}