summaryrefslogtreecommitdiff
path: root/java/sdk_library.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2020-06-19 18:20:28 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-06-19 18:20:28 +0000
commit333cb9ea44a21b9c2c874b53b9d8304e73e81eb4 (patch)
tree4cd12551559435763254a83e9e35bc4a3d07fdf6 /java/sdk_library.go
parentb758a37876fa9146a5389d22411d1b1dafd49ac3 (diff)
parent296cf331718245660881e3c19893de2b9adc11be (diff)
Merge "Instrument the java_sdk_library implementation library"
Diffstat (limited to 'java/sdk_library.go')
-rw-r--r--java/sdk_library.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/sdk_library.go b/java/sdk_library.go
index 7ce0912e9..cc51e3abe 100644
--- a/java/sdk_library.go
+++ b/java/sdk_library.go
@@ -1088,9 +1088,12 @@ func (module *SdkLibrary) createImplLibrary(mctx android.DefaultableHookContext)
props := struct {
Name *string
Visibility []string
+ Instrument bool
}{
Name: proptools.StringPtr(module.implLibraryModuleName()),
Visibility: module.sdkLibraryProperties.Impl_library_visibility,
+ // Set the instrument property to ensure it is instrumented when instrumentation is required.
+ Instrument: true,
}
properties := []interface{}{