Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 1 | cc_library_headers { |
| 2 | name: "libprocessgroup_headers", |
| 3 | vendor_available: true, |
| 4 | recovery_available: true, |
| 5 | host_supported: true, |
dimitry | 49c1f6e | 2019-05-16 14:19:09 +0200 | [diff] [blame] | 6 | native_bridge_supported: true, |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 7 | export_include_dirs: ["include"], |
| 8 | target: { |
| 9 | linux_bionic: { |
| 10 | enabled: true, |
| 11 | }, |
| 12 | windows: { |
| 13 | enabled: true, |
| 14 | }, |
| 15 | }, |
| 16 | } |
| 17 | |
Steven Moreland | 419ce36 | 2017-04-19 14:12:52 -0700 | [diff] [blame] | 18 | cc_library { |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 19 | srcs: [ |
Suren Baghdasaryan | 82b72a5 | 2018-12-21 11:41:50 -0800 | [diff] [blame] | 20 | "cgroup_map.cpp", |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 21 | "processgroup.cpp", |
| 22 | "sched_policy.cpp", |
Suren Baghdasaryan | 82b72a5 | 2018-12-21 11:41:50 -0800 | [diff] [blame] | 23 | "task_profiles.cpp", |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 24 | ], |
Steven Moreland | 419ce36 | 2017-04-19 14:12:52 -0700 | [diff] [blame] | 25 | name: "libprocessgroup", |
Tom Cherry | 574a081 | 2018-02-23 13:04:40 -0800 | [diff] [blame] | 26 | host_supported: true, |
Steven Moreland | b495b0d | 2019-06-17 12:44:39 -0700 | [diff] [blame] | 27 | native_bridge_supported: true, |
Tom Cherry | 1151d15 | 2018-07-24 13:45:09 -0700 | [diff] [blame] | 28 | recovery_available: true, |
Suren Baghdasaryan | 7bf4381 | 2019-01-25 05:29:55 +0000 | [diff] [blame] | 29 | vendor_available: true, |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 30 | vndk: { |
| 31 | enabled: true, |
| 32 | support_system_process: true, |
| 33 | }, |
Suren Baghdasaryan | 9491078 | 2019-01-25 05:32:52 +0000 | [diff] [blame] | 34 | shared_libs: [ |
| 35 | "libbase", |
Yifan Hong | 53e0deb | 2019-03-22 17:01:08 -0700 | [diff] [blame] | 36 | "libcgrouprc", |
Vic Yang | d167cb2 | 2019-05-08 12:50:56 -0700 | [diff] [blame] | 37 | ], |
| 38 | static_libs: [ |
Suren Baghdasaryan | 82b72a5 | 2018-12-21 11:41:50 -0800 | [diff] [blame] | 39 | "libjsoncpp", |
Suren Baghdasaryan | 9491078 | 2019-01-25 05:32:52 +0000 | [diff] [blame] | 40 | ], |
Suren Baghdasaryan | 7bf4381 | 2019-01-25 05:29:55 +0000 | [diff] [blame] | 41 | // for cutils/android_filesystem_config.h |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 42 | header_libs: [ |
| 43 | "libcutils_headers", |
| 44 | "libprocessgroup_headers", |
| 45 | ], |
Steven Moreland | 419ce36 | 2017-04-19 14:12:52 -0700 | [diff] [blame] | 46 | export_include_dirs: ["include"], |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 47 | export_header_lib_headers: [ |
| 48 | "libprocessgroup_headers", |
| 49 | ], |
Steven Moreland | 419ce36 | 2017-04-19 14:12:52 -0700 | [diff] [blame] | 50 | cflags: [ |
| 51 | "-Wall", |
| 52 | "-Werror", |
Elliott Hughes | be87d44 | 2019-03-26 18:50:22 -0700 | [diff] [blame] | 53 | "-Wexit-time-destructors", |
Steven Moreland | 419ce36 | 2017-04-19 14:12:52 -0700 | [diff] [blame] | 54 | ], |
| 55 | } |