diff options
author | 2021-06-29 20:50:37 +0900 | |
---|---|---|
committer | 2021-07-01 11:42:28 +0000 | |
commit | 5e035863652abbadda3fc7039654ce915792c6ac (patch) | |
tree | 28d73286f36924aebae7b19c5a77dd558cecf48f /cc/snapshot_utils.go | |
parent | 7ce730b90c1a368caa94ca8f2045015da4608b9e (diff) |
Include static lib information for the snapshot modules
snapshot modules require the list of static libs to find the NOTICE
files for the snapshot modules.
snapshot binaries must include static_executable property to check if
non static binaries have libc as a static lib.
Bug: 190690041
Test: Check NOTICE for libaudiopreprocessing.so built from snapshots.
Change-Id: I53f7549a158ab27ada87833a3f4d58620aa7c3cf
Diffstat (limited to 'cc/snapshot_utils.go')
-rw-r--r-- | cc/snapshot_utils.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/snapshot_utils.go b/cc/snapshot_utils.go index a6c8ed522..b0538bea0 100644 --- a/cc/snapshot_utils.go +++ b/cc/snapshot_utils.go @@ -53,6 +53,10 @@ func (m *Module) SnapshotSharedLibs() []string { return m.Properties.SnapshotSharedLibs } +func (m *Module) SnapshotStaticLibs() []string { + return m.Properties.SnapshotStaticLibs +} + // snapshotLibraryInterface is an interface for libraries captured to VNDK / vendor snapshots. type snapshotLibraryInterface interface { libraryInterface |