diff options
author | Patrick Rohr <prohr@google.com> | 2023-05-25 12:00:40 -0700 |
---|---|---|
committer | Patrick Rohr <prohr@google.com> | 2023-05-25 12:11:21 -0700 |
commit | 97ffc279ed0a0b52e81b26e803a265c574db2e82 (patch) | |
tree | c061998b5567be21a422050123db4904fec57f08 /base/mac/bundle_locations.h | |
parent | 065a6c99751616aa291067c5b6a800e1c8ebd601 (diff) | |
download | cronet-97ffc279ed0a0b52e81b26e803a265c574db2e82.tar.gz |
cronet import: fix proxy native generation for native unit tests
This is the follow up to aosp/2606285 to fix native unit tests. The main
problem here is that some test dependencies in Android.extras.bp include
@NativeMethods as opposed to (and possibly in addition to)
@NativeMethods("cronet_tests"). This causes a new GEN_JNI to be
generated which overwrites the one that's coming from
cronet_aml_java__testing. So to fix it, the jni_registration_generator
must run over all sources (including
cronet_aml_components_cronet_android_cronet_jni_registration__java__testing's
sources which is the jni_registration_generator script that's used in
cronet_aml_java__testing).
Test: atest cronet_unittests_tester && atest net_unittests_tester
Change-Id: I9fdac1b691c695cc36b1fea86aa2916a68da920e
Diffstat (limited to 'base/mac/bundle_locations.h')
0 files changed, 0 insertions, 0 deletions