File: Android.bp

package info (click to toggle)
android-platform-frameworks-native 1%3A10.0.0%2Br36-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 25,828 kB
  • sloc: cpp: 252,025; xml: 52,812; ansic: 26,775; java: 5,107; python: 1,887; sh: 266; asm: 105; makefile: 23
file content (76 lines) | stat: -rw-r--r-- 1,424 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
cc_library_headers {
    name: "libpdx_headers",
    export_include_dirs: ["private"],
    vendor_available: true,
}

cc_library_static {
    name: "libpdx",
    clang: true,
    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
        "-DLOG_TAG=\"libpdx\"",
        "-DTRACE=0",
    ],
    header_libs: ["libpdx_headers"],
    export_header_lib_headers: ["libpdx_headers"],
    srcs: [
        "client.cpp",
        "service.cpp",
        "service_dispatcher.cpp",
        "status.cpp",
    ],
    shared_libs: [
        "libbinder",
        "libcutils",
        "libutils",
        "liblog",
    ],
}

cc_test {
    name: "pdx_tests",
    clang: true,
    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
    srcs: [
        "client_tests.cpp",
        "mock_tests.cpp",
        "serialization_tests.cpp",
        "service_tests.cpp",
        "status_tests.cpp",
        "thread_local_buffer_tests.cpp",
        "variant_tests.cpp",
    ],
    static_libs: [
        "libcutils",
        "libgmock",
        "libpdx",
        "liblog",
        "libutils",
        "libvndksupport",
    ],
}

// Code analysis target.
cc_test {
    name: "pdx_encoder_performance_test",
    clang: true,
    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
        "-O2",
    ],
    srcs: [
        "encoder_performance_test.cpp",
    ],
    static_libs: [
        "libpdx",
    ],
}