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

Side by Side Diff: third_party/snappy/snappy_unittest.target.mk

Issue 1276073004: Offline By Default (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing explicits. 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 | « third_party/snappy/snappy.target.mk ('k') | third_party/snappy/win32/snappy-stubs-public.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # This file is generated by gyp; do not edit.
2
3 TOOLSET := target
4 TARGET := snappy_unittest
5 DEFS_Debug := \
6 '-D_FILE_OFFSET_BITS=64' \
7 '-DUSE_LINUX_BREAKPAD' \
8 '-DCHROMIUM_BUILD' \
9 '-DUSE_DEFAULT_RENDER_THEME=1' \
10 '-DUSE_LIBJPEG_TURBO=1' \
11 '-DUSE_NSS=1' \
12 '-DUSE_X11=1' \
13 '-DENABLE_ONE_CLICK_SIGNIN' \
14 '-DGTK_DISABLE_SINGLE_INCLUDES=1' \
15 '-DENABLE_REMOTING=1' \
16 '-DENABLE_WEBRTC=1' \
17 '-DENABLE_CONFIGURATION_POLICY' \
18 '-DENABLE_INPUT_SPEECH' \
19 '-DENABLE_NOTIFICATIONS' \
20 '-DENABLE_GPU=1' \
21 '-DENABLE_EGLIMAGE=1' \
22 '-DENABLE_TASK_MANAGER=1' \
23 '-DENABLE_EXTENSIONS=1' \
24 '-DENABLE_PLUGIN_INSTALLATION=1' \
25 '-DENABLE_PLUGINS=1' \
26 '-DENABLE_SESSION_SERVICE=1' \
27 '-DENABLE_THEMES=1' \
28 '-DENABLE_BACKGROUND=1' \
29 '-DENABLE_AUTOMATION=1' \
30 '-DENABLE_GOOGLE_NOW=1' \
31 '-DENABLE_LANGUAGE_DETECTION=1' \
32 '-DENABLE_PRINTING=1' \
33 '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' \
34 '-DENABLE_MANAGED_USERS=1' \
35 '-DUNIT_TEST' \
36 '-DGTEST_HAS_RTTI=0' \
37 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
38 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
39 '-D_DEBUG'
40
41 # Flags passed to all source files.
42 CFLAGS_Debug := \
43 -fstack-protector \
44 --param=ssp-buffer-size=4 \
45 -pthread \
46 -fno-exceptions \
47 -fno-strict-aliasing \
48 -Wno-unused-parameter \
49 -Wno-missing-field-initializers \
50 -fvisibility=hidden \
51 -pipe \
52 -fPIC \
53 -pthread \
54 -I/usr/include/glib-2.0 \
55 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
56 -I/usr/include/gtk-2.0 \
57 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include \
58 -I/usr/include/atk-1.0 \
59 -I/usr/include/cairo \
60 -I/usr/include/gdk-pixbuf-2.0 \
61 -I/usr/include/pango-1.0 \
62 -I/usr/include/gio-unix-2.0/ \
63 -I/usr/include/pixman-1 \
64 -I/usr/include/freetype2 \
65 -I/usr/include/libpng12 \
66 -pthread \
67 -I/usr/include/glib-2.0 \
68 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
69 -Wno-format \
70 -Wno-unused-result \
71 -O0 \
72 -g
73
74 # Flags passed to only C files.
75 CFLAGS_C_Debug :=
76
77 # Flags passed to only C++ files.
78 CFLAGS_CC_Debug := \
79 -fno-rtti \
80 -fno-threadsafe-statics \
81 -fvisibility-inlines-hidden \
82 -Wno-deprecated
83
84 INCS_Debug := \
85 -Ithird_party/snappy/linux \
86 -Ithird_party/snappy/src \
87 -I. \
88 -Itesting/gtest/include \
89 -Ithird_party/zlib
90
91 DEFS_Release := \
92 '-D_FILE_OFFSET_BITS=64' \
93 '-DUSE_LINUX_BREAKPAD' \
94 '-DCHROMIUM_BUILD' \
95 '-DUSE_DEFAULT_RENDER_THEME=1' \
96 '-DUSE_LIBJPEG_TURBO=1' \
97 '-DUSE_NSS=1' \
98 '-DUSE_X11=1' \
99 '-DENABLE_ONE_CLICK_SIGNIN' \
100 '-DGTK_DISABLE_SINGLE_INCLUDES=1' \
101 '-DENABLE_REMOTING=1' \
102 '-DENABLE_WEBRTC=1' \
103 '-DENABLE_CONFIGURATION_POLICY' \
104 '-DENABLE_INPUT_SPEECH' \
105 '-DENABLE_NOTIFICATIONS' \
106 '-DENABLE_GPU=1' \
107 '-DENABLE_EGLIMAGE=1' \
108 '-DENABLE_TASK_MANAGER=1' \
109 '-DENABLE_EXTENSIONS=1' \
110 '-DENABLE_PLUGIN_INSTALLATION=1' \
111 '-DENABLE_PLUGINS=1' \
112 '-DENABLE_SESSION_SERVICE=1' \
113 '-DENABLE_THEMES=1' \
114 '-DENABLE_BACKGROUND=1' \
115 '-DENABLE_AUTOMATION=1' \
116 '-DENABLE_GOOGLE_NOW=1' \
117 '-DENABLE_LANGUAGE_DETECTION=1' \
118 '-DENABLE_PRINTING=1' \
119 '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' \
120 '-DENABLE_MANAGED_USERS=1' \
121 '-DUNIT_TEST' \
122 '-DGTEST_HAS_RTTI=0' \
123 '-DNDEBUG' \
124 '-DNVALGRIND' \
125 '-DDYNAMIC_ANNOTATIONS_ENABLED=0'
126
127 # Flags passed to all source files.
128 CFLAGS_Release := \
129 -fstack-protector \
130 --param=ssp-buffer-size=4 \
131 -pthread \
132 -fno-exceptions \
133 -fno-strict-aliasing \
134 -Wno-unused-parameter \
135 -Wno-missing-field-initializers \
136 -fvisibility=hidden \
137 -pipe \
138 -fPIC \
139 -pthread \
140 -I/usr/include/glib-2.0 \
141 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
142 -I/usr/include/gtk-2.0 \
143 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include \
144 -I/usr/include/atk-1.0 \
145 -I/usr/include/cairo \
146 -I/usr/include/gdk-pixbuf-2.0 \
147 -I/usr/include/pango-1.0 \
148 -I/usr/include/gio-unix-2.0/ \
149 -I/usr/include/pixman-1 \
150 -I/usr/include/freetype2 \
151 -I/usr/include/libpng12 \
152 -pthread \
153 -I/usr/include/glib-2.0 \
154 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
155 -Wno-format \
156 -Wno-unused-result \
157 -O2 \
158 -fno-ident \
159 -fdata-sections \
160 -ffunction-sections
161
162 # Flags passed to only C files.
163 CFLAGS_C_Release :=
164
165 # Flags passed to only C++ files.
166 CFLAGS_CC_Release := \
167 -fno-rtti \
168 -fno-threadsafe-statics \
169 -fvisibility-inlines-hidden \
170 -Wno-deprecated
171
172 INCS_Release := \
173 -Ithird_party/snappy/linux \
174 -Ithird_party/snappy/src \
175 -I. \
176 -Itesting/gtest/include \
177 -Ithird_party/zlib
178
179 OBJS := \
180 $(obj).target/$(TARGET)/third_party/snappy/src/snappy-test.o \
181 $(obj).target/$(TARGET)/third_party/snappy/src/snappy_unittest.o
182
183 # Add to the list of files we specially track dependencies for.
184 all_deps += $(OBJS)
185
186 # Make sure our dependencies are built before any of us.
187 $(OBJS): | $(obj).target/third_party/snappy/libsnappy.a $(obj).target/base/libba se.a $(obj).target/testing/libgtest.a $(obj).target/third_party/zlib/libchrome_z lib.a $(obj).target/base/libbase_static.a $(obj).target/base/allocator/liballoca tor_extension_thunks.a $(obj).target/testing/gtest_prod.stamp $(obj).target/thir d_party/modp_b64/libmodp_b64.a $(obj).target/base/third_party/dynamic_annotation s/libdynamic_annotations.a $(obj).target/base/libsymbolize.a $(obj).target/build /linux/glib.stamp $(obj).target/base/libxdg_mime.a $(obj).target/build/linux/gtk .stamp $(obj).target/build/linux/x11.stamp $(obj).target/third_party/libevent/li bevent.a
188
189 # CFLAGS et al overrides must be target-local.
190 # See "Target-specific Variable Values" in the GNU Make manual.
191 $(OBJS): TOOLSET := $(TOOLSET)
192 $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUI LDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
193 $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(B UILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
194
195 # Suffix rules, putting all outputs into $(obj).
196
197 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
198 @$(call do_cmd,cxx,1)
199
200 # Try building from generated source, too.
201
202 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
203 @$(call do_cmd,cxx,1)
204
205 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
206 @$(call do_cmd,cxx,1)
207
208 # End of this set of suffix rules
209 ### Rules for final target.
210 LDFLAGS_Debug := \
211 -Wl,-z,now \
212 -Wl,-z,relro \
213 -pthread \
214 -Wl,-z,noexecstack \
215 -fPIC \
216 -Wl,--threads \
217 -Wl,--thread-count=4 \
218 -B$(builddir)/../../third_party/gold \
219 -Wl,--icf=none
220
221 LDFLAGS_Release := \
222 -Wl,-z,now \
223 -Wl,-z,relro \
224 -pthread \
225 -Wl,-z,noexecstack \
226 -fPIC \
227 -Wl,--threads \
228 -Wl,--thread-count=4 \
229 -B$(builddir)/../../third_party/gold \
230 -Wl,--icf=none \
231 -Wl,-O1 \
232 -Wl,--as-needed \
233 -Wl,--gc-sections
234
235 LIBS := \
236 \
237 -lrt \
238 -ldl \
239 -lgmodule-2.0 \
240 -lgobject-2.0 \
241 -lgthread-2.0 \
242 -lglib-2.0 \
243 -lXtst \
244 -lgtk-x11-2.0 \
245 -lgdk-x11-2.0 \
246 -latk-1.0 \
247 -lgio-2.0 \
248 -lpangoft2-1.0 \
249 -lpangocairo-1.0 \
250 -lgdk_pixbuf-2.0 \
251 -lcairo \
252 -lpango-1.0 \
253 -lfreetype \
254 -lfontconfig \
255 -lX11 \
256 -lXi
257
258 $(builddir)/snappy_unittest: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
259 $(builddir)/snappy_unittest: LIBS := $(LIBS)
260 $(builddir)/snappy_unittest: LD_INPUTS := $(OBJS) $(obj).target/third_party/snap py/libsnappy.a $(obj).target/base/libbase.a $(obj).target/testing/libgtest.a $(o bj).target/third_party/zlib/libchrome_zlib.a $(obj).target/base/libbase_static.a $(obj).target/base/allocator/liballocator_extension_thunks.a $(obj).target/thir d_party/modp_b64/libmodp_b64.a $(obj).target/base/third_party/dynamic_annotation s/libdynamic_annotations.a $(obj).target/base/libsymbolize.a $(obj).target/base/ libxdg_mime.a $(obj).target/third_party/libevent/libevent.a
261 $(builddir)/snappy_unittest: TOOLSET := $(TOOLSET)
262 $(builddir)/snappy_unittest: $(OBJS) $(obj).target/third_party/snappy/libsnappy. a $(obj).target/base/libbase.a $(obj).target/testing/libgtest.a $(obj).target/th ird_party/zlib/libchrome_zlib.a $(obj).target/base/libbase_static.a $(obj).targe t/base/allocator/liballocator_extension_thunks.a $(obj).target/third_party/modp_ b64/libmodp_b64.a $(obj).target/base/third_party/dynamic_annotations/libdynamic_ annotations.a $(obj).target/base/libsymbolize.a $(obj).target/base/libxdg_mime.a $(obj).target/third_party/libevent/libevent.a FORCE_DO_CMD
263 $(call do_cmd,link)
264
265 all_deps += $(builddir)/snappy_unittest
266 # Add target alias
267 .PHONY: snappy_unittest
268 snappy_unittest: $(builddir)/snappy_unittest
269
OLDNEW
« no previous file with comments | « third_party/snappy/snappy.target.mk ('k') | third_party/snappy/win32/snappy-stubs-public.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698