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 --param=ssp-buffer-size=4 \ 194 -Werror \ 195 -fno-exceptions \ 196 -fno-strict-aliasing \ 197 -Wall \ 198 -Wno-unused-parameter \ 199 -Wno-missing-field-initializers \ 200 -fvisibility=hidden \ 201 -pipe \ 202 -fPIC \ 203 -m32 \ 204 -mmmx \ 205 -march=pentium4 \ 206 -msse2 \ 207 -mfpmath=sse \ 208 -fuse-ld=gold \ 209 -ffunction-sections \ 210 -funwind-tables \ 211 -g \ 212 -fno-short-enums \ 213 -finline-limit=64 \ 214 -Wa,--noexecstack \ 215 -U_FORTIFY_SOURCE \ 216 -Wno-extra \ 217 -Wno-ignored-qualifiers \ 218 -Wno-type-limits \ 219 -fno-stack-protector \ 220 -Os \ 221 -g \ 222 -fomit-frame-pointer \ 223 -fdata-sections \ 224 -ffunction-sections 225 226 MY_DEFS_Debug := \ 227 '-DCONTENT_IMPLEMENTATION' \ 228 '-DANGLE_DX11' \ 229 '-D_FILE_OFFSET_BITS=64' \ 230 '-DNO_TCMALLOC' \ 231 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 232 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 233 '-DDISABLE_NACL' \ 234 '-DCHROMIUM_BUILD' \ 235 '-DUSE_LIBJPEG_TURBO=1' \ 236 '-DUSE_PROPRIETARY_CODECS' \ 237 '-DENABLE_CONFIGURATION_POLICY' \ 238 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 239 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 240 '-DENABLE_GPU=1' \ 241 '-DUSE_OPENSSL=1' \ 242 '-DENABLE_EGLIMAGE=1' \ 243 '-DENABLE_PRINTING=1' \ 244 '-DMEDIA_DISABLE_LIBVPX' \ 245 '-DU_USING_ICU_NAMESPACE=0' \ 246 '-DFEATURE_ENABLE_SSL' \ 247 '-DFEATURE_ENABLE_VOICEMAIL' \ 248 '-DEXPAT_RELATIVE_PATH' \ 249 '-DGTEST_RELATIVE_PATH' \ 250 '-DJSONCPP_RELATIVE_PATH' \ 251 '-DNO_MAIN_THREAD_WRAPPING' \ 252 '-DNO_SOUND_SYSTEM' \ 253 '-DANDROID' \ 254 '-DPOSIX' \ 255 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 256 '-DPROTOBUF_USE_DLLS' \ 257 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 258 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 259 '-D__STDC_CONSTANT_MACROS' \ 260 '-D__STDC_FORMAT_MACROS' \ 261 '-D__GNU_SOURCE=1' \ 262 '-DUSE_STLPORT=1' \ 263 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 264 '-DCHROME_BUILD_ID=""' \ 265 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 266 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 267 '-D_DEBUG' 268 269 270 # Include paths placed before CFLAGS/CPPFLAGS 271 LOCAL_C_INCLUDES_Debug := \ 272 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 273 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 274 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 275 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 276 $(LOCAL_PATH) \ 277 $(gyp_shared_intermediate_dir) \ 278 $(LOCAL_PATH)/third_party/khronos \ 279 $(LOCAL_PATH)/gpu \ 280 $(gyp_shared_intermediate_dir)/content \ 281 $(LOCAL_PATH)/third_party/skia/src/core \ 282 $(LOCAL_PATH)/skia/ext \ 283 $(LOCAL_PATH)/third_party/WebKit \ 284 $(PWD)/external/icu4c/common \ 285 $(PWD)/external/icu4c/i18n \ 286 $(LOCAL_PATH)/third_party/libjingle/overrides \ 287 $(LOCAL_PATH)/third_party/libjingle/source \ 288 $(LOCAL_PATH)/testing/gtest/include \ 289 $(LOCAL_PATH)/third_party \ 290 $(LOCAL_PATH)/third_party/webrtc \ 291 $(PWD)/external/expat/lib \ 292 $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ 293 $(LOCAL_PATH)/third_party/jsoncpp/source/include \ 294 $(LOCAL_PATH)/third_party/npapi \ 295 $(LOCAL_PATH)/third_party/npapi/bindings \ 296 $(LOCAL_PATH)/v8/include \ 297 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 298 $(LOCAL_PATH)/third_party/libphonenumber/src \ 299 $(gyp_shared_intermediate_dir)/protoc_out \ 300 $(LOCAL_PATH)/third_party/protobuf \ 301 $(LOCAL_PATH)/third_party/protobuf/src \ 302 $(PWD)/frameworks/wilhelm/include \ 303 $(PWD)/bionic \ 304 $(PWD)/external/stlport/stlport 305 306 307 # Flags passed to only C++ (and not C) files. 308 LOCAL_CPPFLAGS_Debug := \ 309 -fno-rtti \ 310 -fno-threadsafe-statics \ 311 -fvisibility-inlines-hidden \ 312 -Wsign-compare \ 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 --param=ssp-buffer-size=4 \ 321 -Werror \ 322 -fno-exceptions \ 323 -fno-strict-aliasing \ 324 -Wall \ 325 -Wno-unused-parameter \ 326 -Wno-missing-field-initializers \ 327 -fvisibility=hidden \ 328 -pipe \ 329 -fPIC \ 330 -m32 \ 331 -mmmx \ 332 -march=pentium4 \ 333 -msse2 \ 334 -mfpmath=sse \ 335 -fuse-ld=gold \ 336 -ffunction-sections \ 337 -funwind-tables \ 338 -g \ 339 -fno-short-enums \ 340 -finline-limit=64 \ 341 -Wa,--noexecstack \ 342 -U_FORTIFY_SOURCE \ 343 -Wno-extra \ 344 -Wno-ignored-qualifiers \ 345 -Wno-type-limits \ 346 -fno-stack-protector \ 347 -Os \ 348 -fno-ident \ 349 -fdata-sections \ 350 -ffunction-sections \ 351 -fomit-frame-pointer \ 352 -fno-unwind-tables \ 353 -fno-asynchronous-unwind-tables 354 355 MY_DEFS_Release := \ 356 '-DCONTENT_IMPLEMENTATION' \ 357 '-DANGLE_DX11' \ 358 '-D_FILE_OFFSET_BITS=64' \ 359 '-DNO_TCMALLOC' \ 360 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 361 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 362 '-DDISABLE_NACL' \ 363 '-DCHROMIUM_BUILD' \ 364 '-DUSE_LIBJPEG_TURBO=1' \ 365 '-DUSE_PROPRIETARY_CODECS' \ 366 '-DENABLE_CONFIGURATION_POLICY' \ 367 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 368 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 369 '-DENABLE_GPU=1' \ 370 '-DUSE_OPENSSL=1' \ 371 '-DENABLE_EGLIMAGE=1' \ 372 '-DENABLE_PRINTING=1' \ 373 '-DMEDIA_DISABLE_LIBVPX' \ 374 '-DU_USING_ICU_NAMESPACE=0' \ 375 '-DFEATURE_ENABLE_SSL' \ 376 '-DFEATURE_ENABLE_VOICEMAIL' \ 377 '-DEXPAT_RELATIVE_PATH' \ 378 '-DGTEST_RELATIVE_PATH' \ 379 '-DJSONCPP_RELATIVE_PATH' \ 380 '-DNO_MAIN_THREAD_WRAPPING' \ 381 '-DNO_SOUND_SYSTEM' \ 382 '-DANDROID' \ 383 '-DPOSIX' \ 384 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 385 '-DPROTOBUF_USE_DLLS' \ 386 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 387 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 388 '-D__STDC_CONSTANT_MACROS' \ 389 '-D__STDC_FORMAT_MACROS' \ 390 '-D__GNU_SOURCE=1' \ 391 '-DUSE_STLPORT=1' \ 392 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 393 '-DCHROME_BUILD_ID=""' \ 394 '-DNDEBUG' \ 395 '-DNVALGRIND' \ 396 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 397 '-D_FORTIFY_SOURCE=2' 398 399 400 # Include paths placed before CFLAGS/CPPFLAGS 401 LOCAL_C_INCLUDES_Release := \ 402 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 403 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 404 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 405 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 406 $(LOCAL_PATH) \ 407 $(gyp_shared_intermediate_dir) \ 408 $(LOCAL_PATH)/third_party/khronos \ 409 $(LOCAL_PATH)/gpu \ 410 $(gyp_shared_intermediate_dir)/content \ 411 $(LOCAL_PATH)/third_party/skia/src/core \ 412 $(LOCAL_PATH)/skia/ext \ 413 $(LOCAL_PATH)/third_party/WebKit \ 414 $(PWD)/external/icu4c/common \ 415 $(PWD)/external/icu4c/i18n \ 416 $(LOCAL_PATH)/third_party/libjingle/overrides \ 417 $(LOCAL_PATH)/third_party/libjingle/source \ 418 $(LOCAL_PATH)/testing/gtest/include \ 419 $(LOCAL_PATH)/third_party \ 420 $(LOCAL_PATH)/third_party/webrtc \ 421 $(PWD)/external/expat/lib \ 422 $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ 423 $(LOCAL_PATH)/third_party/jsoncpp/source/include \ 424 $(LOCAL_PATH)/third_party/npapi \ 425 $(LOCAL_PATH)/third_party/npapi/bindings \ 426 $(LOCAL_PATH)/v8/include \ 427 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 428 $(LOCAL_PATH)/third_party/libphonenumber/src \ 429 $(gyp_shared_intermediate_dir)/protoc_out \ 430 $(LOCAL_PATH)/third_party/protobuf \ 431 $(LOCAL_PATH)/third_party/protobuf/src \ 432 $(PWD)/frameworks/wilhelm/include \ 433 $(PWD)/bionic \ 434 $(PWD)/external/stlport/stlport 435 436 437 # Flags passed to only C++ (and not C) files. 438 LOCAL_CPPFLAGS_Release := \ 439 -fno-rtti \ 440 -fno-threadsafe-statics \ 441 -fvisibility-inlines-hidden \ 442 -Wsign-compare \ 443 -Wno-error=c++0x-compat \ 444 -Wno-non-virtual-dtor \ 445 -Wno-sign-promo 446 447 448 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 449 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 450 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 451 ### Rules for final target. 452 453 LOCAL_LDFLAGS_Debug := \ 454 -Wl,-z,now \ 455 -Wl,-z,relro \ 456 -Wl,-z,noexecstack \ 457 -fPIC \ 458 -m32 \ 459 -fuse-ld=gold \ 460 -nostdlib \ 461 -Wl,--no-undefined \ 462 -Wl,--exclude-libs=ALL \ 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 -m32 \ 476 -fuse-ld=gold \ 477 -nostdlib \ 478 -Wl,--no-undefined \ 479 -Wl,--exclude-libs=ALL \ 480 -Wl,-O1 \ 481 -Wl,--as-needed \ 482 -Wl,--gc-sections \ 483 -Wl,--fatal-warnings \ 484 -Wl,--warn-shared-textrel 485 486 487 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 488 489 LOCAL_STATIC_LIBRARIES := \ 490 cpufeatures \ 491 webkit_support_glue_gyp \ 492 webkit_support_glue_child_gyp \ 493 third_party_libphonenumber_libphonenumber_without_metadata_gyp 494 495 # Enable grouping to fix circular references 496 LOCAL_GROUP_STATIC_LIBRARIES := true 497 498 LOCAL_SHARED_LIBRARIES := \ 499 libskia \ 500 libstlport \ 501 libdl 502 503 # Add target alias to "gyp_all_modules" target. 504 .PHONY: gyp_all_modules 505 gyp_all_modules: content_content_renderer_gyp 506 507 # Alias gyp target name. 508 .PHONY: content_renderer 509 content_renderer: content_content_renderer_gyp 510 511 include $(BUILD_STATIC_LIBRARY) 512