blob: 04a5a8ecada563eaa9dc5db13940fb972e9aa7ed [file] [log] [blame]
Pirama Arumuga Nainar0d252222018-05-22 15:40:49 -07001cc_defaults {
2 name: "libprofile-defaults",
3 srcs: [
4 "profile-extras.cpp",
Pirama Arumuga Nainara277ce92019-07-01 22:13:10 -07005 "profile-globals.c",
Pirama Arumuga Nainar0d252222018-05-22 15:40:49 -07006 ],
7 native_coverage: false,
8}
9
10cc_library_static {
11 name: "libprofile-extras",
12 defaults: ["libprofile-defaults",],
13
dimitry16d54922019-06-28 11:24:09 +020014 native_bridge_supported: true,
Pirama Arumuga Nainar0d252222018-05-22 15:40:49 -070015 vendor_available: true,
16 vndk: {
17 enabled: true,
18 },
Yifan Hongb8904d02020-01-24 18:53:53 -080019 ramdisk_available: true,
Pirama Arumuga Nainar0d252222018-05-22 15:40:49 -070020 recovery_available: true,
21
22 stl: "none",
23 system_shared_libs: [],
24 header_libs: ["libc_headers"],
25}
26
27cc_library_static {
28 name: "libprofile-extras_ndk",
29 defaults: ["libprofile-defaults",],
dimitry16d54922019-06-28 11:24:09 +020030 native_bridge_supported: true,
Pirama Arumuga Nainara277ce92019-07-01 22:13:10 -070031 vendor_available: true,
32 vndk: {
33 enabled: true,
34 },
Pirama Arumuga Nainar0d252222018-05-22 15:40:49 -070035
36 sdk_version: "minimum",
37}
38
Oliver Nguyena0d4f062019-12-09 16:36:08 -080039cc_defaults {
40 name: "libprofile-clang-defaults",
41 srcs: [
42 "profile-clang-extras.cpp",
43 ],
44 native_coverage: false,
45}
46
47cc_library_static {
48 name: "libprofile-clang-extras",
49 defaults: ["libprofile-clang-defaults"],
50
51 native_bridge_supported: true,
52 vendor_available: true,
53 vndk: {
54 enabled: true,
55 },
Yifan Hongb8904d02020-01-24 18:53:53 -080056 ramdisk_available: true,
Oliver Nguyena0d4f062019-12-09 16:36:08 -080057 recovery_available: true,
58
59 stl: "none",
60 system_shared_libs: [],
61 header_libs: ["libc_headers"],
62}
63
64cc_library_static {
65 name: "libprofile-clang-extras_ndk",
66 defaults: ["libprofile-clang-defaults"],
67 native_bridge_supported: true,
68 vendor_available: true,
69 vndk: {
70 enabled: true,
71 },
72
73 sdk_version: "minimum",
74}
75
Pirama Arumuga Nainar0d252222018-05-22 15:40:49 -070076cc_test {
77 name: "libprofile-extras-test",
78 srcs: [
79 "profile-extras-test.cpp"
80 ],
81 static_libs: [
82 "libprofile-extras",
83 ],
84 ldflags: ["-uinit_profile_extras"],
85 native_coverage: false,
86}