summaryrefslogtreecommitdiff
path: root/scripts/lint-project-xml.py
diff options
context:
space:
mode:
authorVictor Khimenko <khim@google.com>2020-09-17 03:07:31 +0200
committerVictor Khimenko <khim@google.com>2020-09-17 19:10:04 +0000
commit17fbc895ec3e02d1044ece619696c67a8e7d28d1 (patch)
tree27715b3e85f2d8e3e6de0d58b0e946de87c7d759 /scripts/lint-project-xml.py
parent2982329cd07b5b12becce3748d4421c9f4e2545a (diff)
Add -D__ANDROID_NATIVE_BRIDGE__ to native_bridge targets
And remove dual meaning from arm_on_x86 target. It was set for x86 targets with arm support and for arm targets with x86 support - and that 2nd one was abused for native_bridge version of RenderScript. It's much safer and cleaner to rely on __ANDROID_NATIVE_BRIDGE__ there while leaving arm_on_x86 to mean "x86 binary built in the image with arm support". It's only used by bcc compiler which is in canadian-cross situation here: it's pure x86-64 binary, but it needs to know about ALL supported architectures on device because it needs to include appropriate codegen module. Bug: http://b/153609531 Test: cts-tradefed run cts --abi armeabi-v7a -m CtsRsCppTestCases Test: cts-tradefed run cts --abi arm64-v8a -m CtsRsCppTestCases Change-Id: I869212e0b82eeaa30361a4e183d5c862ab40ef12 Merged-In: I869212e0b82eeaa30361a4e183d5c862ab40ef12
Diffstat (limited to 'scripts/lint-project-xml.py')
0 files changed, 0 insertions, 0 deletions