summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2015-04-01 16:34:17 +0200
committerSebastien Hertz <shertz@google.com>2015-05-07 18:03:58 +0200
commit0462c4c87c39db6cfcd338f323844738109ac3c9 (patch)
tree30776cd2fadab4100851640976c2b572d228d688 /build
parenta6591ef95afa6bc9d89c0c6044635ec7a13d4c55 (diff)
downloadart-0462c4c87c39db6cfcd338f323844738109ac3c9.zip
art-0462c4c87c39db6cfcd338f323844738109ac3c9.tar.gz
art-0462c4c87c39db6cfcd338f323844738109ac3c9.tar.bz2
Support multiple instrumentation clients
Changes Instrumentation::ConfigureStubs to support multiple clients that need different levels of instrumenation. A client is identified by a string key used to save the desired instrumentation level. Also adds regression gtest instrumentation_test and some cleanup. Bug: 19829329 Change-Id: I1fc24a86fcb7cb46d4be806895376c25cc0a0b3c
Diffstat (limited to 'build')
-rw-r--r--build/Android.gtest.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk
index 5a3236d..730e61d 100644
--- a/build/Android.gtest.mk
+++ b/build/Android.gtest.mk
@@ -26,6 +26,7 @@ GTEST_DEX_DIRECTORIES := \
AllFields \
ExceptionHandle \
GetMethodSignature \
+ Instrumentation \
Interfaces \
Main \
MultiDex \
@@ -64,6 +65,7 @@ ART_GTEST_class_linker_test_DEX_DEPS := Interfaces MultiDex MyClass Nested Stati
ART_GTEST_compiler_driver_test_DEX_DEPS := AbstractMethod StaticLeafMethods
ART_GTEST_dex_file_test_DEX_DEPS := GetMethodSignature Main Nested
ART_GTEST_exception_test_DEX_DEPS := ExceptionHandle
+ART_GTEST_instrumentation_test_DEX_DEPS := Instrumentation
ART_GTEST_jni_compiler_test_DEX_DEPS := MyClassNatives
ART_GTEST_jni_internal_test_DEX_DEPS := AllFields StaticLeafMethods
ART_GTEST_oat_file_assistant_test_DEX_DEPS := Main MainStripped MultiDex Nested
@@ -157,6 +159,7 @@ RUNTIME_GTEST_COMMON_SRC_FILES := \
runtime/handle_scope_test.cc \
runtime/indenter_test.cc \
runtime/indirect_reference_table_test.cc \
+ runtime/instrumentation_test.cc \
runtime/intern_table_test.cc \
runtime/interpreter/safe_math_test.cc \
runtime/java_vm_ext_test.cc \