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