content_child.target.linux-mips.mk revision 1e9bf3e0803691d0a228da41fc608347b6db4340
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := content_content_child_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14	$(call intermediates-dir-for,GYP,content_content_resources_gyp)/content_resources.stamp \
15	$(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \
16	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp)/skia_skia_library_gyp.a \
17	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \
18	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \
19	$(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp)/npapi.stamp \
20	$(call intermediates-dir-for,STATIC_LIBRARIES,webkit_glue_glue_child_gyp)/webkit_glue_glue_child_gyp.a
21
22GYP_GENERATED_OUTPUTS :=
23
24# Make sure our deps and generated files are built first.
25LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
26
27LOCAL_CPP_EXTENSION := .cc
28LOCAL_GENERATED_SOURCES :=
29
30GYP_COPIED_SOURCE_ORIGIN_DIRS :=
31
32LOCAL_SRC_FILES := \
33	content/child/android/child_jni_registrar.cc \
34	content/child/appcache/appcache_backend_proxy.cc \
35	content/child/appcache/appcache_dispatcher.cc \
36	content/child/appcache/appcache_frontend_impl.cc \
37	content/child/appcache/web_application_cache_host_impl.cc \
38	content/child/child_histogram_message_filter.cc \
39	content/child/child_process.cc \
40	content/child/child_resource_message_filter.cc \
41	content/child/child_thread.cc \
42	content/child/database_util.cc \
43	content/child/db_message_filter.cc \
44	content/child/fileapi/file_system_dispatcher.cc \
45	content/child/fileapi/webfilesystem_impl.cc \
46	content/child/fileapi/webfilewriter_base.cc \
47	content/child/fileapi/webfilewriter_impl.cc \
48	content/child/image_decoder.cc \
49	content/child/indexed_db/indexed_db_dispatcher.cc \
50	content/child/indexed_db/indexed_db_key_builders.cc \
51	content/child/indexed_db/indexed_db_message_filter.cc \
52	content/child/indexed_db/proxy_webidbcursor_impl.cc \
53	content/child/indexed_db/proxy_webidbdatabase_impl.cc \
54	content/child/indexed_db/proxy_webidbfactory_impl.cc \
55	content/child/service_worker/service_worker_dispatcher.cc \
56	content/child/service_worker/service_worker_message_filter.cc \
57	content/child/service_worker/web_service_worker_impl.cc \
58	content/child/service_worker/web_service_worker_provider_impl.cc \
59	content/child/npapi/np_channel_base.cc \
60	content/child/npapi/npobject_proxy.cc \
61	content/child/npapi/npobject_stub.cc \
62	content/child/npapi/npobject_util.cc \
63	content/child/npapi/npruntime_util.cc \
64	content/child/plugin_message_generator.cc \
65	content/child/plugin_param_traits.cc \
66	content/child/power_monitor_broadcast_source.cc \
67	content/child/quota_dispatcher.cc \
68	content/child/quota_message_filter.cc \
69	content/child/request_extra_data.cc \
70	content/child/resource_dispatcher.cc \
71	content/child/runtime_features.cc \
72	content/child/site_isolation_policy.cc \
73	content/child/socket_stream_dispatcher.cc \
74	content/child/thread_safe_sender.cc \
75	content/child/web_database_observer_impl.cc \
76	content/child/webblobregistry_impl.cc \
77	content/child/webkitplatformsupport_impl.cc \
78	content/child/webmessageportchannel_impl.cc \
79	content/child/websocket_bridge.cc \
80	content/child/websocket_dispatcher.cc
81
82
83# Flags passed to both C and C++ files.
84MY_CFLAGS_Debug := \
85	-fstack-protector \
86	--param=ssp-buffer-size=4 \
87	 \
88	-fno-exceptions \
89	-fno-strict-aliasing \
90	-Wall \
91	-Wno-unused-parameter \
92	-Wno-missing-field-initializers \
93	-fvisibility=hidden \
94	-pipe \
95	-fPIC \
96	-EL \
97	-mhard-float \
98	-ffunction-sections \
99	-funwind-tables \
100	-g \
101	-fstack-protector \
102	-fno-short-enums \
103	-finline-limit=64 \
104	-Wa,--noexecstack \
105	-U_FORTIFY_SOURCE \
106	-Wno-extra \
107	-Wno-ignored-qualifiers \
108	-Wno-type-limits \
109	-Os \
110	-g \
111	-fomit-frame-pointer \
112	-fdata-sections \
113	-ffunction-sections
114
115MY_DEFS_Debug := \
116	'-DCONTENT_IMPLEMENTATION' \
117	'-DANGLE_DX11' \
118	'-D_FILE_OFFSET_BITS=64' \
119	'-DNO_TCMALLOC' \
120	'-DDISABLE_NACL' \
121	'-DCHROMIUM_BUILD' \
122	'-DUSE_LIBJPEG_TURBO=1' \
123	'-DUSE_PROPRIETARY_CODECS' \
124	'-DENABLE_CONFIGURATION_POLICY' \
125	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
126	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
127	'-DUSE_OPENSSL=1' \
128	'-DENABLE_EGLIMAGE=1' \
129	'-DCLD_VERSION=1' \
130	'-DSK_ENABLE_INST_COUNT=0' \
131	'-DSK_SUPPORT_GPU=1' \
132	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
133	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
134	'-DSK_BUILD_FOR_ANDROID' \
135	'-DSK_USE_POSIX_THREADS' \
136	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
137	'-DPOSIX_AVOID_MMAP' \
138	'-DU_USING_ICU_NAMESPACE=0' \
139	'-D__STDC_CONSTANT_MACROS' \
140	'-D__STDC_FORMAT_MACROS' \
141	'-DANDROID' \
142	'-D__GNU_SOURCE=1' \
143	'-DUSE_STLPORT=1' \
144	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
145	'-DCHROME_BUILD_ID=""' \
146	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
147	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
148	'-D_DEBUG'
149
150
151# Include paths placed before CFLAGS/CPPFLAGS
152LOCAL_C_INCLUDES_Debug := \
153	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
154	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
155	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
156	$(LOCAL_PATH) \
157	$(LOCAL_PATH)/third_party/khronos \
158	$(LOCAL_PATH)/gpu \
159	$(gyp_shared_intermediate_dir)/content \
160	$(LOCAL_PATH)/third_party/skia/src/core \
161	$(LOCAL_PATH)/third_party/skia/include/core \
162	$(LOCAL_PATH)/third_party/skia/include/effects \
163	$(LOCAL_PATH)/third_party/skia/include/pdf \
164	$(LOCAL_PATH)/third_party/skia/include/gpu \
165	$(LOCAL_PATH)/third_party/skia/include/lazy \
166	$(LOCAL_PATH)/third_party/skia/include/pathops \
167	$(LOCAL_PATH)/third_party/skia/include/pipe \
168	$(LOCAL_PATH)/third_party/skia/include/ports \
169	$(LOCAL_PATH)/third_party/skia/include/utils \
170	$(LOCAL_PATH)/skia/config \
171	$(LOCAL_PATH)/skia/ext \
172	$(PWD)/external/icu4c/common \
173	$(PWD)/external/icu4c/i18n \
174	$(LOCAL_PATH)/third_party/WebKit \
175	$(LOCAL_PATH)/v8/include \
176	$(LOCAL_PATH)/third_party/npapi \
177	$(LOCAL_PATH)/third_party/npapi/bindings \
178	$(PWD)/frameworks/wilhelm/include \
179	$(PWD)/bionic \
180	$(PWD)/external/stlport/stlport
181
182
183# Flags passed to only C++ (and not C) files.
184LOCAL_CPPFLAGS_Debug := \
185	-fno-rtti \
186	-fno-threadsafe-statics \
187	-fvisibility-inlines-hidden \
188	-Wsign-compare \
189	-Wno-uninitialized \
190	-Wno-error=c++0x-compat \
191	-Wno-non-virtual-dtor \
192	-Wno-sign-promo
193
194
195# Flags passed to both C and C++ files.
196MY_CFLAGS_Release := \
197	-fstack-protector \
198	--param=ssp-buffer-size=4 \
199	 \
200	-fno-exceptions \
201	-fno-strict-aliasing \
202	-Wall \
203	-Wno-unused-parameter \
204	-Wno-missing-field-initializers \
205	-fvisibility=hidden \
206	-pipe \
207	-fPIC \
208	-EL \
209	-mhard-float \
210	-ffunction-sections \
211	-funwind-tables \
212	-g \
213	-fstack-protector \
214	-fno-short-enums \
215	-finline-limit=64 \
216	-Wa,--noexecstack \
217	-U_FORTIFY_SOURCE \
218	-Wno-extra \
219	-Wno-ignored-qualifiers \
220	-Wno-type-limits \
221	-Os \
222	-fno-ident \
223	-fdata-sections \
224	-ffunction-sections \
225	-fomit-frame-pointer
226
227MY_DEFS_Release := \
228	'-DCONTENT_IMPLEMENTATION' \
229	'-DANGLE_DX11' \
230	'-D_FILE_OFFSET_BITS=64' \
231	'-DNO_TCMALLOC' \
232	'-DDISABLE_NACL' \
233	'-DCHROMIUM_BUILD' \
234	'-DUSE_LIBJPEG_TURBO=1' \
235	'-DUSE_PROPRIETARY_CODECS' \
236	'-DENABLE_CONFIGURATION_POLICY' \
237	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
238	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
239	'-DUSE_OPENSSL=1' \
240	'-DENABLE_EGLIMAGE=1' \
241	'-DCLD_VERSION=1' \
242	'-DSK_ENABLE_INST_COUNT=0' \
243	'-DSK_SUPPORT_GPU=1' \
244	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
245	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
246	'-DSK_BUILD_FOR_ANDROID' \
247	'-DSK_USE_POSIX_THREADS' \
248	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
249	'-DPOSIX_AVOID_MMAP' \
250	'-DU_USING_ICU_NAMESPACE=0' \
251	'-D__STDC_CONSTANT_MACROS' \
252	'-D__STDC_FORMAT_MACROS' \
253	'-DANDROID' \
254	'-D__GNU_SOURCE=1' \
255	'-DUSE_STLPORT=1' \
256	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
257	'-DCHROME_BUILD_ID=""' \
258	'-DNDEBUG' \
259	'-DNVALGRIND' \
260	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
261	'-D_FORTIFY_SOURCE=2'
262
263
264# Include paths placed before CFLAGS/CPPFLAGS
265LOCAL_C_INCLUDES_Release := \
266	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
267	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
268	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
269	$(LOCAL_PATH) \
270	$(LOCAL_PATH)/third_party/khronos \
271	$(LOCAL_PATH)/gpu \
272	$(gyp_shared_intermediate_dir)/content \
273	$(LOCAL_PATH)/third_party/skia/src/core \
274	$(LOCAL_PATH)/third_party/skia/include/core \
275	$(LOCAL_PATH)/third_party/skia/include/effects \
276	$(LOCAL_PATH)/third_party/skia/include/pdf \
277	$(LOCAL_PATH)/third_party/skia/include/gpu \
278	$(LOCAL_PATH)/third_party/skia/include/lazy \
279	$(LOCAL_PATH)/third_party/skia/include/pathops \
280	$(LOCAL_PATH)/third_party/skia/include/pipe \
281	$(LOCAL_PATH)/third_party/skia/include/ports \
282	$(LOCAL_PATH)/third_party/skia/include/utils \
283	$(LOCAL_PATH)/skia/config \
284	$(LOCAL_PATH)/skia/ext \
285	$(PWD)/external/icu4c/common \
286	$(PWD)/external/icu4c/i18n \
287	$(LOCAL_PATH)/third_party/WebKit \
288	$(LOCAL_PATH)/v8/include \
289	$(LOCAL_PATH)/third_party/npapi \
290	$(LOCAL_PATH)/third_party/npapi/bindings \
291	$(PWD)/frameworks/wilhelm/include \
292	$(PWD)/bionic \
293	$(PWD)/external/stlport/stlport
294
295
296# Flags passed to only C++ (and not C) files.
297LOCAL_CPPFLAGS_Release := \
298	-fno-rtti \
299	-fno-threadsafe-statics \
300	-fvisibility-inlines-hidden \
301	-Wsign-compare \
302	-Wno-uninitialized \
303	-Wno-error=c++0x-compat \
304	-Wno-non-virtual-dtor \
305	-Wno-sign-promo
306
307
308LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
309LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
310LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
311### Rules for final target.
312
313LOCAL_LDFLAGS_Debug := \
314	-Wl,-z,now \
315	-Wl,-z,relro \
316	-Wl,-z,noexecstack \
317	-fPIC \
318	-EL \
319	-Wl,--no-keep-memory \
320	-nostdlib \
321	-Wl,--no-undefined \
322	-Wl,--exclude-libs=ALL \
323	-Wl,--fatal-warnings \
324	-Wl,--gc-sections \
325	-Wl,--warn-shared-textrel \
326	-Wl,-O1 \
327	-Wl,--as-needed
328
329
330LOCAL_LDFLAGS_Release := \
331	-Wl,-z,now \
332	-Wl,-z,relro \
333	-Wl,-z,noexecstack \
334	-fPIC \
335	-EL \
336	-Wl,--no-keep-memory \
337	-nostdlib \
338	-Wl,--no-undefined \
339	-Wl,--exclude-libs=ALL \
340	-Wl,-O1 \
341	-Wl,--as-needed \
342	-Wl,--gc-sections \
343	-Wl,--fatal-warnings \
344	-Wl,--warn-shared-textrel
345
346
347LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
348
349LOCAL_STATIC_LIBRARIES := \
350	cpufeatures \
351	skia_skia_library_gyp \
352	ui_ui_gyp \
353	webkit_glue_glue_child_gyp
354
355# Enable grouping to fix circular references
356LOCAL_GROUP_STATIC_LIBRARIES := true
357
358LOCAL_SHARED_LIBRARIES := \
359	libstlport \
360	libdl
361
362# Add target alias to "gyp_all_modules" target.
363.PHONY: gyp_all_modules
364gyp_all_modules: content_content_child_gyp
365
366# Alias gyp target name.
367.PHONY: content_child
368content_child: content_content_child_gyp
369
370include $(BUILD_STATIC_LIBRARY)
371