diff options
| author | Steven Moreland <smoreland@google.com> | 2017-04-13 23:48:57 -0700 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2017-04-17 14:44:17 -0700 |
| commit | d73be1b96beab812b86f8174e7fc928291f0cb44 (patch) | |
| tree | 2239b8c02d02461fe5f39d823301e784bd95c763 /libcutils/sched_policy.cpp | |
| parent | ffa38cfc1ea33de4ddddb291cc70cc507506b758 (diff) | |
| download | system_core-d73be1b96beab812b86f8174e7fc928291f0cb44.tar.gz system_core-d73be1b96beab812b86f8174e7fc928291f0cb44.tar.bz2 system_core-d73be1b96beab812b86f8174e7fc928291f0cb44.zip | |
libcutils: compile with BOARD_VNDK_VERSION current
- moved __android_log_is_debuggable to a new public header
(log_properties.h)
- vendor version of sched_policy uses ALOG* instead SLOG*
Test: (sanity) liblog-unit-tests
Test: (sanity) libcutils_test (noting b/b/32972117, two tests continue
to fail)
Test: system/core as a whole makes with BOARD_VNDK_VERSION := current
now with no problems.
Test: boots/works on internal marlin
Bug: 33241851
(cherry picked from commit 1f83aa424f537cf3f07e1d27dbbcc524818b5358)
Merged-In: I5bc1f348dc0f0c8814bec5b5c3d2c52c825ab640
Change-Id: I5bc1f348dc0f0c8814bec5b5c3d2c52c825ab640
Diffstat (limited to 'libcutils/sched_policy.cpp')
| -rw-r--r-- | libcutils/sched_policy.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcutils/sched_policy.cpp b/libcutils/sched_policy.cpp index a9c061efb..4a0b03526 100644 --- a/libcutils/sched_policy.cpp +++ b/libcutils/sched_policy.cpp @@ -28,6 +28,13 @@ #define UNUSED __attribute__((__unused__)) +#ifndef SLOGE +#define SLOGE ALOGE +#endif +#ifndef SLOGW +#define SLOGW ALOGW +#endif + /* Re-map SP_DEFAULT to the system default policy, and leave other values unchanged. * Call this any place a SchedPolicy is used as an input parameter. * Returns the possibly re-mapped policy. |
