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

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

Issue 13488007: [NaCl SDK] Make the SDK examples buildable as a packaged app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license headers Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « native_client_sdk/src/tools/common.mk ('k') | native_client_sdk/src/tools/nacl_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 10 matching lines...) Expand all
21 HOST_LIB?=lib.exe /nologo 21 HOST_LIB?=lib.exe /nologo
22 22
23 ifeq (,$(findstring cl.exe,$(shell $(WHICH) cl.exe))) 23 ifeq (,$(findstring cl.exe,$(shell $(WHICH) cl.exe)))
24 $(warning To skip the host build use:) 24 $(warning To skip the host build use:)
25 $(warning "make NO_HOST_BUILDS=1") 25 $(warning "make NO_HOST_BUILDS=1")
26 $(error Unable to find cl.exe in PATH while building Windows host build) 26 $(error Unable to find cl.exe in PATH while building Windows host build)
27 endif 27 endif
28 28
29 29
30 ifeq ('Debug','$(CONFIG)') 30 ifeq ('Debug','$(CONFIG)')
31 WIN_OPT_FLAGS?=/Od /MTd /Z7 31 WIN_OPT_FLAGS?=/Od /MTd /Z7 -D NACL_SDK_DEBUG
32 else 32 else
33 WIN_OPT_FLAGS?=/O2 /MT /Z7 33 WIN_OPT_FLAGS?=/O2 /MT /Z7
34 endif 34 endif
35 35
36 WIN_FLAGS?=-D WIN32 -D _WIN32 -D PTW32_STATIC_LIB 36 WIN_FLAGS?=-D WIN32 -D _WIN32 -D PTW32_STATIC_LIB
37 37
38 38
39 # 39 #
40 # Individual Macros 40 # Individual Macros
41 # 41 #
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 # $3 = List of LIBS 109 # $3 = List of LIBS
110 # $4 = List of DEPS 110 # $4 = List of DEPS
111 # $5 = POSIX Linker Switches 111 # $5 = POSIX Linker Switches
112 # $6 = VC Linker Switches 112 # $6 = VC Linker Switches
113 # 113 #
114 define LINK_RULE 114 define LINK_RULE
115 $(call LINKER_RULE,$(OUTDIR)/$(1)$(HOST_EXT),$(foreach src,$(2),$(OUTDIR)/$(base name $(src)).o),$(3),$(4),$(LIB_PATHS),$(6)) 115 $(call LINKER_RULE,$(OUTDIR)/$(1)$(HOST_EXT),$(foreach src,$(2),$(OUTDIR)/$(base name $(src)).o),$(3),$(4),$(LIB_PATHS),$(6))
116 endef 116 endef
117 117
118 all : $(LIB_LIST) $(DEPS_LIST) 118 all : $(LIB_LIST) $(DEPS_LIST)
OLDNEW
« no previous file with comments | « native_client_sdk/src/tools/common.mk ('k') | native_client_sdk/src/tools/nacl_gcc.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698