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_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 16 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_headers_gyp,,,$(GYP_VAR_PREFIX))/blink_headers.stamp \ 17 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \ 18 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_accessibility_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_accessibility_gyp.a \ 19 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 20 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \ 21 $(call intermediates-dir-for,GYP,content_content_resources_gyp,,,$(GYP_VAR_PREFIX))/content_resources.stamp \ 22 $(call intermediates-dir-for,STATIC_LIBRARIES,mojo_mojo_application_bindings_gyp,,,$(GYP_VAR_PREFIX))/mojo_mojo_application_bindings_gyp.a \ 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/manifest.cc \ 66 content/public/common/media_stream_request.cc \ 67 content/public/common/menu_item.cc \ 68 content/public/common/page_state.cc \ 69 content/public/common/push_messaging_status.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/resource_type.cc \ 74 content/public/common/sandboxed_process_launcher_delegate.cc \ 75 content/public/common/show_desktop_notification_params.cc \ 76 content/public/common/signed_certificate_timestamp_id_and_status.cc \ 77 content/public/common/speech_recognition_result.cc \ 78 content/public/common/ssl_status.cc \ 79 content/public/common/url_constants.cc \ 80 content/public/common/url_utils.cc \ 81 content/public/common/web_preferences.cc \ 82 content/public/common/webplugininfo.cc \ 83 content/public/common/window_container_type.cc \ 84 content/common/android/address_parser.cc \ 85 content/common/android/address_parser_internal.cc \ 86 content/common/android/common_jni_registrar.cc \ 87 content/common/android/gin_java_bridge_errors.cc \ 88 content/common/android/gin_java_bridge_value.cc \ 89 content/common/android/hash_set.cc \ 90 content/common/android/surface_texture_lookup.cc \ 91 content/common/android/surface_texture_peer.cc \ 92 content/common/appcache_interfaces.cc \ 93 content/common/browser_plugin/browser_plugin_constants.cc \ 94 content/common/cc_messages.cc \ 95 content/common/child_process_host_impl.cc \ 96 content/common/content_constants_internal.cc \ 97 content/common/content_ipc_logging.cc \ 98 content/common/content_message_generator.cc \ 99 content/common/content_param_traits.cc \ 100 content/common/content_paths.cc \ 101 content/common/content_switches_internal.cc \ 102 content/common/cookie_data.cc \ 103 content/common/cursors/webcursor.cc \ 104 content/common/cursors/webcursor_android.cc \ 105 content/common/dom_storage/dom_storage_map.cc \ 106 content/common/font_list.cc \ 107 content/common/font_list_android.cc \ 108 content/common/frame_param.cc \ 109 content/common/gamepad_param_traits.cc \ 110 content/common/gamepad_user_gesture.cc \ 111 content/common/gpu/client/command_buffer_proxy_impl.cc \ 112 content/common/gpu/client/context_provider_command_buffer.cc \ 113 content/common/gpu/client/gl_helper.cc \ 114 content/common/gpu/client/gl_helper_readback_support.cc \ 115 content/common/gpu/client/gl_helper_scaling.cc \ 116 content/common/gpu/client/gpu_channel_host.cc \ 117 content/common/gpu/client/gpu_memory_buffer_factory_host.cc \ 118 content/common/gpu/client/gpu_memory_buffer_impl.cc \ 119 content/common/gpu/client/gpu_memory_buffer_impl_android.cc \ 120 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc \ 121 content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc \ 122 content/common/gpu/client/gpu_video_decode_accelerator_host.cc \ 123 content/common/gpu/client/gpu_video_encode_accelerator_host.cc \ 124 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc \ 125 content/common/gpu/devtools_gpu_agent.cc \ 126 content/common/gpu/devtools_gpu_instrumentation.cc \ 127 content/common/gpu/gpu_channel.cc \ 128 content/common/gpu/gpu_channel_manager.cc \ 129 content/common/gpu/gpu_command_buffer_stub.cc \ 130 content/common/gpu/gpu_memory_buffer_factory_android.cc \ 131 content/common/gpu/gpu_memory_manager.cc \ 132 content/common/gpu/gpu_memory_manager_client.cc \ 133 content/common/gpu/gpu_memory_tracking.cc \ 134 content/common/gpu/gpu_surface_lookup.cc \ 135 content/common/gpu/image_transport_surface.cc \ 136 content/common/gpu/image_transport_surface_android.cc \ 137 content/common/gpu/media/gpu_video_decode_accelerator.cc \ 138 content/common/gpu/media/gpu_video_encode_accelerator.cc \ 139 content/common/gpu/stream_texture_android.cc \ 140 content/common/gpu/sync_point_manager.cc \ 141 content/common/gpu/texture_image_transport_surface.cc \ 142 content/common/host_shared_bitmap_manager.cc \ 143 content/common/indexed_db/indexed_db_key.cc \ 144 content/common/indexed_db/indexed_db_key_path.cc \ 145 content/common/indexed_db/indexed_db_key_range.cc \ 146 content/common/indexed_db/indexed_db_param_traits.cc \ 147 content/common/input/did_overscroll_params.cc \ 148 content/common/input/gesture_event_stream_validator.cc \ 149 content/common/input/input_event.cc \ 150 content/common/input/input_event_stream_validator.cc \ 151 content/common/input/input_param_traits.cc \ 152 content/common/input/scoped_web_input_event.cc \ 153 content/common/input/synthetic_gesture_packet.cc \ 154 content/common/input/synthetic_gesture_params.cc \ 155 content/common/input/synthetic_pinch_gesture_params.cc \ 156 content/common/input/synthetic_smooth_scroll_gesture_params.cc \ 157 content/common/input/synthetic_tap_gesture_params.cc \ 158 content/common/input/synthetic_web_input_event_builders.cc \ 159 content/common/input/touch_event_stream_validator.cc \ 160 content/common/input/web_input_event_traits.cc \ 161 content/common/input/web_touch_event_traits.cc \ 162 content/common/inter_process_time_ticks_converter.cc \ 163 content/common/media/media_param_traits.cc \ 164 content/common/media/media_stream_options.cc \ 165 content/common/message_router.cc \ 166 content/common/mojo/service_registry_impl.cc \ 167 content/common/net/url_fetcher.cc \ 168 content/common/net/url_request_user_data.cc \ 169 content/common/one_writer_seqlock.cc \ 170 content/common/page_state_serialization.cc \ 171 content/common/page_zoom.cc \ 172 content/common/process_type.cc \ 173 content/common/resource_messages.cc \ 174 content/common/resource_request_body.cc \ 175 content/common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc \ 176 content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc \ 177 content/common/savable_url_schemes.cc \ 178 content/common/service_worker/service_worker_status_code.cc \ 179 content/common/service_worker/service_worker_types.cc \ 180 content/common/set_process_title.cc \ 181 content/common/ssl_status_serialization.cc \ 182 content/common/swapped_out_messages.cc \ 183 content/common/url_schemes.cc \ 184 content/common/user_agent.cc \ 185 content/common/webplugin_geometry.cc \ 186 content/common/websocket.cc \ 187 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc \ 188 content/common/gpu/media/android_video_decode_accelerator.cc \ 189 content/common/gpu/media/android_video_encode_accelerator.cc 190 191 192 # Flags passed to both C and C++ files. 193 MY_CFLAGS_Debug := \ 194 --param=ssp-buffer-size=4 \ 195 -Werror \ 196 -fno-strict-aliasing \ 197 -Wall \ 198 -Wno-unused-parameter \ 199 -Wno-missing-field-initializers \ 200 -fvisibility=hidden \ 201 -pipe \ 202 -fPIC \ 203 -Wno-unused-local-typedefs \ 204 -msse2 \ 205 -mfpmath=sse \ 206 -mmmx \ 207 -m32 \ 208 -ffunction-sections \ 209 -funwind-tables \ 210 -g \ 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 -Wno-unused-but-set-variable \ 219 -fno-stack-protector \ 220 -Os \ 221 -g \ 222 -gdwarf-4 \ 223 -fdata-sections \ 224 -ffunction-sections \ 225 -fomit-frame-pointer \ 226 -funwind-tables 227 228 MY_DEFS_Debug := \ 229 '-DCONTENT_IMPLEMENTATION' \ 230 '-DV8_DEPRECATION_WARNINGS' \ 231 '-D_FILE_OFFSET_BITS=64' \ 232 '-DNO_TCMALLOC' \ 233 '-DDISABLE_NACL' \ 234 '-DCHROMIUM_BUILD' \ 235 '-DUSE_LIBJPEG_TURBO=1' \ 236 '-DENABLE_WEBRTC=1' \ 237 '-DUSE_PROPRIETARY_CODECS' \ 238 '-DENABLE_BROWSER_CDMS' \ 239 '-DENABLE_CONFIGURATION_POLICY' \ 240 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 241 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 242 '-DENABLE_EGLIMAGE=1' \ 243 '-DCLD_VERSION=1' \ 244 '-DENABLE_PRINTING=1' \ 245 '-DENABLE_MANAGED_USERS=1' \ 246 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 247 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 248 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 249 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 250 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 251 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 252 '-DVIDEO_HOLE=1' \ 253 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 254 '-DUSE_SECCOMP_BPF' \ 255 '-DMOJO_USE_SYSTEM_IMPL' \ 256 '-DSK_ENABLE_INST_COUNT=0' \ 257 '-DSK_SUPPORT_GPU=1' \ 258 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 259 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 260 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 261 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 262 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 263 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 264 '-DSK_BUILD_FOR_ANDROID' \ 265 '-DSK_USE_POSIX_THREADS' \ 266 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 267 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 268 '-DU_USING_ICU_NAMESPACE=0' \ 269 '-DU_ENABLE_DYLOAD=0' \ 270 '-DMEDIA_DISABLE_LIBVPX' \ 271 '-DCHROME_PNG_WRITE_SUPPORT' \ 272 '-DPNG_USER_CONFIG' \ 273 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 274 '-DMESA_EGL_NO_X11_HEADERS' \ 275 '-DFEATURE_ENABLE_SSL' \ 276 '-DFEATURE_ENABLE_VOICEMAIL' \ 277 '-DEXPAT_RELATIVE_PATH' \ 278 '-DGTEST_RELATIVE_PATH' \ 279 '-DNO_MAIN_THREAD_WRAPPING' \ 280 '-DNO_SOUND_SYSTEM' \ 281 '-DANDROID' \ 282 '-DPOSIX' \ 283 '-DWEBRTC_POSIX' \ 284 '-DXML_STATIC' \ 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) \ 303 $(LOCAL_PATH) \ 304 $(LOCAL_PATH)/third_party/khronos \ 305 $(LOCAL_PATH)/gpu \ 306 $(LOCAL_PATH)/skia/config \ 307 $(LOCAL_PATH)/third_party/WebKit/Source \ 308 $(LOCAL_PATH)/third_party/skia/src/core \ 309 $(LOCAL_PATH)/third_party/skia/include/core \ 310 $(LOCAL_PATH)/third_party/skia/include/effects \ 311 $(LOCAL_PATH)/third_party/skia/include/pdf \ 312 $(LOCAL_PATH)/third_party/skia/include/gpu \ 313 $(LOCAL_PATH)/third_party/skia/include/lazy \ 314 $(LOCAL_PATH)/third_party/skia/include/pathops \ 315 $(LOCAL_PATH)/third_party/skia/include/pipe \ 316 $(LOCAL_PATH)/third_party/skia/include/ports \ 317 $(LOCAL_PATH)/third_party/skia/include/utils \ 318 $(LOCAL_PATH)/skia/ext \ 319 $(LOCAL_PATH)/third_party/WebKit \ 320 $(PWD)/external/icu/icu4c/source/common \ 321 $(PWD)/external/icu/icu4c/source/i18n \ 322 $(LOCAL_PATH)/ipc \ 323 $(LOCAL_PATH)/third_party/WebKit \ 324 $(LOCAL_PATH)/third_party/npapi \ 325 $(LOCAL_PATH)/third_party/npapi/bindings \ 326 $(LOCAL_PATH)/v8/include \ 327 $(LOCAL_PATH)/third_party/libpng \ 328 $(LOCAL_PATH)/third_party/zlib \ 329 $(LOCAL_PATH)/third_party/libwebp \ 330 $(LOCAL_PATH)/third_party/ots/include \ 331 $(LOCAL_PATH)/third_party/qcms/src \ 332 $(LOCAL_PATH)/third_party/iccjpeg \ 333 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 334 $(gyp_shared_intermediate_dir)/ui/gl \ 335 $(LOCAL_PATH)/third_party/mesa/src/include \ 336 $(gyp_shared_intermediate_dir)/content \ 337 $(LOCAL_PATH)/third_party/libyuv/include \ 338 $(LOCAL_PATH)/third_party/libyuv \ 339 $(LOCAL_PATH)/third_party/webrtc/overrides \ 340 $(LOCAL_PATH)/third_party/libjingle/overrides \ 341 $(LOCAL_PATH)/third_party/libjingle/source \ 342 $(LOCAL_PATH)/testing/gtest/include \ 343 $(LOCAL_PATH)/third_party \ 344 $(LOCAL_PATH)/third_party/expat/files/lib \ 345 $(PWD)/frameworks/wilhelm/include \ 346 $(PWD)/bionic \ 347 $(PWD)/external/stlport/stlport 348 349 350 # Flags passed to only C++ (and not C) files. 351 LOCAL_CPPFLAGS_Debug := \ 352 -fno-exceptions \ 353 -fno-rtti \ 354 -fno-threadsafe-statics \ 355 -fvisibility-inlines-hidden \ 356 -Wsign-compare \ 357 -std=gnu++11 \ 358 -Wno-narrowing \ 359 -Wno-literal-suffix \ 360 -Wno-non-virtual-dtor \ 361 -Wno-sign-promo 362 363 364 # Flags passed to both C and C++ files. 365 MY_CFLAGS_Release := \ 366 --param=ssp-buffer-size=4 \ 367 -Werror \ 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 '-D_FILE_OFFSET_BITS=64' \ 403 '-DNO_TCMALLOC' \ 404 '-DDISABLE_NACL' \ 405 '-DCHROMIUM_BUILD' \ 406 '-DUSE_LIBJPEG_TURBO=1' \ 407 '-DENABLE_WEBRTC=1' \ 408 '-DUSE_PROPRIETARY_CODECS' \ 409 '-DENABLE_BROWSER_CDMS' \ 410 '-DENABLE_CONFIGURATION_POLICY' \ 411 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 412 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 413 '-DENABLE_EGLIMAGE=1' \ 414 '-DCLD_VERSION=1' \ 415 '-DENABLE_PRINTING=1' \ 416 '-DENABLE_MANAGED_USERS=1' \ 417 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 418 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 419 '-DDATA_REDUCTION_DEV_FALLBACK_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 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 425 '-DUSE_SECCOMP_BPF' \ 426 '-DMOJO_USE_SYSTEM_IMPL' \ 427 '-DSK_ENABLE_INST_COUNT=0' \ 428 '-DSK_SUPPORT_GPU=1' \ 429 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 430 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 431 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 432 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 433 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 434 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 435 '-DSK_BUILD_FOR_ANDROID' \ 436 '-DSK_USE_POSIX_THREADS' \ 437 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 438 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 439 '-DU_USING_ICU_NAMESPACE=0' \ 440 '-DU_ENABLE_DYLOAD=0' \ 441 '-DMEDIA_DISABLE_LIBVPX' \ 442 '-DCHROME_PNG_WRITE_SUPPORT' \ 443 '-DPNG_USER_CONFIG' \ 444 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 445 '-DMESA_EGL_NO_X11_HEADERS' \ 446 '-DFEATURE_ENABLE_SSL' \ 447 '-DFEATURE_ENABLE_VOICEMAIL' \ 448 '-DEXPAT_RELATIVE_PATH' \ 449 '-DGTEST_RELATIVE_PATH' \ 450 '-DNO_MAIN_THREAD_WRAPPING' \ 451 '-DNO_SOUND_SYSTEM' \ 452 '-DANDROID' \ 453 '-DPOSIX' \ 454 '-DWEBRTC_POSIX' \ 455 '-DXML_STATIC' \ 456 '-DUSE_OPENSSL=1' \ 457 '-DUSE_OPENSSL_CERTS=1' \ 458 '-D__STDC_CONSTANT_MACROS' \ 459 '-D__STDC_FORMAT_MACROS' \ 460 '-D__GNU_SOURCE=1' \ 461 '-DUSE_STLPORT=1' \ 462 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 463 '-DCHROME_BUILD_ID=""' \ 464 '-DNDEBUG' \ 465 '-DNVALGRIND' \ 466 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 467 '-D_FORTIFY_SOURCE=2' 468 469 470 # Include paths placed before CFLAGS/CPPFLAGS 471 LOCAL_C_INCLUDES_Release := \ 472 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 473 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 474 $(gyp_shared_intermediate_dir) \ 475 $(LOCAL_PATH) \ 476 $(LOCAL_PATH)/third_party/khronos \ 477 $(LOCAL_PATH)/gpu \ 478 $(LOCAL_PATH)/skia/config \ 479 $(LOCAL_PATH)/third_party/WebKit/Source \ 480 $(LOCAL_PATH)/third_party/skia/src/core \ 481 $(LOCAL_PATH)/third_party/skia/include/core \ 482 $(LOCAL_PATH)/third_party/skia/include/effects \ 483 $(LOCAL_PATH)/third_party/skia/include/pdf \ 484 $(LOCAL_PATH)/third_party/skia/include/gpu \ 485 $(LOCAL_PATH)/third_party/skia/include/lazy \ 486 $(LOCAL_PATH)/third_party/skia/include/pathops \ 487 $(LOCAL_PATH)/third_party/skia/include/pipe \ 488 $(LOCAL_PATH)/third_party/skia/include/ports \ 489 $(LOCAL_PATH)/third_party/skia/include/utils \ 490 $(LOCAL_PATH)/skia/ext \ 491 $(LOCAL_PATH)/third_party/WebKit \ 492 $(PWD)/external/icu/icu4c/source/common \ 493 $(PWD)/external/icu/icu4c/source/i18n \ 494 $(LOCAL_PATH)/ipc \ 495 $(LOCAL_PATH)/third_party/WebKit \ 496 $(LOCAL_PATH)/third_party/npapi \ 497 $(LOCAL_PATH)/third_party/npapi/bindings \ 498 $(LOCAL_PATH)/v8/include \ 499 $(LOCAL_PATH)/third_party/libpng \ 500 $(LOCAL_PATH)/third_party/zlib \ 501 $(LOCAL_PATH)/third_party/libwebp \ 502 $(LOCAL_PATH)/third_party/ots/include \ 503 $(LOCAL_PATH)/third_party/qcms/src \ 504 $(LOCAL_PATH)/third_party/iccjpeg \ 505 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 506 $(gyp_shared_intermediate_dir)/ui/gl \ 507 $(LOCAL_PATH)/third_party/mesa/src/include \ 508 $(gyp_shared_intermediate_dir)/content \ 509 $(LOCAL_PATH)/third_party/libyuv/include \ 510 $(LOCAL_PATH)/third_party/libyuv \ 511 $(LOCAL_PATH)/third_party/webrtc/overrides \ 512 $(LOCAL_PATH)/third_party/libjingle/overrides \ 513 $(LOCAL_PATH)/third_party/libjingle/source \ 514 $(LOCAL_PATH)/testing/gtest/include \ 515 $(LOCAL_PATH)/third_party \ 516 $(LOCAL_PATH)/third_party/expat/files/lib \ 517 $(PWD)/frameworks/wilhelm/include \ 518 $(PWD)/bionic \ 519 $(PWD)/external/stlport/stlport 520 521 522 # Flags passed to only C++ (and not C) files. 523 LOCAL_CPPFLAGS_Release := \ 524 -fno-exceptions \ 525 -fno-rtti \ 526 -fno-threadsafe-statics \ 527 -fvisibility-inlines-hidden \ 528 -Wsign-compare \ 529 -std=gnu++11 \ 530 -Wno-narrowing \ 531 -Wno-literal-suffix \ 532 -Wno-non-virtual-dtor \ 533 -Wno-sign-promo 534 535 536 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 537 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 538 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 539 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 540 ### Rules for final target. 541 542 LOCAL_SHARED_LIBRARIES := \ 543 libstlport \ 544 libdl 545 546 # Add target alias to "gyp_all_modules" target. 547 .PHONY: gyp_all_modules 548 gyp_all_modules: content_content_common_gyp 549 550 # Alias gyp target name. 551 .PHONY: content_common 552 content_common: content_content_common_gyp 553 554 include $(BUILD_STATIC_LIBRARY) 555