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 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,content_content_resources_gyp)/content_resources.stamp \ 15 $(call intermediates-dir-for,GYP,jingle_jingle_glue_gyp)/jingle_glue.stamp \ 16 $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 17 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp \ 18 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \ 19 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp \ 20 $(call intermediates-dir-for,GYP,third_party_npapi_npapi_gyp)/npapi.stamp \ 21 $(call intermediates-dir-for,GYP,third_party_widevine_cdm_widevine_cdm_version_h_gyp)/widevine_cdm_version_h.stamp \ 22 $(call intermediates-dir-for,GYP,v8_tools_gyp_v8_gyp)/v8.stamp \ 23 $(call intermediates-dir-for,STATIC_LIBRARIES,webkit_support_glue_gyp)/webkit_support_glue_gyp.a \ 24 $(call intermediates-dir-for,STATIC_LIBRARIES,webkit_support_glue_child_gyp)/webkit_support_glue_child_gyp.a \ 25 $(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libphonenumber_libphonenumber_without_metadata_gyp)/third_party_libphonenumber_libphonenumber_without_metadata_gyp.a 26 27 GYP_GENERATED_OUTPUTS := 28 29 # Make sure our deps and generated files are built first. 30 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 31 32 LOCAL_CPP_EXTENSION := .cc 33 LOCAL_GENERATED_SOURCES := 34 35 GYP_COPIED_SOURCE_ORIGIN_DIRS := 36 37 LOCAL_SRC_FILES := \ 38 content/public/renderer/android_content_detection_prefixes.cc \ 39 content/public/renderer/content_renderer_client.cc \ 40 content/public/renderer/document_state.cc \ 41 content/public/renderer/history_item_serialization.cc \ 42 content/public/renderer/navigation_state.cc \ 43 content/public/renderer/render_process_observer.cc \ 44 content/public/renderer/render_thread.cc \ 45 content/public/renderer/render_view_observer.cc \ 46 content/renderer/accessibility/accessibility_node_serializer.cc \ 47 content/renderer/accessibility/renderer_accessibility.cc \ 48 content/renderer/accessibility/renderer_accessibility_complete.cc \ 49 content/renderer/accessibility/renderer_accessibility_focus_only.cc \ 50 content/renderer/android/address_detector.cc \ 51 content/renderer/android/content_detector.cc \ 52 content/renderer/android/email_detector.cc \ 53 content/renderer/android/phone_number_detector.cc \ 54 content/renderer/android/synchronous_compositor_factory.cc \ 55 content/renderer/cursor_utils.cc \ 56 content/renderer/device_orientation_dispatcher.cc \ 57 content/renderer/device_orientation/device_motion_event_pump.cc \ 58 content/renderer/device_orientation/device_orientation_event_pump.cc \ 59 content/renderer/device_orientation/device_sensor_event_pump.cc \ 60 content/renderer/devtools/devtools_agent.cc \ 61 content/renderer/devtools/devtools_agent_filter.cc \ 62 content/renderer/devtools/devtools_client.cc \ 63 content/renderer/disambiguation_popup_helper.cc \ 64 content/renderer/dom_automation_controller.cc \ 65 content/renderer/dom_storage/dom_storage_cached_area.cc \ 66 content/renderer/dom_storage/dom_storage_dispatcher.cc \ 67 content/renderer/dom_storage/webstoragearea_impl.cc \ 68 content/renderer/dom_storage/webstoragenamespace_impl.cc \ 69 content/renderer/drop_data_builder.cc \ 70 content/renderer/external_popup_menu.cc \ 71 content/renderer/gamepad_shared_memory_reader.cc \ 72 content/renderer/geolocation_dispatcher.cc \ 73 content/renderer/gpu/compositor_output_surface.cc \ 74 content/renderer/gpu/compositor_software_output_device.cc \ 75 content/renderer/gpu/delegated_compositor_output_surface.cc \ 76 content/renderer/gpu/input_event_filter.cc \ 77 content/renderer/gpu/input_handler_proxy.cc \ 78 content/renderer/gpu/input_handler_manager.cc \ 79 content/renderer/gpu/input_handler_wrapper.cc \ 80 content/renderer/gpu/gpu_benchmarking_extension.cc \ 81 content/renderer/gpu/mailbox_output_surface.cc \ 82 content/renderer/gpu/stream_texture_host_android.cc \ 83 content/renderer/gpu/render_widget_compositor.cc \ 84 content/renderer/idle_user_detector.cc \ 85 content/renderer/image_loading_helper.cc \ 86 content/renderer/internal_document_state_data.cc \ 87 content/renderer/java/java_bridge_channel.cc \ 88 content/renderer/java/java_bridge_dispatcher.cc \ 89 content/renderer/load_progress_tracker.cc \ 90 content/renderer/media/active_loader.cc \ 91 content/renderer/media/android/audio_decoder_android.cc \ 92 content/renderer/media/android/media_info_loader.cc \ 93 content/renderer/media/android/media_source_delegate.cc \ 94 content/renderer/media/android/proxy_media_keys.cc \ 95 content/renderer/media/android/renderer_media_player_manager.cc \ 96 content/renderer/media/android/stream_texture_factory_android_impl.cc \ 97 content/renderer/media/android/stream_texture_factory_android_synchronous_impl.cc \ 98 content/renderer/media/android/webmediaplayer_android.cc \ 99 content/renderer/media/android/webmediaplayer_proxy_android.cc \ 100 content/renderer/media/audio_decoder.cc \ 101 content/renderer/media/audio_device_factory.cc \ 102 content/renderer/media/audio_input_message_filter.cc \ 103 content/renderer/media/audio_message_filter.cc \ 104 content/renderer/media/audio_renderer_mixer_manager.cc \ 105 content/renderer/media/buffered_data_source.cc \ 106 content/renderer/media/buffered_resource_loader.cc \ 107 content/renderer/media/cache_util.cc \ 108 content/renderer/media/crypto/content_decryption_module_factory.cc \ 109 content/renderer/media/crypto/key_systems.cc \ 110 content/renderer/media/crypto/key_systems_info.cc \ 111 content/renderer/media/crypto/proxy_decryptor.cc \ 112 content/renderer/media/midi_dispatcher.cc \ 113 content/renderer/media/midi_message_filter.cc \ 114 content/renderer/media/pepper_platform_video_decoder.cc \ 115 content/renderer/media/render_media_log.cc \ 116 content/renderer/media/renderer_gpu_video_decoder_factories.cc \ 117 content/renderer/media/renderer_webaudiodevice_impl.cc \ 118 content/renderer/media/renderer_webmidiaccessor_impl.cc \ 119 content/renderer/media/rtc_video_renderer.cc \ 120 content/renderer/media/texttrack_impl.cc \ 121 content/renderer/media/video_capture_impl.cc \ 122 content/renderer/media/video_capture_impl_manager.cc \ 123 content/renderer/media/video_capture_message_filter.cc \ 124 content/renderer/media/video_frame_provider.cc \ 125 content/renderer/media/webaudiosourceprovider_impl.cc \ 126 content/renderer/media/webcontentdecryptionmodule_impl.cc \ 127 content/renderer/media/webcontentdecryptionmodulesession_impl.cc \ 128 content/renderer/media/webinbandtexttrack_impl.cc \ 129 content/renderer/media/webmediaplayer_ms.cc \ 130 content/renderer/media/webmediaplayer_params.cc \ 131 content/renderer/media/webmediaplayer_util.cc \ 132 content/renderer/media/webmediasourceclient_impl.cc \ 133 content/renderer/media/websourcebuffer_impl.cc \ 134 content/renderer/memory_benchmarking_extension.cc \ 135 content/renderer/menu_item_builder.cc \ 136 content/renderer/mhtml_generator.cc \ 137 content/renderer/mouse_lock_dispatcher.cc \ 138 content/renderer/paint_aggregator.cc \ 139 content/renderer/password_form_conversion_utils.cc \ 140 content/renderer/browser_plugin/browser_plugin.cc \ 141 content/renderer/browser_plugin/browser_plugin_backing_store.cc \ 142 content/renderer/browser_plugin/browser_plugin_bindings.cc \ 143 content/renderer/browser_plugin/browser_plugin_manager.cc \ 144 content/renderer/browser_plugin/browser_plugin_manager_impl.cc \ 145 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc \ 146 content/renderer/context_menu_params_builder.cc \ 147 content/renderer/date_time_formatter.cc \ 148 content/renderer/fetchers/alt_error_page_resource_fetcher.cc \ 149 content/renderer/fetchers/image_resource_fetcher.cc \ 150 content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc \ 151 content/renderer/fetchers/resource_fetcher.cc \ 152 content/renderer/ime_event_guard.cc \ 153 content/renderer/render_frame_impl.cc \ 154 content/renderer/render_process_impl.cc \ 155 content/renderer/render_process_visibility_manager.cc \ 156 content/renderer/render_thread_impl.cc \ 157 content/renderer/render_view_impl.cc \ 158 content/renderer/render_view_impl_android.cc \ 159 content/renderer/render_view_impl_params.cc \ 160 content/renderer/render_view_linux.cc \ 161 content/renderer/render_view_mouse_lock_dispatcher.cc \ 162 content/renderer/render_widget.cc \ 163 content/renderer/render_widget_fullscreen.cc \ 164 content/renderer/renderer_clipboard_client.cc \ 165 content/renderer/renderer_date_time_picker.cc \ 166 content/renderer/renderer_main.cc \ 167 content/renderer/renderer_main_platform_delegate_android.cc \ 168 content/renderer/renderer_webapplicationcachehost_impl.cc \ 169 content/renderer/renderer_webcookiejar_impl.cc \ 170 content/renderer/renderer_webcolorchooser_impl.cc \ 171 content/renderer/renderer_webkitplatformsupport_impl.cc \ 172 content/renderer/rendering_benchmark.cc \ 173 content/renderer/sad_plugin.cc \ 174 content/renderer/savable_resources.cc \ 175 content/renderer/scoped_clipboard_writer_glue.cc \ 176 content/renderer/shared_memory_seqlock_reader.cc \ 177 content/renderer/skia_benchmarking_extension.cc \ 178 content/renderer/speech_recognition_dispatcher.cc \ 179 content/renderer/stats_collection_controller.cc \ 180 content/renderer/stats_collection_observer.cc \ 181 content/renderer/text_input_client_observer.cc \ 182 content/renderer/v8_value_converter_impl.cc \ 183 content/renderer/webclipboard_impl.cc \ 184 content/renderer/webcrypto_impl.cc \ 185 content/renderer/web_ui_extension.cc \ 186 content/renderer/web_ui_extension_data.cc \ 187 content/renderer/websharedworker_proxy.cc \ 188 content/renderer/websharedworkerrepository_impl.cc 189 190 191 # Flags passed to both C and C++ files. 192 MY_CFLAGS_Debug := \ 193 -fstack-protector \ 194 --param=ssp-buffer-size=4 \ 195 -Werror \ 196 -fno-exceptions \ 197 -fno-strict-aliasing \ 198 -Wall \ 199 -Wno-unused-parameter \ 200 -Wno-missing-field-initializers \ 201 -fvisibility=hidden \ 202 -pipe \ 203 -fPIC \ 204 -fno-tree-sra \ 205 -fuse-ld=gold \ 206 -Wno-psabi \ 207 -ffunction-sections \ 208 -funwind-tables \ 209 -g \ 210 -fstack-protector \ 211 -fno-short-enums \ 212 -finline-limit=64 \ 213 -Wa,--noexecstack \ 214 -U_FORTIFY_SOURCE \ 215 -Wno-extra \ 216 -Wno-ignored-qualifiers \ 217 -Wno-type-limits \ 218 -Os \ 219 -g \ 220 -fomit-frame-pointer \ 221 -fdata-sections \ 222 -ffunction-sections 223 224 MY_DEFS_Debug := \ 225 '-DCONTENT_IMPLEMENTATION' \ 226 '-DANGLE_DX11' \ 227 '-D_FILE_OFFSET_BITS=64' \ 228 '-DNO_TCMALLOC' \ 229 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 230 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 231 '-DDISABLE_NACL' \ 232 '-DCHROMIUM_BUILD' \ 233 '-DUSE_LIBJPEG_TURBO=1' \ 234 '-DUSE_PROPRIETARY_CODECS' \ 235 '-DENABLE_CONFIGURATION_POLICY' \ 236 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 237 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 238 '-DENABLE_GPU=1' \ 239 '-DUSE_OPENSSL=1' \ 240 '-DENABLE_EGLIMAGE=1' \ 241 '-DENABLE_PRINTING=1' \ 242 '-DMEDIA_DISABLE_LIBVPX' \ 243 '-DPOSIX_AVOID_MMAP' \ 244 '-DU_USING_ICU_NAMESPACE=0' \ 245 '-DFEATURE_ENABLE_SSL' \ 246 '-DFEATURE_ENABLE_VOICEMAIL' \ 247 '-DEXPAT_RELATIVE_PATH' \ 248 '-DGTEST_RELATIVE_PATH' \ 249 '-DJSONCPP_RELATIVE_PATH' \ 250 '-DNO_MAIN_THREAD_WRAPPING' \ 251 '-DNO_SOUND_SYSTEM' \ 252 '-DANDROID' \ 253 '-DPOSIX' \ 254 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 255 '-DPROTOBUF_USE_DLLS' \ 256 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 257 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 258 '-D__STDC_CONSTANT_MACROS' \ 259 '-D__STDC_FORMAT_MACROS' \ 260 '-D__GNU_SOURCE=1' \ 261 '-DUSE_STLPORT=1' \ 262 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 263 '-DCHROME_BUILD_ID=""' \ 264 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 265 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 266 '-D_DEBUG' 267 268 269 # Include paths placed before CFLAGS/CPPFLAGS 270 LOCAL_C_INCLUDES_Debug := \ 271 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 272 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 273 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 274 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 275 $(LOCAL_PATH) \ 276 $(gyp_shared_intermediate_dir) \ 277 $(LOCAL_PATH)/third_party/khronos \ 278 $(LOCAL_PATH)/gpu \ 279 $(gyp_shared_intermediate_dir)/content \ 280 $(LOCAL_PATH)/third_party/skia/src/core \ 281 $(LOCAL_PATH)/skia/ext \ 282 $(LOCAL_PATH)/third_party/WebKit \ 283 $(PWD)/external/icu4c/common \ 284 $(PWD)/external/icu4c/i18n \ 285 $(LOCAL_PATH)/third_party/libjingle/overrides \ 286 $(LOCAL_PATH)/third_party/libjingle/source \ 287 $(LOCAL_PATH)/testing/gtest/include \ 288 $(LOCAL_PATH)/third_party \ 289 $(LOCAL_PATH)/third_party/webrtc \ 290 $(PWD)/external/expat/lib \ 291 $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ 292 $(LOCAL_PATH)/third_party/jsoncpp/source/include \ 293 $(LOCAL_PATH)/third_party/npapi \ 294 $(LOCAL_PATH)/third_party/npapi/bindings \ 295 $(LOCAL_PATH)/v8/include \ 296 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 297 $(LOCAL_PATH)/third_party/libphonenumber/src \ 298 $(gyp_shared_intermediate_dir)/protoc_out \ 299 $(LOCAL_PATH)/third_party/protobuf \ 300 $(LOCAL_PATH)/third_party/protobuf/src \ 301 $(PWD)/frameworks/wilhelm/include \ 302 $(PWD)/bionic \ 303 $(PWD)/external/stlport/stlport 304 305 306 # Flags passed to only C++ (and not C) files. 307 LOCAL_CPPFLAGS_Debug := \ 308 -fno-rtti \ 309 -fno-threadsafe-statics \ 310 -fvisibility-inlines-hidden \ 311 -Wsign-compare \ 312 -Wno-abi \ 313 -Wno-error=c++0x-compat \ 314 -Wno-non-virtual-dtor \ 315 -Wno-sign-promo 316 317 318 # Flags passed to both C and C++ files. 319 MY_CFLAGS_Release := \ 320 -fstack-protector \ 321 --param=ssp-buffer-size=4 \ 322 -Werror \ 323 -fno-exceptions \ 324 -fno-strict-aliasing \ 325 -Wall \ 326 -Wno-unused-parameter \ 327 -Wno-missing-field-initializers \ 328 -fvisibility=hidden \ 329 -pipe \ 330 -fPIC \ 331 -fno-tree-sra \ 332 -fuse-ld=gold \ 333 -Wno-psabi \ 334 -ffunction-sections \ 335 -funwind-tables \ 336 -g \ 337 -fstack-protector \ 338 -fno-short-enums \ 339 -finline-limit=64 \ 340 -Wa,--noexecstack \ 341 -U_FORTIFY_SOURCE \ 342 -Wno-extra \ 343 -Wno-ignored-qualifiers \ 344 -Wno-type-limits \ 345 -Os \ 346 -fno-ident \ 347 -fdata-sections \ 348 -ffunction-sections \ 349 -fomit-frame-pointer 350 351 MY_DEFS_Release := \ 352 '-DCONTENT_IMPLEMENTATION' \ 353 '-DANGLE_DX11' \ 354 '-D_FILE_OFFSET_BITS=64' \ 355 '-DNO_TCMALLOC' \ 356 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 357 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 358 '-DDISABLE_NACL' \ 359 '-DCHROMIUM_BUILD' \ 360 '-DUSE_LIBJPEG_TURBO=1' \ 361 '-DUSE_PROPRIETARY_CODECS' \ 362 '-DENABLE_CONFIGURATION_POLICY' \ 363 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 364 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 365 '-DENABLE_GPU=1' \ 366 '-DUSE_OPENSSL=1' \ 367 '-DENABLE_EGLIMAGE=1' \ 368 '-DENABLE_PRINTING=1' \ 369 '-DMEDIA_DISABLE_LIBVPX' \ 370 '-DPOSIX_AVOID_MMAP' \ 371 '-DU_USING_ICU_NAMESPACE=0' \ 372 '-DFEATURE_ENABLE_SSL' \ 373 '-DFEATURE_ENABLE_VOICEMAIL' \ 374 '-DEXPAT_RELATIVE_PATH' \ 375 '-DGTEST_RELATIVE_PATH' \ 376 '-DJSONCPP_RELATIVE_PATH' \ 377 '-DNO_MAIN_THREAD_WRAPPING' \ 378 '-DNO_SOUND_SYSTEM' \ 379 '-DANDROID' \ 380 '-DPOSIX' \ 381 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 382 '-DPROTOBUF_USE_DLLS' \ 383 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 384 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 385 '-D__STDC_CONSTANT_MACROS' \ 386 '-D__STDC_FORMAT_MACROS' \ 387 '-D__GNU_SOURCE=1' \ 388 '-DUSE_STLPORT=1' \ 389 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 390 '-DCHROME_BUILD_ID=""' \ 391 '-DNDEBUG' \ 392 '-DNVALGRIND' \ 393 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 394 '-D_FORTIFY_SOURCE=2' 395 396 397 # Include paths placed before CFLAGS/CPPFLAGS 398 LOCAL_C_INCLUDES_Release := \ 399 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 400 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 401 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 402 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 403 $(LOCAL_PATH) \ 404 $(gyp_shared_intermediate_dir) \ 405 $(LOCAL_PATH)/third_party/khronos \ 406 $(LOCAL_PATH)/gpu \ 407 $(gyp_shared_intermediate_dir)/content \ 408 $(LOCAL_PATH)/third_party/skia/src/core \ 409 $(LOCAL_PATH)/skia/ext \ 410 $(LOCAL_PATH)/third_party/WebKit \ 411 $(PWD)/external/icu4c/common \ 412 $(PWD)/external/icu4c/i18n \ 413 $(LOCAL_PATH)/third_party/libjingle/overrides \ 414 $(LOCAL_PATH)/third_party/libjingle/source \ 415 $(LOCAL_PATH)/testing/gtest/include \ 416 $(LOCAL_PATH)/third_party \ 417 $(LOCAL_PATH)/third_party/webrtc \ 418 $(PWD)/external/expat/lib \ 419 $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ 420 $(LOCAL_PATH)/third_party/jsoncpp/source/include \ 421 $(LOCAL_PATH)/third_party/npapi \ 422 $(LOCAL_PATH)/third_party/npapi/bindings \ 423 $(LOCAL_PATH)/v8/include \ 424 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 425 $(LOCAL_PATH)/third_party/libphonenumber/src \ 426 $(gyp_shared_intermediate_dir)/protoc_out \ 427 $(LOCAL_PATH)/third_party/protobuf \ 428 $(LOCAL_PATH)/third_party/protobuf/src \ 429 $(PWD)/frameworks/wilhelm/include \ 430 $(PWD)/bionic \ 431 $(PWD)/external/stlport/stlport 432 433 434 # Flags passed to only C++ (and not C) files. 435 LOCAL_CPPFLAGS_Release := \ 436 -fno-rtti \ 437 -fno-threadsafe-statics \ 438 -fvisibility-inlines-hidden \ 439 -Wsign-compare \ 440 -Wno-abi \ 441 -Wno-error=c++0x-compat \ 442 -Wno-non-virtual-dtor \ 443 -Wno-sign-promo 444 445 446 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 447 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 448 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 449 ### Rules for final target. 450 451 LOCAL_LDFLAGS_Debug := \ 452 -Wl,-z,now \ 453 -Wl,-z,relro \ 454 -Wl,-z,noexecstack \ 455 -fPIC \ 456 -Wl,-z,relro \ 457 -Wl,-z,now \ 458 -fuse-ld=gold \ 459 -nostdlib \ 460 -Wl,--no-undefined \ 461 -Wl,--exclude-libs=ALL \ 462 -Wl,--icf=safe \ 463 -Wl,--fatal-warnings \ 464 -Wl,--gc-sections \ 465 -Wl,--warn-shared-textrel \ 466 -Wl,-O1 \ 467 -Wl,--as-needed 468 469 470 LOCAL_LDFLAGS_Release := \ 471 -Wl,-z,now \ 472 -Wl,-z,relro \ 473 -Wl,-z,noexecstack \ 474 -fPIC \ 475 -Wl,-z,relro \ 476 -Wl,-z,now \ 477 -fuse-ld=gold \ 478 -nostdlib \ 479 -Wl,--no-undefined \ 480 -Wl,--exclude-libs=ALL \ 481 -Wl,--icf=safe \ 482 -Wl,-O1 \ 483 -Wl,--as-needed \ 484 -Wl,--gc-sections \ 485 -Wl,--fatal-warnings \ 486 -Wl,--warn-shared-textrel 487 488 489 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 490 491 LOCAL_STATIC_LIBRARIES := \ 492 cpufeatures \ 493 webkit_support_glue_gyp \ 494 webkit_support_glue_child_gyp \ 495 third_party_libphonenumber_libphonenumber_without_metadata_gyp 496 497 # Enable grouping to fix circular references 498 LOCAL_GROUP_STATIC_LIBRARIES := true 499 500 LOCAL_SHARED_LIBRARIES := \ 501 libskia \ 502 libstlport \ 503 libdl 504 505 # Add target alias to "gyp_all_modules" target. 506 .PHONY: gyp_all_modules 507 gyp_all_modules: content_content_renderer_gyp 508 509 # Alias gyp target name. 510 .PHONY: content_renderer 511 content_renderer: content_content_renderer_gyp 512 513 include $(BUILD_STATIC_LIBRARY) 514