• 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_browser_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,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \
15	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \
16	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_headers_gyp,,,$(GYP_VAR_PREFIX))/blink_headers.stamp \
17	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_accessibility_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_accessibility_gyp.a \
18	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_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,ui_resources_ui_resources_gyp,,,$(GYP_VAR_PREFIX))/ui_resources.stamp \
21	$(call intermediates-dir-for,STATIC_LIBRARIES,content_browser_service_worker_proto_gyp,,,$(GYP_VAR_PREFIX))/content_browser_service_worker_proto_gyp.a \
22	$(call intermediates-dir-for,STATIC_LIBRARIES,content_browser_speech_proto_speech_proto_gyp,,,$(GYP_VAR_PREFIX))/content_browser_speech_proto_speech_proto_gyp.a \
23	$(call intermediates-dir-for,GYP,content_content_resources_gyp,,,$(GYP_VAR_PREFIX))/content_resources.stamp \
24	$(call intermediates-dir-for,GYP,content_app_resources_content_resources_gyp,,,$(GYP_VAR_PREFIX))/content_resources.stamp \
25	$(call intermediates-dir-for,GYP,content_app_strings_content_strings_gyp,,,$(GYP_VAR_PREFIX))/content_strings.stamp \
26	$(call intermediates-dir-for,GYP,content_browser_devtools_devtools_resources_gyp,,,$(GYP_VAR_PREFIX))/devtools_resources.stamp \
27	$(call intermediates-dir-for,STATIC_LIBRARIES,content_content_common_mojo_bindings_gyp,,,$(GYP_VAR_PREFIX))/content_content_common_mojo_bindings_gyp.a \
28	$(call intermediates-dir-for,STATIC_LIBRARIES,mojo_mojo_application_bindings_gyp,,,$(GYP_VAR_PREFIX))/mojo_mojo_application_bindings_gyp.a \
29	$(call intermediates-dir-for,GYP,third_party_angle_src_commit_id_gyp,,,$(GYP_VAR_PREFIX))/commit_id.stamp \
30	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \
31	$(call intermediates-dir-for,GYP,sandbox_sandbox_gyp,,,$(GYP_VAR_PREFIX))/sandbox.stamp \
32	$(call intermediates-dir-for,GYP,content_content_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/content_jni_headers.stamp
33
34GYP_GENERATED_OUTPUTS :=
35
36# Make sure our deps and generated files are built first.
37LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
38
39LOCAL_CPP_EXTENSION := .cc
40$(gyp_intermediate_dir)/devtools_resources_map.cc: $(gyp_shared_intermediate_dir)/webkit/grit/devtools_resources_map.cc
41	mkdir -p $(@D); cp $< $@
42$(gyp_intermediate_dir)/webui_resources_map.cc: $(gyp_shared_intermediate_dir)/ui/resources/grit/webui_resources_map.cc
43	mkdir -p $(@D); cp $< $@
44$(gyp_intermediate_dir)/devtools_protocol_constants.cc: $(gyp_shared_intermediate_dir)/content/browser/devtools/devtools_protocol_constants.cc
45	mkdir -p $(@D); cp $< $@
46LOCAL_GENERATED_SOURCES := \
47	$(gyp_intermediate_dir)/devtools_resources_map.cc \
48	$(gyp_intermediate_dir)/webui_resources_map.cc \
49	$(gyp_intermediate_dir)/devtools_protocol_constants.cc
50
51GYP_COPIED_SOURCE_ORIGIN_DIRS := \
52	$(gyp_shared_intermediate_dir)/webkit/grit \
53	$(gyp_shared_intermediate_dir)/ui/resources/grit \
54	$(gyp_shared_intermediate_dir)/content/browser/devtools
55
56LOCAL_SRC_FILES := \
57	content/public/browser/android/synchronous_compositor.cc \
58	content/public/browser/ax_event_notification_details.cc \
59	content/public/browser/browser_child_process_host_delegate.cc \
60	content/public/browser/browser_child_process_host_iterator.cc \
61	content/public/browser/browser_child_process_observer.cc \
62	content/public/browser/browser_main_parts.cc \
63	content/public/browser/browser_message_filter.cc \
64	content/public/browser/browser_plugin_guest_delegate.cc \
65	content/public/browser/browser_plugin_guest_manager.cc \
66	content/public/browser/content_browser_client.cc \
67	content/public/browser/desktop_media_id.cc \
68	content/public/browser/download_manager_delegate.cc \
69	content/public/browser/download_save_info.cc \
70	content/public/browser/download_url_parameters.cc \
71	content/public/browser/favicon_status.cc \
72	content/public/browser/indexed_db_info.cc \
73	content/public/browser/javascript_dialog_manager.cc \
74	content/public/browser/load_from_memory_cache_details.cc \
75	content/public/browser/local_storage_usage_info.cc \
76	content/public/browser/media_device_id.cc \
77	content/public/browser/navigation_controller.cc \
78	content/public/browser/navigation_details.cc \
79	content/public/browser/notification_registrar.cc \
80	content/public/browser/page_navigator.cc \
81	content/public/browser/resource_dispatcher_host_delegate.cc \
82	content/public/browser/resource_request_details.cc \
83	content/public/browser/service_worker_usage_info.cc \
84	content/public/browser/speech_recognition_session_config.cc \
85	content/public/browser/speech_recognition_session_context.cc \
86	content/public/browser/web_contents.cc \
87	content/public/browser/web_contents_delegate.cc \
88	content/public/browser/web_contents_observer.cc \
89	content/public/browser/web_contents_view_delegate.cc \
90	content/public/browser/web_ui_controller.cc \
91	content/public/browser/url_data_source.cc \
92	content/browser/accessibility/accessibility_mode_helper.cc \
93	content/browser/accessibility/accessibility_tree_formatter.cc \
94	content/browser/accessibility/accessibility_tree_formatter_android.cc \
95	content/browser/accessibility/accessibility_ui.cc \
96	content/browser/accessibility/browser_accessibility.cc \
97	content/browser/accessibility/browser_accessibility_android.cc \
98	content/browser/accessibility/browser_accessibility_manager.cc \
99	content/browser/accessibility/browser_accessibility_manager_android.cc \
100	content/browser/accessibility/browser_accessibility_state_impl.cc \
101	content/browser/android/browser_jni_registrar.cc \
102	content/browser/android/browser_startup_controller.cc \
103	content/browser/android/child_process_launcher_android.cc \
104	content/browser/android/composited_touch_handle_drawable.cc \
105	content/browser/android/content_readback_handler.cc \
106	content/browser/android/content_settings.cc \
107	content/browser/android/content_startup_flags.cc \
108	content/browser/android/content_video_view.cc \
109	content/browser/android/content_view_core_impl.cc \
110	content/browser/android/content_view_render_view.cc \
111	content/browser/android/content_view_statics.cc \
112	content/browser/android/date_time_chooser_android.cc \
113	content/browser/android/download_controller_android_impl.cc \
114	content/browser/android/devtools_auth.cc \
115	content/browser/android/edge_effect.cc \
116	content/browser/android/edge_effect_l.cc \
117	content/browser/android/in_process/synchronous_compositor_factory_impl.cc \
118	content/browser/android/in_process/synchronous_compositor_impl.cc \
119	content/browser/android/in_process/synchronous_compositor_output_surface.cc \
120	content/browser/android/in_process/synchronous_input_event_filter.cc \
121	content/browser/android/interstitial_page_delegate_android.cc \
122	content/browser/android/load_url_params.cc \
123	content/browser/android/overscroll_glow.cc \
124	content/browser/android/popup_touch_handle_drawable.cc \
125	content/browser/android/surface_texture_peer_browser_impl.cc \
126	content/browser/android/system_ui_resource_manager_impl.cc \
127	content/browser/android/tracing_controller_android.cc \
128	content/browser/android/web_contents_observer_android.cc \
129	content/browser/android/ui_resource_provider_impl.cc \
130	content/browser/appcache/appcache.cc \
131	content/browser/appcache/appcache_backend_impl.cc \
132	content/browser/appcache/appcache_database.cc \
133	content/browser/appcache/appcache_disk_cache.cc \
134	content/browser/appcache/appcache_dispatcher_host.cc \
135	content/browser/appcache/appcache_frontend_proxy.cc \
136	content/browser/appcache/appcache_group.cc \
137	content/browser/appcache/appcache_histograms.cc \
138	content/browser/appcache/appcache_host.cc \
139	content/browser/appcache/appcache_interceptor.cc \
140	content/browser/appcache/appcache_quota_client.cc \
141	content/browser/appcache/appcache_request_handler.cc \
142	content/browser/appcache/appcache_response.cc \
143	content/browser/appcache/appcache_service_impl.cc \
144	content/browser/appcache/appcache_storage.cc \
145	content/browser/appcache/appcache_storage_impl.cc \
146	content/browser/appcache/appcache_update_job.cc \
147	content/browser/appcache/appcache_url_request_job.cc \
148	content/browser/appcache/appcache_working_set.cc \
149	content/browser/appcache/chrome_appcache_service.cc \
150	content/browser/appcache/appcache_manifest_parser.cc \
151	content/browser/appcache/view_appcache_internals_job.cc \
152	content/browser/battery_status/battery_status_manager_android.cc \
153	content/browser/battery_status/battery_status_message_filter.cc \
154	content/browser/battery_status/battery_status_service.cc \
155	content/browser/browser_child_process_host_impl.cc \
156	content/browser/browser_context.cc \
157	content/browser/browser_main.cc \
158	content/browser/browser_main_loop.cc \
159	content/browser/browser_main_runner.cc \
160	content/browser/browser_plugin/browser_plugin_embedder.cc \
161	content/browser/browser_plugin/browser_plugin_guest.cc \
162	content/browser/browser_plugin/browser_plugin_message_filter.cc \
163	content/browser/browser_process_sub_thread.cc \
164	content/browser/browser_shutdown_profile_dumper.cc \
165	content/browser/browser_thread_impl.cc \
166	content/browser/browser_url_handler_impl.cc \
167	content/browser/browsing_instance.cc \
168	content/browser/byte_stream.cc \
169	content/browser/cert_store_impl.cc \
170	content/browser/child_process_launcher.cc \
171	content/browser/child_process_security_policy_impl.cc \
172	content/browser/devtools/devtools_agent_host_impl.cc \
173	content/browser/devtools/devtools_browser_target.cc \
174	content/browser/devtools/devtools_frontend_host_impl.cc \
175	content/browser/devtools/devtools_http_handler_impl.cc \
176	content/browser/devtools/devtools_manager.cc \
177	content/browser/devtools/devtools_netlog_observer.cc \
178	content/browser/devtools/devtools_power_handler.cc \
179	content/browser/devtools/devtools_protocol.cc \
180	content/browser/devtools/devtools_system_info_handler.cc \
181	content/browser/devtools/devtools_tracing_handler.cc \
182	content/browser/devtools/forwarding_agent_host.cc \
183	content/browser/devtools/ipc_devtools_agent_host.cc \
184	content/browser/devtools/embedded_worker_devtools_agent_host.cc \
185	content/browser/devtools/embedded_worker_devtools_manager.cc \
186	content/browser/devtools/render_view_devtools_agent_host.cc \
187	content/browser/devtools/renderer_overrides_handler.cc \
188	content/browser/devtools/tethering_handler.cc \
189	content/browser/device_sensors/data_fetcher_shared_memory_android.cc \
190	content/browser/device_sensors/data_fetcher_shared_memory_base.cc \
191	content/browser/device_sensors/device_inertial_sensor_service.cc \
192	content/browser/device_sensors/device_light_message_filter.cc \
193	content/browser/device_sensors/device_motion_message_filter.cc \
194	content/browser/device_sensors/device_orientation_message_filter.cc \
195	content/browser/device_sensors/sensor_manager_android.cc \
196	content/browser/dom_storage/dom_storage_area.cc \
197	content/browser/dom_storage/dom_storage_context_impl.cc \
198	content/browser/dom_storage/dom_storage_context_wrapper.cc \
199	content/browser/dom_storage/dom_storage_database.cc \
200	content/browser/dom_storage/dom_storage_host.cc \
201	content/browser/dom_storage/dom_storage_message_filter.cc \
202	content/browser/dom_storage/dom_storage_namespace.cc \
203	content/browser/dom_storage/dom_storage_session.cc \
204	content/browser/dom_storage/dom_storage_task_runner.cc \
205	content/browser/dom_storage/local_storage_database_adapter.cc \
206	content/browser/dom_storage/session_storage_database.cc \
207	content/browser/dom_storage/session_storage_database_adapter.cc \
208	content/browser/dom_storage/session_storage_namespace_impl.cc \
209	content/browser/download/base_file.cc \
210	content/browser/download/base_file_posix.cc \
211	content/browser/download/download_create_info.cc \
212	content/browser/download/download_file_factory.cc \
213	content/browser/download/download_file_impl.cc \
214	content/browser/download/download_interrupt_reasons_impl.cc \
215	content/browser/download/download_item_impl.cc \
216	content/browser/download/download_item_impl_delegate.cc \
217	content/browser/download/download_manager_impl.cc \
218	content/browser/download/download_net_log_parameters.cc \
219	content/browser/download/download_request_handle.cc \
220	content/browser/download/download_resource_handler.cc \
221	content/browser/download/download_stats.cc \
222	content/browser/download/drag_download_file.cc \
223	content/browser/download/drag_download_util.cc \
224	content/browser/download/mhtml_generation_manager.cc \
225	content/browser/download/rate_estimator.cc \
226	content/browser/download/save_file.cc \
227	content/browser/download/save_file_manager.cc \
228	content/browser/download/save_file_resource_handler.cc \
229	content/browser/download/save_item.cc \
230	content/browser/download/save_package.cc \
231	content/browser/download/save_types.cc \
232	content/browser/fileapi/blob_storage_host.cc \
233	content/browser/fileapi/browser_file_system_helper.cc \
234	content/browser/fileapi/chrome_blob_storage_context.cc \
235	content/browser/fileapi/fileapi_message_filter.cc \
236	content/browser/fileapi/upload_file_system_file_element_reader.cc \
237	content/browser/frame_host/cross_process_frame_connector.cc \
238	content/browser/frame_host/cross_site_transferring_request.cc \
239	content/browser/frame_host/debug_urls.cc \
240	content/browser/frame_host/frame_accessibility.cc \
241	content/browser/frame_host/frame_tree.cc \
242	content/browser/frame_host/frame_tree_node.cc \
243	content/browser/frame_host/interstitial_page_impl.cc \
244	content/browser/frame_host/interstitial_page_navigator_impl.cc \
245	content/browser/frame_host/navigation_before_commit_info.cc \
246	content/browser/frame_host/navigation_controller_android.cc \
247	content/browser/frame_host/navigation_controller_impl.cc \
248	content/browser/frame_host/navigation_entry_impl.cc \
249	content/browser/frame_host/navigation_entry_screenshot_manager.cc \
250	content/browser/frame_host/navigation_request.cc \
251	content/browser/frame_host/navigation_request_info.cc \
252	content/browser/frame_host/navigator.cc \
253	content/browser/frame_host/navigator_impl.cc \
254	content/browser/frame_host/navigator_delegate.cc \
255	content/browser/frame_host/render_frame_host_delegate.cc \
256	content/browser/frame_host/render_frame_host_factory.cc \
257	content/browser/frame_host/render_frame_host_impl.cc \
258	content/browser/frame_host/render_frame_host_manager.cc \
259	content/browser/frame_host/render_frame_message_filter.cc \
260	content/browser/frame_host/render_frame_proxy_host.cc \
261	content/browser/frame_host/render_widget_host_view_child_frame.cc \
262	content/browser/frame_host/render_widget_host_view_guest.cc \
263	content/browser/gamepad/gamepad_platform_data_fetcher_android.cc \
264	content/browser/gamepad/gamepad_provider.cc \
265	content/browser/gamepad/gamepad_service.cc \
266	content/browser/gamepad/gamepad_standard_mappings.cc \
267	content/browser/geolocation/empty_wifi_data_provider.cc \
268	content/browser/geolocation/geolocation_dispatcher_host.cc \
269	content/browser/geolocation/geolocation_provider_impl.cc \
270	content/browser/geolocation/location_api_adapter_android.cc \
271	content/browser/geolocation/location_arbitrator_impl.cc \
272	content/browser/geolocation/location_provider_android.cc \
273	content/browser/geolocation/location_provider_base.cc \
274	content/browser/geolocation/wifi_data.cc \
275	content/browser/geolocation/wifi_data_provider.cc \
276	content/browser/geolocation/wifi_data_provider_manager.cc \
277	content/browser/gpu/browser_gpu_channel_host_factory.cc \
278	content/browser/gpu/compositor_util.cc \
279	content/browser/gpu/gpu_data_manager_impl.cc \
280	content/browser/gpu/gpu_data_manager_impl_private.cc \
281	content/browser/gpu/gpu_internals_ui.cc \
282	content/browser/gpu/gpu_memory_buffer_factory_host_impl.cc \
283	content/browser/gpu/gpu_process_host.cc \
284	content/browser/gpu/gpu_process_host_ui_shim.cc \
285	content/browser/gpu/gpu_surface_tracker.cc \
286	content/browser/gpu/shader_disk_cache.cc \
287	content/browser/histogram_controller.cc \
288	content/browser/histogram_internals_request_job.cc \
289	content/browser/histogram_message_filter.cc \
290	content/browser/histogram_synchronizer.cc \
291	content/browser/host_zoom_map_impl.cc \
292	content/browser/indexed_db/indexed_db_active_blob_registry.cc \
293	content/browser/indexed_db/indexed_db_backing_store.cc \
294	content/browser/indexed_db/indexed_db_blob_info.cc \
295	content/browser/indexed_db/indexed_db_callbacks.cc \
296	content/browser/indexed_db/indexed_db_class_factory.cc \
297	content/browser/indexed_db/indexed_db_connection.cc \
298	content/browser/indexed_db/indexed_db_context_impl.cc \
299	content/browser/indexed_db/indexed_db_cursor.cc \
300	content/browser/indexed_db/indexed_db_database.cc \
301	content/browser/indexed_db/indexed_db_database_callbacks.cc \
302	content/browser/indexed_db/indexed_db_dispatcher_host.cc \
303	content/browser/indexed_db/indexed_db_factory_impl.cc \
304	content/browser/indexed_db/indexed_db_index_writer.cc \
305	content/browser/indexed_db/indexed_db_internals_ui.cc \
306	content/browser/indexed_db/indexed_db_leveldb_coding.cc \
307	content/browser/indexed_db/indexed_db_metadata.cc \
308	content/browser/indexed_db/indexed_db_pending_connection.cc \
309	content/browser/indexed_db/indexed_db_quota_client.cc \
310	content/browser/indexed_db/indexed_db_transaction.cc \
311	content/browser/indexed_db/indexed_db_transaction_coordinator.cc \
312	content/browser/indexed_db/indexed_db_value.cc \
313	content/browser/indexed_db/leveldb/leveldb_database.cc \
314	content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc \
315	content/browser/indexed_db/leveldb/leveldb_transaction.cc \
316	content/browser/indexed_db/leveldb/leveldb_write_batch.cc \
317	content/browser/loader/async_resource_handler.cc \
318	content/browser/loader/buffered_resource_handler.cc \
319	content/browser/loader/certificate_resource_handler.cc \
320	content/browser/loader/cross_site_resource_handler.cc \
321	content/browser/loader/detachable_resource_handler.cc \
322	content/browser/loader/layered_resource_handler.cc \
323	content/browser/loader/power_save_block_resource_throttle.cc \
324	content/browser/loader/redirect_to_file_resource_handler.cc \
325	content/browser/loader/resource_buffer.cc \
326	content/browser/loader/resource_dispatcher_host_impl.cc \
327	content/browser/loader/resource_handler.cc \
328	content/browser/loader/resource_loader.cc \
329	content/browser/loader/resource_message_delegate.cc \
330	content/browser/loader/resource_message_filter.cc \
331	content/browser/loader/resource_request_info_impl.cc \
332	content/browser/loader/resource_scheduler.cc \
333	content/browser/loader/resource_scheduler_filter.cc \
334	content/browser/loader/stream_resource_handler.cc \
335	content/browser/loader/sync_resource_handler.cc \
336	content/browser/loader/temporary_file_stream.cc \
337	content/browser/loader/throttling_resource_handler.cc \
338	content/browser/loader/upload_data_stream_builder.cc \
339	content/browser/media/android/browser_demuxer_android.cc \
340	content/browser/media/android/browser_media_player_manager.cc \
341	content/browser/media/android/media_drm_credential_manager.cc \
342	content/browser/media/android/media_resource_getter_impl.cc \
343	content/browser/media/audio_stream_monitor.cc \
344	content/browser/media/capture/audio_mirroring_manager.cc \
345	content/browser/media/capture/content_video_capture_device_core.cc \
346	content/browser/media/capture/video_capture_oracle.cc \
347	content/browser/media/capture/web_contents_audio_input_stream.cc \
348	content/browser/media/capture/web_contents_audio_muter.cc \
349	content/browser/media/capture/web_contents_capture_util.cc \
350	content/browser/media/capture/web_contents_tracker.cc \
351	content/browser/media/capture/web_contents_video_capture_device.cc \
352	content/browser/media/media_internals.cc \
353	content/browser/media/media_internals_handler.cc \
354	content/browser/media/media_internals_proxy.cc \
355	content/browser/media/media_internals_ui.cc \
356	content/browser/media/midi_dispatcher_host.cc \
357	content/browser/media/midi_host.cc \
358	content/browser/media/webrtc_identity_store.cc \
359	content/browser/media/webrtc_identity_store_backend.cc \
360	content/browser/manifest/manifest_manager_host.cc \
361	content/browser/message_port_message_filter.cc \
362	content/browser/message_port_service.cc \
363	content/browser/mime_registry_message_filter.cc \
364	content/browser/mojo/mojo_application_host.cc \
365	content/browser/net/browser_online_state_observer.cc \
366	content/browser/net/sqlite_persistent_cookie_store.cc \
367	content/browser/net/view_blob_internals_job_factory.cc \
368	content/browser/net/view_http_cache_job_factory.cc \
369	content/browser/notification_service_impl.cc \
370	content/browser/power_monitor_message_broadcaster.cc \
371	content/browser/power_profiler/power_event.cc \
372	content/browser/power_profiler/power_profiler_service.cc \
373	content/browser/power_save_blocker_android.cc \
374	content/browser/power_save_blocker_impl.cc \
375	content/browser/profiler_controller_impl.cc \
376	content/browser/profiler_message_filter.cc \
377	content/browser/push_messaging_message_filter.cc \
378	content/browser/push_messaging_router.cc \
379	content/browser/quota_dispatcher_host.cc \
380	content/browser/renderer_host/clipboard_message_filter.cc \
381	content/browser/renderer_host/compositor_impl_android.cc \
382	content/browser/renderer_host/database_message_filter.cc \
383	content/browser/renderer_host/delegated_frame_evictor.cc \
384	content/browser/renderer_host/dip_util.cc \
385	content/browser/renderer_host/file_utilities_message_filter.cc \
386	content/browser/renderer_host/gamepad_browser_message_filter.cc \
387	content/browser/renderer_host/gpu_message_filter.cc \
388	content/browser/renderer_host/image_transport_factory_android.cc \
389	content/browser/renderer_host/ime_adapter_android.cc \
390	content/browser/renderer_host/input/gesture_event_queue.cc \
391	content/browser/renderer_host/input/gesture_text_selector.cc \
392	content/browser/renderer_host/input/input_router_impl.cc \
393	content/browser/renderer_host/input/input_router_config_helper.cc \
394	content/browser/renderer_host/input/motion_event_android.cc \
395	content/browser/renderer_host/input/motion_event_web.cc \
396	content/browser/renderer_host/input/synthetic_gesture.cc \
397	content/browser/renderer_host/input/synthetic_gesture_controller.cc \
398	content/browser/renderer_host/input/synthetic_gesture_target_android.cc \
399	content/browser/renderer_host/input/synthetic_gesture_target_base.cc \
400	content/browser/renderer_host/input/synthetic_pinch_gesture.cc \
401	content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc \
402	content/browser/renderer_host/input/synthetic_tap_gesture.cc \
403	content/browser/renderer_host/input/tap_suppression_controller.cc \
404	content/browser/renderer_host/input/timeout_monitor.cc \
405	content/browser/renderer_host/input/touch_emulator.cc \
406	content/browser/renderer_host/input/touch_event_queue.cc \
407	content/browser/renderer_host/input/touch_action_filter.cc \
408	content/browser/renderer_host/input/touch_handle.cc \
409	content/browser/renderer_host/input/touch_selection_controller.cc \
410	content/browser/renderer_host/input/touchpad_tap_suppression_controller.cc \
411	content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc \
412	content/browser/renderer_host/input/web_input_event_builders_android.cc \
413	content/browser/renderer_host/input/web_input_event_util.cc \
414	content/browser/renderer_host/input/web_input_event_util_posix.cc \
415	content/browser/renderer_host/media/audio_input_device_manager.cc \
416	content/browser/renderer_host/media/audio_input_renderer_host.cc \
417	content/browser/renderer_host/media/audio_input_sync_writer.cc \
418	content/browser/renderer_host/media/audio_renderer_host.cc \
419	content/browser/renderer_host/media/audio_sync_reader.cc \
420	content/browser/renderer_host/media/device_request_message_filter.cc \
421	content/browser/renderer_host/media/media_capture_devices_impl.cc \
422	content/browser/renderer_host/media/media_stream_dispatcher_host.cc \
423	content/browser/renderer_host/media/media_stream_manager.cc \
424	content/browser/renderer_host/media/media_stream_track_metrics_host.cc \
425	content/browser/renderer_host/media/media_stream_ui_proxy.cc \
426	content/browser/renderer_host/media/video_capture_buffer_pool.cc \
427	content/browser/renderer_host/media/video_capture_controller.cc \
428	content/browser/renderer_host/media/video_capture_controller_event_handler.cc \
429	content/browser/renderer_host/media/video_capture_host.cc \
430	content/browser/renderer_host/media/video_capture_manager.cc \
431	content/browser/renderer_host/memory_benchmark_message_filter.cc \
432	content/browser/renderer_host/native_web_keyboard_event_android.cc \
433	content/browser/renderer_host/overscroll_configuration.cc \
434	content/browser/renderer_host/overscroll_controller.cc \
435	content/browser/renderer_host/render_message_filter.cc \
436	content/browser/renderer_host/render_process_host_impl.cc \
437	content/browser/renderer_host/render_view_host_delegate.cc \
438	content/browser/renderer_host/render_view_host_factory.cc \
439	content/browser/renderer_host/render_view_host_impl.cc \
440	content/browser/renderer_host/render_widget_helper.cc \
441	content/browser/renderer_host/render_widget_host_delegate.cc \
442	content/browser/renderer_host/render_widget_host_impl.cc \
443	content/browser/renderer_host/render_widget_host_view_android.cc \
444	content/browser/renderer_host/render_widget_host_view_base.cc \
445	content/browser/renderer_host/render_widget_resize_helper.cc \
446	content/browser/renderer_host/renderer_frame_manager.cc \
447	content/browser/renderer_host/software_frame_manager.cc \
448	content/browser/renderer_host/socket_stream_dispatcher_host.cc \
449	content/browser/renderer_host/socket_stream_host.cc \
450	content/browser/renderer_host/websocket_dispatcher_host.cc \
451	content/browser/renderer_host/websocket_host.cc \
452	content/browser/resolve_proxy_msg_helper.cc \
453	content/browser/resource_context_impl.cc \
454	content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc \
455	content/browser/screen_orientation/screen_orientation_message_filter_android.cc \
456	content/browser/screen_orientation/screen_orientation_provider_android.cc \
457	content/browser/service_worker/embedded_worker_instance.cc \
458	content/browser/service_worker/embedded_worker_registry.cc \
459	content/browser/service_worker/service_worker_cache.cc \
460	content/browser/service_worker/service_worker_cache_listener.cc \
461	content/browser/service_worker/service_worker_cache_storage.cc \
462	content/browser/service_worker/service_worker_cache_storage_manager.cc \
463	content/browser/service_worker/service_worker_context_core.cc \
464	content/browser/service_worker/service_worker_context_request_handler.cc \
465	content/browser/service_worker/service_worker_context_wrapper.cc \
466	content/browser/service_worker/service_worker_controllee_request_handler.cc \
467	content/browser/service_worker/service_worker_database.cc \
468	content/browser/service_worker/service_worker_disk_cache.cc \
469	content/browser/service_worker/service_worker_dispatcher_host.cc \
470	content/browser/service_worker/service_worker_fetch_dispatcher.cc \
471	content/browser/service_worker/service_worker_handle.cc \
472	content/browser/service_worker/service_worker_info.cc \
473	content/browser/service_worker/service_worker_internals_ui.cc \
474	content/browser/service_worker/service_worker_job_coordinator.cc \
475	content/browser/service_worker/service_worker_metrics.cc \
476	content/browser/service_worker/service_worker_process_manager.cc \
477	content/browser/service_worker/service_worker_provider_host.cc \
478	content/browser/service_worker/service_worker_read_from_cache_job.cc \
479	content/browser/service_worker/service_worker_register_job.cc \
480	content/browser/service_worker/service_worker_registration.cc \
481	content/browser/service_worker/service_worker_registration_handle.cc \
482	content/browser/service_worker/service_worker_registration_status.cc \
483	content/browser/service_worker/service_worker_request_handler.cc \
484	content/browser/service_worker/service_worker_script_cache_map.cc \
485	content/browser/service_worker/service_worker_storage.cc \
486	content/browser/service_worker/service_worker_unregister_job.cc \
487	content/browser/service_worker/service_worker_url_request_job.cc \
488	content/browser/service_worker/service_worker_utils.cc \
489	content/browser/service_worker/service_worker_version.cc \
490	content/browser/service_worker/service_worker_write_to_cache_job.cc \
491	content/browser/shared_worker/shared_worker_host.cc \
492	content/browser/shared_worker/shared_worker_instance.cc \
493	content/browser/shared_worker/shared_worker_message_filter.cc \
494	content/browser/shared_worker/shared_worker_service_impl.cc \
495	content/browser/shared_worker/worker_document_set.cc \
496	content/browser/shared_worker/worker_storage_partition.cc \
497	content/browser/signed_certificate_timestamp_store_impl.cc \
498	content/browser/site_instance_impl.cc \
499	content/browser/speech/speech_recognition_dispatcher_host.cc \
500	content/browser/speech/speech_recognition_manager_impl.cc \
501	content/browser/speech/speech_recognizer_impl_android.cc \
502	content/browser/ssl/ssl_cert_error_handler.cc \
503	content/browser/ssl/ssl_client_auth_handler.cc \
504	content/browser/ssl/ssl_error_handler.cc \
505	content/browser/ssl/ssl_manager.cc \
506	content/browser/ssl/ssl_policy_backend.cc \
507	content/browser/ssl/ssl_policy.cc \
508	content/browser/ssl/ssl_request_info.cc \
509	content/browser/startup_task_runner.cc \
510	content/browser/streams/stream.cc \
511	content/browser/streams/stream_context.cc \
512	content/browser/streams/stream_handle_impl.cc \
513	content/browser/streams/stream_registry.cc \
514	content/browser/streams/stream_url_request_job.cc \
515	content/browser/storage_partition_impl.cc \
516	content/browser/storage_partition_impl_map.cc \
517	content/browser/tcmalloc_internals_request_job.cc \
518	content/browser/time_zone_monitor.cc \
519	content/browser/time_zone_monitor_android.cc \
520	content/browser/tracing/trace_message_filter.cc \
521	content/browser/tracing/tracing_controller_impl.cc \
522	content/browser/transition_request_manager.cc \
523	content/browser/user_metrics.cc \
524	content/browser/utility_process_host_impl.cc \
525	content/browser/vibration/vibration_message_filter.cc \
526	content/browser/vibration/vibration_provider_android.cc \
527	content/browser/web_contents/web_contents_android.cc \
528	content/browser/web_contents/web_contents_impl.cc \
529	content/browser/web_contents/web_contents_view_android.cc \
530	content/browser/web_contents/web_contents_view_guest.cc \
531	content/browser/webui/content_web_ui_controller_factory.cc \
532	content/browser/webui/generic_handler.cc \
533	content/browser/webui/shared_resources_data_source.cc \
534	content/browser/webui/url_data_manager.cc \
535	content/browser/webui/url_data_manager_backend.cc \
536	content/browser/webui/url_data_source_impl.cc \
537	content/browser/webui/web_ui_data_source_impl.cc \
538	content/browser/webui/web_ui_controller_factory_registry.cc \
539	content/browser/webui/web_ui_impl.cc \
540	content/browser/webui/web_ui_message_handler.cc \
541	content/browser/power_profiler/power_data_provider_dummy.cc \
542	content/browser/media/webrtc_internals.cc \
543	content/browser/media/webrtc_internals_message_handler.cc \
544	content/browser/media/webrtc_internals_ui.cc \
545	content/browser/renderer_host/media/peer_connection_tracker_host.cc \
546	content/browser/renderer_host/media/webrtc_identity_service_host.cc \
547	content/browser/renderer_host/p2p/socket_host.cc \
548	content/browser/renderer_host/p2p/socket_host_tcp.cc \
549	content/browser/renderer_host/p2p/socket_host_tcp_server.cc \
550	content/browser/renderer_host/p2p/socket_host_throttler.cc \
551	content/browser/renderer_host/p2p/socket_host_udp.cc \
552	content/browser/renderer_host/p2p/socket_dispatcher_host.cc \
553	content/browser/android/java/gin_java_bound_object.cc \
554	content/browser/android/java/gin_java_bound_object_delegate.cc \
555	content/browser/android/java/gin_java_bridge_dispatcher_host.cc \
556	content/browser/android/java/gin_java_method_invocation_helper.cc \
557	content/browser/android/java/gin_java_script_to_java_types_coercion.cc \
558	content/browser/android/java/java_method.cc \
559	content/browser/android/java/java_type.cc \
560	content/browser/android/java/jni_helper.cc \
561	content/browser/media/cdm/browser_cdm_manager.cc \
562	content/browser/media/media_web_contents_observer.cc
563
564
565# Flags passed to both C and C++ files.
566MY_CFLAGS_Debug := \
567	--param=ssp-buffer-size=4 \
568	-Werror \
569	-fno-strict-aliasing \
570	-Wall \
571	-Wno-unused-parameter \
572	-Wno-missing-field-initializers \
573	-fvisibility=hidden \
574	-pipe \
575	-fPIC \
576	-Wno-unused-local-typedefs \
577	-ffunction-sections \
578	-funwind-tables \
579	-g \
580	-fno-short-enums \
581	-finline-limit=64 \
582	-Wa,--noexecstack \
583	-U_FORTIFY_SOURCE \
584	-Wno-extra \
585	-Wno-ignored-qualifiers \
586	-Wno-type-limits \
587	-Wno-unused-but-set-variable \
588	-Os \
589	-g \
590	-gdwarf-4 \
591	-fdata-sections \
592	-ffunction-sections \
593	-funwind-tables
594
595MY_DEFS_Debug := \
596	'-DCONTENT_IMPLEMENTATION' \
597	'-DV8_DEPRECATION_WARNINGS' \
598	'-D_FILE_OFFSET_BITS=64' \
599	'-DNO_TCMALLOC' \
600	'-DDISABLE_NACL' \
601	'-DCHROMIUM_BUILD' \
602	'-DUSE_LIBJPEG_TURBO=1' \
603	'-DENABLE_WEBRTC=1' \
604	'-DUSE_PROPRIETARY_CODECS' \
605	'-DENABLE_BROWSER_CDMS' \
606	'-DENABLE_CONFIGURATION_POLICY' \
607	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
608	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
609	'-DENABLE_EGLIMAGE=1' \
610	'-DCLD_VERSION=1' \
611	'-DENABLE_PRINTING=1' \
612	'-DENABLE_MANAGED_USERS=1' \
613	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
614	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
615	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
616	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
617	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
618	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
619	'-DVIDEO_HOLE=1' \
620	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
621	'-DAPPCACHE_USE_SIMPLE_CACHE' \
622	'-DMOJO_USE_SYSTEM_IMPL' \
623	'-DPOSIX_AVOID_MMAP' \
624	'-DSK_ENABLE_INST_COUNT=0' \
625	'-DSK_SUPPORT_GPU=1' \
626	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
627	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
628	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
629	'-DGR_GL_IGNORE_ES3_MSAA=0' \
630	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
631	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
632	'-DSK_BUILD_FOR_ANDROID' \
633	'-DSK_USE_POSIX_THREADS' \
634	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
635	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
636	'-DU_USING_ICU_NAMESPACE=0' \
637	'-DU_ENABLE_DYLOAD=0' \
638	'-DPROTOBUF_USE_DLLS' \
639	'-DGOOGLE_PROTOBUF_NO_RTTI' \
640	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
641	'-DCHROME_PNG_WRITE_SUPPORT' \
642	'-DPNG_USER_CONFIG' \
643	'-DCHROME_PNG_READ_PACK_SUPPORT' \
644	'-DFEATURE_ENABLE_SSL' \
645	'-DFEATURE_ENABLE_VOICEMAIL' \
646	'-DEXPAT_RELATIVE_PATH' \
647	'-DGTEST_RELATIVE_PATH' \
648	'-DNO_MAIN_THREAD_WRAPPING' \
649	'-DNO_SOUND_SYSTEM' \
650	'-DANDROID' \
651	'-DPOSIX' \
652	'-DWEBRTC_POSIX' \
653	'-DXML_STATIC' \
654	'-DMEDIA_DISABLE_LIBVPX' \
655	'-DUSE_OPENSSL=1' \
656	'-DUSE_OPENSSL_CERTS=1' \
657	'-D__STDC_CONSTANT_MACROS' \
658	'-D__STDC_FORMAT_MACROS' \
659	'-D__GNU_SOURCE=1' \
660	'-DUSE_STLPORT=1' \
661	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
662	'-DCHROME_BUILD_ID=""' \
663	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
664	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
665	'-D_DEBUG'
666
667
668# Include paths placed before CFLAGS/CPPFLAGS
669LOCAL_C_INCLUDES_Debug := \
670	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
671	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
672	$(gyp_shared_intermediate_dir) \
673	$(LOCAL_PATH) \
674	$(gyp_intermediate_dir) \
675	$(LOCAL_PATH)/third_party/khronos \
676	$(LOCAL_PATH)/gpu \
677	$(LOCAL_PATH)/skia/config \
678	$(LOCAL_PATH)/third_party/WebKit/Source \
679	$(gyp_shared_intermediate_dir)/angle \
680	$(LOCAL_PATH)/third_party/skia/src/core \
681	$(LOCAL_PATH)/third_party/skia/include/core \
682	$(LOCAL_PATH)/third_party/skia/include/effects \
683	$(LOCAL_PATH)/third_party/skia/include/pdf \
684	$(LOCAL_PATH)/third_party/skia/include/gpu \
685	$(LOCAL_PATH)/third_party/skia/include/lazy \
686	$(LOCAL_PATH)/third_party/skia/include/pathops \
687	$(LOCAL_PATH)/third_party/skia/include/pipe \
688	$(LOCAL_PATH)/third_party/skia/include/ports \
689	$(LOCAL_PATH)/third_party/skia/include/utils \
690	$(LOCAL_PATH)/skia/ext \
691	$(LOCAL_PATH)/third_party/re2 \
692	$(LOCAL_PATH)/third_party/zlib \
693	$(LOCAL_PATH)/third_party/WebKit \
694	$(PWD)/external/icu/icu4c/source/common \
695	$(PWD)/external/icu/icu4c/source/i18n \
696	$(gyp_shared_intermediate_dir)/ui/resources \
697	$(gyp_shared_intermediate_dir)/protoc_out \
698	$(LOCAL_PATH)/third_party/protobuf \
699	$(LOCAL_PATH)/third_party/protobuf/src \
700	$(gyp_shared_intermediate_dir)/content/app/resources \
701	$(gyp_shared_intermediate_dir)/webkit \
702	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
703	$(LOCAL_PATH)/third_party/leveldatabase/src \
704	$(LOCAL_PATH)/third_party/leveldatabase \
705	$(LOCAL_PATH)/third_party/WebKit \
706	$(LOCAL_PATH)/third_party/npapi \
707	$(LOCAL_PATH)/third_party/npapi/bindings \
708	$(LOCAL_PATH)/v8/include \
709	$(LOCAL_PATH)/third_party/libpng \
710	$(LOCAL_PATH)/third_party/libwebp \
711	$(LOCAL_PATH)/third_party/ots/include \
712	$(LOCAL_PATH)/third_party/qcms/src \
713	$(LOCAL_PATH)/third_party/iccjpeg \
714	$(LOCAL_PATH)/third_party/libjpeg_turbo \
715	$(LOCAL_PATH)/third_party/libyuv/include \
716	$(LOCAL_PATH)/third_party/libyuv \
717	$(LOCAL_PATH)/third_party/webrtc/overrides \
718	$(LOCAL_PATH)/third_party/libjingle/overrides \
719	$(LOCAL_PATH)/third_party/libjingle/source \
720	$(LOCAL_PATH)/testing/gtest/include \
721	$(LOCAL_PATH)/third_party \
722	$(LOCAL_PATH)/third_party/expat/files/lib \
723	$(gyp_shared_intermediate_dir)/content \
724	$(PWD)/frameworks/wilhelm/include \
725	$(PWD)/bionic \
726	$(PWD)/external/stlport/stlport
727
728
729# Flags passed to only C++ (and not C) files.
730LOCAL_CPPFLAGS_Debug := \
731	-fno-exceptions \
732	-fno-rtti \
733	-fno-threadsafe-statics \
734	-fvisibility-inlines-hidden \
735	-Wsign-compare \
736	-std=gnu++11 \
737	-Wno-narrowing \
738	-Wno-literal-suffix \
739	-Wno-non-virtual-dtor \
740	-Wno-sign-promo
741
742
743# Flags passed to both C and C++ files.
744MY_CFLAGS_Release := \
745	--param=ssp-buffer-size=4 \
746	-Werror \
747	-fno-strict-aliasing \
748	-Wall \
749	-Wno-unused-parameter \
750	-Wno-missing-field-initializers \
751	-fvisibility=hidden \
752	-pipe \
753	-fPIC \
754	-Wno-unused-local-typedefs \
755	-ffunction-sections \
756	-funwind-tables \
757	-g \
758	-fno-short-enums \
759	-finline-limit=64 \
760	-Wa,--noexecstack \
761	-U_FORTIFY_SOURCE \
762	-Wno-extra \
763	-Wno-ignored-qualifiers \
764	-Wno-type-limits \
765	-Wno-unused-but-set-variable \
766	-Os \
767	-fno-ident \
768	-fdata-sections \
769	-ffunction-sections \
770	-funwind-tables
771
772MY_DEFS_Release := \
773	'-DCONTENT_IMPLEMENTATION' \
774	'-DV8_DEPRECATION_WARNINGS' \
775	'-D_FILE_OFFSET_BITS=64' \
776	'-DNO_TCMALLOC' \
777	'-DDISABLE_NACL' \
778	'-DCHROMIUM_BUILD' \
779	'-DUSE_LIBJPEG_TURBO=1' \
780	'-DENABLE_WEBRTC=1' \
781	'-DUSE_PROPRIETARY_CODECS' \
782	'-DENABLE_BROWSER_CDMS' \
783	'-DENABLE_CONFIGURATION_POLICY' \
784	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
785	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
786	'-DENABLE_EGLIMAGE=1' \
787	'-DCLD_VERSION=1' \
788	'-DENABLE_PRINTING=1' \
789	'-DENABLE_MANAGED_USERS=1' \
790	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
791	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
792	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
793	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
794	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
795	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
796	'-DVIDEO_HOLE=1' \
797	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
798	'-DAPPCACHE_USE_SIMPLE_CACHE' \
799	'-DMOJO_USE_SYSTEM_IMPL' \
800	'-DPOSIX_AVOID_MMAP' \
801	'-DSK_ENABLE_INST_COUNT=0' \
802	'-DSK_SUPPORT_GPU=1' \
803	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
804	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
805	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
806	'-DGR_GL_IGNORE_ES3_MSAA=0' \
807	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
808	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
809	'-DSK_BUILD_FOR_ANDROID' \
810	'-DSK_USE_POSIX_THREADS' \
811	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
812	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
813	'-DU_USING_ICU_NAMESPACE=0' \
814	'-DU_ENABLE_DYLOAD=0' \
815	'-DPROTOBUF_USE_DLLS' \
816	'-DGOOGLE_PROTOBUF_NO_RTTI' \
817	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
818	'-DCHROME_PNG_WRITE_SUPPORT' \
819	'-DPNG_USER_CONFIG' \
820	'-DCHROME_PNG_READ_PACK_SUPPORT' \
821	'-DFEATURE_ENABLE_SSL' \
822	'-DFEATURE_ENABLE_VOICEMAIL' \
823	'-DEXPAT_RELATIVE_PATH' \
824	'-DGTEST_RELATIVE_PATH' \
825	'-DNO_MAIN_THREAD_WRAPPING' \
826	'-DNO_SOUND_SYSTEM' \
827	'-DANDROID' \
828	'-DPOSIX' \
829	'-DWEBRTC_POSIX' \
830	'-DXML_STATIC' \
831	'-DMEDIA_DISABLE_LIBVPX' \
832	'-DUSE_OPENSSL=1' \
833	'-DUSE_OPENSSL_CERTS=1' \
834	'-D__STDC_CONSTANT_MACROS' \
835	'-D__STDC_FORMAT_MACROS' \
836	'-D__GNU_SOURCE=1' \
837	'-DUSE_STLPORT=1' \
838	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
839	'-DCHROME_BUILD_ID=""' \
840	'-DNDEBUG' \
841	'-DNVALGRIND' \
842	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
843	'-D_FORTIFY_SOURCE=2'
844
845
846# Include paths placed before CFLAGS/CPPFLAGS
847LOCAL_C_INCLUDES_Release := \
848	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
849	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
850	$(gyp_shared_intermediate_dir) \
851	$(LOCAL_PATH) \
852	$(gyp_intermediate_dir) \
853	$(LOCAL_PATH)/third_party/khronos \
854	$(LOCAL_PATH)/gpu \
855	$(LOCAL_PATH)/skia/config \
856	$(LOCAL_PATH)/third_party/WebKit/Source \
857	$(gyp_shared_intermediate_dir)/angle \
858	$(LOCAL_PATH)/third_party/skia/src/core \
859	$(LOCAL_PATH)/third_party/skia/include/core \
860	$(LOCAL_PATH)/third_party/skia/include/effects \
861	$(LOCAL_PATH)/third_party/skia/include/pdf \
862	$(LOCAL_PATH)/third_party/skia/include/gpu \
863	$(LOCAL_PATH)/third_party/skia/include/lazy \
864	$(LOCAL_PATH)/third_party/skia/include/pathops \
865	$(LOCAL_PATH)/third_party/skia/include/pipe \
866	$(LOCAL_PATH)/third_party/skia/include/ports \
867	$(LOCAL_PATH)/third_party/skia/include/utils \
868	$(LOCAL_PATH)/skia/ext \
869	$(LOCAL_PATH)/third_party/re2 \
870	$(LOCAL_PATH)/third_party/zlib \
871	$(LOCAL_PATH)/third_party/WebKit \
872	$(PWD)/external/icu/icu4c/source/common \
873	$(PWD)/external/icu/icu4c/source/i18n \
874	$(gyp_shared_intermediate_dir)/ui/resources \
875	$(gyp_shared_intermediate_dir)/protoc_out \
876	$(LOCAL_PATH)/third_party/protobuf \
877	$(LOCAL_PATH)/third_party/protobuf/src \
878	$(gyp_shared_intermediate_dir)/content/app/resources \
879	$(gyp_shared_intermediate_dir)/webkit \
880	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
881	$(LOCAL_PATH)/third_party/leveldatabase/src \
882	$(LOCAL_PATH)/third_party/leveldatabase \
883	$(LOCAL_PATH)/third_party/WebKit \
884	$(LOCAL_PATH)/third_party/npapi \
885	$(LOCAL_PATH)/third_party/npapi/bindings \
886	$(LOCAL_PATH)/v8/include \
887	$(LOCAL_PATH)/third_party/libpng \
888	$(LOCAL_PATH)/third_party/libwebp \
889	$(LOCAL_PATH)/third_party/ots/include \
890	$(LOCAL_PATH)/third_party/qcms/src \
891	$(LOCAL_PATH)/third_party/iccjpeg \
892	$(LOCAL_PATH)/third_party/libjpeg_turbo \
893	$(LOCAL_PATH)/third_party/libyuv/include \
894	$(LOCAL_PATH)/third_party/libyuv \
895	$(LOCAL_PATH)/third_party/webrtc/overrides \
896	$(LOCAL_PATH)/third_party/libjingle/overrides \
897	$(LOCAL_PATH)/third_party/libjingle/source \
898	$(LOCAL_PATH)/testing/gtest/include \
899	$(LOCAL_PATH)/third_party \
900	$(LOCAL_PATH)/third_party/expat/files/lib \
901	$(gyp_shared_intermediate_dir)/content \
902	$(PWD)/frameworks/wilhelm/include \
903	$(PWD)/bionic \
904	$(PWD)/external/stlport/stlport
905
906
907# Flags passed to only C++ (and not C) files.
908LOCAL_CPPFLAGS_Release := \
909	-fno-exceptions \
910	-fno-rtti \
911	-fno-threadsafe-statics \
912	-fvisibility-inlines-hidden \
913	-Wsign-compare \
914	-std=gnu++11 \
915	-Wno-narrowing \
916	-Wno-literal-suffix \
917	-Wno-non-virtual-dtor \
918	-Wno-sign-promo
919
920
921LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
922LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
923LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
924LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
925### Rules for final target.
926
927LOCAL_SHARED_LIBRARIES := \
928	libstlport \
929	libdl
930
931# Add target alias to "gyp_all_modules" target.
932.PHONY: gyp_all_modules
933gyp_all_modules: content_content_browser_gyp
934
935# Alias gyp target name.
936.PHONY: content_browser
937content_browser: content_content_browser_gyp
938
939include $(BUILD_STATIC_LIBRARY)
940