cc.target.linux-mips.mk revision 0529e5d033099cbfc42635f6f6183833b09dff6e
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := cc_cc_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,gpu_gpu_gyp,,,$(GYP_VAR_PREFIX))/gpu.stamp \
16	$(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \
17	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \
18	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp,,,$(GYP_VAR_PREFIX))/ui_gl_gl_gyp.a
19
20GYP_GENERATED_OUTPUTS :=
21
22# Make sure our deps and generated files are built first.
23LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
24
25LOCAL_CPP_EXTENSION := .cc
26LOCAL_GENERATED_SOURCES :=
27
28GYP_COPIED_SOURCE_ORIGIN_DIRS :=
29
30LOCAL_SRC_FILES := \
31	cc/animation/animation.cc \
32	cc/animation/animation_curve.cc \
33	cc/animation/animation_events.cc \
34	cc/animation/animation_id_provider.cc \
35	cc/animation/animation_registrar.cc \
36	cc/animation/keyframed_animation_curve.cc \
37	cc/animation/layer_animation_controller.cc \
38	cc/animation/scroll_offset_animation_curve.cc \
39	cc/animation/scrollbar_animation_controller_linear_fade.cc \
40	cc/animation/scrollbar_animation_controller_thinning.cc \
41	cc/animation/timing_function.cc \
42	cc/animation/transform_operation.cc \
43	cc/animation/transform_operations.cc \
44	cc/base/invalidation_region.cc \
45	cc/base/latency_info_swap_promise.cc \
46	cc/base/latency_info_swap_promise_monitor.cc \
47	cc/base/math_util.cc \
48	cc/base/region.cc \
49	cc/base/rolling_time_delta_history.cc \
50	cc/base/swap_promise_monitor.cc \
51	cc/base/switches.cc \
52	cc/base/tiling_data.cc \
53	cc/debug/benchmark_instrumentation.cc \
54	cc/debug/debug_colors.cc \
55	cc/debug/debug_rect_history.cc \
56	cc/debug/frame_rate_counter.cc \
57	cc/debug/layer_tree_debug_state.cc \
58	cc/debug/micro_benchmark.cc \
59	cc/debug/micro_benchmark_impl.cc \
60	cc/debug/micro_benchmark_controller.cc \
61	cc/debug/micro_benchmark_controller_impl.cc \
62	cc/debug/paint_time_counter.cc \
63	cc/debug/picture_record_benchmark.cc \
64	cc/debug/rasterize_and_record_benchmark.cc \
65	cc/debug/rasterize_and_record_benchmark_impl.cc \
66	cc/debug/rendering_stats.cc \
67	cc/debug/rendering_stats_instrumentation.cc \
68	cc/debug/traced_picture.cc \
69	cc/debug/traced_value.cc \
70	cc/debug/unittest_only_benchmark.cc \
71	cc/debug/unittest_only_benchmark_impl.cc \
72	cc/input/page_scale_animation.cc \
73	cc/input/top_controls_manager.cc \
74	cc/layers/content_layer.cc \
75	cc/layers/contents_scaling_layer.cc \
76	cc/layers/delegated_frame_provider.cc \
77	cc/layers/delegated_frame_resource_collection.cc \
78	cc/layers/delegated_renderer_layer.cc \
79	cc/layers/delegated_renderer_layer_impl.cc \
80	cc/layers/heads_up_display_layer.cc \
81	cc/layers/heads_up_display_layer_impl.cc \
82	cc/layers/image_layer.cc \
83	cc/layers/io_surface_layer.cc \
84	cc/layers/io_surface_layer_impl.cc \
85	cc/layers/layer.cc \
86	cc/layers/layer_impl.cc \
87	cc/layers/layer_lists.cc \
88	cc/layers/layer_position_constraint.cc \
89	cc/layers/layer_utils.cc \
90	cc/layers/nine_patch_layer.cc \
91	cc/layers/nine_patch_layer_impl.cc \
92	cc/layers/painted_scrollbar_layer.cc \
93	cc/layers/painted_scrollbar_layer_impl.cc \
94	cc/layers/picture_image_layer.cc \
95	cc/layers/picture_image_layer_impl.cc \
96	cc/layers/picture_layer.cc \
97	cc/layers/picture_layer_impl.cc \
98	cc/layers/render_surface.cc \
99	cc/layers/render_surface_impl.cc \
100	cc/layers/scrollbar_layer_impl_base.cc \
101	cc/layers/solid_color_layer.cc \
102	cc/layers/solid_color_layer_impl.cc \
103	cc/layers/solid_color_scrollbar_layer.cc \
104	cc/layers/solid_color_scrollbar_layer_impl.cc \
105	cc/layers/surface_layer.cc \
106	cc/layers/surface_layer_impl.cc \
107	cc/layers/texture_layer.cc \
108	cc/layers/texture_layer_impl.cc \
109	cc/layers/tiled_layer.cc \
110	cc/layers/tiled_layer_impl.cc \
111	cc/layers/ui_resource_layer.cc \
112	cc/layers/ui_resource_layer_impl.cc \
113	cc/layers/video_frame_provider_client_impl.cc \
114	cc/layers/video_layer.cc \
115	cc/layers/video_layer_impl.cc \
116	cc/output/begin_frame_args.cc \
117	cc/output/compositor_frame.cc \
118	cc/output/compositor_frame_ack.cc \
119	cc/output/compositor_frame_metadata.cc \
120	cc/output/context_provider.cc \
121	cc/output/copy_output_request.cc \
122	cc/output/copy_output_result.cc \
123	cc/output/delegated_frame_data.cc \
124	cc/output/delegating_renderer.cc \
125	cc/output/direct_renderer.cc \
126	cc/output/filter_operation.cc \
127	cc/output/filter_operations.cc \
128	cc/output/geometry_binding.cc \
129	cc/output/gl_frame_data.cc \
130	cc/output/gl_renderer.cc \
131	cc/output/gl_renderer_draw_cache.cc \
132	cc/output/managed_memory_policy.cc \
133	cc/output/output_surface.cc \
134	cc/output/overlay_candidate.cc \
135	cc/output/overlay_processor.cc \
136	cc/output/overlay_strategy_single_on_top.cc \
137	cc/output/program_binding.cc \
138	cc/output/render_surface_filters.cc \
139	cc/output/renderer.cc \
140	cc/output/shader.cc \
141	cc/output/software_frame_data.cc \
142	cc/output/software_output_device.cc \
143	cc/output/software_renderer.cc \
144	cc/quads/checkerboard_draw_quad.cc \
145	cc/quads/content_draw_quad_base.cc \
146	cc/quads/debug_border_draw_quad.cc \
147	cc/quads/draw_quad.cc \
148	cc/quads/io_surface_draw_quad.cc \
149	cc/quads/picture_draw_quad.cc \
150	cc/quads/render_pass.cc \
151	cc/quads/render_pass_draw_quad.cc \
152	cc/quads/shared_quad_state.cc \
153	cc/quads/solid_color_draw_quad.cc \
154	cc/quads/stream_video_draw_quad.cc \
155	cc/quads/surface_draw_quad.cc \
156	cc/quads/texture_draw_quad.cc \
157	cc/quads/tile_draw_quad.cc \
158	cc/quads/yuv_video_draw_quad.cc \
159	cc/resources/bitmap_content_layer_updater.cc \
160	cc/resources/bitmap_skpicture_content_layer_updater.cc \
161	cc/resources/content_layer_updater.cc \
162	cc/resources/direct_raster_worker_pool.cc \
163	cc/resources/image_layer_updater.cc \
164	cc/resources/image_raster_worker_pool.cc \
165	cc/resources/layer_quad.cc \
166	cc/resources/layer_tiling_data.cc \
167	cc/resources/layer_updater.cc \
168	cc/resources/managed_tile_state.cc \
169	cc/resources/memory_history.cc \
170	cc/resources/picture.cc \
171	cc/resources/picture_layer_tiling.cc \
172	cc/resources/picture_layer_tiling_set.cc \
173	cc/resources/picture_pile.cc \
174	cc/resources/picture_pile_base.cc \
175	cc/resources/picture_pile_impl.cc \
176	cc/resources/pixel_buffer_raster_worker_pool.cc \
177	cc/resources/prioritized_resource.cc \
178	cc/resources/prioritized_resource_manager.cc \
179	cc/resources/prioritized_tile_set.cc \
180	cc/resources/priority_calculator.cc \
181	cc/resources/raster_mode.cc \
182	cc/resources/raster_worker_pool.cc \
183	cc/resources/rasterizer.cc \
184	cc/resources/rasterizer_delegate.cc \
185	cc/resources/resource.cc \
186	cc/resources/resource_format.cc \
187	cc/resources/resource_pool.cc \
188	cc/resources/resource_provider.cc \
189	cc/resources/resource_update.cc \
190	cc/resources/resource_update_controller.cc \
191	cc/resources/resource_update_queue.cc \
192	cc/resources/scoped_resource.cc \
193	cc/resources/scoped_ui_resource.cc \
194	cc/resources/shared_bitmap.cc \
195	cc/resources/single_release_callback.cc \
196	cc/resources/skpicture_content_layer_updater.cc \
197	cc/resources/task_graph_runner.cc \
198	cc/resources/texture_mailbox.cc \
199	cc/resources/texture_mailbox_deleter.cc \
200	cc/resources/texture_uploader.cc \
201	cc/resources/tile.cc \
202	cc/resources/tile_manager.cc \
203	cc/resources/tile_priority.cc \
204	cc/resources/transferable_resource.cc \
205	cc/resources/ui_resource_bitmap.cc \
206	cc/resources/ui_resource_request.cc \
207	cc/resources/video_resource_updater.cc \
208	cc/scheduler/delay_based_time_source.cc \
209	cc/scheduler/frame_rate_controller.cc \
210	cc/scheduler/scheduler.cc \
211	cc/scheduler/scheduler_settings.cc \
212	cc/scheduler/scheduler_state_machine.cc \
213	cc/trees/blocking_task_runner.cc \
214	cc/trees/damage_tracker.cc \
215	cc/trees/layer_sorter.cc \
216	cc/trees/layer_tree_host.cc \
217	cc/trees/layer_tree_host_common.cc \
218	cc/trees/layer_tree_host_impl.cc \
219	cc/trees/layer_tree_impl.cc \
220	cc/trees/layer_tree_settings.cc \
221	cc/trees/occlusion_tracker.cc \
222	cc/trees/proxy.cc \
223	cc/trees/proxy_timing_history.cc \
224	cc/trees/quad_culler.cc \
225	cc/trees/single_thread_proxy.cc \
226	cc/trees/thread_proxy.cc \
227	cc/trees/tree_synchronizer.cc
228
229
230# Flags passed to both C and C++ files.
231MY_CFLAGS_Debug := \
232	-fstack-protector \
233	--param=ssp-buffer-size=4 \
234	 \
235	-fno-exceptions \
236	-fno-strict-aliasing \
237	-Wall \
238	-Wno-unused-parameter \
239	-Wno-missing-field-initializers \
240	-fvisibility=hidden \
241	-pipe \
242	-fPIC \
243	-EL \
244	-mhard-float \
245	-ffunction-sections \
246	-funwind-tables \
247	-g \
248	-fstack-protector \
249	-fno-short-enums \
250	-finline-limit=64 \
251	-Wa,--noexecstack \
252	-U_FORTIFY_SOURCE \
253	-Wno-extra \
254	-Wno-ignored-qualifiers \
255	-Wno-type-limits \
256	-Wno-unused-but-set-variable \
257	-Os \
258	-g \
259	-fomit-frame-pointer \
260	-fdata-sections \
261	-ffunction-sections \
262	-funwind-tables
263
264MY_DEFS_Debug := \
265	'-DV8_DEPRECATION_WARNINGS' \
266	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
267	'-D_FILE_OFFSET_BITS=64' \
268	'-DNO_TCMALLOC' \
269	'-DDISABLE_NACL' \
270	'-DCHROMIUM_BUILD' \
271	'-DUSE_LIBJPEG_TURBO=1' \
272	'-DENABLE_WEBRTC=1' \
273	'-DUSE_PROPRIETARY_CODECS' \
274	'-DENABLE_CONFIGURATION_POLICY' \
275	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
276	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
277	'-DENABLE_EGLIMAGE=1' \
278	'-DCLD_VERSION=1' \
279	'-DENABLE_PRINTING=1' \
280	'-DENABLE_MANAGED_USERS=1' \
281	'-DCC_IMPLEMENTATION=1' \
282	'-DMEDIA_DISABLE_LIBVPX' \
283	'-DSK_ENABLE_INST_COUNT=0' \
284	'-DSK_SUPPORT_GPU=1' \
285	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
286	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
287	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
288	'-DGR_GL_IGNORE_ES3_MSAA=0' \
289	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
290	'-DSK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1' \
291	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
292	'-DSK_SUPPORT_LEGACY_PICTURE_CAN_RECORD' \
293	'-DSK_SUPPORT_DEPRECATED_RECORD_FLAGS' \
294	'-DSK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES' \
295	'-DSK_SUPPORT_LEGACY_N32_NAME' \
296	'-DSK_SUPPORT_LEGACY_PROCXFERMODE' \
297	'-DSK_SUPPORT_LEGACY_PICTURE_HEADERS' \
298	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
299	'-DSK_BUILD_FOR_ANDROID' \
300	'-DSK_USE_POSIX_THREADS' \
301	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
302	'-DU_USING_ICU_NAMESPACE=0' \
303	'-DMESA_EGL_NO_X11_HEADERS' \
304	'-DUSE_OPENSSL=1' \
305	'-DUSE_OPENSSL_CERTS=1' \
306	'-D__STDC_CONSTANT_MACROS' \
307	'-D__STDC_FORMAT_MACROS' \
308	'-DANDROID' \
309	'-D__GNU_SOURCE=1' \
310	'-DUSE_STLPORT=1' \
311	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
312	'-DCHROME_BUILD_ID=""' \
313	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
314	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
315	'-D_DEBUG'
316
317
318# Include paths placed before CFLAGS/CPPFLAGS
319LOCAL_C_INCLUDES_Debug := \
320	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
321	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
322	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
323	$(LOCAL_PATH) \
324	$(LOCAL_PATH)/third_party/khronos \
325	$(LOCAL_PATH)/gpu \
326	$(LOCAL_PATH)/skia/config \
327	$(LOCAL_PATH)/third_party/skia/src/core \
328	$(LOCAL_PATH)/third_party/skia/include/core \
329	$(LOCAL_PATH)/third_party/skia/include/effects \
330	$(LOCAL_PATH)/third_party/skia/include/pdf \
331	$(LOCAL_PATH)/third_party/skia/include/gpu \
332	$(LOCAL_PATH)/third_party/skia/include/lazy \
333	$(LOCAL_PATH)/third_party/skia/include/pathops \
334	$(LOCAL_PATH)/third_party/skia/include/pipe \
335	$(LOCAL_PATH)/third_party/skia/include/ports \
336	$(LOCAL_PATH)/third_party/skia/include/utils \
337	$(LOCAL_PATH)/skia/ext \
338	$(PWD)/external/icu4c/common \
339	$(PWD)/external/icu4c/i18n \
340	$(gyp_shared_intermediate_dir)/ui/gl \
341	$(LOCAL_PATH)/third_party/mesa/src/include \
342	$(PWD)/frameworks/wilhelm/include \
343	$(PWD)/bionic \
344	$(PWD)/external/stlport/stlport
345
346
347# Flags passed to only C++ (and not C) files.
348LOCAL_CPPFLAGS_Debug := \
349	-fno-rtti \
350	-fno-threadsafe-statics \
351	-fvisibility-inlines-hidden \
352	-Wsign-compare \
353	-Wno-uninitialized \
354	-Wno-non-virtual-dtor \
355	-Wno-sign-promo
356
357
358# Flags passed to both C and C++ files.
359MY_CFLAGS_Release := \
360	-fstack-protector \
361	--param=ssp-buffer-size=4 \
362	 \
363	-fno-exceptions \
364	-fno-strict-aliasing \
365	-Wall \
366	-Wno-unused-parameter \
367	-Wno-missing-field-initializers \
368	-fvisibility=hidden \
369	-pipe \
370	-fPIC \
371	-EL \
372	-mhard-float \
373	-ffunction-sections \
374	-funwind-tables \
375	-g \
376	-fstack-protector \
377	-fno-short-enums \
378	-finline-limit=64 \
379	-Wa,--noexecstack \
380	-U_FORTIFY_SOURCE \
381	-Wno-extra \
382	-Wno-ignored-qualifiers \
383	-Wno-type-limits \
384	-Wno-unused-but-set-variable \
385	-Os \
386	-fno-ident \
387	-fdata-sections \
388	-ffunction-sections \
389	-fomit-frame-pointer \
390	-funwind-tables
391
392MY_DEFS_Release := \
393	'-DV8_DEPRECATION_WARNINGS' \
394	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
395	'-D_FILE_OFFSET_BITS=64' \
396	'-DNO_TCMALLOC' \
397	'-DDISABLE_NACL' \
398	'-DCHROMIUM_BUILD' \
399	'-DUSE_LIBJPEG_TURBO=1' \
400	'-DENABLE_WEBRTC=1' \
401	'-DUSE_PROPRIETARY_CODECS' \
402	'-DENABLE_CONFIGURATION_POLICY' \
403	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
404	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
405	'-DENABLE_EGLIMAGE=1' \
406	'-DCLD_VERSION=1' \
407	'-DENABLE_PRINTING=1' \
408	'-DENABLE_MANAGED_USERS=1' \
409	'-DCC_IMPLEMENTATION=1' \
410	'-DMEDIA_DISABLE_LIBVPX' \
411	'-DSK_ENABLE_INST_COUNT=0' \
412	'-DSK_SUPPORT_GPU=1' \
413	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
414	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
415	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
416	'-DGR_GL_IGNORE_ES3_MSAA=0' \
417	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
418	'-DSK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1' \
419	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
420	'-DSK_SUPPORT_LEGACY_PICTURE_CAN_RECORD' \
421	'-DSK_SUPPORT_DEPRECATED_RECORD_FLAGS' \
422	'-DSK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES' \
423	'-DSK_SUPPORT_LEGACY_N32_NAME' \
424	'-DSK_SUPPORT_LEGACY_PROCXFERMODE' \
425	'-DSK_SUPPORT_LEGACY_PICTURE_HEADERS' \
426	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
427	'-DSK_BUILD_FOR_ANDROID' \
428	'-DSK_USE_POSIX_THREADS' \
429	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
430	'-DU_USING_ICU_NAMESPACE=0' \
431	'-DMESA_EGL_NO_X11_HEADERS' \
432	'-DUSE_OPENSSL=1' \
433	'-DUSE_OPENSSL_CERTS=1' \
434	'-D__STDC_CONSTANT_MACROS' \
435	'-D__STDC_FORMAT_MACROS' \
436	'-DANDROID' \
437	'-D__GNU_SOURCE=1' \
438	'-DUSE_STLPORT=1' \
439	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
440	'-DCHROME_BUILD_ID=""' \
441	'-DNDEBUG' \
442	'-DNVALGRIND' \
443	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
444	'-D_FORTIFY_SOURCE=2'
445
446
447# Include paths placed before CFLAGS/CPPFLAGS
448LOCAL_C_INCLUDES_Release := \
449	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
450	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
451	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
452	$(LOCAL_PATH) \
453	$(LOCAL_PATH)/third_party/khronos \
454	$(LOCAL_PATH)/gpu \
455	$(LOCAL_PATH)/skia/config \
456	$(LOCAL_PATH)/third_party/skia/src/core \
457	$(LOCAL_PATH)/third_party/skia/include/core \
458	$(LOCAL_PATH)/third_party/skia/include/effects \
459	$(LOCAL_PATH)/third_party/skia/include/pdf \
460	$(LOCAL_PATH)/third_party/skia/include/gpu \
461	$(LOCAL_PATH)/third_party/skia/include/lazy \
462	$(LOCAL_PATH)/third_party/skia/include/pathops \
463	$(LOCAL_PATH)/third_party/skia/include/pipe \
464	$(LOCAL_PATH)/third_party/skia/include/ports \
465	$(LOCAL_PATH)/third_party/skia/include/utils \
466	$(LOCAL_PATH)/skia/ext \
467	$(PWD)/external/icu4c/common \
468	$(PWD)/external/icu4c/i18n \
469	$(gyp_shared_intermediate_dir)/ui/gl \
470	$(LOCAL_PATH)/third_party/mesa/src/include \
471	$(PWD)/frameworks/wilhelm/include \
472	$(PWD)/bionic \
473	$(PWD)/external/stlport/stlport
474
475
476# Flags passed to only C++ (and not C) files.
477LOCAL_CPPFLAGS_Release := \
478	-fno-rtti \
479	-fno-threadsafe-statics \
480	-fvisibility-inlines-hidden \
481	-Wsign-compare \
482	-Wno-uninitialized \
483	-Wno-non-virtual-dtor \
484	-Wno-sign-promo
485
486
487LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
488LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
489LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
490LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
491### Rules for final target.
492
493LOCAL_LDFLAGS_Debug := \
494	-Wl,-z,now \
495	-Wl,-z,relro \
496	-Wl,--fatal-warnings \
497	-Wl,-z,noexecstack \
498	-fPIC \
499	-EL \
500	-Wl,--no-keep-memory \
501	-nostdlib \
502	-Wl,--no-undefined \
503	-Wl,--exclude-libs=ALL \
504	-Wl,--warn-shared-textrel \
505	-Wl,-O1 \
506	-Wl,--as-needed
507
508
509LOCAL_LDFLAGS_Release := \
510	-Wl,-z,now \
511	-Wl,-z,relro \
512	-Wl,--fatal-warnings \
513	-Wl,-z,noexecstack \
514	-fPIC \
515	-EL \
516	-Wl,--no-keep-memory \
517	-nostdlib \
518	-Wl,--no-undefined \
519	-Wl,--exclude-libs=ALL \
520	-Wl,-O1 \
521	-Wl,--as-needed \
522	-Wl,--gc-sections \
523	-Wl,--warn-shared-textrel
524
525
526LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
527
528LOCAL_STATIC_LIBRARIES := \
529	skia_skia_library_gyp \
530	ui_gl_gl_gyp
531
532# Enable grouping to fix circular references
533LOCAL_GROUP_STATIC_LIBRARIES := true
534
535LOCAL_SHARED_LIBRARIES := \
536	libstlport \
537	libdl
538
539# Add target alias to "gyp_all_modules" target.
540.PHONY: gyp_all_modules
541gyp_all_modules: cc_cc_gyp
542
543# Alias gyp target name.
544.PHONY: cc
545cc: cc_cc_gyp
546
547include $(BUILD_STATIC_LIBRARY)
548