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 -fstack-protector \ 195 --param=ssp-buffer-size=4 \ 196 -Werror \ 197 -fno-strict-aliasing \ 198 -Wall \ 199 -Wno-unused-parameter \ 200 -Wno-missing-field-initializers \ 201 -fvisibility=hidden \ 202 -pipe \ 203 -fPIC \ 204 -Wno-unused-local-typedefs \ 205 -fno-tree-sra \ 206 -fno-caller-saves \ 207 -Wno-psabi \ 208 -fno-partial-inlining \ 209 -fno-early-inlining \ 210 -fno-tree-copy-prop \ 211 -fno-tree-loop-optimize \ 212 -fno-move-loop-invariants \ 213 -ffunction-sections \ 214 -funwind-tables \ 215 -g \ 216 -fstack-protector \ 217 -fno-short-enums \ 218 -finline-limit=64 \ 219 -Wa,--noexecstack \ 220 -U_FORTIFY_SOURCE \ 221 -Wno-extra \ 222 -Wno-ignored-qualifiers \ 223 -Wno-type-limits \ 224 -Wno-unused-but-set-variable \ 225 -Os \ 226 -g \ 227 -gdwarf-4 \ 228 -fdata-sections \ 229 -ffunction-sections \ 230 -fomit-frame-pointer \ 231 -funwind-tables 232 233 MY_DEFS_Debug := \ 234 '-DCONTENT_IMPLEMENTATION' \ 235 '-DV8_DEPRECATION_WARNINGS' \ 236 '-D_FILE_OFFSET_BITS=64' \ 237 '-DNO_TCMALLOC' \ 238 '-DDISABLE_NACL' \ 239 '-DCHROMIUM_BUILD' \ 240 '-DUSE_LIBJPEG_TURBO=1' \ 241 '-DENABLE_WEBRTC=1' \ 242 '-DUSE_PROPRIETARY_CODECS' \ 243 '-DENABLE_BROWSER_CDMS' \ 244 '-DENABLE_CONFIGURATION_POLICY' \ 245 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 246 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 247 '-DENABLE_EGLIMAGE=1' \ 248 '-DCLD_VERSION=1' \ 249 '-DENABLE_PRINTING=1' \ 250 '-DENABLE_MANAGED_USERS=1' \ 251 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 252 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 253 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 254 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 255 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 256 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 257 '-DVIDEO_HOLE=1' \ 258 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 259 '-DUSE_SECCOMP_BPF' \ 260 '-DMOJO_USE_SYSTEM_IMPL' \ 261 '-DPOSIX_AVOID_MMAP' \ 262 '-DSK_ENABLE_INST_COUNT=0' \ 263 '-DSK_SUPPORT_GPU=1' \ 264 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 265 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 266 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 267 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 268 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 269 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 270 '-DSK_BUILD_FOR_ANDROID' \ 271 '-DSK_USE_POSIX_THREADS' \ 272 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 273 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 274 '-DU_USING_ICU_NAMESPACE=0' \ 275 '-DU_ENABLE_DYLOAD=0' \ 276 '-DMEDIA_DISABLE_LIBVPX' \ 277 '-DCHROME_PNG_WRITE_SUPPORT' \ 278 '-DPNG_USER_CONFIG' \ 279 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 280 '-DMESA_EGL_NO_X11_HEADERS' \ 281 '-DFEATURE_ENABLE_SSL' \ 282 '-DFEATURE_ENABLE_VOICEMAIL' \ 283 '-DEXPAT_RELATIVE_PATH' \ 284 '-DGTEST_RELATIVE_PATH' \ 285 '-DNO_MAIN_THREAD_WRAPPING' \ 286 '-DNO_SOUND_SYSTEM' \ 287 '-DANDROID' \ 288 '-DPOSIX' \ 289 '-DWEBRTC_POSIX' \ 290 '-DXML_STATIC' \ 291 '-DUSE_OPENSSL=1' \ 292 '-DUSE_OPENSSL_CERTS=1' \ 293 '-D__STDC_CONSTANT_MACROS' \ 294 '-D__STDC_FORMAT_MACROS' \ 295 '-D__GNU_SOURCE=1' \ 296 '-DUSE_STLPORT=1' \ 297 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 298 '-DCHROME_BUILD_ID=""' \ 299 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 300 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 301 '-D_DEBUG' 302 303 304 # Include paths placed before CFLAGS/CPPFLAGS 305 LOCAL_C_INCLUDES_Debug := \ 306 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 307 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 308 $(gyp_shared_intermediate_dir) \ 309 $(LOCAL_PATH) \ 310 $(LOCAL_PATH)/third_party/khronos \ 311 $(LOCAL_PATH)/gpu \ 312 $(LOCAL_PATH)/skia/config \ 313 $(LOCAL_PATH)/third_party/WebKit/Source \ 314 $(LOCAL_PATH)/third_party/skia/src/core \ 315 $(LOCAL_PATH)/third_party/skia/include/core \ 316 $(LOCAL_PATH)/third_party/skia/include/effects \ 317 $(LOCAL_PATH)/third_party/skia/include/pdf \ 318 $(LOCAL_PATH)/third_party/skia/include/gpu \ 319 $(LOCAL_PATH)/third_party/skia/include/lazy \ 320 $(LOCAL_PATH)/third_party/skia/include/pathops \ 321 $(LOCAL_PATH)/third_party/skia/include/pipe \ 322 $(LOCAL_PATH)/third_party/skia/include/ports \ 323 $(LOCAL_PATH)/third_party/skia/include/utils \ 324 $(LOCAL_PATH)/skia/ext \ 325 $(LOCAL_PATH)/third_party/WebKit \ 326 $(PWD)/external/icu/icu4c/source/common \ 327 $(PWD)/external/icu/icu4c/source/i18n \ 328 $(LOCAL_PATH)/ipc \ 329 $(LOCAL_PATH)/third_party/WebKit \ 330 $(LOCAL_PATH)/third_party/npapi \ 331 $(LOCAL_PATH)/third_party/npapi/bindings \ 332 $(LOCAL_PATH)/v8/include \ 333 $(LOCAL_PATH)/third_party/libpng \ 334 $(LOCAL_PATH)/third_party/zlib \ 335 $(LOCAL_PATH)/third_party/libwebp \ 336 $(LOCAL_PATH)/third_party/ots/include \ 337 $(LOCAL_PATH)/third_party/qcms/src \ 338 $(LOCAL_PATH)/third_party/iccjpeg \ 339 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 340 $(gyp_shared_intermediate_dir)/ui/gl \ 341 $(LOCAL_PATH)/third_party/mesa/src/include \ 342 $(gyp_shared_intermediate_dir)/content \ 343 $(LOCAL_PATH)/third_party/libyuv/include \ 344 $(LOCAL_PATH)/third_party/libyuv \ 345 $(LOCAL_PATH)/third_party/webrtc/overrides \ 346 $(LOCAL_PATH)/third_party/libjingle/overrides \ 347 $(LOCAL_PATH)/third_party/libjingle/source \ 348 $(LOCAL_PATH)/testing/gtest/include \ 349 $(LOCAL_PATH)/third_party \ 350 $(LOCAL_PATH)/third_party/expat/files/lib \ 351 $(PWD)/frameworks/wilhelm/include \ 352 $(PWD)/bionic \ 353 $(PWD)/external/stlport/stlport 354 355 356 # Flags passed to only C++ (and not C) files. 357 LOCAL_CPPFLAGS_Debug := \ 358 -fno-exceptions \ 359 -fno-rtti \ 360 -fno-threadsafe-statics \ 361 -fvisibility-inlines-hidden \ 362 -Wsign-compare \ 363 -Wno-abi \ 364 -std=gnu++11 \ 365 -Wno-narrowing \ 366 -Wno-literal-suffix \ 367 -Wno-non-virtual-dtor \ 368 -Wno-sign-promo 369 370 371 # Flags passed to both C and C++ files. 372 MY_CFLAGS_Release := \ 373 -fstack-protector \ 374 --param=ssp-buffer-size=4 \ 375 -Werror \ 376 -fno-strict-aliasing \ 377 -Wall \ 378 -Wno-unused-parameter \ 379 -Wno-missing-field-initializers \ 380 -fvisibility=hidden \ 381 -pipe \ 382 -fPIC \ 383 -Wno-unused-local-typedefs \ 384 -fno-tree-sra \ 385 -fno-caller-saves \ 386 -Wno-psabi \ 387 -fno-partial-inlining \ 388 -fno-early-inlining \ 389 -fno-tree-copy-prop \ 390 -fno-tree-loop-optimize \ 391 -fno-move-loop-invariants \ 392 -ffunction-sections \ 393 -funwind-tables \ 394 -g \ 395 -fstack-protector \ 396 -fno-short-enums \ 397 -finline-limit=64 \ 398 -Wa,--noexecstack \ 399 -U_FORTIFY_SOURCE \ 400 -Wno-extra \ 401 -Wno-ignored-qualifiers \ 402 -Wno-type-limits \ 403 -Wno-unused-but-set-variable \ 404 -Os \ 405 -fno-ident \ 406 -fdata-sections \ 407 -ffunction-sections \ 408 -fomit-frame-pointer \ 409 -funwind-tables 410 411 MY_DEFS_Release := \ 412 '-DCONTENT_IMPLEMENTATION' \ 413 '-DV8_DEPRECATION_WARNINGS' \ 414 '-D_FILE_OFFSET_BITS=64' \ 415 '-DNO_TCMALLOC' \ 416 '-DDISABLE_NACL' \ 417 '-DCHROMIUM_BUILD' \ 418 '-DUSE_LIBJPEG_TURBO=1' \ 419 '-DENABLE_WEBRTC=1' \ 420 '-DUSE_PROPRIETARY_CODECS' \ 421 '-DENABLE_BROWSER_CDMS' \ 422 '-DENABLE_CONFIGURATION_POLICY' \ 423 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 424 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 425 '-DENABLE_EGLIMAGE=1' \ 426 '-DCLD_VERSION=1' \ 427 '-DENABLE_PRINTING=1' \ 428 '-DENABLE_MANAGED_USERS=1' \ 429 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 430 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 431 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 432 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 433 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 434 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 435 '-DVIDEO_HOLE=1' \ 436 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 437 '-DUSE_SECCOMP_BPF' \ 438 '-DMOJO_USE_SYSTEM_IMPL' \ 439 '-DPOSIX_AVOID_MMAP' \ 440 '-DSK_ENABLE_INST_COUNT=0' \ 441 '-DSK_SUPPORT_GPU=1' \ 442 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 443 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 444 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 445 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 446 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 447 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 448 '-DSK_BUILD_FOR_ANDROID' \ 449 '-DSK_USE_POSIX_THREADS' \ 450 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 451 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 452 '-DU_USING_ICU_NAMESPACE=0' \ 453 '-DU_ENABLE_DYLOAD=0' \ 454 '-DMEDIA_DISABLE_LIBVPX' \ 455 '-DCHROME_PNG_WRITE_SUPPORT' \ 456 '-DPNG_USER_CONFIG' \ 457 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 458 '-DMESA_EGL_NO_X11_HEADERS' \ 459 '-DFEATURE_ENABLE_SSL' \ 460 '-DFEATURE_ENABLE_VOICEMAIL' \ 461 '-DEXPAT_RELATIVE_PATH' \ 462 '-DGTEST_RELATIVE_PATH' \ 463 '-DNO_MAIN_THREAD_WRAPPING' \ 464 '-DNO_SOUND_SYSTEM' \ 465 '-DANDROID' \ 466 '-DPOSIX' \ 467 '-DWEBRTC_POSIX' \ 468 '-DXML_STATIC' \ 469 '-DUSE_OPENSSL=1' \ 470 '-DUSE_OPENSSL_CERTS=1' \ 471 '-D__STDC_CONSTANT_MACROS' \ 472 '-D__STDC_FORMAT_MACROS' \ 473 '-D__GNU_SOURCE=1' \ 474 '-DUSE_STLPORT=1' \ 475 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 476 '-DCHROME_BUILD_ID=""' \ 477 '-DNDEBUG' \ 478 '-DNVALGRIND' \ 479 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 480 '-D_FORTIFY_SOURCE=2' 481 482 483 # Include paths placed before CFLAGS/CPPFLAGS 484 LOCAL_C_INCLUDES_Release := \ 485 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 486 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 487 $(gyp_shared_intermediate_dir) \ 488 $(LOCAL_PATH) \ 489 $(LOCAL_PATH)/third_party/khronos \ 490 $(LOCAL_PATH)/gpu \ 491 $(LOCAL_PATH)/skia/config \ 492 $(LOCAL_PATH)/third_party/WebKit/Source \ 493 $(LOCAL_PATH)/third_party/skia/src/core \ 494 $(LOCAL_PATH)/third_party/skia/include/core \ 495 $(LOCAL_PATH)/third_party/skia/include/effects \ 496 $(LOCAL_PATH)/third_party/skia/include/pdf \ 497 $(LOCAL_PATH)/third_party/skia/include/gpu \ 498 $(LOCAL_PATH)/third_party/skia/include/lazy \ 499 $(LOCAL_PATH)/third_party/skia/include/pathops \ 500 $(LOCAL_PATH)/third_party/skia/include/pipe \ 501 $(LOCAL_PATH)/third_party/skia/include/ports \ 502 $(LOCAL_PATH)/third_party/skia/include/utils \ 503 $(LOCAL_PATH)/skia/ext \ 504 $(LOCAL_PATH)/third_party/WebKit \ 505 $(PWD)/external/icu/icu4c/source/common \ 506 $(PWD)/external/icu/icu4c/source/i18n \ 507 $(LOCAL_PATH)/ipc \ 508 $(LOCAL_PATH)/third_party/WebKit \ 509 $(LOCAL_PATH)/third_party/npapi \ 510 $(LOCAL_PATH)/third_party/npapi/bindings \ 511 $(LOCAL_PATH)/v8/include \ 512 $(LOCAL_PATH)/third_party/libpng \ 513 $(LOCAL_PATH)/third_party/zlib \ 514 $(LOCAL_PATH)/third_party/libwebp \ 515 $(LOCAL_PATH)/third_party/ots/include \ 516 $(LOCAL_PATH)/third_party/qcms/src \ 517 $(LOCAL_PATH)/third_party/iccjpeg \ 518 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 519 $(gyp_shared_intermediate_dir)/ui/gl \ 520 $(LOCAL_PATH)/third_party/mesa/src/include \ 521 $(gyp_shared_intermediate_dir)/content \ 522 $(LOCAL_PATH)/third_party/libyuv/include \ 523 $(LOCAL_PATH)/third_party/libyuv \ 524 $(LOCAL_PATH)/third_party/webrtc/overrides \ 525 $(LOCAL_PATH)/third_party/libjingle/overrides \ 526 $(LOCAL_PATH)/third_party/libjingle/source \ 527 $(LOCAL_PATH)/testing/gtest/include \ 528 $(LOCAL_PATH)/third_party \ 529 $(LOCAL_PATH)/third_party/expat/files/lib \ 530 $(PWD)/frameworks/wilhelm/include \ 531 $(PWD)/bionic \ 532 $(PWD)/external/stlport/stlport 533 534 535 # Flags passed to only C++ (and not C) files. 536 LOCAL_CPPFLAGS_Release := \ 537 -fno-exceptions \ 538 -fno-rtti \ 539 -fno-threadsafe-statics \ 540 -fvisibility-inlines-hidden \ 541 -Wsign-compare \ 542 -Wno-abi \ 543 -std=gnu++11 \ 544 -Wno-narrowing \ 545 -Wno-literal-suffix \ 546 -Wno-non-virtual-dtor \ 547 -Wno-sign-promo 548 549 550 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 551 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 552 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 553 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 554 ### Rules for final target. 555 556 LOCAL_SHARED_LIBRARIES := \ 557 libstlport \ 558 libdl 559 560 # Add target alias to "gyp_all_modules" target. 561 .PHONY: gyp_all_modules 562 gyp_all_modules: content_content_common_gyp 563 564 # Alias gyp target name. 565 .PHONY: content_common 566 content_common: content_content_common_gyp 567 568 include $(BUILD_STATIC_LIBRARY) 569