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

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

Issue 1559463002: [NaCl SDK] Don't include gtest/gmock in library form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/common.mk ('k') | no next file » | 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 # 70 #
71 # $1 = Target Name 71 # $1 = Target Name
72 # $2 = List of Sources 72 # $2 = List of Sources
73 # 73 #
74 # 74 #
75 define LIB_RULE 75 define LIB_RULE
76 $(STAMPDIR)/$(1).stamp: $(LIBDIR)/$(OSNAME)_x86_32_host/$(CONFIG)/$(1).lib 76 $(STAMPDIR)/$(1).stamp: $(LIBDIR)/$(OSNAME)_x86_32_host/$(CONFIG)/$(1).lib
77 @echo "TOUCHED $$@" > $(STAMPDIR)/$(1).stamp 77 @echo "TOUCHED $$@" > $(STAMPDIR)/$(1).stamp
78 78
79 all:$(LIBDIR)/$(OSNAME)_x86_32_host/$(CONFIG)/$(1).lib 79 all:$(LIBDIR)/$(OSNAME)_x86_32_host/$(CONFIG)/$(1).lib
80 $(LIBDIR)/$(OSNAME)_x86_32_host/$(CONFIG)/$(1).lib: $(foreach src,$(2),$(OUTDIR) /$(basename $(src)).o) 80 $(LIBDIR)/$(OSNAME)_x86_32_host/$(CONFIG)/$(1).lib: $(foreach src,$(2),$(call SR C_TO_OBJ,$(src)))
81 $(MKDIR) -p $$(dir $$@) 81 $(MKDIR) -p $$(dir $$@)
82 $(call LOG,LIB,$$@,$(HOST_LIB) /OUT:$$@ $$^ $(WIN_LDFLAGS)) 82 $(call LOG,LIB,$$@,$(HOST_LIB) /OUT:$$@ $$^ $(WIN_LDFLAGS))
83 endef 83 endef
84 84
85 85
86 # 86 #
87 # Link Macro 87 # Link Macro
88 # 88 #
89 # $1 = Target Name 89 # $1 = Target Name
90 # $2 = List of inputs 90 # $2 = List of inputs
(...skipping 13 matching lines...) Expand all
104 # Link Macro 104 # Link Macro
105 # 105 #
106 # $1 = Target Name 106 # $1 = Target Name
107 # $2 = List of Sources 107 # $2 = List of Sources
108 # $3 = List of LIBS 108 # $3 = List of LIBS
109 # $4 = List of DEPS 109 # $4 = List of DEPS
110 # $5 = POSIX Linker Switches 110 # $5 = POSIX Linker Switches
111 # $6 = VC Linker Switches 111 # $6 = VC Linker Switches
112 # 112 #
113 define LINK_RULE 113 define LINK_RULE
114 $(call LINKER_RULE,$(OUTDIR)/$(1)$(HOST_EXT),$(foreach src,$(2),$(OUTDIR)/$(base name $(src)).o),$(3),$(4),$(LIB_PATHS),$(6)) 114 $(call LINKER_RULE,$(OUTDIR)/$(1)$(HOST_EXT),$(foreach src,$(2),$(call SRC_TO_OB J,$(src))),$(3),$(4),$(LIB_PATHS),$(6))
115 endef 115 endef
116 116
117 117
118 # 118 #
119 # Strip Macro 119 # Strip Macro
120 # This is a nop (copy) since visual studio already keeps debug info 120 # This is a nop (copy) since visual studio already keeps debug info
121 # separate from the binaries 121 # separate from the binaries
122 # 122 #
123 # $1 = Target Name 123 # $1 = Target Name
124 # $2 = Input Name 124 # $2 = Input Name
125 # 125 #
126 define STRIP_RULE 126 define STRIP_RULE
127 all: $(OUTDIR)/$(1)$(HOST_EXT) 127 all: $(OUTDIR)/$(1)$(HOST_EXT)
128 $(OUTDIR)/$(1)$(HOST_EXT): $(OUTDIR)/$(2)$(HOST_EXT) 128 $(OUTDIR)/$(1)$(HOST_EXT): $(OUTDIR)/$(2)$(HOST_EXT)
129 $(call LOG,COPY,$$@,$(CP) $$^ $$@) 129 $(call LOG,COPY,$$@,$(CP) $$^ $$@)
130 endef 130 endef
131 131
132 all: $(LIB_LIST) $(DEPS_LIST) 132 all: $(LIB_LIST) $(DEPS_LIST)
OLDNEW
« no previous file with comments | « native_client_sdk/src/tools/common.mk ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698