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 --param=ssp-buffer-size=4 \ 95 -Werror \ 96 -fno-exceptions \ 97 -fno-strict-aliasing \ 98 -Wall \ 99 -Wno-unused-parameter \ 100 -Wno-missing-field-initializers \ 101 -fvisibility=hidden \ 102 -pipe \ 103 -fPIC \ 104 -Wno-unused-local-typedefs \ 105 -msse2 \ 106 -mfpmath=sse \ 107 -mmmx \ 108 -m32 \ 109 -ffunction-sections \ 110 -funwind-tables \ 111 -g \ 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 -fno-stack-protector \ 121 -Os \ 122 -g \ 123 -fdata-sections \ 124 -ffunction-sections \ 125 -fomit-frame-pointer \ 126 -funwind-tables 127 128 MY_DEFS_Debug := \ 129 '-DV8_DEPRECATION_WARNINGS' \ 130 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 131 '-D_FILE_OFFSET_BITS=64' \ 132 '-DNO_TCMALLOC' \ 133 '-DDISABLE_NACL' \ 134 '-DCHROMIUM_BUILD' \ 135 '-DUSE_LIBJPEG_TURBO=1' \ 136 '-DENABLE_WEBRTC=1' \ 137 '-DUSE_PROPRIETARY_CODECS' \ 138 '-DENABLE_BROWSER_CDMS' \ 139 '-DENABLE_CONFIGURATION_POLICY' \ 140 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 141 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 142 '-DENABLE_EGLIMAGE=1' \ 143 '-DCLD_VERSION=1' \ 144 '-DENABLE_PRINTING=1' \ 145 '-DENABLE_MANAGED_USERS=1' \ 146 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 147 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 148 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 149 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 150 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 151 '-DVIDEO_HOLE=1' \ 152 '-DMOJO_USE_SYSTEM_IMPL' \ 153 '-DLIBPEERCONNECTION_LIB=1' \ 154 '-DMEDIA_DISABLE_LIBVPX' \ 155 '-DSK_ENABLE_INST_COUNT=0' \ 156 '-DSK_SUPPORT_GPU=1' \ 157 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 158 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 159 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 160 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 161 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 162 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 163 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 164 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 165 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 166 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 167 '-DSK_IGNORE_ETC1_SUPPORT' \ 168 '-DSK_IGNORE_GPU_DITHER' \ 169 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 170 '-DSK_BUILD_FOR_ANDROID' \ 171 '-DSK_USE_POSIX_THREADS' \ 172 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 173 '-DU_USING_ICU_NAMESPACE=0' \ 174 '-DCHROME_PNG_WRITE_SUPPORT' \ 175 '-DPNG_USER_CONFIG' \ 176 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 177 '-DUSE_SYSTEM_LIBJPEG' \ 178 '-DMESA_EGL_NO_X11_HEADERS' \ 179 '-DUSE_OPENSSL=1' \ 180 '-DUSE_OPENSSL_CERTS=1' \ 181 '-D__STDC_CONSTANT_MACROS' \ 182 '-D__STDC_FORMAT_MACROS' \ 183 '-DANDROID' \ 184 '-D__GNU_SOURCE=1' \ 185 '-DUSE_STLPORT=1' \ 186 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 187 '-DCHROME_BUILD_ID=""' \ 188 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 189 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 190 '-D_DEBUG' 191 192 193 # Include paths placed before CFLAGS/CPPFLAGS 194 LOCAL_C_INCLUDES_Debug := \ 195 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 196 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 197 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 198 $(gyp_shared_intermediate_dir) \ 199 $(LOCAL_PATH) \ 200 $(LOCAL_PATH)/skia/config \ 201 $(gyp_shared_intermediate_dir)/ui/ui_resources \ 202 $(LOCAL_PATH)/third_party/khronos \ 203 $(LOCAL_PATH)/gpu \ 204 $(LOCAL_PATH)/third_party/WebKit/Source \ 205 $(LOCAL_PATH)/third_party/WebKit \ 206 $(LOCAL_PATH)/third_party/skia/src/core \ 207 $(LOCAL_PATH)/third_party/skia/include/core \ 208 $(LOCAL_PATH)/third_party/skia/include/effects \ 209 $(LOCAL_PATH)/third_party/skia/include/pdf \ 210 $(LOCAL_PATH)/third_party/skia/include/gpu \ 211 $(LOCAL_PATH)/third_party/skia/include/lazy \ 212 $(LOCAL_PATH)/third_party/skia/include/pathops \ 213 $(LOCAL_PATH)/third_party/skia/include/pipe \ 214 $(LOCAL_PATH)/third_party/skia/include/ports \ 215 $(LOCAL_PATH)/third_party/skia/include/utils \ 216 $(LOCAL_PATH)/skia/ext \ 217 $(LOCAL_PATH)/third_party/WebKit \ 218 $(PWD)/external/icu/icu4c/source/common \ 219 $(PWD)/external/icu/icu4c/source/i18n \ 220 $(LOCAL_PATH)/third_party/npapi \ 221 $(LOCAL_PATH)/third_party/npapi/bindings \ 222 $(LOCAL_PATH)/v8/include \ 223 $(LOCAL_PATH)/third_party/libpng \ 224 $(LOCAL_PATH)/third_party/zlib \ 225 $(LOCAL_PATH)/third_party/libwebp \ 226 $(LOCAL_PATH)/third_party/ots/include \ 227 $(LOCAL_PATH)/third_party/qcms/src \ 228 $(LOCAL_PATH)/third_party/iccjpeg \ 229 $(PWD)/external/jpeg \ 230 $(gyp_shared_intermediate_dir)/ui/gl \ 231 $(LOCAL_PATH)/third_party/mesa/src/include \ 232 $(PWD)/frameworks/wilhelm/include \ 233 $(PWD)/bionic \ 234 $(PWD)/external/stlport/stlport 235 236 237 # Flags passed to only C++ (and not C) files. 238 LOCAL_CPPFLAGS_Debug := \ 239 -fno-rtti \ 240 -fno-threadsafe-statics \ 241 -fvisibility-inlines-hidden \ 242 -Wsign-compare \ 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 --param=ssp-buffer-size=4 \ 252 -Werror \ 253 -fno-exceptions \ 254 -fno-strict-aliasing \ 255 -Wall \ 256 -Wno-unused-parameter \ 257 -Wno-missing-field-initializers \ 258 -fvisibility=hidden \ 259 -pipe \ 260 -fPIC \ 261 -Wno-unused-local-typedefs \ 262 -msse2 \ 263 -mfpmath=sse \ 264 -mmmx \ 265 -m32 \ 266 -ffunction-sections \ 267 -funwind-tables \ 268 -g \ 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 -fno-stack-protector \ 278 -Os \ 279 -fno-ident \ 280 -fdata-sections \ 281 -ffunction-sections \ 282 -fomit-frame-pointer \ 283 -funwind-tables 284 285 MY_DEFS_Release := \ 286 '-DV8_DEPRECATION_WARNINGS' \ 287 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 288 '-D_FILE_OFFSET_BITS=64' \ 289 '-DNO_TCMALLOC' \ 290 '-DDISABLE_NACL' \ 291 '-DCHROMIUM_BUILD' \ 292 '-DUSE_LIBJPEG_TURBO=1' \ 293 '-DENABLE_WEBRTC=1' \ 294 '-DUSE_PROPRIETARY_CODECS' \ 295 '-DENABLE_BROWSER_CDMS' \ 296 '-DENABLE_CONFIGURATION_POLICY' \ 297 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 298 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 299 '-DENABLE_EGLIMAGE=1' \ 300 '-DCLD_VERSION=1' \ 301 '-DENABLE_PRINTING=1' \ 302 '-DENABLE_MANAGED_USERS=1' \ 303 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 304 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 305 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 306 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 307 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 308 '-DVIDEO_HOLE=1' \ 309 '-DMOJO_USE_SYSTEM_IMPL' \ 310 '-DLIBPEERCONNECTION_LIB=1' \ 311 '-DMEDIA_DISABLE_LIBVPX' \ 312 '-DSK_ENABLE_INST_COUNT=0' \ 313 '-DSK_SUPPORT_GPU=1' \ 314 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 315 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 316 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 317 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 318 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 319 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 320 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 321 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 322 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 323 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 324 '-DSK_IGNORE_ETC1_SUPPORT' \ 325 '-DSK_IGNORE_GPU_DITHER' \ 326 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 327 '-DSK_BUILD_FOR_ANDROID' \ 328 '-DSK_USE_POSIX_THREADS' \ 329 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 330 '-DU_USING_ICU_NAMESPACE=0' \ 331 '-DCHROME_PNG_WRITE_SUPPORT' \ 332 '-DPNG_USER_CONFIG' \ 333 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 334 '-DUSE_SYSTEM_LIBJPEG' \ 335 '-DMESA_EGL_NO_X11_HEADERS' \ 336 '-DUSE_OPENSSL=1' \ 337 '-DUSE_OPENSSL_CERTS=1' \ 338 '-D__STDC_CONSTANT_MACROS' \ 339 '-D__STDC_FORMAT_MACROS' \ 340 '-DANDROID' \ 341 '-D__GNU_SOURCE=1' \ 342 '-DUSE_STLPORT=1' \ 343 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 344 '-DCHROME_BUILD_ID=""' \ 345 '-DNDEBUG' \ 346 '-DNVALGRIND' \ 347 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 348 '-D_FORTIFY_SOURCE=2' 349 350 351 # Include paths placed before CFLAGS/CPPFLAGS 352 LOCAL_C_INCLUDES_Release := \ 353 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 354 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 355 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 356 $(gyp_shared_intermediate_dir) \ 357 $(LOCAL_PATH) \ 358 $(LOCAL_PATH)/skia/config \ 359 $(gyp_shared_intermediate_dir)/ui/ui_resources \ 360 $(LOCAL_PATH)/third_party/khronos \ 361 $(LOCAL_PATH)/gpu \ 362 $(LOCAL_PATH)/third_party/WebKit/Source \ 363 $(LOCAL_PATH)/third_party/WebKit \ 364 $(LOCAL_PATH)/third_party/skia/src/core \ 365 $(LOCAL_PATH)/third_party/skia/include/core \ 366 $(LOCAL_PATH)/third_party/skia/include/effects \ 367 $(LOCAL_PATH)/third_party/skia/include/pdf \ 368 $(LOCAL_PATH)/third_party/skia/include/gpu \ 369 $(LOCAL_PATH)/third_party/skia/include/lazy \ 370 $(LOCAL_PATH)/third_party/skia/include/pathops \ 371 $(LOCAL_PATH)/third_party/skia/include/pipe \ 372 $(LOCAL_PATH)/third_party/skia/include/ports \ 373 $(LOCAL_PATH)/third_party/skia/include/utils \ 374 $(LOCAL_PATH)/skia/ext \ 375 $(LOCAL_PATH)/third_party/WebKit \ 376 $(PWD)/external/icu/icu4c/source/common \ 377 $(PWD)/external/icu/icu4c/source/i18n \ 378 $(LOCAL_PATH)/third_party/npapi \ 379 $(LOCAL_PATH)/third_party/npapi/bindings \ 380 $(LOCAL_PATH)/v8/include \ 381 $(LOCAL_PATH)/third_party/libpng \ 382 $(LOCAL_PATH)/third_party/zlib \ 383 $(LOCAL_PATH)/third_party/libwebp \ 384 $(LOCAL_PATH)/third_party/ots/include \ 385 $(LOCAL_PATH)/third_party/qcms/src \ 386 $(LOCAL_PATH)/third_party/iccjpeg \ 387 $(PWD)/external/jpeg \ 388 $(gyp_shared_intermediate_dir)/ui/gl \ 389 $(LOCAL_PATH)/third_party/mesa/src/include \ 390 $(PWD)/frameworks/wilhelm/include \ 391 $(PWD)/bionic \ 392 $(PWD)/external/stlport/stlport 393 394 395 # Flags passed to only C++ (and not C) files. 396 LOCAL_CPPFLAGS_Release := \ 397 -fno-rtti \ 398 -fno-threadsafe-statics \ 399 -fvisibility-inlines-hidden \ 400 -Wsign-compare \ 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 -m32 \ 421 -fuse-ld=gold \ 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 -m32 \ 437 -fuse-ld=gold \ 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