diff options
author | Orion Hodson <oth@google.com> | 2019-11-21 10:56:28 +0000 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2020-02-03 22:43:47 +0000 |
commit | 6c56db31b8a6424680ad3836022a1d81e83dc4a9 (patch) | |
tree | ac3d7f1631de86192b116561eeb5909c88279815 /compiler/optimizing/optimizing_compiler.cc | |
parent | f9dfd77182296cd9161784bc0b9babf4f22a90c7 (diff) |
Fix Core Platform API JNI check
Fix an inverted flag around kIsTargetBuild that broke check.
Simplify SharedObjectKind's so there are only values - part of the ART
module and other. Being part of the module is equivalent to
DexDomain::CorePlatform.
Add a test for Core Platform API checks for native code. The test is
derived from 674-hiddenapi, and separate because the existing test is
already complex.
Add 2030-core-platform-api-jni to the same knownfailures as
674-hiddenapi since the newer test likely to have the same failures.
Bug: 128517070
Bug: 144502743
Test: art/test/run-test --host 2030
Test: art/test/run-test 2030
Test: erroneous warnings gone from master
Change-Id: I1a365a28b89bd46b3e403f6deb736f350c4baf10
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions