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

Side by Side Diff: third_party/snappy/snappy.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.gyp ('k') | third_party/snappy/snappy_unittest.target.mk » ('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
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 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
36 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
37 '-D_DEBUG'
38
39 # Flags passed to all source files.
40 CFLAGS_Debug := \
41 -fstack-protector \
42 --param=ssp-buffer-size=4 \
43 -pthread \
44 -fno-exceptions \
45 -fno-strict-aliasing \
46 -Wno-unused-parameter \
47 -Wno-missing-field-initializers \
48 -fvisibility=hidden \
49 -pipe \
50 -fPIC \
51 -Wno-format \
52 -Wno-unused-result \
53 -O0 \
54 -g
55
56 # Flags passed to only C files.
57 CFLAGS_C_Debug :=
58
59 # Flags passed to only C++ files.
60 CFLAGS_CC_Debug := \
61 -fno-rtti \
62 -fno-threadsafe-statics \
63 -fvisibility-inlines-hidden \
64 -Wno-deprecated
65
66 INCS_Debug := \
67 -Ithird_party/snappy/linux \
68 -Ithird_party/snappy/src \
69 -I.
70
71 DEFS_Release := \
72 '-D_FILE_OFFSET_BITS=64' \
73 '-DUSE_LINUX_BREAKPAD' \
74 '-DCHROMIUM_BUILD' \
75 '-DUSE_DEFAULT_RENDER_THEME=1' \
76 '-DUSE_LIBJPEG_TURBO=1' \
77 '-DUSE_NSS=1' \
78 '-DUSE_X11=1' \
79 '-DENABLE_ONE_CLICK_SIGNIN' \
80 '-DGTK_DISABLE_SINGLE_INCLUDES=1' \
81 '-DENABLE_REMOTING=1' \
82 '-DENABLE_WEBRTC=1' \
83 '-DENABLE_CONFIGURATION_POLICY' \
84 '-DENABLE_INPUT_SPEECH' \
85 '-DENABLE_NOTIFICATIONS' \
86 '-DENABLE_GPU=1' \
87 '-DENABLE_EGLIMAGE=1' \
88 '-DENABLE_TASK_MANAGER=1' \
89 '-DENABLE_EXTENSIONS=1' \
90 '-DENABLE_PLUGIN_INSTALLATION=1' \
91 '-DENABLE_PLUGINS=1' \
92 '-DENABLE_SESSION_SERVICE=1' \
93 '-DENABLE_THEMES=1' \
94 '-DENABLE_BACKGROUND=1' \
95 '-DENABLE_AUTOMATION=1' \
96 '-DENABLE_GOOGLE_NOW=1' \
97 '-DENABLE_LANGUAGE_DETECTION=1' \
98 '-DENABLE_PRINTING=1' \
99 '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' \
100 '-DENABLE_MANAGED_USERS=1' \
101 '-DNDEBUG' \
102 '-DNVALGRIND' \
103 '-DDYNAMIC_ANNOTATIONS_ENABLED=0'
104
105 # Flags passed to all source files.
106 CFLAGS_Release := \
107 -fstack-protector \
108 --param=ssp-buffer-size=4 \
109 -pthread \
110 -fno-exceptions \
111 -fno-strict-aliasing \
112 -Wno-unused-parameter \
113 -Wno-missing-field-initializers \
114 -fvisibility=hidden \
115 -pipe \
116 -fPIC \
117 -Wno-format \
118 -Wno-unused-result \
119 -O2 \
120 -fno-ident \
121 -fdata-sections \
122 -ffunction-sections
123
124 # Flags passed to only C files.
125 CFLAGS_C_Release :=
126
127 # Flags passed to only C++ files.
128 CFLAGS_CC_Release := \
129 -fno-rtti \
130 -fno-threadsafe-statics \
131 -fvisibility-inlines-hidden \
132 -Wno-deprecated
133
134 INCS_Release := \
135 -Ithird_party/snappy/linux \
136 -Ithird_party/snappy/src \
137 -I.
138
139 OBJS := \
140 $(obj).target/$(TARGET)/third_party/snappy/src/snappy-sinksource.o \
141 $(obj).target/$(TARGET)/third_party/snappy/src/snappy-stubs-internal.o \
142 $(obj).target/$(TARGET)/third_party/snappy/src/snappy.o
143
144 # Add to the list of files we specially track dependencies for.
145 all_deps += $(OBJS)
146
147 # CFLAGS et al overrides must be target-local.
148 # See "Target-specific Variable Values" in the GNU Make manual.
149 $(OBJS): TOOLSET := $(TOOLSET)
150 $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUI LDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
151 $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(B UILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
152
153 # Suffix rules, putting all outputs into $(obj).
154
155 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
156 @$(call do_cmd,cxx,1)
157
158 # Try building from generated source, too.
159
160 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
161 @$(call do_cmd,cxx,1)
162
163 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
164 @$(call do_cmd,cxx,1)
165
166 # End of this set of suffix rules
167 ### Rules for final target.
168 LDFLAGS_Debug := \
169 -Wl,-z,now \
170 -Wl,-z,relro \
171 -pthread \
172 -Wl,-z,noexecstack \
173 -fPIC \
174 -Wl,--threads \
175 -Wl,--thread-count=4 \
176 -B$(builddir)/../../third_party/gold \
177 -Wl,--icf=none
178
179 LDFLAGS_Release := \
180 -Wl,-z,now \
181 -Wl,-z,relro \
182 -pthread \
183 -Wl,-z,noexecstack \
184 -fPIC \
185 -Wl,--threads \
186 -Wl,--thread-count=4 \
187 -B$(builddir)/../../third_party/gold \
188 -Wl,--icf=none \
189 -Wl,-O1 \
190 -Wl,--as-needed \
191 -Wl,--gc-sections
192
193 LIBS := \
194
195
196 $(obj).target/third_party/snappy/libsnappy.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTY PE))
197 $(obj).target/third_party/snappy/libsnappy.a: LIBS := $(LIBS)
198 $(obj).target/third_party/snappy/libsnappy.a: TOOLSET := $(TOOLSET)
199 $(obj).target/third_party/snappy/libsnappy.a: $(OBJS) FORCE_DO_CMD
200 $(call do_cmd,alink_thin)
201
202 all_deps += $(obj).target/third_party/snappy/libsnappy.a
203 # Add target alias
204 .PHONY: snappy
205 snappy: $(obj).target/third_party/snappy/libsnappy.a
206
207 # Add target alias to "all" target.
208 .PHONY: all
209 all: snappy
210
OLDNEW
« no previous file with comments | « third_party/snappy/snappy.gyp ('k') | third_party/snappy/snappy_unittest.target.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698