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_common_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,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 17 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_headers_gyp,,,$(GYP_VAR_PREFIX))/blink_headers.stamp \ 18 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \ 19 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_accessibility_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_accessibility_gyp.a \ 20 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 21 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \ 22 $(call intermediates-dir-for,GYP,content_content_resources_gyp,,,$(GYP_VAR_PREFIX))/content_resources.stamp \ 23 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \ 24 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp,,,$(GYP_VAR_PREFIX))/ui_gl_gl_gyp.a \ 25 $(call intermediates-dir-for,GYP,content_content_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/content_jni_headers.stamp \ 26 $(call intermediates-dir-for,GYP,content_common_aidl_gyp,,,$(GYP_VAR_PREFIX))/common_aidl.stamp 27 28 ### Rules for action "generate_webkit_version": 29 $(gyp_shared_intermediate_dir)/webkit_version.h: gyp_local_path := $(LOCAL_PATH) 30 $(gyp_shared_intermediate_dir)/webkit_version.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 31 $(gyp_shared_intermediate_dir)/webkit_version.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 32 $(gyp_shared_intermediate_dir)/webkit_version.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 33 $(gyp_shared_intermediate_dir)/webkit_version.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 34 $(gyp_shared_intermediate_dir)/webkit_version.h: $(LOCAL_PATH)/build/util/version.py $(LOCAL_PATH)/build/util/LASTCHANGE.blink $(LOCAL_PATH)/content/webkit_version.h.in $(GYP_TARGET_DEPENDENCIES) 35 @echo "Gyp action: content_content_gyp_content_common_target_generate_webkit_version ($@)" 36 $(hide)cd $(gyp_local_path)/content; mkdir -p $(gyp_shared_intermediate_dir); python ../build/util/version.py -f ../build/util/LASTCHANGE.blink webkit_version.h.in "$(gyp_shared_intermediate_dir)/webkit_version.h" 37 38 39 40 GYP_GENERATED_OUTPUTS := \ 41 $(gyp_shared_intermediate_dir)/webkit_version.h 42 43 # Make sure our deps and generated files are built first. 44 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 45 46 LOCAL_CPP_EXTENSION := .cc 47 LOCAL_GENERATED_SOURCES := 48 49 GYP_COPIED_SOURCE_ORIGIN_DIRS := 50 51 LOCAL_SRC_FILES := \ 52 content/public/common/child_process_host_delegate.cc \ 53 content/public/common/color_suggestion.cc \ 54 content/public/common/common_param_traits.cc \ 55 content/public/common/content_client.cc \ 56 content/public/common/content_constants.cc \ 57 content/public/common/content_switches.cc \ 58 content/public/common/context_menu_params.cc \ 59 content/public/common/drop_data.cc \ 60 content/public/common/favicon_url.cc \ 61 content/public/common/file_chooser_params.cc \ 62 content/public/common/frame_navigate_params.cc \ 63 content/public/common/geoposition.cc \ 64 content/public/common/gpu_memory_stats.cc \ 65 content/public/common/media_stream_request.cc \ 66 content/public/common/menu_item.cc \ 67 content/public/common/page_state.cc \ 68 content/public/common/page_transition_types.cc \ 69 content/public/common/pepper_plugin_info.cc \ 70 content/public/common/renderer_preferences.cc \ 71 content/public/common/resource_devtools_info.cc \ 72 content/public/common/resource_response_info.cc \ 73 content/public/common/sandboxed_process_launcher_delegate.cc \ 74 content/public/common/show_desktop_notification_params.cc \ 75 content/public/common/signed_certificate_timestamp_id_and_status.cc \ 76 content/public/common/speech_recognition_result.cc \ 77 content/public/common/ssl_status.cc \ 78 content/public/common/url_constants.cc \ 79 content/public/common/url_utils.cc \ 80 content/public/common/webplugininfo.cc \ 81 content/public/common/window_container_type.cc \ 82 content/common/android/address_parser.cc \ 83 content/common/android/address_parser_internal.cc \ 84 content/common/android/common_jni_registrar.cc \ 85 content/common/android/gin_java_bridge_errors.cc \ 86 content/common/android/gin_java_bridge_value.cc \ 87 content/common/android/hash_set.cc \ 88 content/common/android/surface_texture_lookup.cc \ 89 content/common/android/surface_texture_peer.cc \ 90 content/common/browser_plugin/browser_plugin_constants.cc \ 91 content/common/cc_messages.cc \ 92 content/common/child_process_host_impl.cc \ 93 content/common/content_constants_internal.cc \ 94 content/common/content_ipc_logging.cc \ 95 content/common/content_message_generator.cc \ 96 content/common/content_param_traits.cc \ 97 content/common/content_paths.cc \ 98 content/common/content_switches_internal.cc \ 99 content/common/cookie_data.cc \ 100 content/common/cursors/webcursor.cc \ 101 content/common/cursors/webcursor_android.cc \ 102 content/common/dom_storage/dom_storage_map.cc \ 103 content/common/font_list.cc \ 104 content/common/font_list_android.cc \ 105 content/common/frame_param.cc \ 106 content/common/gamepad_param_traits.cc \ 107 content/common/gamepad_user_gesture.cc \ 108 content/common/gpu/client/command_buffer_proxy_impl.cc \ 109 content/common/gpu/client/context_provider_command_buffer.cc \ 110 content/common/gpu/client/gl_helper.cc \ 111 content/common/gpu/client/gl_helper_readback_support.cc \ 112 content/common/gpu/client/gl_helper_scaling.cc \ 113 content/common/gpu/client/gpu_channel_host.cc \ 114 content/common/gpu/client/gpu_memory_buffer_impl.cc \ 115 content/common/gpu/client/gpu_memory_buffer_impl_android.cc \ 116 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc \ 117 content/common/gpu/client/gpu_video_decode_accelerator_host.cc \ 118 content/common/gpu/client/gpu_video_encode_accelerator_host.cc \ 119 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc \ 120 content/common/gpu/devtools_gpu_agent.cc \ 121 content/common/gpu/devtools_gpu_instrumentation.cc \ 122 content/common/gpu/gpu_channel.cc \ 123 content/common/gpu/gpu_channel_manager.cc \ 124 content/common/gpu/gpu_command_buffer_stub.cc \ 125 content/common/gpu/gpu_memory_manager.cc \ 126 content/common/gpu/gpu_memory_manager_client.cc \ 127 content/common/gpu/gpu_memory_tracking.cc \ 128 content/common/gpu/gpu_surface_lookup.cc \ 129 content/common/gpu/image_transport_surface.cc \ 130 content/common/gpu/image_transport_surface_android.cc \ 131 content/common/gpu/media/gpu_video_decode_accelerator.cc \ 132 content/common/gpu/media/gpu_video_encode_accelerator.cc \ 133 content/common/gpu/stream_texture_android.cc \ 134 content/common/gpu/sync_point_manager.cc \ 135 content/common/gpu/texture_image_transport_surface.cc \ 136 content/common/host_shared_bitmap_manager.cc \ 137 content/common/indexed_db/indexed_db_key.cc \ 138 content/common/indexed_db/indexed_db_key_path.cc \ 139 content/common/indexed_db/indexed_db_key_range.cc \ 140 content/common/indexed_db/indexed_db_param_traits.cc \ 141 content/common/input/gesture_event_stream_validator.cc \ 142 content/common/input/input_event.cc \ 143 content/common/input/input_event_stream_validator.cc \ 144 content/common/input/input_param_traits.cc \ 145 content/common/input/scoped_web_input_event.cc \ 146 content/common/input/synthetic_gesture_packet.cc \ 147 content/common/input/synthetic_gesture_params.cc \ 148 content/common/input/synthetic_pinch_gesture_params.cc \ 149 content/common/input/synthetic_smooth_scroll_gesture_params.cc \ 150 content/common/input/synthetic_tap_gesture_params.cc \ 151 content/common/input/synthetic_web_input_event_builders.cc \ 152 content/common/input/touch_event_stream_validator.cc \ 153 content/common/input/web_input_event_traits.cc \ 154 content/common/input/web_touch_event_traits.cc \ 155 content/common/inter_process_time_ticks_converter.cc \ 156 content/common/media/media_param_traits.cc \ 157 content/common/media/media_stream_options.cc \ 158 content/common/message_router.cc \ 159 content/common/mojo/mojo_service_names.cc \ 160 content/common/net/url_fetcher.cc \ 161 content/common/net/url_request_user_data.cc \ 162 content/common/one_writer_seqlock.cc \ 163 content/common/page_state_serialization.cc \ 164 content/common/page_zoom.cc \ 165 content/common/pepper_renderer_instance_data.cc \ 166 content/common/plugin_list.cc \ 167 content/common/plugin_list_posix.cc \ 168 content/common/process_type.cc \ 169 content/common/resource_messages.cc \ 170 content/common/resource_request_body.cc \ 171 content/common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc \ 172 content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc \ 173 content/common/savable_url_schemes.cc \ 174 content/common/service_worker/service_worker_status_code.cc \ 175 content/common/service_worker/service_worker_types.cc \ 176 content/common/set_process_title.cc \ 177 content/common/ssl_status_serialization.cc \ 178 content/common/swapped_out_messages.cc \ 179 content/common/url_schemes.cc \ 180 content/common/user_agent.cc \ 181 content/common/webplugin_geometry.cc \ 182 content/common/websocket.cc \ 183 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc \ 184 content/common/gpu/media/android_video_decode_accelerator.cc \ 185 content/common/gpu/media/android_video_encode_accelerator.cc 186 187 188 # Flags passed to both C and C++ files. 189 MY_CFLAGS_Debug := \ 190 --param=ssp-buffer-size=4 \ 191 -Werror \ 192 -fno-exceptions \ 193 -fno-strict-aliasing \ 194 -Wall \ 195 -Wno-unused-parameter \ 196 -Wno-missing-field-initializers \ 197 -fvisibility=hidden \ 198 -pipe \ 199 -fPIC \ 200 -Wno-unused-local-typedefs \ 201 -msse2 \ 202 -mfpmath=sse \ 203 -mmmx \ 204 -m32 \ 205 -ffunction-sections \ 206 -funwind-tables \ 207 -g \ 208 -fno-short-enums \ 209 -finline-limit=64 \ 210 -Wa,--noexecstack \ 211 -U_FORTIFY_SOURCE \ 212 -Wno-extra \ 213 -Wno-ignored-qualifiers \ 214 -Wno-type-limits \ 215 -Wno-unused-but-set-variable \ 216 -fno-stack-protector \ 217 -Os \ 218 -g \ 219 -fdata-sections \ 220 -ffunction-sections \ 221 -fomit-frame-pointer \ 222 -funwind-tables 223 224 MY_DEFS_Debug := \ 225 '-DCONTENT_IMPLEMENTATION' \ 226 '-DV8_DEPRECATION_WARNINGS' \ 227 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 228 '-D_FILE_OFFSET_BITS=64' \ 229 '-DNO_TCMALLOC' \ 230 '-DDISABLE_NACL' \ 231 '-DCHROMIUM_BUILD' \ 232 '-DUSE_LIBJPEG_TURBO=1' \ 233 '-DENABLE_WEBRTC=1' \ 234 '-DUSE_PROPRIETARY_CODECS' \ 235 '-DENABLE_BROWSER_CDMS' \ 236 '-DENABLE_CONFIGURATION_POLICY' \ 237 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 238 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 239 '-DENABLE_EGLIMAGE=1' \ 240 '-DCLD_VERSION=1' \ 241 '-DENABLE_PRINTING=1' \ 242 '-DENABLE_MANAGED_USERS=1' \ 243 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 244 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 245 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 246 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 247 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 248 '-DVIDEO_HOLE=1' \ 249 '-DUSE_SECCOMP_BPF' \ 250 '-DMOJO_USE_SYSTEM_IMPL' \ 251 '-DSK_ENABLE_INST_COUNT=0' \ 252 '-DSK_SUPPORT_GPU=1' \ 253 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 254 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 255 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 256 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 257 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 258 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 259 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 260 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 261 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 262 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 263 '-DSK_IGNORE_ETC1_SUPPORT' \ 264 '-DSK_IGNORE_GPU_DITHER' \ 265 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 266 '-DSK_BUILD_FOR_ANDROID' \ 267 '-DSK_USE_POSIX_THREADS' \ 268 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 269 '-DU_USING_ICU_NAMESPACE=0' \ 270 '-DFEATURE_ENABLE_SSL' \ 271 '-DFEATURE_ENABLE_VOICEMAIL' \ 272 '-DEXPAT_RELATIVE_PATH' \ 273 '-DGTEST_RELATIVE_PATH' \ 274 '-DNO_MAIN_THREAD_WRAPPING' \ 275 '-DNO_SOUND_SYSTEM' \ 276 '-DANDROID' \ 277 '-DPOSIX' \ 278 '-DMEDIA_DISABLE_LIBVPX' \ 279 '-DCHROME_PNG_WRITE_SUPPORT' \ 280 '-DPNG_USER_CONFIG' \ 281 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 282 '-DUSE_SYSTEM_LIBJPEG' \ 283 '-DMESA_EGL_NO_X11_HEADERS' \ 284 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 285 '-DUSE_OPENSSL=1' \ 286 '-DUSE_OPENSSL_CERTS=1' \ 287 '-D__STDC_CONSTANT_MACROS' \ 288 '-D__STDC_FORMAT_MACROS' \ 289 '-D__GNU_SOURCE=1' \ 290 '-DUSE_STLPORT=1' \ 291 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 292 '-DCHROME_BUILD_ID=""' \ 293 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 294 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 295 '-D_DEBUG' 296 297 298 # Include paths placed before CFLAGS/CPPFLAGS 299 LOCAL_C_INCLUDES_Debug := \ 300 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 301 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 302 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 303 $(gyp_shared_intermediate_dir) \ 304 $(LOCAL_PATH) \ 305 $(LOCAL_PATH)/third_party/khronos \ 306 $(LOCAL_PATH)/gpu \ 307 $(LOCAL_PATH)/skia/config \ 308 $(LOCAL_PATH)/third_party/WebKit/Source \ 309 $(LOCAL_PATH)/third_party/skia/src/core \ 310 $(LOCAL_PATH)/third_party/skia/include/core \ 311 $(LOCAL_PATH)/third_party/skia/include/effects \ 312 $(LOCAL_PATH)/third_party/skia/include/pdf \ 313 $(LOCAL_PATH)/third_party/skia/include/gpu \ 314 $(LOCAL_PATH)/third_party/skia/include/lazy \ 315 $(LOCAL_PATH)/third_party/skia/include/pathops \ 316 $(LOCAL_PATH)/third_party/skia/include/pipe \ 317 $(LOCAL_PATH)/third_party/skia/include/ports \ 318 $(LOCAL_PATH)/third_party/skia/include/utils \ 319 $(LOCAL_PATH)/skia/ext \ 320 $(LOCAL_PATH)/third_party/WebKit \ 321 $(PWD)/external/icu/icu4c/source/common \ 322 $(PWD)/external/icu/icu4c/source/i18n \ 323 $(LOCAL_PATH)/third_party/libjingle/overrides \ 324 $(LOCAL_PATH)/third_party/libjingle/source \ 325 $(LOCAL_PATH)/third_party/webrtc/overrides \ 326 $(LOCAL_PATH)/testing/gtest/include \ 327 $(LOCAL_PATH)/third_party \ 328 $(LOCAL_PATH)/third_party/webrtc \ 329 $(PWD)/external/expat/lib \ 330 $(gyp_shared_intermediate_dir)/content \ 331 $(LOCAL_PATH)/third_party/WebKit \ 332 $(LOCAL_PATH)/third_party/npapi \ 333 $(LOCAL_PATH)/third_party/npapi/bindings \ 334 $(LOCAL_PATH)/v8/include \ 335 $(LOCAL_PATH)/third_party/libpng \ 336 $(LOCAL_PATH)/third_party/zlib \ 337 $(LOCAL_PATH)/third_party/libwebp \ 338 $(LOCAL_PATH)/third_party/ots/include \ 339 $(LOCAL_PATH)/third_party/qcms/src \ 340 $(LOCAL_PATH)/third_party/iccjpeg \ 341 $(PWD)/external/jpeg \ 342 $(gyp_shared_intermediate_dir)/ui/gl \ 343 $(LOCAL_PATH)/third_party/mesa/src/include \ 344 $(LOCAL_PATH)/third_party/libyuv/include \ 345 $(LOCAL_PATH)/third_party/libyuv \ 346 $(PWD)/frameworks/wilhelm/include \ 347 $(PWD)/bionic \ 348 $(PWD)/external/stlport/stlport 349 350 351 # Flags passed to only C++ (and not C) files. 352 LOCAL_CPPFLAGS_Debug := \ 353 -fno-rtti \ 354 -fno-threadsafe-statics \ 355 -fvisibility-inlines-hidden \ 356 -Wsign-compare \ 357 -Wno-non-virtual-dtor \ 358 -Wno-sign-promo 359 360 361 LOCAL_FDO_SUPPORT_Debug := false 362 363 # Flags passed to both C and C++ files. 364 MY_CFLAGS_Release := \ 365 --param=ssp-buffer-size=4 \ 366 -Werror \ 367 -fno-exceptions \ 368 -fno-strict-aliasing \ 369 -Wall \ 370 -Wno-unused-parameter \ 371 -Wno-missing-field-initializers \ 372 -fvisibility=hidden \ 373 -pipe \ 374 -fPIC \ 375 -Wno-unused-local-typedefs \ 376 -msse2 \ 377 -mfpmath=sse \ 378 -mmmx \ 379 -m32 \ 380 -ffunction-sections \ 381 -funwind-tables \ 382 -g \ 383 -fno-short-enums \ 384 -finline-limit=64 \ 385 -Wa,--noexecstack \ 386 -U_FORTIFY_SOURCE \ 387 -Wno-extra \ 388 -Wno-ignored-qualifiers \ 389 -Wno-type-limits \ 390 -Wno-unused-but-set-variable \ 391 -fno-stack-protector \ 392 -Os \ 393 -fno-ident \ 394 -fdata-sections \ 395 -ffunction-sections \ 396 -fomit-frame-pointer \ 397 -funwind-tables 398 399 MY_DEFS_Release := \ 400 '-DCONTENT_IMPLEMENTATION' \ 401 '-DV8_DEPRECATION_WARNINGS' \ 402 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 403 '-D_FILE_OFFSET_BITS=64' \ 404 '-DNO_TCMALLOC' \ 405 '-DDISABLE_NACL' \ 406 '-DCHROMIUM_BUILD' \ 407 '-DUSE_LIBJPEG_TURBO=1' \ 408 '-DENABLE_WEBRTC=1' \ 409 '-DUSE_PROPRIETARY_CODECS' \ 410 '-DENABLE_BROWSER_CDMS' \ 411 '-DENABLE_CONFIGURATION_POLICY' \ 412 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 413 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 414 '-DENABLE_EGLIMAGE=1' \ 415 '-DCLD_VERSION=1' \ 416 '-DENABLE_PRINTING=1' \ 417 '-DENABLE_MANAGED_USERS=1' \ 418 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 419 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 420 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 421 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 422 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 423 '-DVIDEO_HOLE=1' \ 424 '-DUSE_SECCOMP_BPF' \ 425 '-DMOJO_USE_SYSTEM_IMPL' \ 426 '-DSK_ENABLE_INST_COUNT=0' \ 427 '-DSK_SUPPORT_GPU=1' \ 428 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 429 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 430 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 431 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 432 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 433 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 434 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 435 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 436 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 437 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 438 '-DSK_IGNORE_ETC1_SUPPORT' \ 439 '-DSK_IGNORE_GPU_DITHER' \ 440 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 441 '-DSK_BUILD_FOR_ANDROID' \ 442 '-DSK_USE_POSIX_THREADS' \ 443 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 444 '-DU_USING_ICU_NAMESPACE=0' \ 445 '-DFEATURE_ENABLE_SSL' \ 446 '-DFEATURE_ENABLE_VOICEMAIL' \ 447 '-DEXPAT_RELATIVE_PATH' \ 448 '-DGTEST_RELATIVE_PATH' \ 449 '-DNO_MAIN_THREAD_WRAPPING' \ 450 '-DNO_SOUND_SYSTEM' \ 451 '-DANDROID' \ 452 '-DPOSIX' \ 453 '-DMEDIA_DISABLE_LIBVPX' \ 454 '-DCHROME_PNG_WRITE_SUPPORT' \ 455 '-DPNG_USER_CONFIG' \ 456 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 457 '-DUSE_SYSTEM_LIBJPEG' \ 458 '-DMESA_EGL_NO_X11_HEADERS' \ 459 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 460 '-DUSE_OPENSSL=1' \ 461 '-DUSE_OPENSSL_CERTS=1' \ 462 '-D__STDC_CONSTANT_MACROS' \ 463 '-D__STDC_FORMAT_MACROS' \ 464 '-D__GNU_SOURCE=1' \ 465 '-DUSE_STLPORT=1' \ 466 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 467 '-DCHROME_BUILD_ID=""' \ 468 '-DNDEBUG' \ 469 '-DNVALGRIND' \ 470 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 471 '-D_FORTIFY_SOURCE=2' 472 473 474 # Include paths placed before CFLAGS/CPPFLAGS 475 LOCAL_C_INCLUDES_Release := \ 476 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 477 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 478 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 479 $(gyp_shared_intermediate_dir) \ 480 $(LOCAL_PATH) \ 481 $(LOCAL_PATH)/third_party/khronos \ 482 $(LOCAL_PATH)/gpu \ 483 $(LOCAL_PATH)/skia/config \ 484 $(LOCAL_PATH)/third_party/WebKit/Source \ 485 $(LOCAL_PATH)/third_party/skia/src/core \ 486 $(LOCAL_PATH)/third_party/skia/include/core \ 487 $(LOCAL_PATH)/third_party/skia/include/effects \ 488 $(LOCAL_PATH)/third_party/skia/include/pdf \ 489 $(LOCAL_PATH)/third_party/skia/include/gpu \ 490 $(LOCAL_PATH)/third_party/skia/include/lazy \ 491 $(LOCAL_PATH)/third_party/skia/include/pathops \ 492 $(LOCAL_PATH)/third_party/skia/include/pipe \ 493 $(LOCAL_PATH)/third_party/skia/include/ports \ 494 $(LOCAL_PATH)/third_party/skia/include/utils \ 495 $(LOCAL_PATH)/skia/ext \ 496 $(LOCAL_PATH)/third_party/WebKit \ 497 $(PWD)/external/icu/icu4c/source/common \ 498 $(PWD)/external/icu/icu4c/source/i18n \ 499 $(LOCAL_PATH)/third_party/libjingle/overrides \ 500 $(LOCAL_PATH)/third_party/libjingle/source \ 501 $(LOCAL_PATH)/third_party/webrtc/overrides \ 502 $(LOCAL_PATH)/testing/gtest/include \ 503 $(LOCAL_PATH)/third_party \ 504 $(LOCAL_PATH)/third_party/webrtc \ 505 $(PWD)/external/expat/lib \ 506 $(gyp_shared_intermediate_dir)/content \ 507 $(LOCAL_PATH)/third_party/WebKit \ 508 $(LOCAL_PATH)/third_party/npapi \ 509 $(LOCAL_PATH)/third_party/npapi/bindings \ 510 $(LOCAL_PATH)/v8/include \ 511 $(LOCAL_PATH)/third_party/libpng \ 512 $(LOCAL_PATH)/third_party/zlib \ 513 $(LOCAL_PATH)/third_party/libwebp \ 514 $(LOCAL_PATH)/third_party/ots/include \ 515 $(LOCAL_PATH)/third_party/qcms/src \ 516 $(LOCAL_PATH)/third_party/iccjpeg \ 517 $(PWD)/external/jpeg \ 518 $(gyp_shared_intermediate_dir)/ui/gl \ 519 $(LOCAL_PATH)/third_party/mesa/src/include \ 520 $(LOCAL_PATH)/third_party/libyuv/include \ 521 $(LOCAL_PATH)/third_party/libyuv \ 522 $(PWD)/frameworks/wilhelm/include \ 523 $(PWD)/bionic \ 524 $(PWD)/external/stlport/stlport 525 526 527 # Flags passed to only C++ (and not C) files. 528 LOCAL_CPPFLAGS_Release := \ 529 -fno-rtti \ 530 -fno-threadsafe-statics \ 531 -fvisibility-inlines-hidden \ 532 -Wsign-compare \ 533 -Wno-non-virtual-dtor \ 534 -Wno-sign-promo 535 536 537 LOCAL_FDO_SUPPORT_Release := false 538 539 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 540 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 541 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 542 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 543 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 544 ### Rules for final target. 545 546 LOCAL_LDFLAGS_Debug := \ 547 -Wl,-z,now \ 548 -Wl,-z,relro \ 549 -Wl,--fatal-warnings \ 550 -Wl,-z,noexecstack \ 551 -fPIC \ 552 -m32 \ 553 -fuse-ld=gold \ 554 -nostdlib \ 555 -Wl,--no-undefined \ 556 -Wl,--exclude-libs=ALL \ 557 -Wl,--warn-shared-textrel \ 558 -Wl,-O1 \ 559 -Wl,--as-needed 560 561 562 LOCAL_LDFLAGS_Release := \ 563 -Wl,-z,now \ 564 -Wl,-z,relro \ 565 -Wl,--fatal-warnings \ 566 -Wl,-z,noexecstack \ 567 -fPIC \ 568 -m32 \ 569 -fuse-ld=gold \ 570 -nostdlib \ 571 -Wl,--no-undefined \ 572 -Wl,--exclude-libs=ALL \ 573 -Wl,-O1 \ 574 -Wl,--as-needed \ 575 -Wl,--gc-sections \ 576 -Wl,--warn-shared-textrel 577 578 579 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 580 581 LOCAL_STATIC_LIBRARIES := \ 582 skia_skia_library_gyp \ 583 ui_accessibility_accessibility_gyp \ 584 ui_accessibility_ax_gen_gyp \ 585 ui_base_ui_base_gyp \ 586 ui_gl_gl_gyp 587 588 # Enable grouping to fix circular references 589 LOCAL_GROUP_STATIC_LIBRARIES := true 590 591 LOCAL_SHARED_LIBRARIES := \ 592 libstlport \ 593 libdl 594 595 # Add target alias to "gyp_all_modules" target. 596 .PHONY: gyp_all_modules 597 gyp_all_modules: content_content_common_gyp 598 599 # Alias gyp target name. 600 .PHONY: content_common 601 content_common: content_content_common_gyp 602 603 include $(BUILD_STATIC_LIBRARY) 604