Add version_script property

Add version_script property to cc_library to pass a file to
the linker with --version-script.

Change-Id: Ieefb04e15c8dfa72c2eb63b4349f8860222662b2
This commit is contained in:
Colin Cross
2015-07-06 17:48:31 -07:00
parent 2617316f6c
commit aee540a439
4 changed files with 31 additions and 4 deletions

View File

@@ -70,6 +70,7 @@ var rewriteProperties = map[string]struct {
"local_include_dirs": {"LOCAL_C_INCLUDES", prependLocalPath},
"export_include_dirs": {"LOCAL_EXPORT_C_INCLUDE_DIRS", prependLocalPath},
"suffix": {"LOCAL_MODULE_STEM", prependLocalModule},
"version_script": {"LOCAL_LDFLAGS", versionScript},
}
var ignoredProperties = map[string]bool{