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_renderer_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,content_content_resources_gyp,,,$(GYP_VAR_PREFIX))/content_resources.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,content_content_common_mojo_bindings_gyp,,,$(GYP_VAR_PREFIX))/content_content_common_mojo_bindings_gyp.a \ 17 $(call intermediates-dir-for,GYP,gpu_gpu_gyp,,,$(GYP_VAR_PREFIX))/gpu.stamp \ 18 $(call intermediates-dir-for,STATIC_LIBRARIES,mojo_mojo_service_provider_bindings_gyp,,,$(GYP_VAR_PREFIX))/mojo_mojo_service_provider_bindings_gyp.a \ 19 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 20 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 21 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \ 22 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \ 23 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \ 24 $(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp,,,$(GYP_VAR_PREFIX))/npapi.stamp \ 25 $(call intermediates-dir-for,GYP,third_party_widevine_cdm_widevine_cdm_version_h_gyp,,,$(GYP_VAR_PREFIX))/widevine_cdm_version_h.stamp \ 26 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_accessibility_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_accessibility_gyp.a \ 27 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 28 $(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp,,,$(GYP_VAR_PREFIX))/v8.stamp \ 29 $(call intermediates-dir-for,STATIC_LIBRARIES,webkit_child_webkit_child_gyp,,,$(GYP_VAR_PREFIX))/webkit_child_webkit_child_gyp.a \ 30 $(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libphonenumber_libphonenumber_without_metadata_gyp,,,$(GYP_VAR_PREFIX))/third_party_libphonenumber_libphonenumber_without_metadata_gyp.a 31 32 GYP_GENERATED_OUTPUTS := 33 34 # Make sure our deps and generated files are built first. 35 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 36 37 LOCAL_CPP_EXTENSION := .cc 38 LOCAL_GENERATED_SOURCES := 39 40 GYP_COPIED_SOURCE_ORIGIN_DIRS := 41 42 LOCAL_SRC_FILES := \ 43 content/public/renderer/android_content_detection_prefixes.cc \ 44 content/public/renderer/content_renderer_client.cc \ 45 content/public/renderer/document_state.cc \ 46 content/public/renderer/key_system_info.cc \ 47 content/public/renderer/navigation_state.cc \ 48 content/public/renderer/render_frame_observer.cc \ 49 content/public/renderer/render_process_observer.cc \ 50 content/public/renderer/render_thread.cc \ 51 content/public/renderer/render_view_observer.cc \ 52 content/public/renderer/video_encode_accelerator.cc \ 53 content/renderer/accessibility/blink_ax_enum_conversion.cc \ 54 content/renderer/accessibility/blink_ax_tree_source.cc \ 55 content/renderer/accessibility/renderer_accessibility.cc \ 56 content/renderer/accessibility/renderer_accessibility_complete.cc \ 57 content/renderer/android/address_detector.cc \ 58 content/renderer/android/content_detector.cc \ 59 content/renderer/android/email_detector.cc \ 60 content/renderer/android/phone_number_detector.cc \ 61 content/renderer/android/synchronous_compositor_factory.cc \ 62 content/renderer/battery_status/battery_status_dispatcher.cc \ 63 content/renderer/battery_status/fake_battery_status_dispatcher.cc \ 64 content/renderer/browser_plugin/browser_plugin.cc \ 65 content/renderer/browser_plugin/browser_plugin_bindings.cc \ 66 content/renderer/browser_plugin/browser_plugin_manager_impl.cc \ 67 content/renderer/browser_plugin/browser_plugin_manager.cc \ 68 content/renderer/clipboard_utils.cc \ 69 content/renderer/child_frame_compositing_helper.cc \ 70 content/renderer/compositor_bindings/scrollbar_impl.cc \ 71 content/renderer/compositor_bindings/web_animation_curve_common.cc \ 72 content/renderer/compositor_bindings/web_animation_impl.cc \ 73 content/renderer/compositor_bindings/web_compositor_support_impl.cc \ 74 content/renderer/compositor_bindings/web_content_layer_impl.cc \ 75 content/renderer/compositor_bindings/web_external_bitmap_impl.cc \ 76 content/renderer/compositor_bindings/web_external_texture_layer_impl.cc \ 77 content/renderer/compositor_bindings/web_filter_animation_curve_impl.cc \ 78 content/renderer/compositor_bindings/web_filter_operations_impl.cc \ 79 content/renderer/compositor_bindings/web_float_animation_curve_impl.cc \ 80 content/renderer/compositor_bindings/web_image_layer_impl.cc \ 81 content/renderer/compositor_bindings/web_layer_impl.cc \ 82 content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc \ 83 content/renderer/compositor_bindings/web_nine_patch_layer_impl.cc \ 84 content/renderer/compositor_bindings/web_scroll_offset_animation_curve_impl.cc \ 85 content/renderer/compositor_bindings/web_scrollbar_layer_impl.cc \ 86 content/renderer/compositor_bindings/web_solid_color_layer_impl.cc \ 87 content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc \ 88 content/renderer/compositor_bindings/web_transform_animation_curve_impl.cc \ 89 content/renderer/compositor_bindings/web_transform_operations_impl.cc \ 90 content/renderer/context_menu_params_builder.cc \ 91 content/renderer/cursor_utils.cc \ 92 content/renderer/date_time_suggestion_builder.cc \ 93 content/renderer/device_sensors/device_motion_event_pump.cc \ 94 content/renderer/device_sensors/device_orientation_event_pump.cc \ 95 content/renderer/device_sensors/device_sensor_event_pump.cc \ 96 content/renderer/devtools/devtools_agent.cc \ 97 content/renderer/devtools/devtools_agent_filter.cc \ 98 content/renderer/devtools/devtools_client.cc \ 99 content/renderer/disambiguation_popup_helper.cc \ 100 content/renderer/dom_automation_controller.cc \ 101 content/renderer/dom_storage/dom_storage_cached_area.cc \ 102 content/renderer/dom_storage/dom_storage_dispatcher.cc \ 103 content/renderer/dom_storage/webstoragearea_impl.cc \ 104 content/renderer/dom_storage/webstoragenamespace_impl.cc \ 105 content/renderer/drop_data_builder.cc \ 106 content/renderer/fetchers/image_resource_fetcher.cc \ 107 content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc \ 108 content/renderer/fetchers/resource_fetcher_impl.cc \ 109 content/renderer/gamepad_shared_memory_reader.cc \ 110 content/renderer/geolocation_dispatcher.cc \ 111 content/renderer/gpu/compositor_output_surface.cc \ 112 content/renderer/gpu/compositor_software_output_device.cc \ 113 content/renderer/gpu/delegated_compositor_output_surface.cc \ 114 content/renderer/gpu/gpu_benchmarking_extension.cc \ 115 content/renderer/gpu/mailbox_output_surface.cc \ 116 content/renderer/gpu/render_widget_compositor.cc \ 117 content/renderer/gpu/stream_texture_host_android.cc \ 118 content/renderer/history_controller.cc \ 119 content/renderer/history_entry.cc \ 120 content/renderer/history_serialization.cc \ 121 content/renderer/idle_user_detector.cc \ 122 content/renderer/image_loading_helper.cc \ 123 content/renderer/ime_event_guard.cc \ 124 content/renderer/in_process_renderer_thread.cc \ 125 content/renderer/input/input_event_filter.cc \ 126 content/renderer/input/input_handler_manager.cc \ 127 content/renderer/input/input_handler_proxy.cc \ 128 content/renderer/input/input_handler_wrapper.cc \ 129 content/renderer/internal_document_state_data.cc \ 130 content/renderer/java/gin_java_bridge_dispatcher.cc \ 131 content/renderer/java/gin_java_bridge_object.cc \ 132 content/renderer/java/gin_java_bridge_value_converter.cc \ 133 content/renderer/java/java_bridge_channel.cc \ 134 content/renderer/java/java_bridge_dispatcher.cc \ 135 content/renderer/media/active_loader.cc \ 136 content/renderer/media/aec_dump_message_filter.cc \ 137 content/renderer/media/android/audio_decoder_android.cc \ 138 content/renderer/media/android/media_info_loader.cc \ 139 content/renderer/media/android/media_source_delegate.cc \ 140 content/renderer/media/android/renderer_demuxer_android.cc \ 141 content/renderer/media/android/renderer_media_player_manager.cc \ 142 content/renderer/media/android/stream_texture_factory_impl.cc \ 143 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc \ 144 content/renderer/media/android/webmediaplayer_android.cc \ 145 content/renderer/media/audio_device_factory.cc \ 146 content/renderer/media/audio_input_message_filter.cc \ 147 content/renderer/media/audio_message_filter.cc \ 148 content/renderer/media/audio_renderer_mixer_manager.cc \ 149 content/renderer/media/buffered_data_source.cc \ 150 content/renderer/media/buffered_data_source_host_impl.cc \ 151 content/renderer/media/buffered_resource_loader.cc \ 152 content/renderer/media/cache_util.cc \ 153 content/renderer/media/cdm_session_adapter.cc \ 154 content/renderer/media/crypto/content_decryption_module_factory.cc \ 155 content/renderer/media/crypto/key_systems.cc \ 156 content/renderer/media/crypto/key_systems_support_uma.cc \ 157 content/renderer/media/crypto/pepper_cdm_wrapper_impl.cc \ 158 content/renderer/media/crypto/proxy_decryptor.cc \ 159 content/renderer/media/media_stream_audio_level_calculator.cc \ 160 content/renderer/media/media_stream_audio_renderer.cc \ 161 content/renderer/media/media_stream_constraints_util.cc \ 162 content/renderer/media/media_stream_track.cc \ 163 content/renderer/media/midi_dispatcher.cc \ 164 content/renderer/media/midi_message_filter.cc \ 165 content/renderer/media/render_media_log.cc \ 166 content/renderer/media/renderer_gpu_video_accelerator_factories.cc \ 167 content/renderer/media/renderer_webaudiodevice_impl.cc \ 168 content/renderer/media/renderer_webmidiaccessor_impl.cc \ 169 content/renderer/media/texttrack_impl.cc \ 170 content/renderer/media/video_capture_impl.cc \ 171 content/renderer/media/video_capture_impl_manager.cc \ 172 content/renderer/media/video_capture_message_filter.cc \ 173 content/renderer/media/video_frame_compositor.cc \ 174 content/renderer/media/video_frame_provider.cc \ 175 content/renderer/media/webaudiosourceprovider_impl.cc \ 176 content/renderer/media/webcontentdecryptionmodule_impl.cc \ 177 content/renderer/media/webcontentdecryptionmodulesession_impl.cc \ 178 content/renderer/media/webinbandtexttrack_impl.cc \ 179 content/renderer/media/webmediaplayer_ms.cc \ 180 content/renderer/media/webmediaplayer_params.cc \ 181 content/renderer/media/webmediaplayer_util.cc \ 182 content/renderer/media/webmediasource_impl.cc \ 183 content/renderer/media/websourcebuffer_impl.cc \ 184 content/renderer/memory_benchmarking_extension.cc \ 185 content/renderer/menu_item_builder.cc \ 186 content/renderer/mhtml_generator.cc \ 187 content/renderer/mouse_lock_dispatcher.cc \ 188 content/renderer/net_info_helper.cc \ 189 content/renderer/push_messaging_dispatcher.cc \ 190 content/renderer/render_frame_impl.cc \ 191 content/renderer/render_frame_proxy.cc \ 192 content/renderer/render_process_impl.cc \ 193 content/renderer/render_thread_impl.cc \ 194 content/renderer/render_view_impl.cc \ 195 content/renderer/render_view_impl_android.cc \ 196 content/renderer/render_view_impl_params.cc \ 197 content/renderer/render_view_linux.cc \ 198 content/renderer/render_view_mouse_lock_dispatcher.cc \ 199 content/renderer/render_widget.cc \ 200 content/renderer/render_widget_fullscreen.cc \ 201 content/renderer/renderer_clipboard_client.cc \ 202 content/renderer/renderer_date_time_picker.cc \ 203 content/renderer/renderer_main.cc \ 204 content/renderer/renderer_main_platform_delegate_android.cc \ 205 content/renderer/renderer_webapplicationcachehost_impl.cc \ 206 content/renderer/renderer_webcolorchooser_impl.cc \ 207 content/renderer/renderer_webcookiejar_impl.cc \ 208 content/renderer/renderer_webkitplatformsupport_impl.cc \ 209 content/renderer/resizing_mode_selector.cc \ 210 content/renderer/sad_plugin.cc \ 211 content/renderer/savable_resources.cc \ 212 content/renderer/screen_orientation/mock_screen_orientation_controller.cc \ 213 content/renderer/screen_orientation/screen_orientation_dispatcher.cc \ 214 content/renderer/scoped_clipboard_writer_glue.cc \ 215 content/renderer/service_worker/embedded_worker_context_client.cc \ 216 content/renderer/service_worker/embedded_worker_context_message_filter.cc \ 217 content/renderer/service_worker/embedded_worker_devtools_agent.cc \ 218 content/renderer/service_worker/embedded_worker_dispatcher.cc \ 219 content/renderer/service_worker/service_worker_script_context.cc \ 220 content/renderer/shared_memory_seqlock_reader.cc \ 221 content/renderer/shared_worker_repository.cc \ 222 content/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.cc \ 223 content/renderer/shared_worker/embedded_shared_worker_stub.cc \ 224 content/renderer/skia_benchmarking_extension.cc \ 225 content/renderer/speech_recognition_dispatcher.cc \ 226 content/renderer/stats_collection_controller.cc \ 227 content/renderer/stats_collection_observer.cc \ 228 content/renderer/text_input_client_observer.cc \ 229 content/renderer/v8_value_converter_impl.cc \ 230 content/renderer/web_preferences.cc \ 231 content/renderer/web_ui_extension.cc \ 232 content/renderer/web_ui_extension_data.cc \ 233 content/renderer/web_ui_mojo.cc \ 234 content/renderer/web_ui_mojo_context_state.cc \ 235 content/renderer/web_ui_runner.cc \ 236 content/renderer/web_ui_setup_impl.cc \ 237 content/renderer/webclipboard_impl.cc \ 238 content/renderer/webgraphicscontext3d_provider_impl.cc \ 239 content/renderer/webpublicsuffixlist_impl.cc \ 240 content/renderer/webscrollbarbehavior_impl_gtkoraura.cc \ 241 content/renderer/websharedworker_proxy.cc \ 242 content/renderer/external_popup_menu.cc \ 243 content/public/renderer/media_stream_audio_sink.cc \ 244 content/public/renderer/media_stream_video_sink.cc \ 245 content/renderer/media/media_stream.cc \ 246 content/renderer/media/media_stream_audio_processor.cc \ 247 content/renderer/media/media_stream_audio_processor_options.cc \ 248 content/renderer/media/media_stream_audio_sink_owner.cc \ 249 content/renderer/media/media_stream_center.cc \ 250 content/renderer/media/media_stream_dispatcher.cc \ 251 content/renderer/media/media_stream_impl.cc \ 252 content/renderer/media/media_stream_audio_source.cc \ 253 content/renderer/media/media_stream_renderer_factory.cc \ 254 content/renderer/media/media_stream_source.cc \ 255 content/renderer/media/media_stream_video_capturer_source.cc \ 256 content/renderer/media/media_stream_video_source.cc \ 257 content/renderer/media/media_stream_video_track.cc \ 258 content/renderer/media/native_handle_impl.cc \ 259 content/renderer/media/peer_connection_audio_sink_owner.cc \ 260 content/renderer/media/peer_connection_identity_service.cc \ 261 content/renderer/media/peer_connection_tracker.cc \ 262 content/renderer/media/remote_media_stream_impl.cc \ 263 content/renderer/media/rtc_data_channel_handler.cc \ 264 content/renderer/media/rtc_dtmf_sender_handler.cc \ 265 content/renderer/media/rtc_media_constraints.cc \ 266 content/renderer/media/rtc_peer_connection_handler.cc \ 267 content/renderer/media/rtc_video_decoder.cc \ 268 content/renderer/media/rtc_video_decoder_factory.cc \ 269 content/renderer/media/rtc_video_encoder.cc \ 270 content/renderer/media/rtc_video_encoder_factory.cc \ 271 content/renderer/media/rtc_video_renderer.cc \ 272 content/renderer/media/video_source_handler.cc \ 273 content/renderer/media/video_track_adapter.cc \ 274 content/renderer/media/webaudio_capturer_source.cc \ 275 content/renderer/media/webrtc/webrtc_video_track_adapter.cc \ 276 content/renderer/media/webrtc/media_stream_remote_video_source.cc \ 277 content/renderer/media/webrtc/media_stream_track_metrics.cc \ 278 content/renderer/media/webrtc/peer_connection_dependency_factory.cc \ 279 content/renderer/media/webrtc/webrtc_audio_sink_adapter.cc \ 280 content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc \ 281 content/renderer/media/webrtc/webrtc_media_stream_adapter.cc \ 282 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc \ 283 content/renderer/media/webrtc_audio_capturer.cc \ 284 content/renderer/media/webrtc_audio_device_impl.cc \ 285 content/renderer/media/webrtc_audio_device_not_impl.cc \ 286 content/renderer/media/webrtc_audio_renderer.cc \ 287 content/renderer/media/webrtc_identity_service.cc \ 288 content/renderer/media/webrtc_local_audio_renderer.cc \ 289 content/renderer/media/webrtc_local_audio_source_provider.cc \ 290 content/renderer/media/webrtc_local_audio_track.cc \ 291 content/renderer/media/webrtc_logging.cc \ 292 content/renderer/media/webrtc_uma_histograms.cc \ 293 content/renderer/p2p/host_address_request.cc \ 294 content/renderer/p2p/ipc_network_manager.cc \ 295 content/renderer/p2p/ipc_socket_factory.cc \ 296 content/renderer/p2p/port_allocator.cc \ 297 content/renderer/p2p/socket_client_impl.cc \ 298 content/renderer/p2p/socket_dispatcher.cc \ 299 content/renderer/media/crypto/proxy_media_keys.cc \ 300 content/renderer/media/crypto/renderer_cdm_manager.cc 301 302 303 # Flags passed to both C and C++ files. 304 MY_CFLAGS_Debug := \ 305 -fstack-protector \ 306 --param=ssp-buffer-size=4 \ 307 \ 308 -fno-exceptions \ 309 -fno-strict-aliasing \ 310 -Wall \ 311 -Wno-unused-parameter \ 312 -Wno-missing-field-initializers \ 313 -fvisibility=hidden \ 314 -pipe \ 315 -fPIC \ 316 -Wno-unused-local-typedefs \ 317 -EL \ 318 -mhard-float \ 319 -ffunction-sections \ 320 -funwind-tables \ 321 -g \ 322 -fstack-protector \ 323 -fno-short-enums \ 324 -finline-limit=64 \ 325 -Wa,--noexecstack \ 326 -U_FORTIFY_SOURCE \ 327 -Wno-extra \ 328 -Wno-ignored-qualifiers \ 329 -Wno-type-limits \ 330 -Wno-unused-but-set-variable \ 331 -Os \ 332 -g \ 333 -fdata-sections \ 334 -ffunction-sections \ 335 -fomit-frame-pointer \ 336 -funwind-tables 337 338 MY_DEFS_Debug := \ 339 '-DCONTENT_IMPLEMENTATION' \ 340 '-DV8_DEPRECATION_WARNINGS' \ 341 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 342 '-D_FILE_OFFSET_BITS=64' \ 343 '-DNO_TCMALLOC' \ 344 '-DDISABLE_NACL' \ 345 '-DCHROMIUM_BUILD' \ 346 '-DUSE_LIBJPEG_TURBO=1' \ 347 '-DENABLE_WEBRTC=1' \ 348 '-DUSE_PROPRIETARY_CODECS' \ 349 '-DENABLE_BROWSER_CDMS' \ 350 '-DENABLE_CONFIGURATION_POLICY' \ 351 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 352 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 353 '-DENABLE_EGLIMAGE=1' \ 354 '-DCLD_VERSION=1' \ 355 '-DENABLE_PRINTING=1' \ 356 '-DENABLE_MANAGED_USERS=1' \ 357 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 358 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 359 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 360 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 361 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 362 '-DVIDEO_HOLE=1' \ 363 '-DMOJO_USE_SYSTEM_IMPL' \ 364 '-DLIBPEERCONNECTION_LIB=1' \ 365 '-DMEDIA_DISABLE_LIBVPX' \ 366 '-DPOSIX_AVOID_MMAP' \ 367 '-DSK_ENABLE_INST_COUNT=0' \ 368 '-DSK_SUPPORT_GPU=1' \ 369 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 370 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 371 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 372 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 373 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 374 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 375 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 376 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 377 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 378 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 379 '-DSK_IGNORE_ETC1_SUPPORT' \ 380 '-DSK_IGNORE_GPU_DITHER' \ 381 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 382 '-DSK_BUILD_FOR_ANDROID' \ 383 '-DSK_USE_POSIX_THREADS' \ 384 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 385 '-DCHROME_PNG_WRITE_SUPPORT' \ 386 '-DPNG_USER_CONFIG' \ 387 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 388 '-DUSE_SYSTEM_LIBJPEG' \ 389 '-DU_USING_ICU_NAMESPACE=0' \ 390 '-DFEATURE_ENABLE_SSL' \ 391 '-DFEATURE_ENABLE_VOICEMAIL' \ 392 '-DEXPAT_RELATIVE_PATH' \ 393 '-DGTEST_RELATIVE_PATH' \ 394 '-DNO_MAIN_THREAD_WRAPPING' \ 395 '-DNO_SOUND_SYSTEM' \ 396 '-DANDROID' \ 397 '-DPOSIX' \ 398 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 399 '-DPROTOBUF_USE_DLLS' \ 400 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 401 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 402 '-DWEBRTC_CHROMIUM_BUILD' \ 403 '-DWEBRTC_LINUX' \ 404 '-DWEBRTC_ANDROID' \ 405 '-DWEBRTC_ANDROID_OPENSLES' \ 406 '-DWEBRTC_POSIX' \ 407 '-DUSE_OPENSSL=1' \ 408 '-DUSE_OPENSSL_CERTS=1' \ 409 '-D__STDC_CONSTANT_MACROS' \ 410 '-D__STDC_FORMAT_MACROS' \ 411 '-D__GNU_SOURCE=1' \ 412 '-DUSE_STLPORT=1' \ 413 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 414 '-DCHROME_BUILD_ID=""' \ 415 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 416 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 417 '-D_DEBUG' 418 419 420 # Include paths placed before CFLAGS/CPPFLAGS 421 LOCAL_C_INCLUDES_Debug := \ 422 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 423 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 424 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 425 $(gyp_shared_intermediate_dir) \ 426 $(LOCAL_PATH) \ 427 $(LOCAL_PATH)/skia/config \ 428 $(LOCAL_PATH)/third_party/WebKit/Source \ 429 $(LOCAL_PATH)/third_party/khronos \ 430 $(LOCAL_PATH)/gpu \ 431 $(LOCAL_PATH)/third_party/WebKit \ 432 $(gyp_shared_intermediate_dir)/content \ 433 $(LOCAL_PATH)/third_party/skia/src/core \ 434 $(LOCAL_PATH)/third_party/skia/include/core \ 435 $(LOCAL_PATH)/third_party/skia/include/effects \ 436 $(LOCAL_PATH)/third_party/skia/include/pdf \ 437 $(LOCAL_PATH)/third_party/skia/include/gpu \ 438 $(LOCAL_PATH)/third_party/skia/include/lazy \ 439 $(LOCAL_PATH)/third_party/skia/include/pathops \ 440 $(LOCAL_PATH)/third_party/skia/include/pipe \ 441 $(LOCAL_PATH)/third_party/skia/include/ports \ 442 $(LOCAL_PATH)/third_party/skia/include/utils \ 443 $(LOCAL_PATH)/skia/ext \ 444 $(LOCAL_PATH)/third_party/WebKit \ 445 $(LOCAL_PATH)/third_party/libpng \ 446 $(LOCAL_PATH)/third_party/zlib \ 447 $(LOCAL_PATH)/third_party/libwebp \ 448 $(LOCAL_PATH)/third_party/ots/include \ 449 $(LOCAL_PATH)/third_party/qcms/src \ 450 $(LOCAL_PATH)/third_party/iccjpeg \ 451 $(PWD)/external/jpeg \ 452 $(PWD)/external/icu/icu4c/source/common \ 453 $(PWD)/external/icu/icu4c/source/i18n \ 454 $(LOCAL_PATH)/third_party/libjingle/overrides \ 455 $(LOCAL_PATH)/third_party/libjingle/source \ 456 $(LOCAL_PATH)/third_party/webrtc/overrides \ 457 $(LOCAL_PATH)/testing/gtest/include \ 458 $(LOCAL_PATH)/third_party \ 459 $(LOCAL_PATH)/third_party/webrtc \ 460 $(PWD)/external/expat/lib \ 461 $(LOCAL_PATH)/third_party/npapi \ 462 $(LOCAL_PATH)/third_party/npapi/bindings \ 463 $(LOCAL_PATH)/v8/include \ 464 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 465 $(LOCAL_PATH)/third_party/libphonenumber/src \ 466 $(gyp_shared_intermediate_dir)/protoc_out \ 467 $(LOCAL_PATH)/third_party/protobuf \ 468 $(LOCAL_PATH)/third_party/protobuf/src \ 469 $(LOCAL_PATH)/third_party/libyuv/include \ 470 $(LOCAL_PATH)/third_party/libyuv \ 471 $(LOCAL_PATH)/third_party/webrtc/modules/interface \ 472 $(LOCAL_PATH)/third_party/webrtc/modules/audio_device/include \ 473 $(PWD)/frameworks/wilhelm/include \ 474 $(PWD)/bionic \ 475 $(PWD)/external/stlport/stlport 476 477 478 # Flags passed to only C++ (and not C) files. 479 LOCAL_CPPFLAGS_Debug := \ 480 -fno-rtti \ 481 -fno-threadsafe-statics \ 482 -fvisibility-inlines-hidden \ 483 -Wsign-compare \ 484 -Wno-uninitialized \ 485 -Wno-non-virtual-dtor \ 486 -Wno-sign-promo 487 488 489 LOCAL_FDO_SUPPORT_Debug := false 490 491 # Flags passed to both C and C++ files. 492 MY_CFLAGS_Release := \ 493 -fstack-protector \ 494 --param=ssp-buffer-size=4 \ 495 \ 496 -fno-exceptions \ 497 -fno-strict-aliasing \ 498 -Wall \ 499 -Wno-unused-parameter \ 500 -Wno-missing-field-initializers \ 501 -fvisibility=hidden \ 502 -pipe \ 503 -fPIC \ 504 -Wno-unused-local-typedefs \ 505 -EL \ 506 -mhard-float \ 507 -ffunction-sections \ 508 -funwind-tables \ 509 -g \ 510 -fstack-protector \ 511 -fno-short-enums \ 512 -finline-limit=64 \ 513 -Wa,--noexecstack \ 514 -U_FORTIFY_SOURCE \ 515 -Wno-extra \ 516 -Wno-ignored-qualifiers \ 517 -Wno-type-limits \ 518 -Wno-unused-but-set-variable \ 519 -Os \ 520 -fno-ident \ 521 -fdata-sections \ 522 -ffunction-sections \ 523 -fomit-frame-pointer \ 524 -funwind-tables 525 526 MY_DEFS_Release := \ 527 '-DCONTENT_IMPLEMENTATION' \ 528 '-DV8_DEPRECATION_WARNINGS' \ 529 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 530 '-D_FILE_OFFSET_BITS=64' \ 531 '-DNO_TCMALLOC' \ 532 '-DDISABLE_NACL' \ 533 '-DCHROMIUM_BUILD' \ 534 '-DUSE_LIBJPEG_TURBO=1' \ 535 '-DENABLE_WEBRTC=1' \ 536 '-DUSE_PROPRIETARY_CODECS' \ 537 '-DENABLE_BROWSER_CDMS' \ 538 '-DENABLE_CONFIGURATION_POLICY' \ 539 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 540 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 541 '-DENABLE_EGLIMAGE=1' \ 542 '-DCLD_VERSION=1' \ 543 '-DENABLE_PRINTING=1' \ 544 '-DENABLE_MANAGED_USERS=1' \ 545 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 546 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 547 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 548 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 549 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 550 '-DVIDEO_HOLE=1' \ 551 '-DMOJO_USE_SYSTEM_IMPL' \ 552 '-DLIBPEERCONNECTION_LIB=1' \ 553 '-DMEDIA_DISABLE_LIBVPX' \ 554 '-DPOSIX_AVOID_MMAP' \ 555 '-DSK_ENABLE_INST_COUNT=0' \ 556 '-DSK_SUPPORT_GPU=1' \ 557 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 558 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 559 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 560 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 561 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 562 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 563 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 564 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 565 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 566 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 567 '-DSK_IGNORE_ETC1_SUPPORT' \ 568 '-DSK_IGNORE_GPU_DITHER' \ 569 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 570 '-DSK_BUILD_FOR_ANDROID' \ 571 '-DSK_USE_POSIX_THREADS' \ 572 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 573 '-DCHROME_PNG_WRITE_SUPPORT' \ 574 '-DPNG_USER_CONFIG' \ 575 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 576 '-DUSE_SYSTEM_LIBJPEG' \ 577 '-DU_USING_ICU_NAMESPACE=0' \ 578 '-DFEATURE_ENABLE_SSL' \ 579 '-DFEATURE_ENABLE_VOICEMAIL' \ 580 '-DEXPAT_RELATIVE_PATH' \ 581 '-DGTEST_RELATIVE_PATH' \ 582 '-DNO_MAIN_THREAD_WRAPPING' \ 583 '-DNO_SOUND_SYSTEM' \ 584 '-DANDROID' \ 585 '-DPOSIX' \ 586 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 587 '-DPROTOBUF_USE_DLLS' \ 588 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 589 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 590 '-DWEBRTC_CHROMIUM_BUILD' \ 591 '-DWEBRTC_LINUX' \ 592 '-DWEBRTC_ANDROID' \ 593 '-DWEBRTC_ANDROID_OPENSLES' \ 594 '-DWEBRTC_POSIX' \ 595 '-DUSE_OPENSSL=1' \ 596 '-DUSE_OPENSSL_CERTS=1' \ 597 '-D__STDC_CONSTANT_MACROS' \ 598 '-D__STDC_FORMAT_MACROS' \ 599 '-D__GNU_SOURCE=1' \ 600 '-DUSE_STLPORT=1' \ 601 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 602 '-DCHROME_BUILD_ID=""' \ 603 '-DNDEBUG' \ 604 '-DNVALGRIND' \ 605 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 606 '-D_FORTIFY_SOURCE=2' 607 608 609 # Include paths placed before CFLAGS/CPPFLAGS 610 LOCAL_C_INCLUDES_Release := \ 611 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 612 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 613 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 614 $(gyp_shared_intermediate_dir) \ 615 $(LOCAL_PATH) \ 616 $(LOCAL_PATH)/skia/config \ 617 $(LOCAL_PATH)/third_party/WebKit/Source \ 618 $(LOCAL_PATH)/third_party/khronos \ 619 $(LOCAL_PATH)/gpu \ 620 $(LOCAL_PATH)/third_party/WebKit \ 621 $(gyp_shared_intermediate_dir)/content \ 622 $(LOCAL_PATH)/third_party/skia/src/core \ 623 $(LOCAL_PATH)/third_party/skia/include/core \ 624 $(LOCAL_PATH)/third_party/skia/include/effects \ 625 $(LOCAL_PATH)/third_party/skia/include/pdf \ 626 $(LOCAL_PATH)/third_party/skia/include/gpu \ 627 $(LOCAL_PATH)/third_party/skia/include/lazy \ 628 $(LOCAL_PATH)/third_party/skia/include/pathops \ 629 $(LOCAL_PATH)/third_party/skia/include/pipe \ 630 $(LOCAL_PATH)/third_party/skia/include/ports \ 631 $(LOCAL_PATH)/third_party/skia/include/utils \ 632 $(LOCAL_PATH)/skia/ext \ 633 $(LOCAL_PATH)/third_party/WebKit \ 634 $(LOCAL_PATH)/third_party/libpng \ 635 $(LOCAL_PATH)/third_party/zlib \ 636 $(LOCAL_PATH)/third_party/libwebp \ 637 $(LOCAL_PATH)/third_party/ots/include \ 638 $(LOCAL_PATH)/third_party/qcms/src \ 639 $(LOCAL_PATH)/third_party/iccjpeg \ 640 $(PWD)/external/jpeg \ 641 $(PWD)/external/icu/icu4c/source/common \ 642 $(PWD)/external/icu/icu4c/source/i18n \ 643 $(LOCAL_PATH)/third_party/libjingle/overrides \ 644 $(LOCAL_PATH)/third_party/libjingle/source \ 645 $(LOCAL_PATH)/third_party/webrtc/overrides \ 646 $(LOCAL_PATH)/testing/gtest/include \ 647 $(LOCAL_PATH)/third_party \ 648 $(LOCAL_PATH)/third_party/webrtc \ 649 $(PWD)/external/expat/lib \ 650 $(LOCAL_PATH)/third_party/npapi \ 651 $(LOCAL_PATH)/third_party/npapi/bindings \ 652 $(LOCAL_PATH)/v8/include \ 653 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 654 $(LOCAL_PATH)/third_party/libphonenumber/src \ 655 $(gyp_shared_intermediate_dir)/protoc_out \ 656 $(LOCAL_PATH)/third_party/protobuf \ 657 $(LOCAL_PATH)/third_party/protobuf/src \ 658 $(LOCAL_PATH)/third_party/libyuv/include \ 659 $(LOCAL_PATH)/third_party/libyuv \ 660 $(LOCAL_PATH)/third_party/webrtc/modules/interface \ 661 $(LOCAL_PATH)/third_party/webrtc/modules/audio_device/include \ 662 $(PWD)/frameworks/wilhelm/include \ 663 $(PWD)/bionic \ 664 $(PWD)/external/stlport/stlport 665 666 667 # Flags passed to only C++ (and not C) files. 668 LOCAL_CPPFLAGS_Release := \ 669 -fno-rtti \ 670 -fno-threadsafe-statics \ 671 -fvisibility-inlines-hidden \ 672 -Wsign-compare \ 673 -Wno-uninitialized \ 674 -Wno-non-virtual-dtor \ 675 -Wno-sign-promo 676 677 678 LOCAL_FDO_SUPPORT_Release := false 679 680 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 681 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 682 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 683 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 684 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 685 ### Rules for final target. 686 687 LOCAL_LDFLAGS_Debug := \ 688 -Wl,-z,now \ 689 -Wl,-z,relro \ 690 -Wl,--fatal-warnings \ 691 -Wl,-z,noexecstack \ 692 -fPIC \ 693 -EL \ 694 -Wl,--no-keep-memory \ 695 -nostdlib \ 696 -Wl,--no-undefined \ 697 -Wl,--exclude-libs=ALL \ 698 -Wl,--warn-shared-textrel \ 699 -Wl,-O1 \ 700 -Wl,--as-needed 701 702 703 LOCAL_LDFLAGS_Release := \ 704 -Wl,-z,now \ 705 -Wl,-z,relro \ 706 -Wl,--fatal-warnings \ 707 -Wl,-z,noexecstack \ 708 -fPIC \ 709 -EL \ 710 -Wl,--no-keep-memory \ 711 -nostdlib \ 712 -Wl,--no-undefined \ 713 -Wl,--exclude-libs=ALL \ 714 -Wl,-O1 \ 715 -Wl,--as-needed \ 716 -Wl,--gc-sections \ 717 -Wl,--warn-shared-textrel 718 719 720 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 721 722 LOCAL_STATIC_LIBRARIES := \ 723 cpufeatures \ 724 content_content_common_mojo_bindings_gyp \ 725 mojo_mojo_service_provider_bindings_gyp \ 726 skia_skia_library_gyp \ 727 ui_accessibility_accessibility_gyp \ 728 ui_accessibility_ax_gen_gyp \ 729 webkit_child_webkit_child_gyp \ 730 third_party_libphonenumber_libphonenumber_without_metadata_gyp 731 732 # Enable grouping to fix circular references 733 LOCAL_GROUP_STATIC_LIBRARIES := true 734 735 LOCAL_SHARED_LIBRARIES := \ 736 libstlport \ 737 libdl 738 739 # Add target alias to "gyp_all_modules" target. 740 .PHONY: gyp_all_modules 741 gyp_all_modules: content_content_renderer_gyp 742 743 # Alias gyp target name. 744 .PHONY: content_renderer 745 content_renderer: content_content_renderer_gyp 746 747 include $(BUILD_STATIC_LIBRARY) 748