1c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# This file is generated by gyp; do not edit. 2c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 3c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochinclude $(CLEAR_VARS) 4c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 5c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_MODULE_CLASS := STATIC_LIBRARIES 65c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo LiuLOCAL_MODULE := third_party_zlib_zlib_gyp 7c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_MODULE_SUFFIX := .a 8c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochgyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochgyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 12c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Make sure our deps are built first. 13c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochGYP_TARGET_DEPENDENCIES := 14c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 15c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochGYP_GENERATED_OUTPUTS := 16c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 17c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Make sure our deps and generated files are built first. 18c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 20c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_GENERATED_SOURCES := 21c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 22c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochGYP_COPIED_SOURCE_ORIGIN_DIRS := 23c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 24c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_SRC_FILES := \ 255c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/adler32.c \ 265c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/compress.c \ 275c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/crc32.c \ 285c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/deflate.c \ 295c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/gzclose.c \ 305c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/gzlib.c \ 315c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/gzread.c \ 325c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/gzwrite.c \ 335c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/infback.c \ 345c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/inffast.c \ 355c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/inflate.c \ 365c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/inftrees.c \ 375c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/trees.c \ 385c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/uncompr.c \ 395c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu third_party/zlib/zutil.c 40c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 41c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 42c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Flags passed to both C and C++ files. 43c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochMY_CFLAGS_Debug := \ 44c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch --param=ssp-buffer-size=4 \ 45c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-strict-aliasing \ 46c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-unused-parameter \ 47c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-missing-field-initializers \ 48c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fvisibility=hidden \ 49c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -pipe \ 50c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fPIC \ 51c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-unused-local-typedefs \ 525c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-format \ 53c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -ffunction-sections \ 54c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -funwind-tables \ 55c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -g \ 56c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-short-enums \ 57c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -finline-limit=64 \ 58c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wa,--noexecstack \ 59c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -U_FORTIFY_SOURCE \ 60c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-extra \ 61c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-ignored-qualifiers \ 62c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-type-limits \ 63c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-unused-but-set-variable \ 645c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-address \ 655c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-format-security \ 665c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-return-type \ 675c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-sequence-point \ 68c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Os \ 69c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -g \ 701320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci -gdwarf-4 \ 71c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fdata-sections \ 72c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -ffunction-sections \ 73c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -funwind-tables 74c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 75c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochMY_DEFS_Debug := \ 76c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DV8_DEPRECATION_WARNINGS' \ 77c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-D_FILE_OFFSET_BITS=64' \ 78c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DNO_TCMALLOC' \ 79c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DDISABLE_NACL' \ 80c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DCHROMIUM_BUILD' \ 81c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_LIBJPEG_TURBO=1' \ 82c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_WEBRTC=1' \ 83c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_PROPRIETARY_CODECS' \ 84f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) '-DENABLE_BROWSER_CDMS' \ 85c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_CONFIGURATION_POLICY' \ 86c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 87c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 88c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_EGLIMAGE=1' \ 89c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DCLD_VERSION=1' \ 90c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_PRINTING=1' \ 91c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_MANAGED_USERS=1' \ 92cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 931320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 941320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 95cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 96cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 976d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 980de6073388f4e2780db8536178b129cd8f6ab386Torne (Richard Coles) '-DVIDEO_HOLE=1' \ 991320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 100c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_OPENSSL=1' \ 101c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_OPENSSL_CERTS=1' \ 102c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DANDROID' \ 103c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-D__GNU_SOURCE=1' \ 104c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_STLPORT=1' \ 105c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 106c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DCHROME_BUILD_ID=""' \ 107c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 108c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 109c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-D_DEBUG' 110c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 111c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 112c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Include paths placed before CFLAGS/CPPFLAGS 113c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_C_INCLUDES_Debug := \ 114f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) $(gyp_shared_intermediate_dir) \ 1155c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu $(LOCAL_PATH)/third_party/zlib \ 116c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch $(PWD)/frameworks/wilhelm/include \ 117c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch $(PWD)/bionic \ 118c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch $(PWD)/external/stlport/stlport 119c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 120c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 121c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Flags passed to only C++ (and not C) files. 122c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_CPPFLAGS_Debug := \ 1231320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci -fno-exceptions \ 124c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-rtti \ 125c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-threadsafe-statics \ 126c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fvisibility-inlines-hidden \ 1275c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-deprecated \ 128116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -std=gnu++11 \ 129116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wno-narrowing \ 130116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wno-literal-suffix \ 131c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-non-virtual-dtor \ 1325c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-sign-promo \ 1335c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-non-virtual-dtor 134c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 135c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 136c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Flags passed to both C and C++ files. 137c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochMY_CFLAGS_Release := \ 138c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch --param=ssp-buffer-size=4 \ 139c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-strict-aliasing \ 140c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-unused-parameter \ 141c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-missing-field-initializers \ 142c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fvisibility=hidden \ 143c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -pipe \ 144c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fPIC \ 145c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-unused-local-typedefs \ 1465c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-format \ 147c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -ffunction-sections \ 148c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -funwind-tables \ 149c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -g \ 150c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-short-enums \ 151c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -finline-limit=64 \ 152c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wa,--noexecstack \ 153c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -U_FORTIFY_SOURCE \ 154c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-extra \ 155c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-ignored-qualifiers \ 156c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-type-limits \ 157c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-unused-but-set-variable \ 1585c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-address \ 1595c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-format-security \ 1605c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-return-type \ 1615c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-sequence-point \ 162c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Os \ 163c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-ident \ 164c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fdata-sections \ 165c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -ffunction-sections \ 166c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -funwind-tables 167c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 168c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochMY_DEFS_Release := \ 169c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DV8_DEPRECATION_WARNINGS' \ 170c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-D_FILE_OFFSET_BITS=64' \ 171c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DNO_TCMALLOC' \ 172c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DDISABLE_NACL' \ 173c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DCHROMIUM_BUILD' \ 174c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_LIBJPEG_TURBO=1' \ 175c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_WEBRTC=1' \ 176c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_PROPRIETARY_CODECS' \ 177f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) '-DENABLE_BROWSER_CDMS' \ 178c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_CONFIGURATION_POLICY' \ 179c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 180c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 181c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_EGLIMAGE=1' \ 182c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DCLD_VERSION=1' \ 183c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_PRINTING=1' \ 184c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DENABLE_MANAGED_USERS=1' \ 185cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 1861320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 1871320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 188cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 189cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 1906d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 1910de6073388f4e2780db8536178b129cd8f6ab386Torne (Richard Coles) '-DVIDEO_HOLE=1' \ 1921320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 193c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_OPENSSL=1' \ 194c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_OPENSSL_CERTS=1' \ 195c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DANDROID' \ 196c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-D__GNU_SOURCE=1' \ 197c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DUSE_STLPORT=1' \ 198c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 199c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DCHROME_BUILD_ID=""' \ 200c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DNDEBUG' \ 201c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch '-DNVALGRIND' \ 2025c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 203c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 204c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 205c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Include paths placed before CFLAGS/CPPFLAGS 206c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_C_INCLUDES_Release := \ 207f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) $(gyp_shared_intermediate_dir) \ 2085c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu $(LOCAL_PATH)/third_party/zlib \ 209c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch $(PWD)/frameworks/wilhelm/include \ 210c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch $(PWD)/bionic \ 211c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch $(PWD)/external/stlport/stlport 212c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 213c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 214c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Flags passed to only C++ (and not C) files. 215c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_CPPFLAGS_Release := \ 2161320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci -fno-exceptions \ 217c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-rtti \ 218c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fno-threadsafe-statics \ 219c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -fvisibility-inlines-hidden \ 2205c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-deprecated \ 221116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -std=gnu++11 \ 222116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wno-narrowing \ 223116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wno-literal-suffix \ 224c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch -Wno-non-virtual-dtor \ 2255c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-sign-promo \ 2265c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu -Wno-non-virtual-dtor 227c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 228c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 229c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 230c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 231c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 232c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_ASFLAGS := $(LOCAL_CFLAGS) 233c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch### Rules for final target. 234c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 235c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_SHARED_LIBRARIES := \ 236c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch libstlport \ 237c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch libdl 238c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 239c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Add target alias to "gyp_all_modules" target. 240c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch.PHONY: gyp_all_modules 2415c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liugyp_all_modules: third_party_zlib_zlib_gyp 242c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 243c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch# Alias gyp target name. 2445c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu.PHONY: zlib 2455c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liuzlib: third_party_zlib_zlib_gyp 246c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch 247c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochinclude $(BUILD_STATIC_LIBRARY) 248