blob: 618a5c57a3dd0b4d2aa7afdca9bfd20cee5e821d [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 },
16}
17
Steven Moreland419ce362017-04-19 14:12:52 -070018cc_library {
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000019 srcs: [
Suren Baghdasaryan82b72a52018-12-21 11:41:50 -080020 "cgroup_map.cpp",
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000021 "processgroup.cpp",
22 "sched_policy.cpp",
Suren Baghdasaryan82b72a52018-12-21 11:41:50 -080023 "task_profiles.cpp",
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000024 ],
Steven Moreland419ce362017-04-19 14:12:52 -070025 name: "libprocessgroup",
Tom Cherry574a0812018-02-23 13:04:40 -080026 host_supported: true,
Steven Morelandb495b0d2019-06-17 12:44:39 -070027 native_bridge_supported: true,
Tom Cherry1151d152018-07-24 13:45:09 -070028 recovery_available: true,
Suren Baghdasaryan7bf43812019-01-25 05:29:55 +000029 vendor_available: true,
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000030 vndk: {
31 enabled: true,
32 support_system_process: true,
33 },
Suren Baghdasaryan94910782019-01-25 05:32:52 +000034 shared_libs: [
35 "libbase",
Yifan Hong53e0deb2019-03-22 17:01:08 -070036 "libcgrouprc",
Vic Yangd167cb22019-05-08 12:50:56 -070037 ],
38 static_libs: [
Suren Baghdasaryan82b72a52018-12-21 11:41:50 -080039 "libjsoncpp",
Suren Baghdasaryan94910782019-01-25 05:32:52 +000040 ],
Suren Baghdasaryan7bf43812019-01-25 05:29:55 +000041 // for cutils/android_filesystem_config.h
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000042 header_libs: [
43 "libcutils_headers",
44 "libprocessgroup_headers",
45 ],
Steven Moreland419ce362017-04-19 14:12:52 -070046 export_include_dirs: ["include"],
Suren Baghdasaryan1bd127b2019-01-25 05:30:52 +000047 export_header_lib_headers: [
48 "libprocessgroup_headers",
49 ],
Steven Moreland419ce362017-04-19 14:12:52 -070050 cflags: [
51 "-Wall",
52 "-Werror",
Elliott Hughesbe87d442019-03-26 18:50:22 -070053 "-Wexit-time-destructors",
Steven Moreland419ce362017-04-19 14:12:52 -070054 ],
55}