summaryrefslogtreecommitdiffstats
path: root/support/android
diff options
context:
space:
mode:
authorTakayuki Hoshi <hoshi@google.com>2018-05-16 22:21:10 +0900
committerTakayuki Hoshi <hoshi@google.com>2018-09-05 08:54:44 +0900
commit2da0f098f1cef30e9c24b99e02c7d9d65abdc9fb (patch)
treef5b17f93b337387979e8bcbc766f10edd8f08950 /support/android
parent108db75a59dbea562ac4bcaf8c6cc862c4919af0 (diff)
downloadplatform_external_parameter-framework-2da0f098f1cef30e9c24b99e02c7d9d65abdc9fb.tar.gz
platform_external_parameter-framework-2da0f098f1cef30e9c24b99e02c7d9d65abdc9fb.tar.bz2
platform_external_parameter-framework-2da0f098f1cef30e9c24b99e02c7d9d65abdc9fb.zip
Do not assume HOST_OUT_EXECUTABLES is always in the PATHandroid-o-mr1-iot-release-1.0.4
domainGenerator.py assumes HOST_OUT_EXECUTABLES is always in the PATH, which is not always the case. This change fixes the glitch. Bug: 79784127 Test: Run `make PRODUCT-<device>-<buildtype>` without executing `lunch` Change-Id: I388567c57d0f302fb8a698f01913d7aa36f794dc
Diffstat (limited to 'support/android')
-rw-r--r--support/android/build_pfw_settings.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/android/build_pfw_settings.mk b/support/android/build_pfw_settings.mk
index 271afbc..35fc4c3 100644
--- a/support/android/build_pfw_settings.mk
+++ b/support/android/build_pfw_settings.mk
@@ -42,7 +42,7 @@ $(LOCAL_BUILT_MODULE): MY_SCHEMAS_DIR := $(PFW_SCHEMAS_DIR)
$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) $(HOST_OUT)/bin/domainGenerator.py
$(hide) mkdir -p "$(dir $@)"
- "$(MY_TOOL)" --validate \
+ PATH=$(HOST_OUT_EXECUTABLES):$$PATH "$(MY_TOOL)" --validate \
--toplevel-config "$(MY_TOPLEVEL_FILE)" \
--criteria "$(MY_CRITERIA_FILE)" \
--initial-settings $(MY_TUNING_FILE) \