summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2019-02-02 14:19:41 -0800
committerSuren Baghdasaryan <surenb@google.com>2019-02-03 02:26:47 +0000
commitd54706cf671c89d989ed202e5fc4a5564dfe4d12 (patch)
treeb2209cb63cdd29574f126f0ac2c5897f5b6e2ba4 /init/builtins.cpp
parent88f3b8e78fe153c5ff4b0e21aea81899243951c8 (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 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions