android_system_core/libprocessgroup
Suren Baghdasaryan eca87cb9ca Fix non-Android build targets
Non-Android build targets are missing sys/prctl.h header and functionality
should be disabled for them like it was done previously inside
sched_policy.cpp. Also make the set_sched_policy/get_sched_policy
functionality backward compatible by creating stubs for non-Android
targets.

Bug: 111307099
Test: built sdk_gphone_x86-sdk_addon_mac target using forrest

Change-Id: I1c195267e287a84a21c588bd61d7c452bff6cfbe
Merged-In: I1c195267e287a84a21c588bd61d7c452bff6cfbe
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-03 16:49:28 +00:00
..
include/processgroup libprocessgroup: Add support for task profiles 2019-02-03 16:48:35 +00:00
Android.bp libprocessgroup: Add support for task profiles 2019-02-03 16:48:35 +00:00
cgroup_map.cpp libprocessgroup: Add support for task profiles 2019-02-03 16:48:35 +00:00
cgroup_map.h libprocessgroup: Add support for task profiles 2019-02-03 16:48:35 +00:00
OWNERS Add OWNERS for libprocessgroup 2018-09-14 11:13:22 -07:00
processgroup.cpp libprocessgroup: Add support for task profiles 2019-02-03 16:48:35 +00:00
sched_policy.cpp Fix non-Android build targets 2019-02-03 16:49:28 +00:00
task_profiles.cpp Fix non-Android build targets 2019-02-03 16:49:28 +00:00
task_profiles.h Fix non-Android build targets 2019-02-03 16:49:28 +00:00