OSDN Git Service

Tell Soong about TARGET_COPY_OUT_VENDOR
authorDan Willemsen <dwillemsen@google.com>
Tue, 6 Dec 2016 01:46:14 +0000 (17:46 -0800)
committerDan Willemsen <dwillemsen@google.com>
Tue, 6 Dec 2016 01:46:30 +0000 (17:46 -0800)
So that it can properly install proprietary components in system/vendor/
or vendor/

Test: lunch aosp_arm-eng; m -j vulkan.default
Test: lunch aosp_flounder-eng; m -j vulkan.default
Change-Id: I98384d2b4f09c3b5de2ed04417880f366828234e

core/soong_config.mk

index 1782ce5..6440d82 100644 (file)
@@ -37,6 +37,7 @@ $(SOONG_VARIABLES): FORCE
        echo '    "DevicePrefer32BitExecutables": $(if $(filter true,$(TARGET_PREFER_32_BIT_EXECUTABLES)),true,false),'; \
        echo '    "UseGoma": $(if $(filter-out false,$(USE_GOMA)),true,false),'; \
        echo '    "Debuggable": $(if $(filter userdebug eng,$(TARGET_BUILD_VARIANT)),true,false),'; \
+       echo '    "VendorPath": "$(TARGET_COPY_OUT_VENDOR)",'; \
        echo ''; \
        echo '    "ClangTidy": $(if $(filter 1 true,$(WITH_TIDY)),true,false),'; \
        echo '    "TidyChecks": "$(WITH_TIDY_CHECKS)",'; \