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 \ 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 -EL \ 107 -mhard-float \ 108 -ffunction-sections \ 109 -funwind-tables \ 110 -g \ 111 -fstack-protector \ 112 -fno-short-enums \ 113 -finline-limit=64 \ 114 -Wa,--noexecstack \ 115 -U_FORTIFY_SOURCE \ 116 -Wno-extra \ 117 -Wno-ignored-qualifiers \ 118 -Wno-type-limits \ 119 -Wno-unused-but-set-variable \ 120 -Os \ 121 -g \ 122 -fdata-sections \ 123 -ffunction-sections \ 124 -fomit-frame-pointer \ 125 -funwind-tables 126 127 MY_DEFS_Debug := \ 128 '-DV8_DEPRECATION_WARNINGS' \ 129 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 130 '-D_FILE_OFFSET_BITS=64' \ 131 '-DNO_TCMALLOC' \ 132 '-DDISABLE_NACL' \ 133 '-DCHROMIUM_BUILD' \ 134 '-DUSE_LIBJPEG_TURBO=1' \ 135 '-DENABLE_WEBRTC=1' \ 136 '-DUSE_PROPRIETARY_CODECS' \ 137 '-DENABLE_BROWSER_CDMS' \ 138 '-DENABLE_CONFIGURATION_POLICY' \ 139 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 140 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 141 '-DENABLE_EGLIMAGE=1' \ 142 '-DCLD_VERSION=1' \ 143 '-DENABLE_PRINTING=1' \ 144 '-DENABLE_MANAGED_USERS=1' \ 145 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 146 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 147 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 148 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 149 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 150 '-DVIDEO_HOLE=1' \ 151 '-DMOJO_USE_SYSTEM_IMPL' \ 152 '-DLIBPEERCONNECTION_LIB=1' \ 153 '-DMEDIA_DISABLE_LIBVPX' \ 154 '-DSK_ENABLE_INST_COUNT=0' \ 155 '-DSK_SUPPORT_GPU=1' \ 156 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 157 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 158 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 159 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 160 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 161 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 162 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 163 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 164 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 165 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 166 '-DSK_IGNORE_ETC1_SUPPORT' \ 167 '-DSK_IGNORE_GPU_DITHER' \ 168 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 169 '-DSK_BUILD_FOR_ANDROID' \ 170 '-DSK_USE_POSIX_THREADS' \ 171 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 172 '-DU_USING_ICU_NAMESPACE=0' \ 173 '-DCHROME_PNG_WRITE_SUPPORT' \ 174 '-DPNG_USER_CONFIG' \ 175 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 176 '-DUSE_SYSTEM_LIBJPEG' \ 177 '-DMESA_EGL_NO_X11_HEADERS' \ 178 '-DUSE_OPENSSL=1' \ 179 '-DUSE_OPENSSL_CERTS=1' \ 180 '-D__STDC_CONSTANT_MACROS' \ 181 '-D__STDC_FORMAT_MACROS' \ 182 '-DANDROID' \ 183 '-D__GNU_SOURCE=1' \ 184 '-DUSE_STLPORT=1' \ 185 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 186 '-DCHROME_BUILD_ID=""' \ 187 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 188 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 189 '-D_DEBUG' 190 191 192 # Include paths placed before CFLAGS/CPPFLAGS 193 LOCAL_C_INCLUDES_Debug := \ 194 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 195 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 196 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 197 $(gyp_shared_intermediate_dir) \ 198 $(LOCAL_PATH) \ 199 $(LOCAL_PATH)/skia/config \ 200 $(gyp_shared_intermediate_dir)/ui/ui_resources \ 201 $(LOCAL_PATH)/third_party/khronos \ 202 $(LOCAL_PATH)/gpu \ 203 $(LOCAL_PATH)/third_party/WebKit/Source \ 204 $(LOCAL_PATH)/third_party/WebKit \ 205 $(LOCAL_PATH)/third_party/skia/src/core \ 206 $(LOCAL_PATH)/third_party/skia/include/core \ 207 $(LOCAL_PATH)/third_party/skia/include/effects \ 208 $(LOCAL_PATH)/third_party/skia/include/pdf \ 209 $(LOCAL_PATH)/third_party/skia/include/gpu \ 210 $(LOCAL_PATH)/third_party/skia/include/lazy \ 211 $(LOCAL_PATH)/third_party/skia/include/pathops \ 212 $(LOCAL_PATH)/third_party/skia/include/pipe \ 213 $(LOCAL_PATH)/third_party/skia/include/ports \ 214 $(LOCAL_PATH)/third_party/skia/include/utils \ 215 $(LOCAL_PATH)/skia/ext \ 216 $(LOCAL_PATH)/third_party/WebKit \ 217 $(PWD)/external/icu/icu4c/source/common \ 218 $(PWD)/external/icu/icu4c/source/i18n \ 219 $(LOCAL_PATH)/third_party/npapi \ 220 $(LOCAL_PATH)/third_party/npapi/bindings \ 221 $(LOCAL_PATH)/v8/include \ 222 $(LOCAL_PATH)/third_party/libpng \ 223 $(LOCAL_PATH)/third_party/zlib \ 224 $(LOCAL_PATH)/third_party/libwebp \ 225 $(LOCAL_PATH)/third_party/ots/include \ 226 $(LOCAL_PATH)/third_party/qcms/src \ 227 $(LOCAL_PATH)/third_party/iccjpeg \ 228 $(PWD)/external/jpeg \ 229 $(gyp_shared_intermediate_dir)/ui/gl \ 230 $(LOCAL_PATH)/third_party/mesa/src/include \ 231 $(PWD)/frameworks/wilhelm/include \ 232 $(PWD)/bionic \ 233 $(PWD)/external/stlport/stlport 234 235 236 # Flags passed to only C++ (and not C) files. 237 LOCAL_CPPFLAGS_Debug := \ 238 -fno-rtti \ 239 -fno-threadsafe-statics \ 240 -fvisibility-inlines-hidden \ 241 -Wsign-compare \ 242 -Wno-uninitialized \ 243 -Wno-non-virtual-dtor \ 244 -Wno-sign-promo 245 246 247 LOCAL_FDO_SUPPORT_Debug := false 248 249 # Flags passed to both C and C++ files. 250 MY_CFLAGS_Release := \ 251 -fstack-protector \ 252 --param=ssp-buffer-size=4 \ 253 \ 254 -fno-exceptions \ 255 -fno-strict-aliasing \ 256 -Wall \ 257 -Wno-unused-parameter \ 258 -Wno-missing-field-initializers \ 259 -fvisibility=hidden \ 260 -pipe \ 261 -fPIC \ 262 -Wno-unused-local-typedefs \ 263 -EL \ 264 -mhard-float \ 265 -ffunction-sections \ 266 -funwind-tables \ 267 -g \ 268 -fstack-protector \ 269 -fno-short-enums \ 270 -finline-limit=64 \ 271 -Wa,--noexecstack \ 272 -U_FORTIFY_SOURCE \ 273 -Wno-extra \ 274 -Wno-ignored-qualifiers \ 275 -Wno-type-limits \ 276 -Wno-unused-but-set-variable \ 277 -Os \ 278 -fno-ident \ 279 -fdata-sections \ 280 -ffunction-sections \ 281 -fomit-frame-pointer \ 282 -funwind-tables 283 284 MY_DEFS_Release := \ 285 '-DV8_DEPRECATION_WARNINGS' \ 286 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 287 '-D_FILE_OFFSET_BITS=64' \ 288 '-DNO_TCMALLOC' \ 289 '-DDISABLE_NACL' \ 290 '-DCHROMIUM_BUILD' \ 291 '-DUSE_LIBJPEG_TURBO=1' \ 292 '-DENABLE_WEBRTC=1' \ 293 '-DUSE_PROPRIETARY_CODECS' \ 294 '-DENABLE_BROWSER_CDMS' \ 295 '-DENABLE_CONFIGURATION_POLICY' \ 296 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 297 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 298 '-DENABLE_EGLIMAGE=1' \ 299 '-DCLD_VERSION=1' \ 300 '-DENABLE_PRINTING=1' \ 301 '-DENABLE_MANAGED_USERS=1' \ 302 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 303 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 304 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 305 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 306 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 307 '-DVIDEO_HOLE=1' \ 308 '-DMOJO_USE_SYSTEM_IMPL' \ 309 '-DLIBPEERCONNECTION_LIB=1' \ 310 '-DMEDIA_DISABLE_LIBVPX' \ 311 '-DSK_ENABLE_INST_COUNT=0' \ 312 '-DSK_SUPPORT_GPU=1' \ 313 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 314 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 315 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 316 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 317 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 318 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 319 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 320 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 321 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 322 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 323 '-DSK_IGNORE_ETC1_SUPPORT' \ 324 '-DSK_IGNORE_GPU_DITHER' \ 325 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 326 '-DSK_BUILD_FOR_ANDROID' \ 327 '-DSK_USE_POSIX_THREADS' \ 328 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 329 '-DU_USING_ICU_NAMESPACE=0' \ 330 '-DCHROME_PNG_WRITE_SUPPORT' \ 331 '-DPNG_USER_CONFIG' \ 332 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 333 '-DUSE_SYSTEM_LIBJPEG' \ 334 '-DMESA_EGL_NO_X11_HEADERS' \ 335 '-DUSE_OPENSSL=1' \ 336 '-DUSE_OPENSSL_CERTS=1' \ 337 '-D__STDC_CONSTANT_MACROS' \ 338 '-D__STDC_FORMAT_MACROS' \ 339 '-DANDROID' \ 340 '-D__GNU_SOURCE=1' \ 341 '-DUSE_STLPORT=1' \ 342 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 343 '-DCHROME_BUILD_ID=""' \ 344 '-DNDEBUG' \ 345 '-DNVALGRIND' \ 346 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 347 '-D_FORTIFY_SOURCE=2' 348 349 350 # Include paths placed before CFLAGS/CPPFLAGS 351 LOCAL_C_INCLUDES_Release := \ 352 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 353 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 354 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 355 $(gyp_shared_intermediate_dir) \ 356 $(LOCAL_PATH) \ 357 $(LOCAL_PATH)/skia/config \ 358 $(gyp_shared_intermediate_dir)/ui/ui_resources \ 359 $(LOCAL_PATH)/third_party/khronos \ 360 $(LOCAL_PATH)/gpu \ 361 $(LOCAL_PATH)/third_party/WebKit/Source \ 362 $(LOCAL_PATH)/third_party/WebKit \ 363 $(LOCAL_PATH)/third_party/skia/src/core \ 364 $(LOCAL_PATH)/third_party/skia/include/core \ 365 $(LOCAL_PATH)/third_party/skia/include/effects \ 366 $(LOCAL_PATH)/third_party/skia/include/pdf \ 367 $(LOCAL_PATH)/third_party/skia/include/gpu \ 368 $(LOCAL_PATH)/third_party/skia/include/lazy \ 369 $(LOCAL_PATH)/third_party/skia/include/pathops \ 370 $(LOCAL_PATH)/third_party/skia/include/pipe \ 371 $(LOCAL_PATH)/third_party/skia/include/ports \ 372 $(LOCAL_PATH)/third_party/skia/include/utils \ 373 $(LOCAL_PATH)/skia/ext \ 374 $(LOCAL_PATH)/third_party/WebKit \ 375 $(PWD)/external/icu/icu4c/source/common \ 376 $(PWD)/external/icu/icu4c/source/i18n \ 377 $(LOCAL_PATH)/third_party/npapi \ 378 $(LOCAL_PATH)/third_party/npapi/bindings \ 379 $(LOCAL_PATH)/v8/include \ 380 $(LOCAL_PATH)/third_party/libpng \ 381 $(LOCAL_PATH)/third_party/zlib \ 382 $(LOCAL_PATH)/third_party/libwebp \ 383 $(LOCAL_PATH)/third_party/ots/include \ 384 $(LOCAL_PATH)/third_party/qcms/src \ 385 $(LOCAL_PATH)/third_party/iccjpeg \ 386 $(PWD)/external/jpeg \ 387 $(gyp_shared_intermediate_dir)/ui/gl \ 388 $(LOCAL_PATH)/third_party/mesa/src/include \ 389 $(PWD)/frameworks/wilhelm/include \ 390 $(PWD)/bionic \ 391 $(PWD)/external/stlport/stlport 392 393 394 # Flags passed to only C++ (and not C) files. 395 LOCAL_CPPFLAGS_Release := \ 396 -fno-rtti \ 397 -fno-threadsafe-statics \ 398 -fvisibility-inlines-hidden \ 399 -Wsign-compare \ 400 -Wno-uninitialized \ 401 -Wno-non-virtual-dtor \ 402 -Wno-sign-promo 403 404 405 LOCAL_FDO_SUPPORT_Release := false 406 407 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 408 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 409 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 410 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 411 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 412 ### Rules for final target. 413 414 LOCAL_LDFLAGS_Debug := \ 415 -Wl,-z,now \ 416 -Wl,-z,relro \ 417 -Wl,--fatal-warnings \ 418 -Wl,-z,noexecstack \ 419 -fPIC \ 420 -EL \ 421 -Wl,--no-keep-memory \ 422 -nostdlib \ 423 -Wl,--no-undefined \ 424 -Wl,--exclude-libs=ALL \ 425 -Wl,--warn-shared-textrel \ 426 -Wl,-O1 \ 427 -Wl,--as-needed 428 429 430 LOCAL_LDFLAGS_Release := \ 431 -Wl,-z,now \ 432 -Wl,-z,relro \ 433 -Wl,--fatal-warnings \ 434 -Wl,-z,noexecstack \ 435 -fPIC \ 436 -EL \ 437 -Wl,--no-keep-memory \ 438 -nostdlib \ 439 -Wl,--no-undefined \ 440 -Wl,--exclude-libs=ALL \ 441 -Wl,-O1 \ 442 -Wl,--as-needed \ 443 -Wl,--gc-sections \ 444 -Wl,--warn-shared-textrel 445 446 447 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 448 449 LOCAL_STATIC_LIBRARIES := \ 450 ui_accessibility_ax_gen_gyp \ 451 skia_skia_library_gyp \ 452 ui_gl_gl_gyp 453 454 # Enable grouping to fix circular references 455 LOCAL_GROUP_STATIC_LIBRARIES := true 456 457 LOCAL_SHARED_LIBRARIES := \ 458 libstlport \ 459 libdl 460 461 # Add target alias to "gyp_all_modules" target. 462 .PHONY: gyp_all_modules 463 gyp_all_modules: android_webview_android_webview_common_gyp 464 465 # Alias gyp target name. 466 .PHONY: android_webview_common 467 android_webview_common: android_webview_android_webview_common_gyp 468 469 include $(BUILD_STATIC_LIBRARY) 470