cityhash.target.darwin-arm64.mk revision 116680a4aac90f2aa7413d9095a592090648e557
12a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# This file is generated by gyp; do not edit. 22a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 32a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)include $(CLEAR_VARS) 42a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 52a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_MODULE_CLASS := STATIC_LIBRARIES 62a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_MODULE := third_party_smhasher_cityhash_gyp 72a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_MODULE_SUFFIX := .a 82a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_MODULE_TAGS := optional 92a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles) 13868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)# Make sure our deps are built first. 142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)GYP_TARGET_DEPENDENCIES := 152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 162a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)GYP_GENERATED_OUTPUTS := 172a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 182a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Make sure our deps and generated files are built first. 19f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 212a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_GENERATED_SOURCES := 222a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 232a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)GYP_COPIED_SOURCE_ORIGIN_DIRS := 24a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 25a02191e04bc25c4935f804f2c080ae28663d096dBen MurdochLOCAL_SRC_FILES := \ 261320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci third_party/smhasher/src/City.cpp 27a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 286e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) 296e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)# Flags passed to both C and C++ files. 306e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)MY_CFLAGS_Debug := \ 316e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) --param=ssp-buffer-size=4 \ 326e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -fno-exceptions \ 336e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -fno-strict-aliasing \ 346e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -Wno-unused-parameter \ 356e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -Wno-missing-field-initializers \ 366e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -fvisibility=hidden \ 376e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -pipe \ 386e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -fPIC \ 396e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -Wno-unused-local-typedefs \ 406e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -Wno-format \ 416e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -ffunction-sections \ 426e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -funwind-tables \ 436e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -g \ 446e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -fno-short-enums \ 456e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -finline-limit=64 \ 461320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci -Wa,--noexecstack \ 472a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -U_FORTIFY_SOURCE \ 485d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-extra \ 495f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) -Wno-ignored-qualifiers \ 505f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) -Wno-type-limits \ 515f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) -Wno-unused-but-set-variable \ 525f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) -Wno-address \ 535f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) -Wno-format-security \ 545d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-return-type \ 555d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Wno-sequence-point \ 565d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -Os \ 575d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -g \ 585d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fdata-sections \ 59a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles) -ffunction-sections \ 605d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -funwind-tables 615d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 625f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)MY_DEFS_Debug := \ 635f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DV8_DEPRECATION_WARNINGS' \ 645f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 655f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-D_FILE_OFFSET_BITS=64' \ 665f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DNO_TCMALLOC' \ 675f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DDISABLE_NACL' \ 685f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DCHROMIUM_BUILD' \ 695f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DUSE_LIBJPEG_TURBO=1' \ 705f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DENABLE_WEBRTC=1' \ 715f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DUSE_PROPRIETARY_CODECS' \ 725f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DENABLE_BROWSER_CDMS' \ 735f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DENABLE_CONFIGURATION_POLICY' \ 745f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 755f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 765f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DENABLE_EGLIMAGE=1' \ 775f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DCLD_VERSION=1' \ 785f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) '-DCLD_DATA_FROM_STATIC' \ 79a36e5920737c6adbddd3e43b760e5de8431db6e0Torne (Richard Coles) '-DENABLE_PRINTING=1' \ 802a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DENABLE_MANAGED_USERS=1' \ 812a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 822a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 832a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 842a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 852a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 861320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DVIDEO_HOLE=1' \ 871320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DUSE_OPENSSL=1' \ 881320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DUSE_OPENSSL_CERTS=1' \ 891320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci '-DANDROID' \ 90a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch '-D__GNU_SOURCE=1' \ 91a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch '-DUSE_STLPORT=1' \ 92a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 932a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DCHROME_BUILD_ID=""' \ 942a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 952a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 962a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-D_DEBUG' 972a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 982a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 992a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS 1002a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_C_INCLUDES_Debug := \ 101868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles) $(gyp_shared_intermediate_dir) \ 102868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles) $(PWD)/frameworks/wilhelm/include \ 1032a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) $(PWD)/bionic \ 1042a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) $(PWD)/external/stlport/stlport 1055d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1062a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 10768043e1e95eeb07d5cae7aca370b26518b0867d6Torne (Richard Coles)# Flags passed to only C++ (and not C) files. 10868043e1e95eeb07d5cae7aca370b26518b0867d6Torne (Richard Coles)LOCAL_CPPFLAGS_Debug := \ 1092a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fno-rtti \ 1102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fno-threadsafe-statics \ 1112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fvisibility-inlines-hidden \ 1122a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-deprecated \ 1132a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -std=gnu++11 \ 1142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-narrowing \ 1152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-literal-suffix \ 1162a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-non-virtual-dtor \ 1172a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-sign-promo \ 1182a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-non-virtual-dtor 1192a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 1202a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 1212a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Flags passed to both C and C++ files. 1222a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)MY_CFLAGS_Release := \ 1232a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) --param=ssp-buffer-size=4 \ 1242a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fno-exceptions \ 1252a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fno-strict-aliasing \ 1262a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-unused-parameter \ 1272a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-missing-field-initializers \ 1282a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fvisibility=hidden \ 1292a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -pipe \ 1302a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fPIC \ 1312a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-unused-local-typedefs \ 1322a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-format \ 1332a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -ffunction-sections \ 1342a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -funwind-tables \ 1352a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -g \ 1362a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fno-short-enums \ 1372a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -finline-limit=64 \ 1382a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wa,--noexecstack \ 1392a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -U_FORTIFY_SOURCE \ 1402a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-extra \ 1412a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-ignored-qualifiers \ 1422a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-type-limits \ 1432a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-unused-but-set-variable \ 1442a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-address \ 1452a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-format-security \ 1462a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-return-type \ 1472a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-sequence-point \ 1482a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Os \ 1496e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) -fno-ident \ 1505d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -fdata-sections \ 1515d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) -ffunction-sections \ 152cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) -funwind-tables 1535d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1545d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)MY_DEFS_Release := \ 1552a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DV8_DEPRECATION_WARNINGS' \ 1563551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 1575d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-D_FILE_OFFSET_BITS=64' \ 1583551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-DNO_TCMALLOC' \ 1595d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DDISABLE_NACL' \ 1605d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DCHROMIUM_BUILD' \ 1615d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_LIBJPEG_TURBO=1' \ 1623551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-DENABLE_WEBRTC=1' \ 1633551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-DUSE_PROPRIETARY_CODECS' \ 1643551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-DENABLE_BROWSER_CDMS' \ 1653551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-DENABLE_CONFIGURATION_POLICY' \ 1666e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 1676e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 1686e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DENABLE_EGLIMAGE=1' \ 1696e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DCLD_VERSION=1' \ 1706e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DCLD_DATA_FROM_STATIC' \ 1716e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DENABLE_PRINTING=1' \ 1726e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DENABLE_MANAGED_USERS=1' \ 1736e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 1746e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 1756e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 1766e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 1775d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 1786e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DVIDEO_HOLE=1' \ 1796e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-DUSE_OPENSSL=1' \ 1805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_OPENSSL_CERTS=1' \ 1815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DANDROID' \ 1826e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) '-D__GNU_SOURCE=1' \ 1835d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DUSE_STLPORT=1' \ 1843551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 1855d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) '-DCHROME_BUILD_ID=""' \ 1863551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-DNDEBUG' \ 1873551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) '-DNVALGRIND' \ 1882a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 1892a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 1902a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 1912a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Include paths placed before CFLAGS/CPPFLAGS 1922a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_C_INCLUDES_Release := \ 1932a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) $(gyp_shared_intermediate_dir) \ 194f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) $(PWD)/frameworks/wilhelm/include \ 19568043e1e95eeb07d5cae7aca370b26518b0867d6Torne (Richard Coles) $(PWD)/bionic \ 1965d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) $(PWD)/external/stlport/stlport 197eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch 198eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch 199eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch# Flags passed to only C++ (and not C) files. 20068043e1e95eeb07d5cae7aca370b26518b0867d6Torne (Richard Coles)LOCAL_CPPFLAGS_Release := \ 20168043e1e95eeb07d5cae7aca370b26518b0867d6Torne (Richard Coles) -fno-rtti \ 202eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch -fno-threadsafe-statics \ 203eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch -fvisibility-inlines-hidden \ 204eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch -Wno-deprecated \ 205eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch -std=gnu++11 \ 2062a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-narrowing \ 2072a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-literal-suffix \ 2082a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-non-virtual-dtor \ 2092a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-sign-promo \ 2102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wno-non-virtual-dtor 2112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 2122a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 2132a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 2142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 2151e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 216cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 2172a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)### Rules for final target. 2182a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 219f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)LOCAL_LDFLAGS_Debug := \ 220effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch -Wl,-z,now \ 221116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch -Wl,-z,relro \ 222effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch -Wl,--fatal-warnings \ 2232a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,-z,noexecstack \ 2242a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -fPIC \ 2252a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -nostdlib \ 2262a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--no-undefined \ 2272a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--exclude-libs=ALL \ 2282a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--warn-shared-textrel \ 2292a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,-O1 \ 2302a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--as-needed 2312a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 2321e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 233cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)LOCAL_LDFLAGS_Release := \ 2342a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,-z,now \ 2352a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,-z,relro \ 236f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) -Wl,--fatal-warnings \ 237effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch -Wl,-z,noexecstack \ 238effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch -fPIC \ 2392a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -nostdlib \ 2402a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--no-undefined \ 2412a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--exclude-libs=ALL \ 2422a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,-O1 \ 2432a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--as-needed \ 2442a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--gc-sections \ 2452a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -Wl,--warn-shared-textrel 2462a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 2472a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 2482a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 24968043e1e95eeb07d5cae7aca370b26518b0867d6Torne (Richard Coles) 25068043e1e95eeb07d5cae7aca370b26518b0867d6Torne (Richard Coles)LOCAL_STATIC_LIBRARIES := 2512a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 2522a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Enable grouping to fix circular references 2535d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)LOCAL_GROUP_STATIC_LIBRARIES := true 2541e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 255cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)LOCAL_SHARED_LIBRARIES := \ 2562a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) libstlport \ 257eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch libdl 258eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch 259eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch# Add target alias to "gyp_all_modules" target. 260eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch.PHONY: gyp_all_modules 261eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdochgyp_all_modules: third_party_smhasher_cityhash_gyp 262eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch 263eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch# Alias gyp target name. 264effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch.PHONY: cityhash 265effb81e5f8246d0db0270817048dc992db66e9fbBen Murdochcityhash: third_party_smhasher_cityhash_gyp 2663551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) 2672a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)include $(BUILD_STATIC_LIBRARY) 2682a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)