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 := android_webview_android_webview_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,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 16 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 18 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \ 19 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp,,,$(GYP_VAR_PREFIX))/ui_gl_gl_gyp.a \ 20 $(call intermediates-dir-for,GYP,android_webview_android_webview_pak_gyp,,,$(GYP_VAR_PREFIX))/android_webview_pak.stamp 21 22 GYP_GENERATED_OUTPUTS := 23 24 # Make sure our deps and generated files are built first. 25 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 26 27 LOCAL_CPP_EXTENSION := .cc 28 LOCAL_GENERATED_SOURCES := 29 30 GYP_COPIED_SOURCE_ORIGIN_DIRS := 31 32 LOCAL_SRC_FILES := \ 33 android_webview/browser/aw_browser_context.cc \ 34 android_webview/browser/aw_browser_main_parts.cc \ 35 android_webview/browser/aw_contents_client_bridge_base.cc \ 36 android_webview/browser/aw_content_browser_client.cc \ 37 android_webview/browser/aw_cookie_access_policy.cc \ 38 android_webview/browser/aw_download_manager_delegate.cc \ 39 android_webview/browser/aw_form_database_service.cc \ 40 android_webview/browser/aw_gl_surface.cc \ 41 android_webview/browser/aw_http_auth_handler_base.cc \ 42 android_webview/browser/aw_javascript_dialog_manager.cc \ 43 android_webview/browser/aw_login_delegate.cc \ 44 android_webview/browser/aw_pref_store.cc \ 45 android_webview/browser/aw_quota_manager_bridge.cc \ 46 android_webview/browser/aw_quota_permission_context.cc \ 47 android_webview/browser/aw_request_interceptor.cc \ 48 android_webview/browser/aw_resource_context.cc \ 49 android_webview/browser/aw_web_preferences_populater.cc \ 50 android_webview/browser/aw_web_resource_response.cc \ 51 android_webview/browser/browser_view_renderer.cc \ 52 android_webview/browser/deferred_gpu_command_service.cc \ 53 android_webview/browser/find_helper.cc \ 54 android_webview/browser/global_tile_manager.cc \ 55 android_webview/browser/gpu_memory_buffer_factory_impl.cc \ 56 android_webview/browser/hardware_renderer.cc \ 57 android_webview/browser/icon_helper.cc \ 58 android_webview/browser/gl_view_renderer_manager.cc \ 59 android_webview/browser/net/android_stream_reader_url_request_job.cc \ 60 android_webview/browser/net/aw_network_delegate.cc \ 61 android_webview/browser/net/aw_url_request_context_getter.cc \ 62 android_webview/browser/net/aw_url_request_job_factory.cc \ 63 android_webview/browser/net_disk_cache_remover.cc \ 64 android_webview/browser/net/input_stream_reader.cc \ 65 android_webview/browser/parent_compositor_draw_constraints.cc \ 66 android_webview/browser/parent_output_surface.cc \ 67 android_webview/browser/renderer_host/aw_render_view_host_ext.cc \ 68 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc \ 69 android_webview/browser/renderer_host/print_manager.cc \ 70 android_webview/browser/scoped_app_gl_state_restore.cc \ 71 android_webview/browser/shared_renderer_state.cc \ 72 android_webview/common/android_webview_message_generator.cc \ 73 android_webview/common/aw_content_client.cc \ 74 android_webview/common/aw_hit_test_data.cc \ 75 android_webview/common/aw_switches.cc \ 76 android_webview/common/print_messages.cc \ 77 android_webview/common/render_view_messages.cc \ 78 android_webview/common/url_constants.cc \ 79 android_webview/lib/aw_browser_dependency_factory_impl.cc \ 80 android_webview/lib/main/aw_main_delegate.cc \ 81 android_webview/renderer/aw_content_renderer_client.cc \ 82 android_webview/renderer/aw_key_systems.cc \ 83 android_webview/renderer/aw_permission_client.cc \ 84 android_webview/renderer/aw_render_process_observer.cc \ 85 android_webview/renderer/aw_render_frame_ext.cc \ 86 android_webview/renderer/aw_render_view_ext.cc \ 87 android_webview/renderer/print_web_view_helper.cc \ 88 android_webview/renderer/print_web_view_helper_android.cc \ 89 android_webview/renderer/print_render_frame_observer.cc 90 91 92 # Flags passed to both C and C++ files. 93 MY_CFLAGS_Debug := \ 94 -fstack-protector \ 95 --param=ssp-buffer-size=4 \ 96 -Werror \ 97 -fno-exceptions \ 98 -fno-strict-aliasing \ 99 -Wall \ 100 -Wno-unused-parameter \ 101 -Wno-missing-field-initializers \ 102 -fvisibility=hidden \ 103 -pipe \ 104 -fPIC \ 105 -Wno-unused-local-typedefs \ 106 -fno-tree-sra \ 107 -fno-partial-inlining \ 108 -fno-early-inlining \ 109 -fno-tree-copy-prop \ 110 -fno-tree-loop-optimize \ 111 -fno-move-loop-invariants \ 112 -fno-caller-saves \ 113 -Wno-psabi \ 114 -ffunction-sections \ 115 -funwind-tables \ 116 -g \ 117 -fstack-protector \ 118 -fno-short-enums \ 119 -finline-limit=64 \ 120 -Wa,--noexecstack \ 121 -U_FORTIFY_SOURCE \ 122 -Wno-extra \ 123 -Wno-ignored-qualifiers \ 124 -Wno-type-limits \ 125 -Wno-unused-but-set-variable \ 126 -Os \ 127 -g \ 128 -fdata-sections \ 129 -ffunction-sections \ 130 -fomit-frame-pointer \ 131 -funwind-tables 132 133 MY_DEFS_Debug := \ 134 '-DV8_DEPRECATION_WARNINGS' \ 135 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 136 '-D_FILE_OFFSET_BITS=64' \ 137 '-DNO_TCMALLOC' \ 138 '-DDISABLE_NACL' \ 139 '-DCHROMIUM_BUILD' \ 140 '-DUSE_LIBJPEG_TURBO=1' \ 141 '-DENABLE_WEBRTC=1' \ 142 '-DUSE_PROPRIETARY_CODECS' \ 143 '-DENABLE_BROWSER_CDMS' \ 144 '-DENABLE_CONFIGURATION_POLICY' \ 145 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 146 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 147 '-DENABLE_EGLIMAGE=1' \ 148 '-DCLD_VERSION=1' \ 149 '-DENABLE_PRINTING=1' \ 150 '-DENABLE_MANAGED_USERS=1' \ 151 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 152 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 153 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 154 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 155 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 156 '-DVIDEO_HOLE=1' \ 157 '-DMOJO_USE_SYSTEM_IMPL' \ 158 '-DLIBPEERCONNECTION_LIB=1' \ 159 '-DMEDIA_DISABLE_LIBVPX' \ 160 '-DSK_ENABLE_INST_COUNT=0' \ 161 '-DSK_SUPPORT_GPU=1' \ 162 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 163 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 164 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 165 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 166 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 167 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 168 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 169 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 170 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 171 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 172 '-DSK_IGNORE_ETC1_SUPPORT' \ 173 '-DSK_IGNORE_GPU_DITHER' \ 174 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 175 '-DSK_BUILD_FOR_ANDROID' \ 176 '-DSK_USE_POSIX_THREADS' \ 177 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 178 '-DU_USING_ICU_NAMESPACE=0' \ 179 '-DCHROME_PNG_WRITE_SUPPORT' \ 180 '-DPNG_USER_CONFIG' \ 181 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 182 '-DUSE_SYSTEM_LIBJPEG' \ 183 '-DMESA_EGL_NO_X11_HEADERS' \ 184 '-DUSE_OPENSSL=1' \ 185 '-DUSE_OPENSSL_CERTS=1' \ 186 '-D__STDC_CONSTANT_MACROS' \ 187 '-D__STDC_FORMAT_MACROS' \ 188 '-DANDROID' \ 189 '-D__GNU_SOURCE=1' \ 190 '-DUSE_STLPORT=1' \ 191 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 192 '-DCHROME_BUILD_ID=""' \ 193 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 194 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 195 '-D_DEBUG' 196 197 198 # Include paths placed before CFLAGS/CPPFLAGS 199 LOCAL_C_INCLUDES_Debug := \ 200 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 201 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 202 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 203 $(gyp_shared_intermediate_dir) \ 204 $(LOCAL_PATH) \ 205 $(LOCAL_PATH)/skia/config \ 206 $(gyp_shared_intermediate_dir)/ui/ui_resources \ 207 $(LOCAL_PATH)/third_party/khronos \ 208 $(LOCAL_PATH)/gpu \ 209 $(LOCAL_PATH)/third_party/WebKit/Source \ 210 $(LOCAL_PATH)/third_party/WebKit \ 211 $(LOCAL_PATH)/third_party/skia/src/core \ 212 $(LOCAL_PATH)/third_party/skia/include/core \ 213 $(LOCAL_PATH)/third_party/skia/include/effects \ 214 $(LOCAL_PATH)/third_party/skia/include/pdf \ 215 $(LOCAL_PATH)/third_party/skia/include/gpu \ 216 $(LOCAL_PATH)/third_party/skia/include/lazy \ 217 $(LOCAL_PATH)/third_party/skia/include/pathops \ 218 $(LOCAL_PATH)/third_party/skia/include/pipe \ 219 $(LOCAL_PATH)/third_party/skia/include/ports \ 220 $(LOCAL_PATH)/third_party/skia/include/utils \ 221 $(LOCAL_PATH)/skia/ext \ 222 $(LOCAL_PATH)/third_party/WebKit \ 223 $(PWD)/external/icu/icu4c/source/common \ 224 $(PWD)/external/icu/icu4c/source/i18n \ 225 $(LOCAL_PATH)/third_party/npapi \ 226 $(LOCAL_PATH)/third_party/npapi/bindings \ 227 $(LOCAL_PATH)/v8/include \ 228 $(LOCAL_PATH)/third_party/libpng \ 229 $(LOCAL_PATH)/third_party/zlib \ 230 $(LOCAL_PATH)/third_party/libwebp \ 231 $(LOCAL_PATH)/third_party/ots/include \ 232 $(LOCAL_PATH)/third_party/qcms/src \ 233 $(LOCAL_PATH)/third_party/iccjpeg \ 234 $(PWD)/external/jpeg \ 235 $(gyp_shared_intermediate_dir)/ui/gl \ 236 $(LOCAL_PATH)/third_party/mesa/src/include \ 237 $(PWD)/frameworks/wilhelm/include \ 238 $(PWD)/bionic \ 239 $(PWD)/external/stlport/stlport 240 241 242 # Flags passed to only C++ (and not C) files. 243 LOCAL_CPPFLAGS_Debug := \ 244 -fno-rtti \ 245 -fno-threadsafe-statics \ 246 -fvisibility-inlines-hidden \ 247 -Wsign-compare \ 248 -Wno-abi \ 249 -Wno-non-virtual-dtor \ 250 -Wno-sign-promo 251 252 253 LOCAL_FDO_SUPPORT_Debug := false 254 255 # Flags passed to both C and C++ files. 256 MY_CFLAGS_Release := \ 257 -fstack-protector \ 258 --param=ssp-buffer-size=4 \ 259 -Werror \ 260 -fno-exceptions \ 261 -fno-strict-aliasing \ 262 -Wall \ 263 -Wno-unused-parameter \ 264 -Wno-missing-field-initializers \ 265 -fvisibility=hidden \ 266 -pipe \ 267 -fPIC \ 268 -Wno-unused-local-typedefs \ 269 -fno-tree-sra \ 270 -fno-partial-inlining \ 271 -fno-early-inlining \ 272 -fno-tree-copy-prop \ 273 -fno-tree-loop-optimize \ 274 -fno-move-loop-invariants \ 275 -fno-caller-saves \ 276 -Wno-psabi \ 277 -ffunction-sections \ 278 -funwind-tables \ 279 -g \ 280 -fstack-protector \ 281 -fno-short-enums \ 282 -finline-limit=64 \ 283 -Wa,--noexecstack \ 284 -U_FORTIFY_SOURCE \ 285 -Wno-extra \ 286 -Wno-ignored-qualifiers \ 287 -Wno-type-limits \ 288 -Wno-unused-but-set-variable \ 289 -Os \ 290 -fno-ident \ 291 -fdata-sections \ 292 -ffunction-sections \ 293 -fomit-frame-pointer \ 294 -funwind-tables 295 296 MY_DEFS_Release := \ 297 '-DV8_DEPRECATION_WARNINGS' \ 298 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 299 '-D_FILE_OFFSET_BITS=64' \ 300 '-DNO_TCMALLOC' \ 301 '-DDISABLE_NACL' \ 302 '-DCHROMIUM_BUILD' \ 303 '-DUSE_LIBJPEG_TURBO=1' \ 304 '-DENABLE_WEBRTC=1' \ 305 '-DUSE_PROPRIETARY_CODECS' \ 306 '-DENABLE_BROWSER_CDMS' \ 307 '-DENABLE_CONFIGURATION_POLICY' \ 308 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 309 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 310 '-DENABLE_EGLIMAGE=1' \ 311 '-DCLD_VERSION=1' \ 312 '-DENABLE_PRINTING=1' \ 313 '-DENABLE_MANAGED_USERS=1' \ 314 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 315 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 316 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 317 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 318 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 319 '-DVIDEO_HOLE=1' \ 320 '-DMOJO_USE_SYSTEM_IMPL' \ 321 '-DLIBPEERCONNECTION_LIB=1' \ 322 '-DMEDIA_DISABLE_LIBVPX' \ 323 '-DSK_ENABLE_INST_COUNT=0' \ 324 '-DSK_SUPPORT_GPU=1' \ 325 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 326 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 327 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 328 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 329 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 330 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 331 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 332 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 333 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 334 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 335 '-DSK_IGNORE_ETC1_SUPPORT' \ 336 '-DSK_IGNORE_GPU_DITHER' \ 337 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 338 '-DSK_BUILD_FOR_ANDROID' \ 339 '-DSK_USE_POSIX_THREADS' \ 340 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 341 '-DU_USING_ICU_NAMESPACE=0' \ 342 '-DCHROME_PNG_WRITE_SUPPORT' \ 343 '-DPNG_USER_CONFIG' \ 344 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 345 '-DUSE_SYSTEM_LIBJPEG' \ 346 '-DMESA_EGL_NO_X11_HEADERS' \ 347 '-DUSE_OPENSSL=1' \ 348 '-DUSE_OPENSSL_CERTS=1' \ 349 '-D__STDC_CONSTANT_MACROS' \ 350 '-D__STDC_FORMAT_MACROS' \ 351 '-DANDROID' \ 352 '-D__GNU_SOURCE=1' \ 353 '-DUSE_STLPORT=1' \ 354 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 355 '-DCHROME_BUILD_ID=""' \ 356 '-DNDEBUG' \ 357 '-DNVALGRIND' \ 358 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 359 '-D_FORTIFY_SOURCE=2' 360 361 362 # Include paths placed before CFLAGS/CPPFLAGS 363 LOCAL_C_INCLUDES_Release := \ 364 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 365 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 366 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 367 $(gyp_shared_intermediate_dir) \ 368 $(LOCAL_PATH) \ 369 $(LOCAL_PATH)/skia/config \ 370 $(gyp_shared_intermediate_dir)/ui/ui_resources \ 371 $(LOCAL_PATH)/third_party/khronos \ 372 $(LOCAL_PATH)/gpu \ 373 $(LOCAL_PATH)/third_party/WebKit/Source \ 374 $(LOCAL_PATH)/third_party/WebKit \ 375 $(LOCAL_PATH)/third_party/skia/src/core \ 376 $(LOCAL_PATH)/third_party/skia/include/core \ 377 $(LOCAL_PATH)/third_party/skia/include/effects \ 378 $(LOCAL_PATH)/third_party/skia/include/pdf \ 379 $(LOCAL_PATH)/third_party/skia/include/gpu \ 380 $(LOCAL_PATH)/third_party/skia/include/lazy \ 381 $(LOCAL_PATH)/third_party/skia/include/pathops \ 382 $(LOCAL_PATH)/third_party/skia/include/pipe \ 383 $(LOCAL_PATH)/third_party/skia/include/ports \ 384 $(LOCAL_PATH)/third_party/skia/include/utils \ 385 $(LOCAL_PATH)/skia/ext \ 386 $(LOCAL_PATH)/third_party/WebKit \ 387 $(PWD)/external/icu/icu4c/source/common \ 388 $(PWD)/external/icu/icu4c/source/i18n \ 389 $(LOCAL_PATH)/third_party/npapi \ 390 $(LOCAL_PATH)/third_party/npapi/bindings \ 391 $(LOCAL_PATH)/v8/include \ 392 $(LOCAL_PATH)/third_party/libpng \ 393 $(LOCAL_PATH)/third_party/zlib \ 394 $(LOCAL_PATH)/third_party/libwebp \ 395 $(LOCAL_PATH)/third_party/ots/include \ 396 $(LOCAL_PATH)/third_party/qcms/src \ 397 $(LOCAL_PATH)/third_party/iccjpeg \ 398 $(PWD)/external/jpeg \ 399 $(gyp_shared_intermediate_dir)/ui/gl \ 400 $(LOCAL_PATH)/third_party/mesa/src/include \ 401 $(PWD)/frameworks/wilhelm/include \ 402 $(PWD)/bionic \ 403 $(PWD)/external/stlport/stlport 404 405 406 # Flags passed to only C++ (and not C) files. 407 LOCAL_CPPFLAGS_Release := \ 408 -fno-rtti \ 409 -fno-threadsafe-statics \ 410 -fvisibility-inlines-hidden \ 411 -Wsign-compare \ 412 -Wno-abi \ 413 -Wno-non-virtual-dtor \ 414 -Wno-sign-promo 415 416 417 LOCAL_FDO_SUPPORT_Release := false 418 419 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 420 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 421 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 422 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 423 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 424 ### Rules for final target. 425 426 LOCAL_LDFLAGS_Debug := \ 427 -Wl,-z,now \ 428 -Wl,-z,relro \ 429 -Wl,--fatal-warnings \ 430 -Wl,-z,noexecstack \ 431 -fPIC \ 432 -Wl,-z,relro \ 433 -Wl,-z,now \ 434 -fuse-ld=gold \ 435 -nostdlib \ 436 -Wl,--no-undefined \ 437 -Wl,--exclude-libs=ALL \ 438 -Wl,--icf=safe \ 439 -Wl,--warn-shared-textrel \ 440 -Wl,-O1 \ 441 -Wl,--as-needed 442 443 444 LOCAL_LDFLAGS_Release := \ 445 -Wl,-z,now \ 446 -Wl,-z,relro \ 447 -Wl,--fatal-warnings \ 448 -Wl,-z,noexecstack \ 449 -fPIC \ 450 -Wl,-z,relro \ 451 -Wl,-z,now \ 452 -fuse-ld=gold \ 453 -nostdlib \ 454 -Wl,--no-undefined \ 455 -Wl,--exclude-libs=ALL \ 456 -Wl,--icf=safe \ 457 -Wl,-O1 \ 458 -Wl,--as-needed \ 459 -Wl,--gc-sections \ 460 -Wl,--warn-shared-textrel 461 462 463 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 464 465 LOCAL_STATIC_LIBRARIES := \ 466 ui_accessibility_ax_gen_gyp \ 467 skia_skia_library_gyp \ 468 ui_gl_gl_gyp 469 470 # Enable grouping to fix circular references 471 LOCAL_GROUP_STATIC_LIBRARIES := true 472 473 LOCAL_SHARED_LIBRARIES := \ 474 libstlport \ 475 libdl 476 477 # Add target alias to "gyp_all_modules" target. 478 .PHONY: gyp_all_modules 479 gyp_all_modules: android_webview_android_webview_common_gyp 480 481 # Alias gyp target name. 482 .PHONY: android_webview_common 483 android_webview_common: android_webview_android_webview_common_gyp 484 485 include $(BUILD_STATIC_LIBRARY) 486