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_TAGS := optional
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14	$(call intermediates-dir-for,GYP,content_content_resources_gyp)/content_resources.stamp \
15	$(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \
16	$(call intermediates-dir-for,GYP,ui_resources_ui_resources_gyp)/ui_resources.stamp \
17	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \
18	$(call intermediates-dir-for,STATIC_LIBRARIES,content_browser_speech_proto_speech_proto_gyp)/content_browser_speech_proto_speech_proto_gyp.a \
19	$(call intermediates-dir-for,GYP,content_browser_devtools_devtools_resources_gyp)/devtools_resources.stamp \
20	$(call intermediates-dir-for,GYP,webkit_webkit_resources_gyp)/webkit_resources.stamp \
21	$(call intermediates-dir-for,GYP,webkit_webkit_strings_gyp)/webkit_strings.stamp \
22	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \
23	$(call intermediates-dir-for,GYP,sandbox_sandbox_gyp)/sandbox.stamp \
24	$(call intermediates-dir-for,GYP,content_content_jni_headers_gyp)/content_jni_headers.stamp
25
26GYP_GENERATED_OUTPUTS :=
27
28# Make sure our deps and generated files are built first.
29LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
30
31LOCAL_CPP_EXTENSION := .cc
32$(gyp_intermediate_dir)/devtools_resources_map.cc: $(gyp_shared_intermediate_dir)/webkit/grit/devtools_resources_map.cc
33	mkdir -p $(@D); cp $< $@
34$(gyp_intermediate_dir)/webui_resources_map.cc: $(gyp_shared_intermediate_dir)/ui/ui_resources/grit/webui_resources_map.cc
35	mkdir -p $(@D); cp $< $@
36LOCAL_GENERATED_SOURCES := \
37	$(gyp_intermediate_dir)/devtools_resources_map.cc \
38	$(gyp_intermediate_dir)/webui_resources_map.cc
39
40GYP_COPIED_SOURCE_ORIGIN_DIRS := \
41	$(gyp_shared_intermediate_dir)/webkit/grit \
42	$(gyp_shared_intermediate_dir)/ui/ui_resources/grit
43
44LOCAL_SRC_FILES := \
45	content/public/browser/android/synchronous_compositor.cc \
46	content/public/browser/browser_child_process_host_delegate.cc \
47	content/public/browser/browser_child_process_host_iterator.cc \
48	content/public/browser/browser_child_process_observer.cc \
49	content/public/browser/browser_main_parts.cc \
50	content/public/browser/browser_message_filter.cc \
51	content/public/browser/browser_plugin_guest_delegate.cc \
52	content/public/browser/content_browser_client.cc \
53	content/public/browser/desktop_media_id.cc \
54	content/public/browser/download_manager_delegate.cc \
55	content/public/browser/download_save_info.cc \
56	content/public/browser/download_url_parameters.cc \
57	content/public/browser/favicon_status.cc \
58	content/public/browser/indexed_db_info.cc \
59	content/public/browser/javascript_dialog_manager.cc \
60	content/public/browser/load_from_memory_cache_details.cc \
61	content/public/browser/local_storage_usage_info.cc \
62	content/public/browser/media_device_id.cc \
63	content/public/browser/navigation_controller.cc \
64	content/public/browser/navigation_details.cc \
65	content/public/browser/notification_registrar.cc \
66	content/public/browser/page_navigator.cc \
67	content/public/browser/resource_dispatcher_host_delegate.cc \
68	content/public/browser/resource_request_details.cc \
69	content/public/browser/speech_recognition_session_config.cc \
70	content/public/browser/speech_recognition_session_context.cc \
71	content/public/browser/web_contents.cc \
72	content/public/browser/web_contents_delegate.cc \
73	content/public/browser/web_contents_observer.cc \
74	content/public/browser/web_ui_controller.cc \
75	content/public/browser/url_data_source.cc \
76	content/browser/accessibility/accessibility_tree_formatter.cc \
77	content/browser/accessibility/accessibility_tree_formatter_android.cc \
78	content/browser/accessibility/accessibility_ui.cc \
79	content/browser/accessibility/browser_accessibility.cc \
80	content/browser/accessibility/browser_accessibility_android.cc \
81	content/browser/accessibility/browser_accessibility_manager.cc \
82	content/browser/accessibility/browser_accessibility_manager_android.cc \
83	content/browser/accessibility/browser_accessibility_state_impl.cc \
84	content/browser/android/browser_jni_registrar.cc \
85	content/browser/android/browser_startup_controller.cc \
86	content/browser/android/child_process_launcher_android.cc \
87	content/browser/android/content_settings.cc \
88	content/browser/android/content_startup_flags.cc \
89	content/browser/android/content_video_view.cc \
90	content/browser/android/content_view_core_impl.cc \
91	content/browser/android/content_view_render_view.cc \
92	content/browser/android/content_view_statics.cc \
93	content/browser/android/date_time_chooser_android.cc \
94	content/browser/android/download_controller_android_impl.cc \
95	content/browser/android/devtools_auth.cc \
96	content/browser/android/edge_effect.cc \
97	content/browser/android/in_process/synchronous_compositor_factory_impl.cc \
98	content/browser/android/in_process/synchronous_compositor_impl.cc \
99	content/browser/android/in_process/synchronous_compositor_output_surface.cc \
100	content/browser/android/in_process/synchronous_input_event_filter.cc \
101	content/browser/android/interstitial_page_delegate_android.cc \
102	content/browser/android/load_url_params.cc \
103	content/browser/android/overscroll_glow.cc \
104	content/browser/android/surface_texture_peer_browser_impl.cc \
105	content/browser/android/touch_point.cc \
106	content/browser/android/tracing_controller_android.cc \
107	content/browser/android/web_contents_observer_android.cc \
108	content/browser/appcache/appcache_dispatcher_host.cc \
109	content/browser/appcache/appcache_frontend_proxy.cc \
110	content/browser/appcache/chrome_appcache_service.cc \
111	content/browser/browser_child_process_host_impl.cc \
112	content/browser/browser_context.cc \
113	content/browser/browser_main.cc \
114	content/browser/browser_main_loop.cc \
115	content/browser/browser_main_runner.cc \
116	content/browser/browser_plugin/browser_plugin_embedder.cc \
117	content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc \
118	content/browser/browser_plugin/browser_plugin_guest.cc \
119	content/browser/browser_plugin/browser_plugin_guest_manager.cc \
120	content/browser/browser_plugin/browser_plugin_message_filter.cc \
121	content/browser/browser_process_sub_thread.cc \
122	content/browser/browser_shutdown_profile_dumper.cc \
123	content/browser/browser_thread_impl.cc \
124	content/browser/browser_url_handler_impl.cc \
125	content/browser/browsing_instance.cc \
126	content/browser/byte_stream.cc \
127	content/browser/cert_store_impl.cc \
128	content/browser/child_process_launcher.cc \
129	content/browser/child_process_security_policy_impl.cc \
130	content/browser/cross_site_request_manager.cc \
131	content/browser/devtools/devtools_agent_host_impl.cc \
132	content/browser/devtools/devtools_browser_target.cc \
133	content/browser/devtools/devtools_external_agent_proxy_impl.cc \
134	content/browser/devtools/devtools_frontend_host.cc \
135	content/browser/devtools/devtools_http_handler_impl.cc \
136	content/browser/devtools/devtools_manager_impl.cc \
137	content/browser/devtools/devtools_netlog_observer.cc \
138	content/browser/devtools/devtools_protocol.cc \
139	content/browser/devtools/devtools_protocol_constants.cc \
140	content/browser/devtools/devtools_system_info_handler.cc \
141	content/browser/devtools/devtools_tracing_handler.cc \
142	content/browser/devtools/ipc_devtools_agent_host.cc \
143	content/browser/devtools/render_view_devtools_agent_host.cc \
144	content/browser/devtools/renderer_overrides_handler.cc \
145	content/browser/devtools/tethering_handler.cc \
146	content/browser/devtools/worker_devtools_manager.cc \
147	content/browser/devtools/worker_devtools_message_filter.cc \
148	content/browser/device_orientation/data_fetcher_impl_android.cc \
149	content/browser/device_orientation/data_fetcher_shared_memory_android.cc \
150	content/browser/device_orientation/data_fetcher_shared_memory_base.cc \
151	content/browser/device_orientation/device_inertial_sensor_service.cc \
152	content/browser/device_orientation/device_motion_message_filter.cc \
153	content/browser/device_orientation/device_orientation_message_filter.cc \
154	content/browser/dom_storage/dom_storage_area.cc \
155	content/browser/dom_storage/dom_storage_context_impl.cc \
156	content/browser/dom_storage/dom_storage_context_wrapper.cc \
157	content/browser/dom_storage/dom_storage_database.cc \
158	content/browser/dom_storage/dom_storage_host.cc \
159	content/browser/dom_storage/dom_storage_message_filter.cc \
160	content/browser/dom_storage/dom_storage_namespace.cc \
161	content/browser/dom_storage/dom_storage_session.cc \
162	content/browser/dom_storage/dom_storage_task_runner.cc \
163	content/browser/dom_storage/local_storage_database_adapter.cc \
164	content/browser/dom_storage/session_storage_database.cc \
165	content/browser/dom_storage/session_storage_database_adapter.cc \
166	content/browser/dom_storage/session_storage_namespace_impl.cc \
167	content/browser/download/base_file.cc \
168	content/browser/download/base_file_posix.cc \
169	content/browser/download/download_create_info.cc \
170	content/browser/download/download_file_factory.cc \
171	content/browser/download/download_file_impl.cc \
172	content/browser/download/download_interrupt_reasons_impl.cc \
173	content/browser/download/download_item_impl.cc \
174	content/browser/download/download_item_impl_delegate.cc \
175	content/browser/download/download_manager_impl.cc \
176	content/browser/download/download_net_log_parameters.cc \
177	content/browser/download/download_request_handle.cc \
178	content/browser/download/download_resource_handler.cc \
179	content/browser/download/download_stats.cc \
180	content/browser/download/drag_download_file.cc \
181	content/browser/download/drag_download_util.cc \
182	content/browser/download/mhtml_generation_manager.cc \
183	content/browser/download/rate_estimator.cc \
184	content/browser/download/save_file.cc \
185	content/browser/download/save_file_manager.cc \
186	content/browser/download/save_file_resource_handler.cc \
187	content/browser/download/save_item.cc \
188	content/browser/download/save_package.cc \
189	content/browser/download/save_types.cc \
190	content/browser/fileapi/browser_file_system_helper.cc \
191	content/browser/fileapi/chrome_blob_storage_context.cc \
192	content/browser/fileapi/fileapi_message_filter.cc \
193	content/browser/frame_host/debug_urls.cc \
194	content/browser/frame_host/frame_tree.cc \
195	content/browser/frame_host/frame_tree_node.cc \
196	content/browser/frame_host/interstitial_page_impl.cc \
197	content/browser/frame_host/interstitial_page_navigator_impl.cc \
198	content/browser/frame_host/navigation_controller_android.cc \
199	content/browser/frame_host/navigation_controller_impl.cc \
200	content/browser/frame_host/navigation_entry_impl.cc \
201	content/browser/frame_host/navigation_entry_screenshot_manager.cc \
202	content/browser/frame_host/navigator_impl.cc \
203	content/browser/frame_host/render_frame_host_delegate.cc \
204	content/browser/frame_host/render_frame_host_factory.cc \
205	content/browser/frame_host/render_frame_host_impl.cc \
206	content/browser/frame_host/render_frame_host_manager.cc \
207	content/browser/frame_host/render_frame_message_filter.cc \
208	content/browser/gamepad/gamepad_provider.cc \
209	content/browser/gamepad/gamepad_service.cc \
210	content/browser/geolocation/empty_wifi_data_provider.cc \
211	content/browser/geolocation/geolocation_dispatcher_host.cc \
212	content/browser/geolocation/geolocation_provider_impl.cc \
213	content/browser/geolocation/location_api_adapter_android.cc \
214	content/browser/geolocation/location_arbitrator_impl.cc \
215	content/browser/geolocation/location_provider_android.cc \
216	content/browser/geolocation/location_provider_base.cc \
217	content/browser/geolocation/wifi_data.cc \
218	content/browser/geolocation/wifi_data_provider.cc \
219	content/browser/gpu/browser_gpu_channel_host_factory.cc \
220	content/browser/gpu/compositor_util.cc \
221	content/browser/gpu/gpu_data_manager_impl.cc \
222	content/browser/gpu/gpu_data_manager_impl_private.cc \
223	content/browser/gpu/gpu_internals_ui.cc \
224	content/browser/gpu/gpu_process_host.cc \
225	content/browser/gpu/gpu_process_host_ui_shim.cc \
226	content/browser/gpu/gpu_surface_tracker.cc \
227	content/browser/gpu/shader_disk_cache.cc \
228	content/browser/histogram_controller.cc \
229	content/browser/histogram_internals_request_job.cc \
230	content/browser/histogram_message_filter.cc \
231	content/browser/histogram_synchronizer.cc \
232	content/browser/host_zoom_map_impl.cc \
233	content/browser/indexed_db/indexed_db_backing_store.cc \
234	content/browser/indexed_db/indexed_db_callbacks.cc \
235	content/browser/indexed_db/indexed_db_connection.cc \
236	content/browser/indexed_db/indexed_db_context_impl.cc \
237	content/browser/indexed_db/indexed_db_cursor.cc \
238	content/browser/indexed_db/indexed_db_database.cc \
239	content/browser/indexed_db/indexed_db_database_callbacks.cc \
240	content/browser/indexed_db/indexed_db_dispatcher_host.cc \
241	content/browser/indexed_db/indexed_db_factory.cc \
242	content/browser/indexed_db/indexed_db_index_writer.cc \
243	content/browser/indexed_db/indexed_db_internals_ui.cc \
244	content/browser/indexed_db/indexed_db_leveldb_coding.cc \
245	content/browser/indexed_db/indexed_db_metadata.cc \
246	content/browser/indexed_db/indexed_db_quota_client.cc \
247	content/browser/indexed_db/indexed_db_transaction.cc \
248	content/browser/indexed_db/indexed_db_transaction_coordinator.cc \
249	content/browser/indexed_db/leveldb/leveldb_database.cc \
250	content/browser/indexed_db/leveldb/leveldb_transaction.cc \
251	content/browser/indexed_db/leveldb/leveldb_write_batch.cc \
252	content/browser/loader/async_resource_handler.cc \
253	content/browser/loader/buffered_resource_handler.cc \
254	content/browser/loader/certificate_resource_handler.cc \
255	content/browser/loader/cross_site_resource_handler.cc \
256	content/browser/loader/detachable_resource_handler.cc \
257	content/browser/loader/layered_resource_handler.cc \
258	content/browser/loader/offline_policy.cc \
259	content/browser/loader/power_save_block_resource_throttle.cc \
260	content/browser/loader/redirect_to_file_resource_handler.cc \
261	content/browser/loader/resource_buffer.cc \
262	content/browser/loader/resource_dispatcher_host_impl.cc \
263	content/browser/loader/resource_handler.cc \
264	content/browser/loader/resource_loader.cc \
265	content/browser/loader/resource_message_delegate.cc \
266	content/browser/loader/resource_message_filter.cc \
267	content/browser/loader/resource_request_info_impl.cc \
268	content/browser/loader/resource_scheduler.cc \
269	content/browser/loader/resource_scheduler_filter.cc \
270	content/browser/loader/stream_resource_handler.cc \
271	content/browser/loader/sync_resource_handler.cc \
272	content/browser/loader/throttling_resource_handler.cc \
273	content/browser/loader/upload_data_stream_builder.cc \
274	content/browser/media/android/browser_demuxer_android.cc \
275	content/browser/media/android/browser_media_player_manager.cc \
276	content/browser/media/android/media_drm_credential_manager.cc \
277	content/browser/media/android/media_resource_getter_impl.cc \
278	content/browser/media/media_devices_monitor.cc \
279	content/browser/media/media_internals.cc \
280	content/browser/media/media_internals_handler.cc \
281	content/browser/media/media_internals_proxy.cc \
282	content/browser/media/media_internals_ui.cc \
283	content/browser/media/webrtc_identity_store.cc \
284	content/browser/media/webrtc_identity_store_backend.cc \
285	content/browser/media/webrtc_internals.cc \
286	content/browser/media/webrtc_internals_message_handler.cc \
287	content/browser/media/webrtc_internals_ui.cc \
288	content/browser/message_port_message_filter.cc \
289	content/browser/message_port_service.cc \
290	content/browser/mime_registry_message_filter.cc \
291	content/browser/net/browser_online_state_observer.cc \
292	content/browser/net/sqlite_persistent_cookie_store.cc \
293	content/browser/net/view_blob_internals_job_factory.cc \
294	content/browser/net/view_http_cache_job_factory.cc \
295	content/browser/notification_service_impl.cc \
296	content/browser/power_monitor_message_broadcaster.cc \
297	content/browser/power_save_blocker_android.cc \
298	content/browser/power_save_blocker_impl.cc \
299	content/browser/profiler_controller_impl.cc \
300	content/browser/profiler_message_filter.cc \
301	content/browser/quota_dispatcher_host.cc \
302	content/browser/renderer_host/backing_store.cc \
303	content/browser/renderer_host/backing_store_manager.cc \
304	content/browser/renderer_host/clipboard_message_filter.cc \
305	content/browser/renderer_host/compositor_impl_android.cc \
306	content/browser/renderer_host/database_message_filter.cc \
307	content/browser/renderer_host/delegated_frame_evictor.cc \
308	content/browser/renderer_host/dip_util.cc \
309	content/browser/renderer_host/file_utilities_message_filter.cc \
310	content/browser/renderer_host/gamepad_browser_message_filter.cc \
311	content/browser/renderer_host/gpu_message_filter.cc \
312	content/browser/renderer_host/image_transport_factory_android.cc \
313	content/browser/renderer_host/ime_adapter_android.cc \
314	content/browser/renderer_host/input/gesture_event_filter.cc \
315	content/browser/renderer_host/input/input_router_impl.cc \
316	content/browser/renderer_host/input/synthetic_gesture.cc \
317	content/browser/renderer_host/input/synthetic_gesture_controller.cc \
318	content/browser/renderer_host/input/synthetic_gesture_target_android.cc \
319	content/browser/renderer_host/input/synthetic_gesture_target_base.cc \
320	content/browser/renderer_host/input/synthetic_pinch_gesture.cc \
321	content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc \
322	content/browser/renderer_host/input/synthetic_tap_gesture.cc \
323	content/browser/renderer_host/input/tap_suppression_controller.cc \
324	content/browser/renderer_host/input/timeout_monitor.cc \
325	content/browser/renderer_host/input/touch_event_queue.cc \
326	content/browser/renderer_host/input/touch_action_filter.cc \
327	content/browser/renderer_host/input/touchpad_tap_suppression_controller.cc \
328	content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc \
329	content/browser/renderer_host/input/web_input_event_builders_android.cc \
330	content/browser/renderer_host/input/web_input_event_util.cc \
331	content/browser/renderer_host/input/web_input_event_util_posix.cc \
332	content/browser/renderer_host/java/java_bound_object.cc \
333	content/browser/renderer_host/java/java_bridge_channel_host.cc \
334	content/browser/renderer_host/java/java_bridge_dispatcher_host.cc \
335	content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc \
336	content/browser/renderer_host/java/java_method.cc \
337	content/browser/renderer_host/java/java_type.cc \
338	content/browser/renderer_host/java/jni_helper.cc \
339	content/browser/renderer_host/media/audio_input_device_manager.cc \
340	content/browser/renderer_host/media/audio_input_renderer_host.cc \
341	content/browser/renderer_host/media/audio_input_sync_writer.cc \
342	content/browser/renderer_host/media/audio_mirroring_manager.cc \
343	content/browser/renderer_host/media/audio_renderer_host.cc \
344	content/browser/renderer_host/media/audio_sync_reader.cc \
345	content/browser/renderer_host/media/device_request_message_filter.cc \
346	content/browser/renderer_host/media/media_stream_dispatcher_host.cc \
347	content/browser/renderer_host/media/media_stream_manager.cc \
348	content/browser/renderer_host/media/media_stream_ui_proxy.cc \
349	content/browser/renderer_host/media/midi_dispatcher_host.cc \
350	content/browser/renderer_host/media/midi_host.cc \
351	content/browser/renderer_host/media/video_capture_buffer_pool.cc \
352	content/browser/renderer_host/media/video_capture_controller.cc \
353	content/browser/renderer_host/media/video_capture_controller_event_handler.cc \
354	content/browser/renderer_host/media/video_capture_device_impl.cc \
355	content/browser/renderer_host/media/video_capture_host.cc \
356	content/browser/renderer_host/media/video_capture_manager.cc \
357	content/browser/renderer_host/media/video_capture_oracle.cc \
358	content/browser/renderer_host/media/web_contents_audio_input_stream.cc \
359	content/browser/renderer_host/media/web_contents_capture_util.cc \
360	content/browser/renderer_host/media/web_contents_tracker.cc \
361	content/browser/renderer_host/media/web_contents_video_capture_device.cc \
362	content/browser/renderer_host/memory_benchmark_message_filter.cc \
363	content/browser/renderer_host/native_web_keyboard_event_android.cc \
364	content/browser/renderer_host/overscroll_configuration.cc \
365	content/browser/renderer_host/overscroll_controller.cc \
366	content/browser/renderer_host/render_message_filter.cc \
367	content/browser/renderer_host/render_process_host_impl.cc \
368	content/browser/renderer_host/render_view_host_delegate.cc \
369	content/browser/renderer_host/render_view_host_factory.cc \
370	content/browser/renderer_host/render_view_host_impl.cc \
371	content/browser/renderer_host/render_widget_helper.cc \
372	content/browser/renderer_host/render_widget_host_delegate.cc \
373	content/browser/renderer_host/render_widget_host_impl.cc \
374	content/browser/renderer_host/render_widget_host_view_android.cc \
375	content/browser/renderer_host/render_widget_host_view_base.cc \
376	content/browser/renderer_host/render_widget_host_view_guest.cc \
377	content/browser/renderer_host/renderer_frame_manager.cc \
378	content/browser/renderer_host/software_frame_manager.cc \
379	content/browser/renderer_host/socket_stream_dispatcher_host.cc \
380	content/browser/renderer_host/socket_stream_host.cc \
381	content/browser/renderer_host/websocket_dispatcher_host.cc \
382	content/browser/renderer_host/websocket_host.cc \
383	content/browser/resolve_proxy_msg_helper.cc \
384	content/browser/resource_context_impl.cc \
385	content/browser/service_worker/embedded_worker_instance.cc \
386	content/browser/service_worker/embedded_worker_registry.cc \
387	content/browser/service_worker/service_worker_context_core.cc \
388	content/browser/service_worker/service_worker_context_wrapper.cc \
389	content/browser/service_worker/service_worker_dispatcher_host.cc \
390	content/browser/service_worker/service_worker_provider_host.cc \
391	content/browser/service_worker/service_worker_register_job.cc \
392	content/browser/service_worker/service_worker_registration.cc \
393	content/browser/service_worker/service_worker_registration_status.cc \
394	content/browser/service_worker/service_worker_storage.cc \
395	content/browser/service_worker/service_worker_version.cc \
396	content/browser/signed_certificate_timestamp_store_impl.cc \
397	content/browser/site_instance_impl.cc \
398	content/browser/speech/speech_recognition_dispatcher_host.cc \
399	content/browser/speech/speech_recognition_manager_impl.cc \
400	content/browser/speech/speech_recognizer_impl_android.cc \
401	content/browser/ssl/ssl_cert_error_handler.cc \
402	content/browser/ssl/ssl_client_auth_handler.cc \
403	content/browser/ssl/ssl_error_handler.cc \
404	content/browser/ssl/ssl_host_state.cc \
405	content/browser/ssl/ssl_manager.cc \
406	content/browser/ssl/ssl_policy_backend.cc \
407	content/browser/ssl/ssl_policy.cc \
408	content/browser/ssl/ssl_request_info.cc \
409	content/browser/startup_task_runner.cc \
410	content/browser/streams/stream.cc \
411	content/browser/streams/stream_context.cc \
412	content/browser/streams/stream_handle_impl.cc \
413	content/browser/streams/stream_registry.cc \
414	content/browser/streams/stream_url_request_job.cc \
415	content/browser/storage_partition_impl.cc \
416	content/browser/storage_partition_impl_map.cc \
417	content/browser/tcmalloc_internals_request_job.cc \
418	content/browser/tracing/trace_message_filter.cc \
419	content/browser/tracing/tracing_controller_impl.cc \
420	content/browser/user_metrics.cc \
421	content/browser/utility_process_host_impl.cc \
422	content/browser/vibration/vibration_message_filter.cc \
423	content/browser/vibration/vibration_provider_android.cc \
424	content/browser/web_contents/web_contents_android.cc \
425	content/browser/web_contents/web_contents_impl.cc \
426	content/browser/web_contents/web_contents_view_android.cc \
427	content/browser/web_contents/web_contents_view_guest.cc \
428	content/browser/webui/content_web_ui_controller_factory.cc \
429	content/browser/webui/generic_handler.cc \
430	content/browser/webui/shared_resources_data_source.cc \
431	content/browser/webui/url_data_manager.cc \
432	content/browser/webui/url_data_manager_backend.cc \
433	content/browser/webui/url_data_source_impl.cc \
434	content/browser/webui/web_ui_data_source_impl.cc \
435	content/browser/webui/web_ui_controller_factory_registry.cc \
436	content/browser/webui/web_ui_impl.cc \
437	content/browser/webui/web_ui_message_handler.cc \
438	content/browser/worker_host/worker_document_set.cc \
439	content/browser/worker_host/worker_message_filter.cc \
440	content/browser/worker_host/worker_process_host.cc \
441	content/browser/worker_host/worker_service_impl.cc \
442	content/browser/worker_host/worker_storage_partition.cc \
443	content/browser/gamepad/gamepad_platform_data_fetcher.cc
444
445
446# Flags passed to both C and C++ files.
447MY_CFLAGS_Debug := \
448	-fstack-protector \
449	--param=ssp-buffer-size=4 \
450	-Werror \
451	-fno-exceptions \
452	-fno-strict-aliasing \
453	-Wall \
454	-Wno-unused-parameter \
455	-Wno-missing-field-initializers \
456	-fvisibility=hidden \
457	-pipe \
458	-fPIC \
459	-fno-tree-sra \
460	-fuse-ld=gold \
461	-Wno-psabi \
462	-ffunction-sections \
463	-funwind-tables \
464	-g \
465	-fstack-protector \
466	-fno-short-enums \
467	-finline-limit=64 \
468	-Wa,--noexecstack \
469	-U_FORTIFY_SOURCE \
470	-Wno-extra \
471	-Wno-ignored-qualifiers \
472	-Wno-type-limits \
473	-Os \
474	-g \
475	-fomit-frame-pointer \
476	-fdata-sections \
477	-ffunction-sections
478
479MY_DEFS_Debug := \
480	'-DCONTENT_IMPLEMENTATION' \
481	'-DV8_DEPRECATION_WARNINGS' \
482	'-D_FILE_OFFSET_BITS=64' \
483	'-DNO_TCMALLOC' \
484	'-DDISABLE_NACL' \
485	'-DCHROMIUM_BUILD' \
486	'-DUSE_LIBJPEG_TURBO=1' \
487	'-DUSE_PROPRIETARY_CODECS' \
488	'-DENABLE_CONFIGURATION_POLICY' \
489	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
490	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
491	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
492	'-DUSE_OPENSSL=1' \
493	'-DENABLE_EGLIMAGE=1' \
494	'-DCLD_VERSION=1' \
495	'-DENABLE_PRINTING=1' \
496	'-DENABLE_MANAGED_USERS=1' \
497	'-DAVOID_LIBYUV_FOR_ANDROID_WEBVIEW' \
498	'-DPOSIX_AVOID_MMAP' \
499	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
500	'-DU_USING_ICU_NAMESPACE=0' \
501	'-DPROTOBUF_USE_DLLS' \
502	'-DGOOGLE_PROTOBUF_NO_RTTI' \
503	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
504	'-DAPPCACHE_USE_SIMPLE_CACHE' \
505	'-DCHROME_PNG_WRITE_SUPPORT' \
506	'-DPNG_USER_CONFIG' \
507	'-DCHROME_PNG_READ_PACK_SUPPORT' \
508	'-DUSE_SYSTEM_LIBJPEG' \
509	'-DMEDIA_DISABLE_LIBVPX' \
510	'-D__STDC_CONSTANT_MACROS' \
511	'-D__STDC_FORMAT_MACROS' \
512	'-DANDROID' \
513	'-D__GNU_SOURCE=1' \
514	'-DUSE_STLPORT=1' \
515	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
516	'-DCHROME_BUILD_ID=""' \
517	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
518	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
519	'-D_DEBUG'
520
521
522# Include paths placed before CFLAGS/CPPFLAGS
523LOCAL_C_INCLUDES_Debug := \
524	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
525	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
526	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
527	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
528	$(LOCAL_PATH) \
529	$(gyp_intermediate_dir) \
530	$(LOCAL_PATH)/skia/config \
531	$(LOCAL_PATH)/third_party/khronos \
532	$(LOCAL_PATH)/gpu \
533	$(LOCAL_PATH)/third_party/WebKit/Source \
534	$(gyp_shared_intermediate_dir)/content \
535	$(PWD)/external/skia/include \
536	$(PWD)/external/skia/include/core \
537	$(LOCAL_PATH)/third_party/skia/src/core \
538	$(LOCAL_PATH)/skia/ext \
539	$(LOCAL_PATH)/third_party/re2 \
540	$(LOCAL_PATH)/third_party/zlib \
541	$(PWD)/external/icu4c/common \
542	$(PWD)/external/icu4c/i18n \
543	$(gyp_shared_intermediate_dir)/ui/ui_resources \
544	$(gyp_shared_intermediate_dir)/protoc_out \
545	$(LOCAL_PATH)/third_party/protobuf \
546	$(LOCAL_PATH)/third_party/protobuf/src \
547	$(gyp_shared_intermediate_dir)/webkit \
548	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
549	$(LOCAL_PATH)/third_party/leveldatabase/src \
550	$(LOCAL_PATH)/third_party/leveldatabase \
551	$(LOCAL_PATH)/third_party/WebKit \
552	$(LOCAL_PATH)/third_party/npapi \
553	$(LOCAL_PATH)/third_party/npapi/bindings \
554	$(LOCAL_PATH)/v8/include \
555	$(LOCAL_PATH)/third_party/libpng \
556	$(LOCAL_PATH)/third_party/libwebp \
557	$(LOCAL_PATH)/third_party/ots/include \
558	$(LOCAL_PATH)/third_party/qcms/src \
559	$(LOCAL_PATH)/third_party/iccjpeg \
560	$(PWD)/external/jpeg \
561	$(PWD)/frameworks/wilhelm/include \
562	$(PWD)/bionic \
563	$(PWD)/external/stlport/stlport
564
565
566# Flags passed to only C++ (and not C) files.
567LOCAL_CPPFLAGS_Debug := \
568	-fno-rtti \
569	-fno-threadsafe-statics \
570	-fvisibility-inlines-hidden \
571	-Wsign-compare \
572	-Wno-abi \
573	-Wno-error=c++0x-compat \
574	-Wno-non-virtual-dtor \
575	-Wno-sign-promo
576
577
578# Flags passed to both C and C++ files.
579MY_CFLAGS_Release := \
580	-fstack-protector \
581	--param=ssp-buffer-size=4 \
582	-Werror \
583	-fno-exceptions \
584	-fno-strict-aliasing \
585	-Wall \
586	-Wno-unused-parameter \
587	-Wno-missing-field-initializers \
588	-fvisibility=hidden \
589	-pipe \
590	-fPIC \
591	-fno-tree-sra \
592	-fuse-ld=gold \
593	-Wno-psabi \
594	-ffunction-sections \
595	-funwind-tables \
596	-g \
597	-fstack-protector \
598	-fno-short-enums \
599	-finline-limit=64 \
600	-Wa,--noexecstack \
601	-U_FORTIFY_SOURCE \
602	-Wno-extra \
603	-Wno-ignored-qualifiers \
604	-Wno-type-limits \
605	-Os \
606	-fno-ident \
607	-fdata-sections \
608	-ffunction-sections \
609	-fomit-frame-pointer
610
611MY_DEFS_Release := \
612	'-DCONTENT_IMPLEMENTATION' \
613	'-DV8_DEPRECATION_WARNINGS' \
614	'-D_FILE_OFFSET_BITS=64' \
615	'-DNO_TCMALLOC' \
616	'-DDISABLE_NACL' \
617	'-DCHROMIUM_BUILD' \
618	'-DUSE_LIBJPEG_TURBO=1' \
619	'-DUSE_PROPRIETARY_CODECS' \
620	'-DENABLE_CONFIGURATION_POLICY' \
621	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
622	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
623	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
624	'-DUSE_OPENSSL=1' \
625	'-DENABLE_EGLIMAGE=1' \
626	'-DCLD_VERSION=1' \
627	'-DENABLE_PRINTING=1' \
628	'-DENABLE_MANAGED_USERS=1' \
629	'-DAVOID_LIBYUV_FOR_ANDROID_WEBVIEW' \
630	'-DPOSIX_AVOID_MMAP' \
631	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
632	'-DU_USING_ICU_NAMESPACE=0' \
633	'-DPROTOBUF_USE_DLLS' \
634	'-DGOOGLE_PROTOBUF_NO_RTTI' \
635	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
636	'-DAPPCACHE_USE_SIMPLE_CACHE' \
637	'-DCHROME_PNG_WRITE_SUPPORT' \
638	'-DPNG_USER_CONFIG' \
639	'-DCHROME_PNG_READ_PACK_SUPPORT' \
640	'-DUSE_SYSTEM_LIBJPEG' \
641	'-DMEDIA_DISABLE_LIBVPX' \
642	'-D__STDC_CONSTANT_MACROS' \
643	'-D__STDC_FORMAT_MACROS' \
644	'-DANDROID' \
645	'-D__GNU_SOURCE=1' \
646	'-DUSE_STLPORT=1' \
647	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
648	'-DCHROME_BUILD_ID=""' \
649	'-DNDEBUG' \
650	'-DNVALGRIND' \
651	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
652	'-D_FORTIFY_SOURCE=2'
653
654
655# Include paths placed before CFLAGS/CPPFLAGS
656LOCAL_C_INCLUDES_Release := \
657	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
658	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
659	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
660	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
661	$(LOCAL_PATH) \
662	$(gyp_intermediate_dir) \
663	$(LOCAL_PATH)/skia/config \
664	$(LOCAL_PATH)/third_party/khronos \
665	$(LOCAL_PATH)/gpu \
666	$(LOCAL_PATH)/third_party/WebKit/Source \
667	$(gyp_shared_intermediate_dir)/content \
668	$(PWD)/external/skia/include \
669	$(PWD)/external/skia/include/core \
670	$(LOCAL_PATH)/third_party/skia/src/core \
671	$(LOCAL_PATH)/skia/ext \
672	$(LOCAL_PATH)/third_party/re2 \
673	$(LOCAL_PATH)/third_party/zlib \
674	$(PWD)/external/icu4c/common \
675	$(PWD)/external/icu4c/i18n \
676	$(gyp_shared_intermediate_dir)/ui/ui_resources \
677	$(gyp_shared_intermediate_dir)/protoc_out \
678	$(LOCAL_PATH)/third_party/protobuf \
679	$(LOCAL_PATH)/third_party/protobuf/src \
680	$(gyp_shared_intermediate_dir)/webkit \
681	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
682	$(LOCAL_PATH)/third_party/leveldatabase/src \
683	$(LOCAL_PATH)/third_party/leveldatabase \
684	$(LOCAL_PATH)/third_party/WebKit \
685	$(LOCAL_PATH)/third_party/npapi \
686	$(LOCAL_PATH)/third_party/npapi/bindings \
687	$(LOCAL_PATH)/v8/include \
688	$(LOCAL_PATH)/third_party/libpng \
689	$(LOCAL_PATH)/third_party/libwebp \
690	$(LOCAL_PATH)/third_party/ots/include \
691	$(LOCAL_PATH)/third_party/qcms/src \
692	$(LOCAL_PATH)/third_party/iccjpeg \
693	$(PWD)/external/jpeg \
694	$(PWD)/frameworks/wilhelm/include \
695	$(PWD)/bionic \
696	$(PWD)/external/stlport/stlport
697
698
699# Flags passed to only C++ (and not C) files.
700LOCAL_CPPFLAGS_Release := \
701	-fno-rtti \
702	-fno-threadsafe-statics \
703	-fvisibility-inlines-hidden \
704	-Wsign-compare \
705	-Wno-abi \
706	-Wno-error=c++0x-compat \
707	-Wno-non-virtual-dtor \
708	-Wno-sign-promo
709
710
711LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
712LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
713LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
714### Rules for final target.
715
716LOCAL_LDFLAGS_Debug := \
717	-Wl,-z,now \
718	-Wl,-z,relro \
719	-Wl,-z,noexecstack \
720	-fPIC \
721	-Wl,-z,relro \
722	-Wl,-z,now \
723	-fuse-ld=gold \
724	-nostdlib \
725	-Wl,--no-undefined \
726	-Wl,--exclude-libs=ALL \
727	-Wl,--icf=safe \
728	-Wl,--fatal-warnings \
729	-Wl,--gc-sections \
730	-Wl,--warn-shared-textrel \
731	-Wl,-O1 \
732	-Wl,--as-needed
733
734
735LOCAL_LDFLAGS_Release := \
736	-Wl,-z,now \
737	-Wl,-z,relro \
738	-Wl,-z,noexecstack \
739	-fPIC \
740	-Wl,-z,relro \
741	-Wl,-z,now \
742	-fuse-ld=gold \
743	-nostdlib \
744	-Wl,--no-undefined \
745	-Wl,--exclude-libs=ALL \
746	-Wl,--icf=safe \
747	-Wl,-O1 \
748	-Wl,--as-needed \
749	-Wl,--gc-sections \
750	-Wl,--fatal-warnings \
751	-Wl,--warn-shared-textrel
752
753
754LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
755
756LOCAL_STATIC_LIBRARIES := \
757	ui_ui_gyp \
758	content_browser_speech_proto_speech_proto_gyp
759
760# Enable grouping to fix circular references
761LOCAL_GROUP_STATIC_LIBRARIES := true
762
763LOCAL_SHARED_LIBRARIES := \
764	libskia \
765	libstlport \
766	libdl
767
768# Add target alias to "gyp_all_modules" target.
769.PHONY: gyp_all_modules
770gyp_all_modules: content_content_browser_gyp
771
772# Alias gyp target name.
773.PHONY: content_browser
774content_browser: content_content_browser_gyp
775
776include $(BUILD_STATIC_LIBRARY)
777