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 	-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 	-m64 \
    107 	-march=x86-64 \
    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-non-virtual-dtor \
    243 	-Wno-sign-promo
    244 
    245 
    246 LOCAL_FDO_SUPPORT_Debug := false
    247 
    248 # Flags passed to both C and C++ files.
    249 MY_CFLAGS_Release := \
    250 	-fstack-protector \
    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 	-m64 \
    263 	-march=x86-64 \
    264 	-ffunction-sections \
    265 	-funwind-tables \
    266 	-g \
    267 	-fstack-protector \
    268 	-fno-short-enums \
    269 	-finline-limit=64 \
    270 	-Wa,--noexecstack \
    271 	-U_FORTIFY_SOURCE \
    272 	-Wno-extra \
    273 	-Wno-ignored-qualifiers \
    274 	-Wno-type-limits \
    275 	-Wno-unused-but-set-variable \
    276 	-Os \
    277 	-fno-ident \
    278 	-fdata-sections \
    279 	-ffunction-sections \
    280 	-fomit-frame-pointer \
    281 	-funwind-tables
    282 
    283 MY_DEFS_Release := \
    284 	'-DV8_DEPRECATION_WARNINGS' \
    285 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    286 	'-D_FILE_OFFSET_BITS=64' \
    287 	'-DNO_TCMALLOC' \
    288 	'-DDISABLE_NACL' \
    289 	'-DCHROMIUM_BUILD' \
    290 	'-DUSE_LIBJPEG_TURBO=1' \
    291 	'-DENABLE_WEBRTC=1' \
    292 	'-DUSE_PROPRIETARY_CODECS' \
    293 	'-DENABLE_BROWSER_CDMS' \
    294 	'-DENABLE_CONFIGURATION_POLICY' \
    295 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    296 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    297 	'-DENABLE_EGLIMAGE=1' \
    298 	'-DCLD_VERSION=1' \
    299 	'-DENABLE_PRINTING=1' \
    300 	'-DENABLE_MANAGED_USERS=1' \
    301 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    302 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    303 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    304 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    305 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    306 	'-DVIDEO_HOLE=1' \
    307 	'-DMOJO_USE_SYSTEM_IMPL' \
    308 	'-DLIBPEERCONNECTION_LIB=1' \
    309 	'-DMEDIA_DISABLE_LIBVPX' \
    310 	'-DSK_ENABLE_INST_COUNT=0' \
    311 	'-DSK_SUPPORT_GPU=1' \
    312 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    313 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    314 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    315 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    316 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    317 	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
    318 	'-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \
    319 	'-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \
    320 	'-DSK_SUPPORT_LEGACY_N32_NAME' \
    321 	'-DSK_SUPPORT_LEGACY_SETCONFIG' \
    322 	'-DSK_IGNORE_ETC1_SUPPORT' \
    323 	'-DSK_IGNORE_GPU_DITHER' \
    324 	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
    325 	'-DSK_BUILD_FOR_ANDROID' \
    326 	'-DSK_USE_POSIX_THREADS' \
    327 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    328 	'-DU_USING_ICU_NAMESPACE=0' \
    329 	'-DCHROME_PNG_WRITE_SUPPORT' \
    330 	'-DPNG_USER_CONFIG' \
    331 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    332 	'-DUSE_SYSTEM_LIBJPEG' \
    333 	'-DMESA_EGL_NO_X11_HEADERS' \
    334 	'-DUSE_OPENSSL=1' \
    335 	'-DUSE_OPENSSL_CERTS=1' \
    336 	'-D__STDC_CONSTANT_MACROS' \
    337 	'-D__STDC_FORMAT_MACROS' \
    338 	'-DANDROID' \
    339 	'-D__GNU_SOURCE=1' \
    340 	'-DUSE_STLPORT=1' \
    341 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    342 	'-DCHROME_BUILD_ID=""' \
    343 	'-DNDEBUG' \
    344 	'-DNVALGRIND' \
    345 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    346 	'-D_FORTIFY_SOURCE=2'
    347 
    348 
    349 # Include paths placed before CFLAGS/CPPFLAGS
    350 LOCAL_C_INCLUDES_Release := \
    351 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    352 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    353 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    354 	$(gyp_shared_intermediate_dir) \
    355 	$(LOCAL_PATH) \
    356 	$(LOCAL_PATH)/skia/config \
    357 	$(gyp_shared_intermediate_dir)/ui/ui_resources \
    358 	$(LOCAL_PATH)/third_party/khronos \
    359 	$(LOCAL_PATH)/gpu \
    360 	$(LOCAL_PATH)/third_party/WebKit/Source \
    361 	$(LOCAL_PATH)/third_party/WebKit \
    362 	$(LOCAL_PATH)/third_party/skia/src/core \
    363 	$(LOCAL_PATH)/third_party/skia/include/core \
    364 	$(LOCAL_PATH)/third_party/skia/include/effects \
    365 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    366 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    367 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    368 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    369 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    370 	$(LOCAL_PATH)/third_party/skia/include/ports \
    371 	$(LOCAL_PATH)/third_party/skia/include/utils \
    372 	$(LOCAL_PATH)/skia/ext \
    373 	$(LOCAL_PATH)/third_party/WebKit \
    374 	$(PWD)/external/icu/icu4c/source/common \
    375 	$(PWD)/external/icu/icu4c/source/i18n \
    376 	$(LOCAL_PATH)/third_party/npapi \
    377 	$(LOCAL_PATH)/third_party/npapi/bindings \
    378 	$(LOCAL_PATH)/v8/include \
    379 	$(LOCAL_PATH)/third_party/libpng \
    380 	$(LOCAL_PATH)/third_party/zlib \
    381 	$(LOCAL_PATH)/third_party/libwebp \
    382 	$(LOCAL_PATH)/third_party/ots/include \
    383 	$(LOCAL_PATH)/third_party/qcms/src \
    384 	$(LOCAL_PATH)/third_party/iccjpeg \
    385 	$(PWD)/external/jpeg \
    386 	$(gyp_shared_intermediate_dir)/ui/gl \
    387 	$(LOCAL_PATH)/third_party/mesa/src/include \
    388 	$(PWD)/frameworks/wilhelm/include \
    389 	$(PWD)/bionic \
    390 	$(PWD)/external/stlport/stlport
    391 
    392 
    393 # Flags passed to only C++ (and not C) files.
    394 LOCAL_CPPFLAGS_Release := \
    395 	-fno-rtti \
    396 	-fno-threadsafe-statics \
    397 	-fvisibility-inlines-hidden \
    398 	-Wsign-compare \
    399 	-Wno-non-virtual-dtor \
    400 	-Wno-sign-promo
    401 
    402 
    403 LOCAL_FDO_SUPPORT_Release := false
    404 
    405 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    406 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    407 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    408 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    409 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    410 ### Rules for final target.
    411 
    412 LOCAL_LDFLAGS_Debug := \
    413 	-Wl,-z,now \
    414 	-Wl,-z,relro \
    415 	-Wl,--fatal-warnings \
    416 	-Wl,-z,noexecstack \
    417 	-fPIC \
    418 	-m64 \
    419 	-fuse-ld=gold \
    420 	-nostdlib \
    421 	-Wl,--no-undefined \
    422 	-Wl,--exclude-libs=ALL \
    423 	-Wl,--warn-shared-textrel \
    424 	-Wl,-O1 \
    425 	-Wl,--as-needed
    426 
    427 
    428 LOCAL_LDFLAGS_Release := \
    429 	-Wl,-z,now \
    430 	-Wl,-z,relro \
    431 	-Wl,--fatal-warnings \
    432 	-Wl,-z,noexecstack \
    433 	-fPIC \
    434 	-m64 \
    435 	-fuse-ld=gold \
    436 	-nostdlib \
    437 	-Wl,--no-undefined \
    438 	-Wl,--exclude-libs=ALL \
    439 	-Wl,-O1 \
    440 	-Wl,--as-needed \
    441 	-Wl,--gc-sections \
    442 	-Wl,--warn-shared-textrel
    443 
    444 
    445 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    446 
    447 LOCAL_STATIC_LIBRARIES := \
    448 	ui_accessibility_ax_gen_gyp \
    449 	skia_skia_library_gyp \
    450 	ui_gl_gl_gyp
    451 
    452 # Enable grouping to fix circular references
    453 LOCAL_GROUP_STATIC_LIBRARIES := true
    454 
    455 LOCAL_SHARED_LIBRARIES := \
    456 	libstlport \
    457 	libdl
    458 
    459 # Add target alias to "gyp_all_modules" target.
    460 .PHONY: gyp_all_modules
    461 gyp_all_modules: android_webview_android_webview_common_gyp
    462 
    463 # Alias gyp target name.
    464 .PHONY: android_webview_common
    465 android_webview_common: android_webview_android_webview_common_gyp
    466 
    467 include $(BUILD_STATIC_LIBRARY)
    468