summaryrefslogtreecommitdiff
path: root/compiler/jni/jni_compiler_test.cc
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2024-05-16 21:09:56 +0100
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-05-28 12:53:00 +0000
commit30e749b750f45f411d130b43d4221331c7c9d5fe (patch)
tree5357bde6c819689f84cbcabe617eeb5b8c5c2b14 /compiler/jni/jni_compiler_test.cc
parent0833bf7e257d4d7ceae3eb43c2665e1b96ee522f (diff)
Switch to the header-only library of libnativehelper in the tests.
To avoid a linker dependency on libnativehelper that we actually don't use any symbols from. Test: Build all bundled and standalone gtests Bug: 247108425 Bug: 261703065 Change-Id: I2fbdefff77d16bc94a96c40f2037cc3c057c8e13
Diffstat (limited to 'compiler/jni/jni_compiler_test.cc')
-rw-r--r--compiler/jni/jni_compiler_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/jni/jni_compiler_test.cc b/compiler/jni/jni_compiler_test.cc
index 77ebff6da2..8a096d0744 100644
--- a/compiler/jni/jni_compiler_test.cc
+++ b/compiler/jni/jni_compiler_test.cc
@@ -14,11 +14,11 @@
* limitations under the License.
*/
+#include <math.h>
+
#include <memory>
#include <type_traits>
-#include <math.h>
-
#include "art_method-inl.h"
#include "base/bit_utils.h"
#include "base/casts.h"
@@ -40,7 +40,7 @@
#include "mirror/object-inl.h"
#include "mirror/object_array-inl.h"
#include "mirror/stack_trace_element-inl.h"
-#include "nativehelper/ScopedLocalRef.h"
+#include "nativehelper/scoped_local_ref.h"
#include "nativeloader/native_loader.h"
#include "oat/oat_quick_method_header.h"
#include "runtime.h"