summaryrefslogtreecommitdiff
path: root/sdk/cc_sdk_test.go
diff options
context:
space:
mode:
author Ulya Trafimovich <skvadrik@google.com> 2020-03-23 14:35:58 +0000
committer Ulya Trafimovich <skvadrik@google.com> 2020-03-23 17:13:07 +0000
commitb358ebb7598dc941213ad3a9445e035c5f768fcc (patch)
treed95cb88d53b47ffebad506899e993603d80e48dd /sdk/cc_sdk_test.go
parent54c481ed629c3dd46caf633c68c78b02a1d3809c (diff)
Fix null pointer dereference in Soong on dexpreopt arc-services.
The null pointer dereference was caused by trying to get device name from a config passed to dexpreopt. For Make modules, the config is a stub that doesn't have a device name. The fix is to use build directory instead of device name (it is provided both by the full config passed to Soong modules and by the stub config passed to Make modules). Test: walleye-userdebug boots. Test: aosp_bertha_arm-userdebug builds and generates arc-services.odex. Bug: 152193534 Change-Id: I7adc173646cae6eaee188c6672629a5a942aea06 Merged-In: I7adc173646cae6eaee188c6672629a5a942aea06 (cherry picked from commit 9790f1058b37bfc3298f068c0a8efe4486944393)
Diffstat (limited to 'sdk/cc_sdk_test.go')
0 files changed, 0 insertions, 0 deletions