• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
12
13# Make sure our deps are built first.
14GYP_TARGET_DEPENDENCIES := \
15	$(call intermediates-dir-for,GYP,content_content_resources_gyp,,,$(GYP_VAR_PREFIX))/content_resources.stamp \
16	$(call intermediates-dir-for,STATIC_LIBRARIES,mojo_mojo_service_provider_bindings_gyp,,,$(GYP_VAR_PREFIX))/mojo_mojo_service_provider_bindings_gyp.a \
17	$(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \
18	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \
19	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \
20	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \
21	$(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp,,,$(GYP_VAR_PREFIX))/npapi.stamp \
22	$(call intermediates-dir-for,STATIC_LIBRARIES,webkit_child_webkit_child_gyp,,,$(GYP_VAR_PREFIX))/webkit_child_webkit_child_gyp.a \
23	$(call intermediates-dir-for,GYP,webkit_webkit_resources_gyp,,,$(GYP_VAR_PREFIX))/webkit_resources.stamp
24
25GYP_GENERATED_OUTPUTS :=
26
27# Make sure our deps and generated files are built first.
28LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
29
30LOCAL_CPP_EXTENSION := .cc
31LOCAL_GENERATED_SOURCES :=
32
33GYP_COPIED_SOURCE_ORIGIN_DIRS :=
34
35LOCAL_SRC_FILES := \
36	content/child/appcache/appcache_backend_proxy.cc \
37	content/child/appcache/appcache_dispatcher.cc \
38	content/child/appcache/appcache_frontend_impl.cc \
39	content/child/appcache/web_application_cache_host_impl.cc \
40	content/child/assert_matching_enums.cc \
41	content/child/blink_glue.cc \
42	content/child/blink_platform_impl.cc \
43	content/child/child_histogram_message_filter.cc \
44	content/child/child_message_filter.cc \
45	content/child/child_process.cc \
46	content/child/child_resource_message_filter.cc \
47	content/child/child_shared_bitmap_manager.cc \
48	content/child/child_thread.cc \
49	content/child/content_child_helpers.cc \
50	content/child/database_util.cc \
51	content/child/db_message_filter.cc \
52	content/child/fileapi/file_system_dispatcher.cc \
53	content/child/fileapi/webfilesystem_impl.cc \
54	content/child/fileapi/webfilewriter_base.cc \
55	content/child/fileapi/webfilewriter_impl.cc \
56	content/child/fling_animator_impl_android.cc \
57	content/child/fling_curve_configuration.cc \
58	content/child/ftp_directory_listing_response_delegate.cc \
59	content/child/image_decoder.cc \
60	content/child/indexed_db/indexed_db_dispatcher.cc \
61	content/child/indexed_db/indexed_db_key_builders.cc \
62	content/child/indexed_db/indexed_db_message_filter.cc \
63	content/child/indexed_db/webidbcursor_impl.cc \
64	content/child/indexed_db/webidbdatabase_impl.cc \
65	content/child/indexed_db/webidbfactory_impl.cc \
66	content/child/mojo/mojo_application.cc \
67	content/child/npapi/np_channel_base.cc \
68	content/child/npapi/npobject_proxy.cc \
69	content/child/npapi/npobject_stub.cc \
70	content/child/npapi/npobject_util.cc \
71	content/child/npapi/npruntime_util.cc \
72	content/child/plugin_message_generator.cc \
73	content/child/plugin_param_traits.cc \
74	content/child/power_monitor_broadcast_source.cc \
75	content/child/quota_dispatcher.cc \
76	content/child/quota_message_filter.cc \
77	content/child/request_extra_data.cc \
78	content/child/request_info.cc \
79	content/child/resource_dispatcher.cc \
80	content/child/runtime_features.cc \
81	content/child/scoped_child_process_reference.cc \
82	content/child/service_worker/service_worker_handle_reference.cc \
83	content/child/service_worker/service_worker_dispatcher.cc \
84	content/child/service_worker/service_worker_message_filter.cc \
85	content/child/service_worker/service_worker_network_provider.cc \
86	content/child/service_worker/service_worker_provider_context.cc \
87	content/child/service_worker/web_service_worker_impl.cc \
88	content/child/service_worker/web_service_worker_provider_impl.cc \
89	content/child/shared_worker_devtools_agent.cc \
90	content/child/simple_webmimeregistry_impl.cc \
91	content/child/site_isolation_policy.cc \
92	content/child/socket_stream_dispatcher.cc \
93	content/child/sync_load_response.cc \
94	content/child/thread_safe_sender.cc \
95	content/child/touch_fling_gesture_curve.cc \
96	content/child/web_database_observer_impl.cc \
97	content/child/web_discardable_memory_impl.cc \
98	content/child/web_socket_stream_handle_impl.cc \
99	content/child/web_url_loader_impl.cc \
100	content/child/webblobregistry_impl.cc \
101	content/child/webcrypto/crypto_data.cc \
102	content/child/webcrypto/jwk.cc \
103	content/child/webcrypto/platform_crypto_openssl.cc \
104	content/child/webcrypto/shared_crypto.cc \
105	content/child/webcrypto/status.cc \
106	content/child/webcrypto/webcrypto_impl.cc \
107	content/child/webcrypto/webcrypto_util.cc \
108	content/child/webfallbackthemeengine_impl.cc \
109	content/child/webfileutilities_impl.cc \
110	content/child/webmessageportchannel_impl.cc \
111	content/child/threaded_data_provider.cc \
112	content/child/websocket_bridge.cc \
113	content/child/websocket_dispatcher.cc \
114	content/child/webthemeengine_impl_android.cc \
115	content/child/webthread_impl.cc \
116	content/child/worker_task_runner.cc \
117	content/child/worker_thread_task_runner.cc
118
119
120# Flags passed to both C and C++ files.
121MY_CFLAGS_Debug := \
122	-fstack-protector \
123	--param=ssp-buffer-size=4 \
124	 \
125	-fno-exceptions \
126	-fno-strict-aliasing \
127	-Wall \
128	-Wno-unused-parameter \
129	-Wno-missing-field-initializers \
130	-fvisibility=hidden \
131	-pipe \
132	-fPIC \
133	-Wno-unused-local-typedefs \
134	-EL \
135	-mhard-float \
136	-ffunction-sections \
137	-funwind-tables \
138	-g \
139	-fstack-protector \
140	-fno-short-enums \
141	-finline-limit=64 \
142	-Wa,--noexecstack \
143	-U_FORTIFY_SOURCE \
144	-Wno-extra \
145	-Wno-ignored-qualifiers \
146	-Wno-type-limits \
147	-Wno-unused-but-set-variable \
148	-Os \
149	-g \
150	-fdata-sections \
151	-ffunction-sections \
152	-fomit-frame-pointer \
153	-funwind-tables
154
155MY_DEFS_Debug := \
156	'-DCONTENT_IMPLEMENTATION' \
157	'-DV8_DEPRECATION_WARNINGS' \
158	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
159	'-D_FILE_OFFSET_BITS=64' \
160	'-DNO_TCMALLOC' \
161	'-DDISABLE_NACL' \
162	'-DCHROMIUM_BUILD' \
163	'-DUSE_LIBJPEG_TURBO=1' \
164	'-DENABLE_WEBRTC=1' \
165	'-DUSE_PROPRIETARY_CODECS' \
166	'-DENABLE_BROWSER_CDMS' \
167	'-DENABLE_CONFIGURATION_POLICY' \
168	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
169	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
170	'-DENABLE_EGLIMAGE=1' \
171	'-DCLD_VERSION=1' \
172	'-DENABLE_PRINTING=1' \
173	'-DENABLE_MANAGED_USERS=1' \
174	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
175	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
176	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
177	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
178	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
179	'-DVIDEO_HOLE=1' \
180	'-DMOJO_USE_SYSTEM_IMPL' \
181	'-DSK_ENABLE_INST_COUNT=0' \
182	'-DSK_SUPPORT_GPU=1' \
183	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
184	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
185	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
186	'-DGR_GL_IGNORE_ES3_MSAA=0' \
187	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
188	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
189	'-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \
190	'-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \
191	'-DSK_SUPPORT_LEGACY_N32_NAME' \
192	'-DSK_SUPPORT_LEGACY_SETCONFIG' \
193	'-DSK_IGNORE_ETC1_SUPPORT' \
194	'-DSK_IGNORE_GPU_DITHER' \
195	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
196	'-DSK_BUILD_FOR_ANDROID' \
197	'-DSK_USE_POSIX_THREADS' \
198	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
199	'-DPOSIX_AVOID_MMAP' \
200	'-DU_USING_ICU_NAMESPACE=0' \
201	'-DCHROME_PNG_WRITE_SUPPORT' \
202	'-DPNG_USER_CONFIG' \
203	'-DCHROME_PNG_READ_PACK_SUPPORT' \
204	'-DUSE_SYSTEM_LIBJPEG' \
205	'-DUSE_OPENSSL=1' \
206	'-DUSE_OPENSSL_CERTS=1' \
207	'-D__STDC_CONSTANT_MACROS' \
208	'-D__STDC_FORMAT_MACROS' \
209	'-DANDROID' \
210	'-D__GNU_SOURCE=1' \
211	'-DUSE_STLPORT=1' \
212	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
213	'-DCHROME_BUILD_ID=""' \
214	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
215	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
216	'-D_DEBUG'
217
218
219# Include paths placed before CFLAGS/CPPFLAGS
220LOCAL_C_INCLUDES_Debug := \
221	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
222	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
223	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
224	$(gyp_shared_intermediate_dir) \
225	$(LOCAL_PATH) \
226	$(LOCAL_PATH)/skia/config \
227	$(LOCAL_PATH)/third_party/WebKit/Source \
228	$(LOCAL_PATH)/third_party/khronos \
229	$(LOCAL_PATH)/gpu \
230	$(gyp_shared_intermediate_dir)/content \
231	$(LOCAL_PATH)/third_party/skia/src/core \
232	$(LOCAL_PATH)/third_party/skia/include/core \
233	$(LOCAL_PATH)/third_party/skia/include/effects \
234	$(LOCAL_PATH)/third_party/skia/include/pdf \
235	$(LOCAL_PATH)/third_party/skia/include/gpu \
236	$(LOCAL_PATH)/third_party/skia/include/lazy \
237	$(LOCAL_PATH)/third_party/skia/include/pathops \
238	$(LOCAL_PATH)/third_party/skia/include/pipe \
239	$(LOCAL_PATH)/third_party/skia/include/ports \
240	$(LOCAL_PATH)/third_party/skia/include/utils \
241	$(LOCAL_PATH)/skia/ext \
242	$(PWD)/external/icu/icu4c/source/common \
243	$(PWD)/external/icu/icu4c/source/i18n \
244	$(LOCAL_PATH)/third_party/WebKit \
245	$(LOCAL_PATH)/v8/include \
246	$(LOCAL_PATH)/third_party/libpng \
247	$(LOCAL_PATH)/third_party/zlib \
248	$(LOCAL_PATH)/third_party/libwebp \
249	$(LOCAL_PATH)/third_party/ots/include \
250	$(LOCAL_PATH)/third_party/qcms/src \
251	$(LOCAL_PATH)/third_party/iccjpeg \
252	$(PWD)/external/jpeg \
253	$(LOCAL_PATH)/third_party/npapi \
254	$(LOCAL_PATH)/third_party/npapi/bindings \
255	$(LOCAL_PATH)/third_party/WebKit \
256	$(gyp_shared_intermediate_dir)/webkit \
257	$(LOCAL_PATH)/third_party/openssl/openssl/include \
258	$(PWD)/frameworks/wilhelm/include \
259	$(PWD)/bionic \
260	$(PWD)/external/stlport/stlport
261
262
263# Flags passed to only C++ (and not C) files.
264LOCAL_CPPFLAGS_Debug := \
265	-fno-rtti \
266	-fno-threadsafe-statics \
267	-fvisibility-inlines-hidden \
268	-Wsign-compare \
269	-Wno-uninitialized \
270	-Wno-non-virtual-dtor \
271	-Wno-sign-promo
272
273
274LOCAL_FDO_SUPPORT_Debug := false
275
276# Flags passed to both C and C++ files.
277MY_CFLAGS_Release := \
278	-fstack-protector \
279	--param=ssp-buffer-size=4 \
280	 \
281	-fno-exceptions \
282	-fno-strict-aliasing \
283	-Wall \
284	-Wno-unused-parameter \
285	-Wno-missing-field-initializers \
286	-fvisibility=hidden \
287	-pipe \
288	-fPIC \
289	-Wno-unused-local-typedefs \
290	-EL \
291	-mhard-float \
292	-ffunction-sections \
293	-funwind-tables \
294	-g \
295	-fstack-protector \
296	-fno-short-enums \
297	-finline-limit=64 \
298	-Wa,--noexecstack \
299	-U_FORTIFY_SOURCE \
300	-Wno-extra \
301	-Wno-ignored-qualifiers \
302	-Wno-type-limits \
303	-Wno-unused-but-set-variable \
304	-Os \
305	-fno-ident \
306	-fdata-sections \
307	-ffunction-sections \
308	-fomit-frame-pointer \
309	-funwind-tables
310
311MY_DEFS_Release := \
312	'-DCONTENT_IMPLEMENTATION' \
313	'-DV8_DEPRECATION_WARNINGS' \
314	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
315	'-D_FILE_OFFSET_BITS=64' \
316	'-DNO_TCMALLOC' \
317	'-DDISABLE_NACL' \
318	'-DCHROMIUM_BUILD' \
319	'-DUSE_LIBJPEG_TURBO=1' \
320	'-DENABLE_WEBRTC=1' \
321	'-DUSE_PROPRIETARY_CODECS' \
322	'-DENABLE_BROWSER_CDMS' \
323	'-DENABLE_CONFIGURATION_POLICY' \
324	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
325	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
326	'-DENABLE_EGLIMAGE=1' \
327	'-DCLD_VERSION=1' \
328	'-DENABLE_PRINTING=1' \
329	'-DENABLE_MANAGED_USERS=1' \
330	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
331	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
332	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
333	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
334	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
335	'-DVIDEO_HOLE=1' \
336	'-DMOJO_USE_SYSTEM_IMPL' \
337	'-DSK_ENABLE_INST_COUNT=0' \
338	'-DSK_SUPPORT_GPU=1' \
339	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
340	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
341	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
342	'-DGR_GL_IGNORE_ES3_MSAA=0' \
343	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
344	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
345	'-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \
346	'-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \
347	'-DSK_SUPPORT_LEGACY_N32_NAME' \
348	'-DSK_SUPPORT_LEGACY_SETCONFIG' \
349	'-DSK_IGNORE_ETC1_SUPPORT' \
350	'-DSK_IGNORE_GPU_DITHER' \
351	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
352	'-DSK_BUILD_FOR_ANDROID' \
353	'-DSK_USE_POSIX_THREADS' \
354	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
355	'-DPOSIX_AVOID_MMAP' \
356	'-DU_USING_ICU_NAMESPACE=0' \
357	'-DCHROME_PNG_WRITE_SUPPORT' \
358	'-DPNG_USER_CONFIG' \
359	'-DCHROME_PNG_READ_PACK_SUPPORT' \
360	'-DUSE_SYSTEM_LIBJPEG' \
361	'-DUSE_OPENSSL=1' \
362	'-DUSE_OPENSSL_CERTS=1' \
363	'-D__STDC_CONSTANT_MACROS' \
364	'-D__STDC_FORMAT_MACROS' \
365	'-DANDROID' \
366	'-D__GNU_SOURCE=1' \
367	'-DUSE_STLPORT=1' \
368	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
369	'-DCHROME_BUILD_ID=""' \
370	'-DNDEBUG' \
371	'-DNVALGRIND' \
372	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
373	'-D_FORTIFY_SOURCE=2'
374
375
376# Include paths placed before CFLAGS/CPPFLAGS
377LOCAL_C_INCLUDES_Release := \
378	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
379	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
380	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
381	$(gyp_shared_intermediate_dir) \
382	$(LOCAL_PATH) \
383	$(LOCAL_PATH)/skia/config \
384	$(LOCAL_PATH)/third_party/WebKit/Source \
385	$(LOCAL_PATH)/third_party/khronos \
386	$(LOCAL_PATH)/gpu \
387	$(gyp_shared_intermediate_dir)/content \
388	$(LOCAL_PATH)/third_party/skia/src/core \
389	$(LOCAL_PATH)/third_party/skia/include/core \
390	$(LOCAL_PATH)/third_party/skia/include/effects \
391	$(LOCAL_PATH)/third_party/skia/include/pdf \
392	$(LOCAL_PATH)/third_party/skia/include/gpu \
393	$(LOCAL_PATH)/third_party/skia/include/lazy \
394	$(LOCAL_PATH)/third_party/skia/include/pathops \
395	$(LOCAL_PATH)/third_party/skia/include/pipe \
396	$(LOCAL_PATH)/third_party/skia/include/ports \
397	$(LOCAL_PATH)/third_party/skia/include/utils \
398	$(LOCAL_PATH)/skia/ext \
399	$(PWD)/external/icu/icu4c/source/common \
400	$(PWD)/external/icu/icu4c/source/i18n \
401	$(LOCAL_PATH)/third_party/WebKit \
402	$(LOCAL_PATH)/v8/include \
403	$(LOCAL_PATH)/third_party/libpng \
404	$(LOCAL_PATH)/third_party/zlib \
405	$(LOCAL_PATH)/third_party/libwebp \
406	$(LOCAL_PATH)/third_party/ots/include \
407	$(LOCAL_PATH)/third_party/qcms/src \
408	$(LOCAL_PATH)/third_party/iccjpeg \
409	$(PWD)/external/jpeg \
410	$(LOCAL_PATH)/third_party/npapi \
411	$(LOCAL_PATH)/third_party/npapi/bindings \
412	$(LOCAL_PATH)/third_party/WebKit \
413	$(gyp_shared_intermediate_dir)/webkit \
414	$(LOCAL_PATH)/third_party/openssl/openssl/include \
415	$(PWD)/frameworks/wilhelm/include \
416	$(PWD)/bionic \
417	$(PWD)/external/stlport/stlport
418
419
420# Flags passed to only C++ (and not C) files.
421LOCAL_CPPFLAGS_Release := \
422	-fno-rtti \
423	-fno-threadsafe-statics \
424	-fvisibility-inlines-hidden \
425	-Wsign-compare \
426	-Wno-uninitialized \
427	-Wno-non-virtual-dtor \
428	-Wno-sign-promo
429
430
431LOCAL_FDO_SUPPORT_Release := false
432
433LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
434LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
435LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
436LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
437LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
438### Rules for final target.
439
440LOCAL_LDFLAGS_Debug := \
441	-Wl,-z,now \
442	-Wl,-z,relro \
443	-Wl,--fatal-warnings \
444	-Wl,-z,noexecstack \
445	-fPIC \
446	-EL \
447	-Wl,--no-keep-memory \
448	-nostdlib \
449	-Wl,--no-undefined \
450	-Wl,--exclude-libs=ALL \
451	-Wl,--warn-shared-textrel \
452	-Wl,-O1 \
453	-Wl,--as-needed
454
455
456LOCAL_LDFLAGS_Release := \
457	-Wl,-z,now \
458	-Wl,-z,relro \
459	-Wl,--fatal-warnings \
460	-Wl,-z,noexecstack \
461	-fPIC \
462	-EL \
463	-Wl,--no-keep-memory \
464	-nostdlib \
465	-Wl,--no-undefined \
466	-Wl,--exclude-libs=ALL \
467	-Wl,-O1 \
468	-Wl,--as-needed \
469	-Wl,--gc-sections \
470	-Wl,--warn-shared-textrel
471
472
473LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
474
475LOCAL_STATIC_LIBRARIES := \
476	cpufeatures \
477	mojo_mojo_service_provider_bindings_gyp \
478	skia_skia_library_gyp \
479	ui_base_ui_base_gyp \
480	webkit_child_webkit_child_gyp
481
482# Enable grouping to fix circular references
483LOCAL_GROUP_STATIC_LIBRARIES := true
484
485LOCAL_SHARED_LIBRARIES := \
486	libstlport \
487	libdl
488
489# Add target alias to "gyp_all_modules" target.
490.PHONY: gyp_all_modules
491gyp_all_modules: content_content_child_gyp
492
493# Alias gyp target name.
494.PHONY: content_child
495content_child: content_content_child_gyp
496
497include $(BUILD_STATIC_LIBRARY)
498