content_child.target.darwin-arm.mk revision 68043e1e95eeb07d5cae7aca370b26518b0867d6
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/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	content/child/websocket_bridge.cc \
76	content/child/websocket_dispatcher.cc
77
78
79# Flags passed to both C and C++ files.
80MY_CFLAGS_Debug := \
81	-fstack-protector \
82	--param=ssp-buffer-size=4 \
83	-Werror \
84	-fno-exceptions \
85	-fno-strict-aliasing \
86	-Wall \
87	-Wno-unused-parameter \
88	-Wno-missing-field-initializers \
89	-fvisibility=hidden \
90	-pipe \
91	-fPIC \
92	-fno-tree-sra \
93	-fuse-ld=gold \
94	-Wno-psabi \
95	-ffunction-sections \
96	-funwind-tables \
97	-g \
98	-fstack-protector \
99	-fno-short-enums \
100	-finline-limit=64 \
101	-Wa,--noexecstack \
102	-U_FORTIFY_SOURCE \
103	-Wno-extra \
104	-Wno-ignored-qualifiers \
105	-Wno-type-limits \
106	-Os \
107	-g \
108	-fomit-frame-pointer \
109	-fdata-sections \
110	-ffunction-sections
111
112MY_DEFS_Debug := \
113	'-DCONTENT_IMPLEMENTATION' \
114	'-DANGLE_DX11' \
115	'-D_FILE_OFFSET_BITS=64' \
116	'-DNO_TCMALLOC' \
117	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
118	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
119	'-DDISABLE_NACL' \
120	'-DCHROMIUM_BUILD' \
121	'-DUSE_LIBJPEG_TURBO=1' \
122	'-DUSE_PROPRIETARY_CODECS' \
123	'-DENABLE_CONFIGURATION_POLICY' \
124	'-DENABLE_GPU=1' \
125	'-DUSE_OPENSSL=1' \
126	'-DENABLE_EGLIMAGE=1' \
127	'-DCLD_VERSION=1' \
128	'-DSK_ENABLE_INST_COUNT=0' \
129	'-DSK_SUPPORT_GPU=1' \
130	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
131	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
132	'-DSK_BUILD_FOR_ANDROID' \
133	'-DSK_USE_POSIX_THREADS' \
134	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
135	'-DPOSIX_AVOID_MMAP' \
136	'-DU_USING_ICU_NAMESPACE=0' \
137	'-D__STDC_CONSTANT_MACROS' \
138	'-D__STDC_FORMAT_MACROS' \
139	'-DANDROID' \
140	'-D__GNU_SOURCE=1' \
141	'-DUSE_STLPORT=1' \
142	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
143	'-DCHROME_BUILD_ID=""' \
144	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
145	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
146	'-D_DEBUG'
147
148
149# Include paths placed before CFLAGS/CPPFLAGS
150LOCAL_C_INCLUDES_Debug := \
151	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
152	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
153	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
154	$(LOCAL_PATH) \
155	$(LOCAL_PATH)/third_party/khronos \
156	$(LOCAL_PATH)/gpu \
157	$(gyp_shared_intermediate_dir)/content \
158	$(LOCAL_PATH)/third_party/skia/src/core \
159	$(LOCAL_PATH)/skia/config \
160	$(LOCAL_PATH)/third_party/skia/include/config \
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/ext \
171	$(PWD)/external/icu4c/common \
172	$(PWD)/external/icu4c/i18n \
173	$(LOCAL_PATH)/third_party/WebKit \
174	$(LOCAL_PATH)/v8/include \
175	$(LOCAL_PATH)/third_party/npapi \
176	$(LOCAL_PATH)/third_party/npapi/bindings \
177	$(PWD)/frameworks/wilhelm/include \
178	$(PWD)/bionic \
179	$(PWD)/external/stlport/stlport
180
181
182# Flags passed to only C++ (and not C) files.
183LOCAL_CPPFLAGS_Debug := \
184	-fno-rtti \
185	-fno-threadsafe-statics \
186	-fvisibility-inlines-hidden \
187	-Wsign-compare \
188	-Wno-abi \
189	-Wno-error=c++0x-compat \
190	-Wno-non-virtual-dtor \
191	-Wno-sign-promo
192
193
194# Flags passed to both C and C++ files.
195MY_CFLAGS_Release := \
196	-fstack-protector \
197	--param=ssp-buffer-size=4 \
198	-Werror \
199	-fno-exceptions \
200	-fno-strict-aliasing \
201	-Wall \
202	-Wno-unused-parameter \
203	-Wno-missing-field-initializers \
204	-fvisibility=hidden \
205	-pipe \
206	-fPIC \
207	-fno-tree-sra \
208	-fuse-ld=gold \
209	-Wno-psabi \
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	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
233	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
234	'-DDISABLE_NACL' \
235	'-DCHROMIUM_BUILD' \
236	'-DUSE_LIBJPEG_TURBO=1' \
237	'-DUSE_PROPRIETARY_CODECS' \
238	'-DENABLE_CONFIGURATION_POLICY' \
239	'-DENABLE_GPU=1' \
240	'-DUSE_OPENSSL=1' \
241	'-DENABLE_EGLIMAGE=1' \
242	'-DCLD_VERSION=1' \
243	'-DSK_ENABLE_INST_COUNT=0' \
244	'-DSK_SUPPORT_GPU=1' \
245	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
246	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
247	'-DSK_BUILD_FOR_ANDROID' \
248	'-DSK_USE_POSIX_THREADS' \
249	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
250	'-DPOSIX_AVOID_MMAP' \
251	'-DU_USING_ICU_NAMESPACE=0' \
252	'-D__STDC_CONSTANT_MACROS' \
253	'-D__STDC_FORMAT_MACROS' \
254	'-DANDROID' \
255	'-D__GNU_SOURCE=1' \
256	'-DUSE_STLPORT=1' \
257	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
258	'-DCHROME_BUILD_ID=""' \
259	'-DNDEBUG' \
260	'-DNVALGRIND' \
261	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
262	'-D_FORTIFY_SOURCE=2'
263
264
265# Include paths placed before CFLAGS/CPPFLAGS
266LOCAL_C_INCLUDES_Release := \
267	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
268	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
269	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
270	$(LOCAL_PATH) \
271	$(LOCAL_PATH)/third_party/khronos \
272	$(LOCAL_PATH)/gpu \
273	$(gyp_shared_intermediate_dir)/content \
274	$(LOCAL_PATH)/third_party/skia/src/core \
275	$(LOCAL_PATH)/skia/config \
276	$(LOCAL_PATH)/third_party/skia/include/config \
277	$(LOCAL_PATH)/third_party/skia/include/core \
278	$(LOCAL_PATH)/third_party/skia/include/effects \
279	$(LOCAL_PATH)/third_party/skia/include/pdf \
280	$(LOCAL_PATH)/third_party/skia/include/gpu \
281	$(LOCAL_PATH)/third_party/skia/include/lazy \
282	$(LOCAL_PATH)/third_party/skia/include/pathops \
283	$(LOCAL_PATH)/third_party/skia/include/pipe \
284	$(LOCAL_PATH)/third_party/skia/include/ports \
285	$(LOCAL_PATH)/third_party/skia/include/utils \
286	$(LOCAL_PATH)/skia/ext \
287	$(PWD)/external/icu4c/common \
288	$(PWD)/external/icu4c/i18n \
289	$(LOCAL_PATH)/third_party/WebKit \
290	$(LOCAL_PATH)/v8/include \
291	$(LOCAL_PATH)/third_party/npapi \
292	$(LOCAL_PATH)/third_party/npapi/bindings \
293	$(PWD)/frameworks/wilhelm/include \
294	$(PWD)/bionic \
295	$(PWD)/external/stlport/stlport
296
297
298# Flags passed to only C++ (and not C) files.
299LOCAL_CPPFLAGS_Release := \
300	-fno-rtti \
301	-fno-threadsafe-statics \
302	-fvisibility-inlines-hidden \
303	-Wsign-compare \
304	-Wno-abi \
305	-Wno-error=c++0x-compat \
306	-Wno-non-virtual-dtor \
307	-Wno-sign-promo
308
309
310LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
311LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
312LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
313### Rules for final target.
314
315LOCAL_LDFLAGS_Debug := \
316	-Wl,-z,now \
317	-Wl,-z,relro \
318	-Wl,-z,noexecstack \
319	-fPIC \
320	-Wl,-z,relro \
321	-Wl,-z,now \
322	-fuse-ld=gold \
323	-nostdlib \
324	-Wl,--no-undefined \
325	-Wl,--exclude-libs=ALL \
326	-Wl,--icf=safe \
327	-Wl,--fatal-warnings \
328	-Wl,--gc-sections \
329	-Wl,--warn-shared-textrel \
330	-Wl,-O1 \
331	-Wl,--as-needed
332
333
334LOCAL_LDFLAGS_Release := \
335	-Wl,-z,now \
336	-Wl,-z,relro \
337	-Wl,-z,noexecstack \
338	-fPIC \
339	-Wl,-z,relro \
340	-Wl,-z,now \
341	-fuse-ld=gold \
342	-nostdlib \
343	-Wl,--no-undefined \
344	-Wl,--exclude-libs=ALL \
345	-Wl,--icf=safe \
346	-Wl,-O1 \
347	-Wl,--as-needed \
348	-Wl,--gc-sections \
349	-Wl,--fatal-warnings \
350	-Wl,--warn-shared-textrel
351
352
353LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
354
355LOCAL_STATIC_LIBRARIES := \
356	cpufeatures \
357	skia_skia_library_gyp \
358	ui_ui_gyp \
359	webkit_glue_glue_child_gyp
360
361# Enable grouping to fix circular references
362LOCAL_GROUP_STATIC_LIBRARIES := true
363
364LOCAL_SHARED_LIBRARIES := \
365	libstlport \
366	libdl
367
368# Add target alias to "gyp_all_modules" target.
369.PHONY: gyp_all_modules
370gyp_all_modules: content_content_child_gyp
371
372# Alias gyp target name.
373.PHONY: content_child
374content_child: content_content_child_gyp
375
376include $(BUILD_STATIC_LIBRARY)
377