blob: 2c1b25558d78a2f959646e89ce13ff6f21795164 [file] [log] [blame]
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +00001cc_library_headers {
2 name: "libprocessgroup_headers",
3 vendor_available: true,
4 recovery_available: true,
5 host_supported: true,
dimitry49c1f6e2019-05-16 14:19:09 +02006 native_bridge_supported: true,
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +00007 export_include_dirs: ["include"],
8 target: {
9 linux_bionic: {
10 enabled: true,
11 },
12 windows: {
13 enabled: true,
14 },
15 },
Jiyong Parke3d371e2020-04-08 22:37:42 +090016 apex_available: [
17 "//apex_available:platform",
18 "//apex_available:anyapex",
19 ],
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000020}
21
Steven Moreland419ce362017-04-19 14:12:52 -070022cc_library {
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000023 srcs: [
Suren Baghdasaryan82b72a52018-12-21 11:41:50 -080024 "cgroup_map.cpp",
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000025 "processgroup.cpp",
26 "sched_policy.cpp",
Suren Baghdasaryan82b72a52018-12-21 11:41:50 -080027 "task_profiles.cpp",
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000028 ],
Steven Moreland419ce362017-04-19 14:12:52 -070029 name: "libprocessgroup",
Tom Cherry574a0812018-02-23 13:04:40 -080030 host_supported: true,
Steven Morelandb495b0d2019-06-17 12:44:39 -070031 native_bridge_supported: true,
Tom Cherry1151d152018-07-24 13:45:09 -070032 recovery_available: true,
Suren Baghdasaryan7bf43812019-01-25 05:29:55 +000033 vendor_available: true,
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000034 vndk: {
35 enabled: true,
36 support_system_process: true,
37 },
Suren Baghdasaryan94910782019-01-25 05:32:52 +000038 shared_libs: [
39 "libbase",
Yifan Hong53e0deb2019-03-22 17:01:08 -070040 "libcgrouprc",
Vic Yangd167cb22019-05-08 12:50:56 -070041 ],
42 static_libs: [
Suren Baghdasaryan82b72a52018-12-21 11:41:50 -080043 "libjsoncpp",
Suren Baghdasaryan94910782019-01-25 05:32:52 +000044 ],
Suren Baghdasaryan7bf43812019-01-25 05:29:55 +000045 // for cutils/android_filesystem_config.h
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000046 header_libs: [
47 "libcutils_headers",
48 "libprocessgroup_headers",
49 ],
Steven Moreland419ce362017-04-19 14:12:52 -070050 export_include_dirs: ["include"],
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000051 export_header_lib_headers: [
52 "libprocessgroup_headers",
53 ],
Steven Moreland419ce362017-04-19 14:12:52 -070054 cflags: [
55 "-Wall",
56 "-Werror",
Elliott Hughesbe87d442019-03-26 18:50:22 -070057 "-Wexit-time-destructors",
Steven Moreland419ce362017-04-19 14:12:52 -070058 ],
Jiyong Parke3d371e2020-04-08 22:37:42 +090059 apex_available: [
60 "//apex_available:platform",
61 "//apex_available:anyapex",
62 ],
Steven Moreland419ce362017-04-19 14:12:52 -070063}