content_child.target.linux-mips.mk revision d0247b1b59f9c528cb6df88b4f2b9afaf80d181e
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_support_glue_child_gyp)/webkit_support_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/npapi/np_channel_base.cc \
56	content/child/npapi/npobject_proxy.cc \
57	content/child/npapi/npobject_stub.cc \
58	content/child/npapi/npobject_util.cc \
59	content/child/npapi/npruntime_util.cc \
60	content/child/plugin_message_generator.cc \
61	content/child/plugin_param_traits.cc \
62	content/child/power_monitor_broadcast_source.cc \
63	content/child/quota_dispatcher.cc \
64	content/child/quota_message_filter.cc \
65	content/child/request_extra_data.cc \
66	content/child/resource_dispatcher.cc \
67	content/child/runtime_features.cc \
68	content/child/site_isolation_policy.cc \
69	content/child/socket_stream_dispatcher.cc \
70	content/child/thread_safe_sender.cc \
71	content/child/web_database_observer_impl.cc \
72	content/child/webblobregistry_impl.cc \
73	content/child/webkitplatformsupport_impl.cc \
74	content/child/webmessageportchannel_impl.cc
75
76
77# Flags passed to both C and C++ files.
78MY_CFLAGS_Debug := \
79	-fstack-protector \
80	--param=ssp-buffer-size=4 \
81	 \
82	-fno-exceptions \
83	-fno-strict-aliasing \
84	-Wall \
85	-Wno-unused-parameter \
86	-Wno-missing-field-initializers \
87	-fvisibility=hidden \
88	-pipe \
89	-fPIC \
90	-EL \
91	-mhard-float \
92	-ffunction-sections \
93	-funwind-tables \
94	-g \
95	-fstack-protector \
96	-fno-short-enums \
97	-finline-limit=64 \
98	-Wa,--noexecstack \
99	-U_FORTIFY_SOURCE \
100	-Wno-extra \
101	-Wno-ignored-qualifiers \
102	-Wno-type-limits \
103	-Os \
104	-g \
105	-fomit-frame-pointer \
106	-fdata-sections \
107	-ffunction-sections
108
109MY_DEFS_Debug := \
110	'-DCONTENT_IMPLEMENTATION' \
111	'-DANGLE_DX11' \
112	'-DWTF_VECTOR_INITIAL_SIZE=4' \
113	'-D_FILE_OFFSET_BITS=64' \
114	'-DNO_TCMALLOC' \
115	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
116	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
117	'-DDISABLE_NACL' \
118	'-DCHROMIUM_BUILD' \
119	'-DUSE_LIBJPEG_TURBO=1' \
120	'-DUSE_PROPRIETARY_CODECS' \
121	'-DENABLE_CONFIGURATION_POLICY' \
122	'-DENABLE_GPU=1' \
123	'-DUSE_OPENSSL=1' \
124	'-DENABLE_EGLIMAGE=1' \
125	'-DCLD_VERSION=1' \
126	'-DSK_ENABLE_INST_COUNT=0' \
127	'-DSK_SUPPORT_GPU=1' \
128	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
129	'-DSK_BUILD_FOR_ANDROID' \
130	'-DUSE_CHROMIUM_SKIA' \
131	'-DSK_USE_POSIX_THREADS' \
132	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
133	'-DPOSIX_AVOID_MMAP' \
134	'-DU_USING_ICU_NAMESPACE=0' \
135	'-D__STDC_CONSTANT_MACROS' \
136	'-D__STDC_FORMAT_MACROS' \
137	'-DANDROID' \
138	'-D__GNU_SOURCE=1' \
139	'-DUSE_STLPORT=1' \
140	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
141	'-DCHROME_BUILD_ID=""' \
142	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
143	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
144	'-D_DEBUG'
145
146
147# Include paths placed before CFLAGS/CPPFLAGS
148LOCAL_C_INCLUDES_Debug := \
149	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
150	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
151	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
152	$(LOCAL_PATH) \
153	$(LOCAL_PATH)/third_party/khronos \
154	$(LOCAL_PATH)/gpu \
155	$(gyp_shared_intermediate_dir)/content \
156	$(LOCAL_PATH)/third_party/skia/src/core \
157	$(LOCAL_PATH)/skia/config \
158	$(LOCAL_PATH)/third_party/skia/include/config \
159	$(LOCAL_PATH)/third_party/skia/include/core \
160	$(LOCAL_PATH)/third_party/skia/include/effects \
161	$(LOCAL_PATH)/third_party/skia/include/pdf \
162	$(LOCAL_PATH)/third_party/skia/include/gpu \
163	$(LOCAL_PATH)/third_party/skia/include/lazy \
164	$(LOCAL_PATH)/third_party/skia/include/pathops \
165	$(LOCAL_PATH)/third_party/skia/include/pipe \
166	$(LOCAL_PATH)/third_party/skia/include/ports \
167	$(LOCAL_PATH)/third_party/skia/include/utils \
168	$(LOCAL_PATH)/skia/ext \
169	$(PWD)/external/icu4c/common \
170	$(PWD)/external/icu4c/i18n \
171	$(LOCAL_PATH)/third_party/WebKit \
172	$(LOCAL_PATH)/v8/include \
173	$(LOCAL_PATH)/third_party/npapi \
174	$(LOCAL_PATH)/third_party/npapi/bindings \
175	$(PWD)/frameworks/wilhelm/include \
176	$(PWD)/bionic \
177	$(PWD)/external/stlport/stlport
178
179
180# Flags passed to only C++ (and not C) files.
181LOCAL_CPPFLAGS_Debug := \
182	-fno-rtti \
183	-fno-threadsafe-statics \
184	-fvisibility-inlines-hidden \
185	-Wsign-compare \
186	-Wno-uninitialized \
187	-Wno-error=c++0x-compat \
188	-Wno-non-virtual-dtor \
189	-Wno-sign-promo
190
191
192# Flags passed to both C and C++ files.
193MY_CFLAGS_Release := \
194	-fstack-protector \
195	--param=ssp-buffer-size=4 \
196	 \
197	-fno-exceptions \
198	-fno-strict-aliasing \
199	-Wall \
200	-Wno-unused-parameter \
201	-Wno-missing-field-initializers \
202	-fvisibility=hidden \
203	-pipe \
204	-fPIC \
205	-EL \
206	-mhard-float \
207	-ffunction-sections \
208	-funwind-tables \
209	-g \
210	-fstack-protector \
211	-fno-short-enums \
212	-finline-limit=64 \
213	-Wa,--noexecstack \
214	-U_FORTIFY_SOURCE \
215	-Wno-extra \
216	-Wno-ignored-qualifiers \
217	-Wno-type-limits \
218	-Os \
219	-fno-ident \
220	-fdata-sections \
221	-ffunction-sections \
222	-fomit-frame-pointer
223
224MY_DEFS_Release := \
225	'-DCONTENT_IMPLEMENTATION' \
226	'-DANGLE_DX11' \
227	'-DWTF_VECTOR_INITIAL_SIZE=4' \
228	'-D_FILE_OFFSET_BITS=64' \
229	'-DNO_TCMALLOC' \
230	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
231	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
232	'-DDISABLE_NACL' \
233	'-DCHROMIUM_BUILD' \
234	'-DUSE_LIBJPEG_TURBO=1' \
235	'-DUSE_PROPRIETARY_CODECS' \
236	'-DENABLE_CONFIGURATION_POLICY' \
237	'-DENABLE_GPU=1' \
238	'-DUSE_OPENSSL=1' \
239	'-DENABLE_EGLIMAGE=1' \
240	'-DCLD_VERSION=1' \
241	'-DSK_ENABLE_INST_COUNT=0' \
242	'-DSK_SUPPORT_GPU=1' \
243	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
244	'-DSK_BUILD_FOR_ANDROID' \
245	'-DUSE_CHROMIUM_SKIA' \
246	'-DSK_USE_POSIX_THREADS' \
247	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
248	'-DPOSIX_AVOID_MMAP' \
249	'-DU_USING_ICU_NAMESPACE=0' \
250	'-D__STDC_CONSTANT_MACROS' \
251	'-D__STDC_FORMAT_MACROS' \
252	'-DANDROID' \
253	'-D__GNU_SOURCE=1' \
254	'-DUSE_STLPORT=1' \
255	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
256	'-DCHROME_BUILD_ID=""' \
257	'-DNDEBUG' \
258	'-DNVALGRIND' \
259	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
260	'-D_FORTIFY_SOURCE=2'
261
262
263# Include paths placed before CFLAGS/CPPFLAGS
264LOCAL_C_INCLUDES_Release := \
265	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
266	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
267	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
268	$(LOCAL_PATH) \
269	$(LOCAL_PATH)/third_party/khronos \
270	$(LOCAL_PATH)/gpu \
271	$(gyp_shared_intermediate_dir)/content \
272	$(LOCAL_PATH)/third_party/skia/src/core \
273	$(LOCAL_PATH)/skia/config \
274	$(LOCAL_PATH)/third_party/skia/include/config \
275	$(LOCAL_PATH)/third_party/skia/include/core \
276	$(LOCAL_PATH)/third_party/skia/include/effects \
277	$(LOCAL_PATH)/third_party/skia/include/pdf \
278	$(LOCAL_PATH)/third_party/skia/include/gpu \
279	$(LOCAL_PATH)/third_party/skia/include/lazy \
280	$(LOCAL_PATH)/third_party/skia/include/pathops \
281	$(LOCAL_PATH)/third_party/skia/include/pipe \
282	$(LOCAL_PATH)/third_party/skia/include/ports \
283	$(LOCAL_PATH)/third_party/skia/include/utils \
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_support_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