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

Side by Side Diff: native_client_sdk/src/tools/nacl_gcc.mk

Issue 1331443008: [NaCl SDK] Add msan support to SDK build system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/tools/host_gcc.mk ('k') | native_client_sdk/src/tools/sel_ldr.py » ('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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 # Use the python script create_nmf to scan the binaries for dependencies using 461 # Use the python script create_nmf to scan the binaries for dependencies using
462 # objdump. Pass in the (-L) paths to the default library toolchains so that we 462 # objdump. Pass in the (-L) paths to the default library toolchains so that we
463 # can find those libraries and have it automatically copy the files (-s) to 463 # can find those libraries and have it automatically copy the files (-s) to
464 # the target directory for us. 464 # the target directory for us.
465 # 465 #
466 # $1 = Target Name (the basename of the nmf 466 # $1 = Target Name (the basename of the nmf
467 # $2 = Additional create_nmf.py arguments 467 # $2 = Additional create_nmf.py arguments
468 # 468 #
469 NMF := python $(NACL_SDK_ROOT)/tools/create_nmf.py 469 NMF := python $(NACL_SDK_ROOT)/tools/create_nmf.py
470 NMF_FLAGS += --config=$(CONFIG_DIR) 470 NMF_FLAGS += --config=$(CONFIG_DIR)
471 SEL_LDR_ARGS += --config=$(CONFIG_DIR)
471 472
472 EXECUTABLES = $(GLIBC_SO_LIST) 473 EXECUTABLES = $(GLIBC_SO_LIST)
473 ifneq (,$(findstring x86_32,$(ARCHES))) 474 ifneq (,$(findstring x86_32,$(ARCHES)))
474 EXECUTABLES += $(X86_32_OUTDIR)/$(1)_x86_32.nexe 475 EXECUTABLES += $(X86_32_OUTDIR)/$(1)_x86_32.nexe
475 endif 476 endif
476 ifneq (,$(findstring x86_64,$(ARCHES))) 477 ifneq (,$(findstring x86_64,$(ARCHES)))
477 EXECUTABLES += $(X86_64_OUTDIR)/$(1)_x86_64.nexe 478 EXECUTABLES += $(X86_64_OUTDIR)/$(1)_x86_64.nexe
478 endif 479 endif
479 ifneq (,$(findstring arm,$(ARCHES))) 480 ifneq (,$(findstring arm,$(ARCHES)))
480 EXECUTABLES += $(ARM_OUTDIR)/$(1)_arm.nexe 481 EXECUTABLES += $(ARM_OUTDIR)/$(1)_arm.nexe
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 $(error Cannot run in sel_ldr unless $$NACL_ARCH is set) 552 $(error Cannot run in sel_ldr unless $$NACL_ARCH is set)
552 endif 553 endif
553 $(SEL_LDR_PATH) $(SEL_LDR_ARGS) $(OUTDIR)/$(TARGET)_$(NACL_ARCH).nexe -- $(EXE_ARGS) 554 $(SEL_LDR_PATH) $(SEL_LDR_ARGS) $(OUTDIR)/$(TARGET)_$(NACL_ARCH).nexe -- $(EXE_ARGS)
554 555
555 debug: all 556 debug: all
556 ifndef NACL_ARCH 557 ifndef NACL_ARCH
557 $(error Cannot run in sel_ldr unless $$NACL_ARCH is set) 558 $(error Cannot run in sel_ldr unless $$NACL_ARCH is set)
558 endif 559 endif
559 $(SEL_LDR_PATH) -d $(SEL_LDR_ARGS) $(OUTDIR)/$(TARGET)_$(NACL_ARCH).nexe -- $(EXE_ARGS) 560 $(SEL_LDR_PATH) -d $(SEL_LDR_ARGS) $(OUTDIR)/$(TARGET)_$(NACL_ARCH).nexe -- $(EXE_ARGS)
560 endif 561 endif
OLDNEW
« no previous file with comments | « native_client_sdk/src/tools/host_gcc.mk ('k') | native_client_sdk/src/tools/sel_ldr.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698