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

Side by Side 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, 6 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # 5 #
6 # GNU Make based build file. For details on GNU Make see: 6 # GNU Make based build file. For details on GNU Make see:
7 # http://www.gnu.org/software/make/manual/make.html 7 # http://www.gnu.org/software/make/manual/make.html
8 # 8 #
9 9
10 # 10 #
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 # By default this is the NaCl SDK 'lib' folder. 236 # By default this is the NaCl SDK 'lib' folder.
237 # 237 #
238 install: 238 install:
239 .PHONY: install 239 .PHONY: install
240 240
241 ifdef SEL_LDR 241 ifdef SEL_LDR
242 STANDALONE = 1 242 STANDALONE = 1
243 endif 243 endif
244 244
245 OUTBASE ?= . 245 OUTBASE ?= .
246 CONFIG_DIR := $(CONFIG)
246 ifdef STANDALONE 247 ifdef STANDALONE
247 OUTDIR := $(OUTBASE)/$(TOOLCHAIN)/standalone_$(CONFIG) 248 CONFIG_DIR := standalone_$(CONFIG_DIR)
248 else
249 OUTDIR := $(OUTBASE)/$(TOOLCHAIN)/$(CONFIG)
250 endif 249 endif
250 ifdef MSAN
251 CONFIG_DIR := msan_$(CONFIG_DIR)
252 endif
253 ifdef TSAN
254 CONFIG_DIR := tsan_$(CONFIG_DIR)
255 endif
256
257 OUTDIR := $(OUTBASE)/$(TOOLCHAIN)/$(CONFIG_DIR)
251 STAMPDIR ?= $(OUTDIR) 258 STAMPDIR ?= $(OUTDIR)
252 LIBDIR ?= $(NACL_SDK_ROOT)/lib 259 LIBDIR ?= $(NACL_SDK_ROOT)/lib
253 260
254 261
255 # 262 #
256 # Target to remove temporary files 263 # Target to remove temporary files
257 # 264 #
258 .PHONY: clean 265 .PHONY: clean
259 clean: 266 clean:
260 $(RM) -f $(TARGET).nmf 267 $(RM) -f $(TARGET).nmf
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 # uppercase aliases (for backward compatibility) 541 # uppercase aliases (for backward compatibility)
535 .PHONY: CHECK_FOR_CHROME DEBUG LAUNCH RUN 542 .PHONY: CHECK_FOR_CHROME DEBUG LAUNCH RUN
536 CHECK_FOR_CHROME: check_for_chrome 543 CHECK_FOR_CHROME: check_for_chrome
537 DEBUG: debug 544 DEBUG: debug
538 LAUNCH: run 545 LAUNCH: run
539 RUN: run 546 RUN: run
540 547
541 endif # TOOLCHAIN is valid... 548 endif # TOOLCHAIN is valid...
542 549
543 endif # TOOLCHAIN=all 550 endif # TOOLCHAIN=all
OLDNEW
« 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