xref: /aosp_15_r20/frameworks/native/services/inputflinger/benchmarks/Android.bp (revision 38e8c45f13ce32b0dcecb25141ffecaf386fa17f)
1*38e8c45fSAndroid Build Coastguard Workerpackage {
2*38e8c45fSAndroid Build Coastguard Worker    default_team: "trendy_team_input_framework",
3*38e8c45fSAndroid Build Coastguard Worker    // See: http://go/android-license-faq
4*38e8c45fSAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
5*38e8c45fSAndroid Build Coastguard Worker    // all of the 'license_kinds' from "frameworks_native_license"
6*38e8c45fSAndroid Build Coastguard Worker    // to get the below license kinds:
7*38e8c45fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
8*38e8c45fSAndroid Build Coastguard Worker    default_applicable_licenses: ["frameworks_native_license"],
9*38e8c45fSAndroid Build Coastguard Worker}
10*38e8c45fSAndroid Build Coastguard Worker
11*38e8c45fSAndroid Build Coastguard Workercc_benchmark {
12*38e8c45fSAndroid Build Coastguard Worker    name: "inputflinger_benchmarks",
13*38e8c45fSAndroid Build Coastguard Worker    srcs: [
14*38e8c45fSAndroid Build Coastguard Worker        ":inputdispatcher_common_test_sources",
15*38e8c45fSAndroid Build Coastguard Worker        "InputDispatcher_benchmarks.cpp",
16*38e8c45fSAndroid Build Coastguard Worker    ],
17*38e8c45fSAndroid Build Coastguard Worker    defaults: [
18*38e8c45fSAndroid Build Coastguard Worker        "inputflinger_defaults",
19*38e8c45fSAndroid Build Coastguard Worker        "libinputdispatcher_defaults",
20*38e8c45fSAndroid Build Coastguard Worker    ],
21*38e8c45fSAndroid Build Coastguard Worker    shared_libs: [
22*38e8c45fSAndroid Build Coastguard Worker        "libbase",
23*38e8c45fSAndroid Build Coastguard Worker        "libbinder",
24*38e8c45fSAndroid Build Coastguard Worker        "libbinder_ndk",
25*38e8c45fSAndroid Build Coastguard Worker        "libcrypto",
26*38e8c45fSAndroid Build Coastguard Worker        "libcutils",
27*38e8c45fSAndroid Build Coastguard Worker        "libinputflinger_base",
28*38e8c45fSAndroid Build Coastguard Worker        "libinputreporter",
29*38e8c45fSAndroid Build Coastguard Worker        "liblog",
30*38e8c45fSAndroid Build Coastguard Worker        "libstatslog",
31*38e8c45fSAndroid Build Coastguard Worker        "libutils",
32*38e8c45fSAndroid Build Coastguard Worker    ],
33*38e8c45fSAndroid Build Coastguard Worker    static_libs: [
34*38e8c45fSAndroid Build Coastguard Worker        "libattestation",
35*38e8c45fSAndroid Build Coastguard Worker        "libgmock",
36*38e8c45fSAndroid Build Coastguard Worker        "libgtest",
37*38e8c45fSAndroid Build Coastguard Worker        "libinputdispatcher",
38*38e8c45fSAndroid Build Coastguard Worker    ],
39*38e8c45fSAndroid Build Coastguard Worker}
40