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/savable_url_schemes.cc \ 172 content/common/service_worker/service_worker_status_code.cc \ 173 content/common/service_worker/service_worker_types.cc \ 174 content/common/set_process_title.cc \ 175 content/common/ssl_status_serialization.cc \ 176 content/common/swapped_out_messages.cc \ 177 content/common/url_schemes.cc \ 178 content/common/user_agent.cc \ 179 content/common/webplugin_geometry.cc \ 180 content/common/websocket.cc \ 181 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc \ 182 content/common/gpu/media/android_video_decode_accelerator.cc \ 183 content/common/gpu/media/android_video_encode_accelerator.cc 184 185 186 # Flags passed to both C and C++ files. 187 MY_CFLAGS_Debug := \ 188 -fstack-protector \ 189 --param=ssp-buffer-size=4 \ 190 \ 191 -fno-exceptions \ 192 -fno-strict-aliasing \ 193 -Wall \ 194 -Wno-unused-parameter \ 195 -Wno-missing-field-initializers \ 196 -fvisibility=hidden \ 197 -pipe \ 198 -fPIC \ 199 -Wno-unused-local-typedefs \ 200 -EL \ 201 -mhard-float \ 202 -ffunction-sections \ 203 -funwind-tables \ 204 -g \ 205 -fstack-protector \ 206 -fno-short-enums \ 207 -finline-limit=64 \ 208 -Wa,--noexecstack \ 209 -U_FORTIFY_SOURCE \ 210 -Wno-extra \ 211 -Wno-ignored-qualifiers \ 212 -Wno-type-limits \ 213 -Wno-unused-but-set-variable \ 214 -Os \ 215 -g \ 216 -fdata-sections \ 217 -ffunction-sections \ 218 -fomit-frame-pointer \ 219 -funwind-tables 220 221 MY_DEFS_Debug := \ 222 '-DCONTENT_IMPLEMENTATION' \ 223 '-DV8_DEPRECATION_WARNINGS' \ 224 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 225 '-D_FILE_OFFSET_BITS=64' \ 226 '-DNO_TCMALLOC' \ 227 '-DDISABLE_NACL' \ 228 '-DCHROMIUM_BUILD' \ 229 '-DUSE_LIBJPEG_TURBO=1' \ 230 '-DENABLE_WEBRTC=1' \ 231 '-DUSE_PROPRIETARY_CODECS' \ 232 '-DENABLE_BROWSER_CDMS' \ 233 '-DENABLE_CONFIGURATION_POLICY' \ 234 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 235 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 236 '-DENABLE_EGLIMAGE=1' \ 237 '-DCLD_VERSION=1' \ 238 '-DENABLE_PRINTING=1' \ 239 '-DENABLE_MANAGED_USERS=1' \ 240 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 241 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 242 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 243 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 244 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 245 '-DVIDEO_HOLE=1' \ 246 '-DMOJO_USE_SYSTEM_IMPL' \ 247 '-DPOSIX_AVOID_MMAP' \ 248 '-DSK_ENABLE_INST_COUNT=0' \ 249 '-DSK_SUPPORT_GPU=1' \ 250 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 251 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 252 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 253 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 254 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 255 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 256 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 257 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 258 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 259 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 260 '-DSK_IGNORE_ETC1_SUPPORT' \ 261 '-DSK_IGNORE_GPU_DITHER' \ 262 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 263 '-DSK_BUILD_FOR_ANDROID' \ 264 '-DSK_USE_POSIX_THREADS' \ 265 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 266 '-DU_USING_ICU_NAMESPACE=0' \ 267 '-DFEATURE_ENABLE_SSL' \ 268 '-DFEATURE_ENABLE_VOICEMAIL' \ 269 '-DEXPAT_RELATIVE_PATH' \ 270 '-DGTEST_RELATIVE_PATH' \ 271 '-DNO_MAIN_THREAD_WRAPPING' \ 272 '-DNO_SOUND_SYSTEM' \ 273 '-DANDROID' \ 274 '-DPOSIX' \ 275 '-DMEDIA_DISABLE_LIBVPX' \ 276 '-DCHROME_PNG_WRITE_SUPPORT' \ 277 '-DPNG_USER_CONFIG' \ 278 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 279 '-DUSE_SYSTEM_LIBJPEG' \ 280 '-DMESA_EGL_NO_X11_HEADERS' \ 281 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 282 '-DUSE_OPENSSL=1' \ 283 '-DUSE_OPENSSL_CERTS=1' \ 284 '-D__STDC_CONSTANT_MACROS' \ 285 '-D__STDC_FORMAT_MACROS' \ 286 '-D__GNU_SOURCE=1' \ 287 '-DUSE_STLPORT=1' \ 288 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 289 '-DCHROME_BUILD_ID=""' \ 290 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 291 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 292 '-D_DEBUG' 293 294 295 # Include paths placed before CFLAGS/CPPFLAGS 296 LOCAL_C_INCLUDES_Debug := \ 297 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 298 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 299 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 300 $(gyp_shared_intermediate_dir) \ 301 $(LOCAL_PATH) \ 302 $(LOCAL_PATH)/third_party/khronos \ 303 $(LOCAL_PATH)/gpu \ 304 $(LOCAL_PATH)/skia/config \ 305 $(LOCAL_PATH)/third_party/WebKit/Source \ 306 $(LOCAL_PATH)/third_party/skia/src/core \ 307 $(LOCAL_PATH)/third_party/skia/include/core \ 308 $(LOCAL_PATH)/third_party/skia/include/effects \ 309 $(LOCAL_PATH)/third_party/skia/include/pdf \ 310 $(LOCAL_PATH)/third_party/skia/include/gpu \ 311 $(LOCAL_PATH)/third_party/skia/include/lazy \ 312 $(LOCAL_PATH)/third_party/skia/include/pathops \ 313 $(LOCAL_PATH)/third_party/skia/include/pipe \ 314 $(LOCAL_PATH)/third_party/skia/include/ports \ 315 $(LOCAL_PATH)/third_party/skia/include/utils \ 316 $(LOCAL_PATH)/skia/ext \ 317 $(LOCAL_PATH)/third_party/WebKit \ 318 $(PWD)/external/icu/icu4c/source/common \ 319 $(PWD)/external/icu/icu4c/source/i18n \ 320 $(LOCAL_PATH)/third_party/libjingle/overrides \ 321 $(LOCAL_PATH)/third_party/libjingle/source \ 322 $(LOCAL_PATH)/third_party/webrtc/overrides \ 323 $(LOCAL_PATH)/testing/gtest/include \ 324 $(LOCAL_PATH)/third_party \ 325 $(LOCAL_PATH)/third_party/webrtc \ 326 $(PWD)/external/expat/lib \ 327 $(gyp_shared_intermediate_dir)/content \ 328 $(LOCAL_PATH)/third_party/WebKit \ 329 $(LOCAL_PATH)/third_party/npapi \ 330 $(LOCAL_PATH)/third_party/npapi/bindings \ 331 $(LOCAL_PATH)/v8/include \ 332 $(LOCAL_PATH)/third_party/libpng \ 333 $(LOCAL_PATH)/third_party/zlib \ 334 $(LOCAL_PATH)/third_party/libwebp \ 335 $(LOCAL_PATH)/third_party/ots/include \ 336 $(LOCAL_PATH)/third_party/qcms/src \ 337 $(LOCAL_PATH)/third_party/iccjpeg \ 338 $(PWD)/external/jpeg \ 339 $(gyp_shared_intermediate_dir)/ui/gl \ 340 $(LOCAL_PATH)/third_party/mesa/src/include \ 341 $(LOCAL_PATH)/third_party/libyuv/include \ 342 $(LOCAL_PATH)/third_party/libyuv \ 343 $(PWD)/frameworks/wilhelm/include \ 344 $(PWD)/bionic \ 345 $(PWD)/external/stlport/stlport 346 347 348 # Flags passed to only C++ (and not C) files. 349 LOCAL_CPPFLAGS_Debug := \ 350 -fno-rtti \ 351 -fno-threadsafe-statics \ 352 -fvisibility-inlines-hidden \ 353 -Wsign-compare \ 354 -Wno-uninitialized \ 355 -Wno-non-virtual-dtor \ 356 -Wno-sign-promo 357 358 359 LOCAL_FDO_SUPPORT_Debug := false 360 361 # Flags passed to both C and C++ files. 362 MY_CFLAGS_Release := \ 363 -fstack-protector \ 364 --param=ssp-buffer-size=4 \ 365 \ 366 -fno-exceptions \ 367 -fno-strict-aliasing \ 368 -Wall \ 369 -Wno-unused-parameter \ 370 -Wno-missing-field-initializers \ 371 -fvisibility=hidden \ 372 -pipe \ 373 -fPIC \ 374 -Wno-unused-local-typedefs \ 375 -EL \ 376 -mhard-float \ 377 -ffunction-sections \ 378 -funwind-tables \ 379 -g \ 380 -fstack-protector \ 381 -fno-short-enums \ 382 -finline-limit=64 \ 383 -Wa,--noexecstack \ 384 -U_FORTIFY_SOURCE \ 385 -Wno-extra \ 386 -Wno-ignored-qualifiers \ 387 -Wno-type-limits \ 388 -Wno-unused-but-set-variable \ 389 -Os \ 390 -fno-ident \ 391 -fdata-sections \ 392 -ffunction-sections \ 393 -fomit-frame-pointer \ 394 -funwind-tables 395 396 MY_DEFS_Release := \ 397 '-DCONTENT_IMPLEMENTATION' \ 398 '-DV8_DEPRECATION_WARNINGS' \ 399 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 400 '-D_FILE_OFFSET_BITS=64' \ 401 '-DNO_TCMALLOC' \ 402 '-DDISABLE_NACL' \ 403 '-DCHROMIUM_BUILD' \ 404 '-DUSE_LIBJPEG_TURBO=1' \ 405 '-DENABLE_WEBRTC=1' \ 406 '-DUSE_PROPRIETARY_CODECS' \ 407 '-DENABLE_BROWSER_CDMS' \ 408 '-DENABLE_CONFIGURATION_POLICY' \ 409 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 410 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 411 '-DENABLE_EGLIMAGE=1' \ 412 '-DCLD_VERSION=1' \ 413 '-DENABLE_PRINTING=1' \ 414 '-DENABLE_MANAGED_USERS=1' \ 415 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 416 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 417 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 418 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 419 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 420 '-DVIDEO_HOLE=1' \ 421 '-DMOJO_USE_SYSTEM_IMPL' \ 422 '-DPOSIX_AVOID_MMAP' \ 423 '-DSK_ENABLE_INST_COUNT=0' \ 424 '-DSK_SUPPORT_GPU=1' \ 425 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 426 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 427 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 428 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 429 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 430 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 431 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 432 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 433 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 434 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 435 '-DSK_IGNORE_ETC1_SUPPORT' \ 436 '-DSK_IGNORE_GPU_DITHER' \ 437 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 438 '-DSK_BUILD_FOR_ANDROID' \ 439 '-DSK_USE_POSIX_THREADS' \ 440 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 441 '-DU_USING_ICU_NAMESPACE=0' \ 442 '-DFEATURE_ENABLE_SSL' \ 443 '-DFEATURE_ENABLE_VOICEMAIL' \ 444 '-DEXPAT_RELATIVE_PATH' \ 445 '-DGTEST_RELATIVE_PATH' \ 446 '-DNO_MAIN_THREAD_WRAPPING' \ 447 '-DNO_SOUND_SYSTEM' \ 448 '-DANDROID' \ 449 '-DPOSIX' \ 450 '-DMEDIA_DISABLE_LIBVPX' \ 451 '-DCHROME_PNG_WRITE_SUPPORT' \ 452 '-DPNG_USER_CONFIG' \ 453 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 454 '-DUSE_SYSTEM_LIBJPEG' \ 455 '-DMESA_EGL_NO_X11_HEADERS' \ 456 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 457 '-DUSE_OPENSSL=1' \ 458 '-DUSE_OPENSSL_CERTS=1' \ 459 '-D__STDC_CONSTANT_MACROS' \ 460 '-D__STDC_FORMAT_MACROS' \ 461 '-D__GNU_SOURCE=1' \ 462 '-DUSE_STLPORT=1' \ 463 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 464 '-DCHROME_BUILD_ID=""' \ 465 '-DNDEBUG' \ 466 '-DNVALGRIND' \ 467 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 468 '-D_FORTIFY_SOURCE=2' 469 470 471 # Include paths placed before CFLAGS/CPPFLAGS 472 LOCAL_C_INCLUDES_Release := \ 473 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 474 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 475 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 476 $(gyp_shared_intermediate_dir) \ 477 $(LOCAL_PATH) \ 478 $(LOCAL_PATH)/third_party/khronos \ 479 $(LOCAL_PATH)/gpu \ 480 $(LOCAL_PATH)/skia/config \ 481 $(LOCAL_PATH)/third_party/WebKit/Source \ 482 $(LOCAL_PATH)/third_party/skia/src/core \ 483 $(LOCAL_PATH)/third_party/skia/include/core \ 484 $(LOCAL_PATH)/third_party/skia/include/effects \ 485 $(LOCAL_PATH)/third_party/skia/include/pdf \ 486 $(LOCAL_PATH)/third_party/skia/include/gpu \ 487 $(LOCAL_PATH)/third_party/skia/include/lazy \ 488 $(LOCAL_PATH)/third_party/skia/include/pathops \ 489 $(LOCAL_PATH)/third_party/skia/include/pipe \ 490 $(LOCAL_PATH)/third_party/skia/include/ports \ 491 $(LOCAL_PATH)/third_party/skia/include/utils \ 492 $(LOCAL_PATH)/skia/ext \ 493 $(LOCAL_PATH)/third_party/WebKit \ 494 $(PWD)/external/icu/icu4c/source/common \ 495 $(PWD)/external/icu/icu4c/source/i18n \ 496 $(LOCAL_PATH)/third_party/libjingle/overrides \ 497 $(LOCAL_PATH)/third_party/libjingle/source \ 498 $(LOCAL_PATH)/third_party/webrtc/overrides \ 499 $(LOCAL_PATH)/testing/gtest/include \ 500 $(LOCAL_PATH)/third_party \ 501 $(LOCAL_PATH)/third_party/webrtc \ 502 $(PWD)/external/expat/lib \ 503 $(gyp_shared_intermediate_dir)/content \ 504 $(LOCAL_PATH)/third_party/WebKit \ 505 $(LOCAL_PATH)/third_party/npapi \ 506 $(LOCAL_PATH)/third_party/npapi/bindings \ 507 $(LOCAL_PATH)/v8/include \ 508 $(LOCAL_PATH)/third_party/libpng \ 509 $(LOCAL_PATH)/third_party/zlib \ 510 $(LOCAL_PATH)/third_party/libwebp \ 511 $(LOCAL_PATH)/third_party/ots/include \ 512 $(LOCAL_PATH)/third_party/qcms/src \ 513 $(LOCAL_PATH)/third_party/iccjpeg \ 514 $(PWD)/external/jpeg \ 515 $(gyp_shared_intermediate_dir)/ui/gl \ 516 $(LOCAL_PATH)/third_party/mesa/src/include \ 517 $(LOCAL_PATH)/third_party/libyuv/include \ 518 $(LOCAL_PATH)/third_party/libyuv \ 519 $(PWD)/frameworks/wilhelm/include \ 520 $(PWD)/bionic \ 521 $(PWD)/external/stlport/stlport 522 523 524 # Flags passed to only C++ (and not C) files. 525 LOCAL_CPPFLAGS_Release := \ 526 -fno-rtti \ 527 -fno-threadsafe-statics \ 528 -fvisibility-inlines-hidden \ 529 -Wsign-compare \ 530 -Wno-uninitialized \ 531 -Wno-non-virtual-dtor \ 532 -Wno-sign-promo 533 534 535 LOCAL_FDO_SUPPORT_Release := false 536 537 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 538 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 539 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 540 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 541 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 542 ### Rules for final target. 543 544 LOCAL_LDFLAGS_Debug := \ 545 -Wl,-z,now \ 546 -Wl,-z,relro \ 547 -Wl,--fatal-warnings \ 548 -Wl,-z,noexecstack \ 549 -fPIC \ 550 -EL \ 551 -Wl,--no-keep-memory \ 552 -nostdlib \ 553 -Wl,--no-undefined \ 554 -Wl,--exclude-libs=ALL \ 555 -Wl,--warn-shared-textrel \ 556 -Wl,-O1 \ 557 -Wl,--as-needed 558 559 560 LOCAL_LDFLAGS_Release := \ 561 -Wl,-z,now \ 562 -Wl,-z,relro \ 563 -Wl,--fatal-warnings \ 564 -Wl,-z,noexecstack \ 565 -fPIC \ 566 -EL \ 567 -Wl,--no-keep-memory \ 568 -nostdlib \ 569 -Wl,--no-undefined \ 570 -Wl,--exclude-libs=ALL \ 571 -Wl,-O1 \ 572 -Wl,--as-needed \ 573 -Wl,--gc-sections \ 574 -Wl,--warn-shared-textrel 575 576 577 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 578 579 LOCAL_STATIC_LIBRARIES := \ 580 skia_skia_library_gyp \ 581 ui_accessibility_accessibility_gyp \ 582 ui_accessibility_ax_gen_gyp \ 583 ui_base_ui_base_gyp \ 584 ui_gl_gl_gyp 585 586 # Enable grouping to fix circular references 587 LOCAL_GROUP_STATIC_LIBRARIES := true 588 589 LOCAL_SHARED_LIBRARIES := \ 590 libstlport \ 591 libdl 592 593 # Add target alias to "gyp_all_modules" target. 594 .PHONY: gyp_all_modules 595 gyp_all_modules: content_content_common_gyp 596 597 # Alias gyp target name. 598 .PHONY: content_common 599 content_common: content_content_common_gyp 600 601 include $(BUILD_STATIC_LIBRARY) 602