Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: native_client_sdk/src/tools/common.mk

Issue 1163843006: [NaCl SDK] Use seperate build dir for msan/tsan builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/src/build_tools/test_sdk.py ('k') | native_client_sdk/src/tools/host_gcc.mk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/tools/common.mk
diff --git a/native_client_sdk/src/tools/common.mk b/native_client_sdk/src/tools/common.mk
index 114a4925652205591978d0008820f001fc19c83c..d23dc8f8ffe67fe9aad9172398312d3e4f2d8ef0 100644
--- a/native_client_sdk/src/tools/common.mk
+++ b/native_client_sdk/src/tools/common.mk
@@ -243,11 +243,18 @@ STANDALONE = 1
endif
OUTBASE ?= .
+CONFIG_DIR := $(CONFIG)
ifdef STANDALONE
-OUTDIR := $(OUTBASE)/$(TOOLCHAIN)/standalone_$(CONFIG)
-else
-OUTDIR := $(OUTBASE)/$(TOOLCHAIN)/$(CONFIG)
+CONFIG_DIR := standalone_$(CONFIG_DIR)
+endif
+ifdef MSAN
+CONFIG_DIR := msan_$(CONFIG_DIR)
endif
+ifdef TSAN
+CONFIG_DIR := tsan_$(CONFIG_DIR)
+endif
+
+OUTDIR := $(OUTBASE)/$(TOOLCHAIN)/$(CONFIG_DIR)
STAMPDIR ?= $(OUTDIR)
LIBDIR ?= $(NACL_SDK_ROOT)/lib
« no previous file with comments | « native_client_sdk/src/build_tools/test_sdk.py ('k') | native_client_sdk/src/tools/host_gcc.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698