• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2package {
3    // See: http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // all of the 'license_kinds' from "frameworks_native_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["frameworks_native_license"],
9}
10
11header_libraries = [
12    "libdvr_headers",
13]
14
15shared_libraries = [
16    "libbase",
17    "libbinder",
18    "libbufferhubqueue",
19    "libcutils",
20    "libgui",
21    "liblog",
22    "libhardware",
23    "libui",
24    "libutils",
25    "libnativewindow",
26    "libpdx_default_transport",
27]
28
29static_libraries = [
30    "libchrome",
31    "libdvrcommon",
32    "libperformance",
33]
34
35cc_test {
36    srcs: ["buffer_hub_queue-test.cpp"],
37    header_libs: header_libraries,
38    static_libs: static_libraries,
39    shared_libs: shared_libraries,
40    cflags: [
41        "-DLOG_TAG=\"buffer_hub_queue-test\"",
42        "-DTRACE=0",
43        "-O0",
44        "-g",
45        "-Wall",
46        "-Werror",
47        "-Wno-error=sign-compare", // to fix later
48    ],
49    name: "buffer_hub_queue-test",
50}
51
52cc_test {
53    srcs: ["buffer_hub_queue_producer-test.cpp"],
54    header_libs: header_libraries,
55    static_libs: static_libraries,
56    shared_libs: shared_libraries,
57    cflags: [
58        "-DLOG_TAG=\"buffer_hub_queue_producer-test\"",
59        "-DTRACE=0",
60        "-O0",
61        "-g",
62        "-Wall",
63        "-Werror",
64    ],
65    name: "buffer_hub_queue_producer-test",
66}
67