Home | History | Annotate | Download | only in content
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
      6 LOCAL_MODULE := content_content_browser_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     11 
     12 # Make sure our deps are built first.
     13 GYP_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 
     34 GYP_GENERATED_OUTPUTS :=
     35 
     36 # Make sure our deps and generated files are built first.
     37 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     38 
     39 LOCAL_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 $< $@
     46 LOCAL_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 
     51 GYP_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 
     56 LOCAL_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.
    566 MY_CFLAGS_Debug := \
    567 	-fstack-protector \
    568 	--param=ssp-buffer-size=4 \
    569 	-Werror \
    570 	-fno-strict-aliasing \
    571 	-Wall \
    572 	-Wno-unused-parameter \
    573 	-Wno-missing-field-initializers \
    574 	-fvisibility=hidden \
    575 	-pipe \
    576 	-fPIC \
    577 	-Wno-unused-local-typedefs \
    578 	-m64 \
    579 	-march=x86-64 \
    580 	-ffunction-sections \
    581 	-funwind-tables \
    582 	-g \
    583 	-fstack-protector \
    584 	-fno-short-enums \
    585 	-finline-limit=64 \
    586 	-Wa,--noexecstack \
    587 	-U_FORTIFY_SOURCE \
    588 	-Wno-extra \
    589 	-Wno-ignored-qualifiers \
    590 	-Wno-type-limits \
    591 	-Wno-unused-but-set-variable \
    592 	-Os \
    593 	-g \
    594 	-gdwarf-4 \
    595 	-fdata-sections \
    596 	-ffunction-sections \
    597 	-fomit-frame-pointer \
    598 	-funwind-tables
    599 
    600 MY_DEFS_Debug := \
    601 	'-DCONTENT_IMPLEMENTATION' \
    602 	'-DV8_DEPRECATION_WARNINGS' \
    603 	'-D_FILE_OFFSET_BITS=64' \
    604 	'-DNO_TCMALLOC' \
    605 	'-DDISABLE_NACL' \
    606 	'-DCHROMIUM_BUILD' \
    607 	'-DUSE_LIBJPEG_TURBO=1' \
    608 	'-DENABLE_WEBRTC=1' \
    609 	'-DUSE_PROPRIETARY_CODECS' \
    610 	'-DENABLE_BROWSER_CDMS' \
    611 	'-DENABLE_CONFIGURATION_POLICY' \
    612 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    613 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    614 	'-DENABLE_EGLIMAGE=1' \
    615 	'-DCLD_VERSION=1' \
    616 	'-DENABLE_PRINTING=1' \
    617 	'-DENABLE_MANAGED_USERS=1' \
    618 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    619 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    620 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    621 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    622 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    623 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    624 	'-DVIDEO_HOLE=1' \
    625 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    626 	'-DAPPCACHE_USE_SIMPLE_CACHE' \
    627 	'-DMOJO_USE_SYSTEM_IMPL' \
    628 	'-DPOSIX_AVOID_MMAP' \
    629 	'-DSK_ENABLE_INST_COUNT=0' \
    630 	'-DSK_SUPPORT_GPU=1' \
    631 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    632 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    633 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    634 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    635 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    636 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    637 	'-DSK_BUILD_FOR_ANDROID' \
    638 	'-DSK_USE_POSIX_THREADS' \
    639 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    640 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    641 	'-DU_USING_ICU_NAMESPACE=0' \
    642 	'-DU_ENABLE_DYLOAD=0' \
    643 	'-DPROTOBUF_USE_DLLS' \
    644 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    645 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    646 	'-DCHROME_PNG_WRITE_SUPPORT' \
    647 	'-DPNG_USER_CONFIG' \
    648 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    649 	'-DFEATURE_ENABLE_SSL' \
    650 	'-DFEATURE_ENABLE_VOICEMAIL' \
    651 	'-DEXPAT_RELATIVE_PATH' \
    652 	'-DGTEST_RELATIVE_PATH' \
    653 	'-DNO_MAIN_THREAD_WRAPPING' \
    654 	'-DNO_SOUND_SYSTEM' \
    655 	'-DANDROID' \
    656 	'-DPOSIX' \
    657 	'-DWEBRTC_POSIX' \
    658 	'-DXML_STATIC' \
    659 	'-DMEDIA_DISABLE_LIBVPX' \
    660 	'-DUSE_OPENSSL=1' \
    661 	'-DUSE_OPENSSL_CERTS=1' \
    662 	'-D__STDC_CONSTANT_MACROS' \
    663 	'-D__STDC_FORMAT_MACROS' \
    664 	'-D__GNU_SOURCE=1' \
    665 	'-DUSE_STLPORT=1' \
    666 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    667 	'-DCHROME_BUILD_ID=""' \
    668 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    669 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    670 	'-D_DEBUG'
    671 
    672 
    673 # Include paths placed before CFLAGS/CPPFLAGS
    674 LOCAL_C_INCLUDES_Debug := \
    675 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    676 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    677 	$(gyp_shared_intermediate_dir) \
    678 	$(LOCAL_PATH) \
    679 	$(gyp_intermediate_dir) \
    680 	$(LOCAL_PATH)/third_party/khronos \
    681 	$(LOCAL_PATH)/gpu \
    682 	$(LOCAL_PATH)/skia/config \
    683 	$(LOCAL_PATH)/third_party/WebKit/Source \
    684 	$(gyp_shared_intermediate_dir)/angle \
    685 	$(LOCAL_PATH)/third_party/skia/src/core \
    686 	$(LOCAL_PATH)/third_party/skia/include/core \
    687 	$(LOCAL_PATH)/third_party/skia/include/effects \
    688 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    689 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    690 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    691 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    692 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    693 	$(LOCAL_PATH)/third_party/skia/include/ports \
    694 	$(LOCAL_PATH)/third_party/skia/include/utils \
    695 	$(LOCAL_PATH)/skia/ext \
    696 	$(LOCAL_PATH)/third_party/re2 \
    697 	$(LOCAL_PATH)/third_party/zlib \
    698 	$(LOCAL_PATH)/third_party/WebKit \
    699 	$(PWD)/external/icu/icu4c/source/common \
    700 	$(PWD)/external/icu/icu4c/source/i18n \
    701 	$(gyp_shared_intermediate_dir)/ui/resources \
    702 	$(gyp_shared_intermediate_dir)/protoc_out \
    703 	$(LOCAL_PATH)/third_party/protobuf \
    704 	$(LOCAL_PATH)/third_party/protobuf/src \
    705 	$(gyp_shared_intermediate_dir)/content/app/resources \
    706 	$(gyp_shared_intermediate_dir)/webkit \
    707 	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
    708 	$(LOCAL_PATH)/third_party/leveldatabase/src \
    709 	$(LOCAL_PATH)/third_party/leveldatabase \
    710 	$(LOCAL_PATH)/third_party/WebKit \
    711 	$(LOCAL_PATH)/third_party/npapi \
    712 	$(LOCAL_PATH)/third_party/npapi/bindings \
    713 	$(LOCAL_PATH)/v8/include \
    714 	$(LOCAL_PATH)/third_party/libpng \
    715 	$(LOCAL_PATH)/third_party/libwebp \
    716 	$(LOCAL_PATH)/third_party/ots/include \
    717 	$(LOCAL_PATH)/third_party/qcms/src \
    718 	$(LOCAL_PATH)/third_party/iccjpeg \
    719 	$(LOCAL_PATH)/third_party/libjpeg_turbo \
    720 	$(LOCAL_PATH)/third_party/libyuv/include \
    721 	$(LOCAL_PATH)/third_party/libyuv \
    722 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    723 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    724 	$(LOCAL_PATH)/third_party/libjingle/source \
    725 	$(LOCAL_PATH)/testing/gtest/include \
    726 	$(LOCAL_PATH)/third_party \
    727 	$(LOCAL_PATH)/third_party/expat/files/lib \
    728 	$(gyp_shared_intermediate_dir)/content \
    729 	$(PWD)/frameworks/wilhelm/include \
    730 	$(PWD)/bionic \
    731 	$(PWD)/external/stlport/stlport
    732 
    733 
    734 # Flags passed to only C++ (and not C) files.
    735 LOCAL_CPPFLAGS_Debug := \
    736 	-fno-exceptions \
    737 	-fno-rtti \
    738 	-fno-threadsafe-statics \
    739 	-fvisibility-inlines-hidden \
    740 	-Wsign-compare \
    741 	-std=gnu++11 \
    742 	-Wno-narrowing \
    743 	-Wno-literal-suffix \
    744 	-Wno-non-virtual-dtor \
    745 	-Wno-sign-promo
    746 
    747 
    748 # Flags passed to both C and C++ files.
    749 MY_CFLAGS_Release := \
    750 	-fstack-protector \
    751 	--param=ssp-buffer-size=4 \
    752 	-Werror \
    753 	-fno-strict-aliasing \
    754 	-Wall \
    755 	-Wno-unused-parameter \
    756 	-Wno-missing-field-initializers \
    757 	-fvisibility=hidden \
    758 	-pipe \
    759 	-fPIC \
    760 	-Wno-unused-local-typedefs \
    761 	-m64 \
    762 	-march=x86-64 \
    763 	-ffunction-sections \
    764 	-funwind-tables \
    765 	-g \
    766 	-fstack-protector \
    767 	-fno-short-enums \
    768 	-finline-limit=64 \
    769 	-Wa,--noexecstack \
    770 	-U_FORTIFY_SOURCE \
    771 	-Wno-extra \
    772 	-Wno-ignored-qualifiers \
    773 	-Wno-type-limits \
    774 	-Wno-unused-but-set-variable \
    775 	-Os \
    776 	-fno-ident \
    777 	-fdata-sections \
    778 	-ffunction-sections \
    779 	-fomit-frame-pointer \
    780 	-funwind-tables
    781 
    782 MY_DEFS_Release := \
    783 	'-DCONTENT_IMPLEMENTATION' \
    784 	'-DV8_DEPRECATION_WARNINGS' \
    785 	'-D_FILE_OFFSET_BITS=64' \
    786 	'-DNO_TCMALLOC' \
    787 	'-DDISABLE_NACL' \
    788 	'-DCHROMIUM_BUILD' \
    789 	'-DUSE_LIBJPEG_TURBO=1' \
    790 	'-DENABLE_WEBRTC=1' \
    791 	'-DUSE_PROPRIETARY_CODECS' \
    792 	'-DENABLE_BROWSER_CDMS' \
    793 	'-DENABLE_CONFIGURATION_POLICY' \
    794 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    795 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    796 	'-DENABLE_EGLIMAGE=1' \
    797 	'-DCLD_VERSION=1' \
    798 	'-DENABLE_PRINTING=1' \
    799 	'-DENABLE_MANAGED_USERS=1' \
    800 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    801 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    802 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    803 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    804 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    805 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    806 	'-DVIDEO_HOLE=1' \
    807 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    808 	'-DAPPCACHE_USE_SIMPLE_CACHE' \
    809 	'-DMOJO_USE_SYSTEM_IMPL' \
    810 	'-DPOSIX_AVOID_MMAP' \
    811 	'-DSK_ENABLE_INST_COUNT=0' \
    812 	'-DSK_SUPPORT_GPU=1' \
    813 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    814 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    815 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    816 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    817 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    818 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    819 	'-DSK_BUILD_FOR_ANDROID' \
    820 	'-DSK_USE_POSIX_THREADS' \
    821 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    822 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    823 	'-DU_USING_ICU_NAMESPACE=0' \
    824 	'-DU_ENABLE_DYLOAD=0' \
    825 	'-DPROTOBUF_USE_DLLS' \
    826 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    827 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    828 	'-DCHROME_PNG_WRITE_SUPPORT' \
    829 	'-DPNG_USER_CONFIG' \
    830 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    831 	'-DFEATURE_ENABLE_SSL' \
    832 	'-DFEATURE_ENABLE_VOICEMAIL' \
    833 	'-DEXPAT_RELATIVE_PATH' \
    834 	'-DGTEST_RELATIVE_PATH' \
    835 	'-DNO_MAIN_THREAD_WRAPPING' \
    836 	'-DNO_SOUND_SYSTEM' \
    837 	'-DANDROID' \
    838 	'-DPOSIX' \
    839 	'-DWEBRTC_POSIX' \
    840 	'-DXML_STATIC' \
    841 	'-DMEDIA_DISABLE_LIBVPX' \
    842 	'-DUSE_OPENSSL=1' \
    843 	'-DUSE_OPENSSL_CERTS=1' \
    844 	'-D__STDC_CONSTANT_MACROS' \
    845 	'-D__STDC_FORMAT_MACROS' \
    846 	'-D__GNU_SOURCE=1' \
    847 	'-DUSE_STLPORT=1' \
    848 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    849 	'-DCHROME_BUILD_ID=""' \
    850 	'-DNDEBUG' \
    851 	'-DNVALGRIND' \
    852 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    853 	'-D_FORTIFY_SOURCE=2'
    854 
    855 
    856 # Include paths placed before CFLAGS/CPPFLAGS
    857 LOCAL_C_INCLUDES_Release := \
    858 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    859 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    860 	$(gyp_shared_intermediate_dir) \
    861 	$(LOCAL_PATH) \
    862 	$(gyp_intermediate_dir) \
    863 	$(LOCAL_PATH)/third_party/khronos \
    864 	$(LOCAL_PATH)/gpu \
    865 	$(LOCAL_PATH)/skia/config \
    866 	$(LOCAL_PATH)/third_party/WebKit/Source \
    867 	$(gyp_shared_intermediate_dir)/angle \
    868 	$(LOCAL_PATH)/third_party/skia/src/core \
    869 	$(LOCAL_PATH)/third_party/skia/include/core \
    870 	$(LOCAL_PATH)/third_party/skia/include/effects \
    871 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    872 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    873 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    874 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    875 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    876 	$(LOCAL_PATH)/third_party/skia/include/ports \
    877 	$(LOCAL_PATH)/third_party/skia/include/utils \
    878 	$(LOCAL_PATH)/skia/ext \
    879 	$(LOCAL_PATH)/third_party/re2 \
    880 	$(LOCAL_PATH)/third_party/zlib \
    881 	$(LOCAL_PATH)/third_party/WebKit \
    882 	$(PWD)/external/icu/icu4c/source/common \
    883 	$(PWD)/external/icu/icu4c/source/i18n \
    884 	$(gyp_shared_intermediate_dir)/ui/resources \
    885 	$(gyp_shared_intermediate_dir)/protoc_out \
    886 	$(LOCAL_PATH)/third_party/protobuf \
    887 	$(LOCAL_PATH)/third_party/protobuf/src \
    888 	$(gyp_shared_intermediate_dir)/content/app/resources \
    889 	$(gyp_shared_intermediate_dir)/webkit \
    890 	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
    891 	$(LOCAL_PATH)/third_party/leveldatabase/src \
    892 	$(LOCAL_PATH)/third_party/leveldatabase \
    893 	$(LOCAL_PATH)/third_party/WebKit \
    894 	$(LOCAL_PATH)/third_party/npapi \
    895 	$(LOCAL_PATH)/third_party/npapi/bindings \
    896 	$(LOCAL_PATH)/v8/include \
    897 	$(LOCAL_PATH)/third_party/libpng \
    898 	$(LOCAL_PATH)/third_party/libwebp \
    899 	$(LOCAL_PATH)/third_party/ots/include \
    900 	$(LOCAL_PATH)/third_party/qcms/src \
    901 	$(LOCAL_PATH)/third_party/iccjpeg \
    902 	$(LOCAL_PATH)/third_party/libjpeg_turbo \
    903 	$(LOCAL_PATH)/third_party/libyuv/include \
    904 	$(LOCAL_PATH)/third_party/libyuv \
    905 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    906 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    907 	$(LOCAL_PATH)/third_party/libjingle/source \
    908 	$(LOCAL_PATH)/testing/gtest/include \
    909 	$(LOCAL_PATH)/third_party \
    910 	$(LOCAL_PATH)/third_party/expat/files/lib \
    911 	$(gyp_shared_intermediate_dir)/content \
    912 	$(PWD)/frameworks/wilhelm/include \
    913 	$(PWD)/bionic \
    914 	$(PWD)/external/stlport/stlport
    915 
    916 
    917 # Flags passed to only C++ (and not C) files.
    918 LOCAL_CPPFLAGS_Release := \
    919 	-fno-exceptions \
    920 	-fno-rtti \
    921 	-fno-threadsafe-statics \
    922 	-fvisibility-inlines-hidden \
    923 	-Wsign-compare \
    924 	-std=gnu++11 \
    925 	-Wno-narrowing \
    926 	-Wno-literal-suffix \
    927 	-Wno-non-virtual-dtor \
    928 	-Wno-sign-promo
    929 
    930 
    931 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    932 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    933 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    934 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    935 ### Rules for final target.
    936 
    937 LOCAL_SHARED_LIBRARIES := \
    938 	libstlport \
    939 	libdl
    940 
    941 # Add target alias to "gyp_all_modules" target.
    942 .PHONY: gyp_all_modules
    943 gyp_all_modules: content_content_browser_gyp
    944 
    945 # Alias gyp target name.
    946 .PHONY: content_browser
    947 content_browser: content_content_browser_gyp
    948 
    949 include $(BUILD_STATIC_LIBRARY)
    950