summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorIsaac Chen <ycchen@google.com>2017-02-16 11:51:08 +0800
committerIsaac Chen <ycchen@google.com>2017-02-18 16:42:54 +0800
commitd34fac541a5a541b4207ee9cdbcc5005b5fa848c (patch)
tree6fb19749cd9f1e0eb5927cd550805c7c9fce2315 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3d57eb0bdc94060a046ea5063628ca69ed548b66 (diff)
Turned ENABLE_CPUSETS into runtime decision.
ENABLE_CPUSETS is usually set in BoardConfig.mk to use CONFIG_CPUSETS feature of Linux kernel. This change turns the build time variable into runtime decision by checking if a special file, "tasks", can be found under the mount point, /dev/cpuset, for cpusets. Bug: 34726944 Test: Tested on Sailfish without cpuset mounted with cpuset mounted, but without schedtune mounted with cpuset mounted and with schedtune mounted Change-Id: I1c044c3c9d4d15360a1605e7022da84d94df4014
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions