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