diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-12-05 17:16:02 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-12-05 17:21:13 -0800 |
commit | 4353bc4422c13a5737112a3f2e0dfc84fbdac38f (patch) | |
tree | dbcec2f705ddcd7be5888138afe2aed9b028d868 /android/paths.go | |
parent | 7ed1ae3fa4dd23c9c66f729172830ab5224e2dd1 (diff) | |
download | build_soong-4353bc4422c13a5737112a3f2e0dfc84fbdac38f.tar.gz build_soong-4353bc4422c13a5737112a3f2e0dfc84fbdac38f.tar.bz2 build_soong-4353bc4422c13a5737112a3f2e0dfc84fbdac38f.zip |
Support system/vendor for devices without a vendor partition
Test: lunch aosp_arm-eng; m -j vulkan.default
Change-Id: I91eabf98f53c455ec4ade95215f11a6f89631747
Diffstat (limited to 'android/paths.go')
-rw-r--r-- | android/paths.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/paths.go b/android/paths.go index 1a6125a3..e76e1fe6 100644 --- a/android/paths.go +++ b/android/paths.go @@ -631,7 +631,7 @@ func PathForModuleInstall(ctx ModuleContext, paths ...string) OutputPath { if ctx.Device() { partition := "system" if ctx.Proprietary() { - partition = "vendor" + partition = ctx.DeviceConfig().VendorPath() } if ctx.InstallInData() { partition = "data" |