diff options
author | Suren Baghdasaryan <surenb@google.com> | 2019-02-02 14:19:41 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2019-02-03 16:49:28 +0000 |
commit | eca87cb9ca18e7aa82ab240c3161d562152262af (patch) | |
tree | d75b9b9e5cb74bd4d1fc440a38779f77699a3f2b /libutils/FileMap.cpp | |
parent | e01ae8deca817c6128427c09b6fb0cfc0e00ec36 (diff) |
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>
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions