• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5cc_defaults {
6    name: "VtsHalLibDefaults",
7    shared_libs: [
8        "libbase",
9        "libcutils",
10        "liblog",
11        "libhidlbase",
12        "libutils",
13    ],
14    cflags: [
15        "-Wall",
16        "-Werror",
17    ],
18}
19
20cc_defaults {
21    name: "VtsHalDriverDefaults",
22    defaults: ["VtsHalLibDefaults"],
23    shared_libs: [
24        "libcamera_metadata",
25        "libfmq",
26        "libprotobuf-cpp-full",
27        "libvts_common",
28        "libvts_datatype",
29        "libvts_drivercomm",
30        "libvts_measurement",
31        "libvts_multidevice_proto",
32        "android.hidl.allocator@1.0",
33    ],
34}
35
36cc_defaults {
37    name: "VtsHalProfilerDefaults",
38    defaults: ["VtsHalLibDefaults"],
39    shared_libs: [
40        "libfmq",
41        "libhidlmemory",
42        "libvts_profiling",
43        "libvts_multidevice_proto",
44        "libprotobuf-cpp-full",
45        "android.hidl.memory@1.0",
46    ],
47    // Userdebug only, should not be used to build modules contained in a user build device image.
48    multilib: {
49        lib32: {
50            ldflags: ["-Wl,--rpath,/data/local/tmp/32"]
51        },
52        lib64: {
53            ldflags: ["-Wl,--rpath,/data/local/tmp/64"]
54        },
55    },
56}
57