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