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