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