From e887ccbf12d7070513dd5e23af3abdcf5e49d1f1 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 16 Mar 2018 22:09:50 -0700 Subject: [PATCH] Provide testcases directory for host cross out (windows) modules If HOST_CROSS_OUT_TESTCASES is not defined, then a module that builds for windows and has a test config will attempt to install the config file to //.config. Fixes: [ 54% 99/183] Copy: /simpleperf_unit_test/x86/simpleperf_unit_test.exeninja: error: mkdir(/simpleperf_unit_test): Permission denied Test: m simpleperf_unit_test Change-Id: I07dcecbce9c710b29fec5fbdedc462be3245b578 --- core/envsetup.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/envsetup.mk b/core/envsetup.mk index 6a7fbd1998..12b5869b12 100644 --- a/core/envsetup.mk +++ b/core/envsetup.mk @@ -408,12 +408,13 @@ HOST_OUT_JAVA_LIBRARIES := $(HOST_OUT)/framework HOST_OUT_SDK_ADDON := $(HOST_OUT)/sdk_addon HOST_OUT_NATIVE_TESTS := $(HOST_OUT)/nativetest64 HOST_OUT_COVERAGE := $(HOST_OUT)/coverage +HOST_OUT_TESTCASES := $(HOST_OUT)/testcases HOST_CROSS_OUT_EXECUTABLES := $(HOST_CROSS_OUT)/bin HOST_CROSS_OUT_SHARED_LIBRARIES := $(HOST_CROSS_OUT)/lib HOST_CROSS_OUT_NATIVE_TESTS := $(HOST_CROSS_OUT)/nativetest HOST_CROSS_OUT_COVERAGE := $(HOST_CROSS_OUT)/coverage -HOST_OUT_TESTCASES := $(HOST_OUT)/testcases +HOST_CROSS_OUT_TESTCASES := $(HOST_CROSS_OUT)/testcases HOST_OUT_INTERMEDIATES := $(HOST_OUT)/obj HOST_OUT_INTERMEDIATE_LIBRARIES := $(HOST_OUT_INTERMEDIATES)/lib