aboutsummaryrefslogtreecommitdiffstats
path: root/androidmk
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-11-18 14:54:24 -0800
committerDan Willemsen <dwillemsen@google.com>2016-11-28 13:45:24 -0800
commitd2ede879b5027413b288be92bdc4f320124c5d3c (patch)
treefad2da22ce685b05ff4042ab86941b260e69b801 /androidmk
parent112fd2b9b1ad51d5a7c17a4859fda75592d6ef93 (diff)
downloadbuild_soong-d2ede879b5027413b288be92bdc4f320124c5d3c.tar.gz
build_soong-d2ede879b5027413b288be92bdc4f320124c5d3c.tar.bz2
build_soong-d2ede879b5027413b288be92bdc4f320124c5d3c.zip
Add basic VNDK support in Soong
Export a list of libraries in the VNDK, which is currently empty. Take in Make's global BOARD_VNDK_VERSION, and use that as the SDK version for modules that specify use_vndk: true. Modules that use the vndk have some configuration as if they were building against the NDK (the absence of globally defined headers), but in other cases look like platform modules (using the platform libc++, for now). This change does not attempt to enforce any linking constraints, that will come in a later patch. Test: out/soong/build.ninja doesn't change Change-Id: I3be206b67015ac5177b7eef4a451c579e3dc903f
Diffstat (limited to 'androidmk')
-rw-r--r--androidmk/cmd/androidmk/android.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/androidmk/cmd/androidmk/android.go b/androidmk/cmd/androidmk/android.go
index 6387ff1b..5d9f1b41 100644
--- a/androidmk/cmd/androidmk/android.go
+++ b/androidmk/cmd/androidmk/android.go
@@ -77,6 +77,7 @@ var standardProperties = map[string]struct {
"LOCAL_NO_STANDARD_LIBRARIES": {"no_standard_libraries", bpparser.BoolType},
"LOCAL_PACK_MODULE_RELOCATIONS": {"pack_relocations", bpparser.BoolType},
"LOCAL_TIDY": {"tidy", bpparser.BoolType},
+ "LOCAL_USE_VNDK": {"use_vndk", bpparser.BoolType},
"LOCAL_EXPORT_PACKAGE_RESOURCES": {"export_package_resources", bpparser.BoolType},
}