base_i18n.target.darwin-arm64.mk revision 6e8cce623b6e4fe0c9e4af605d675dd9d0338c38
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := base_base_i18n_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp 17 18GYP_GENERATED_OUTPUTS := 19 20# Make sure our deps and generated files are built first. 21LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23LOCAL_CPP_EXTENSION := .cc 24LOCAL_GENERATED_SOURCES := 25 26GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28LOCAL_SRC_FILES := \ 29 base/i18n/bidi_line_iterator.cc \ 30 base/i18n/break_iterator.cc \ 31 base/i18n/case_conversion.cc \ 32 base/i18n/char_iterator.cc \ 33 base/i18n/file_util_icu.cc \ 34 base/i18n/i18n_constants.cc \ 35 base/i18n/icu_encoding_detection.cc \ 36 base/i18n/icu_string_conversions.cc \ 37 base/i18n/icu_util.cc \ 38 base/i18n/number_formatting.cc \ 39 base/i18n/rtl.cc \ 40 base/i18n/streaming_utf8_validator.cc \ 41 base/i18n/string_compare.cc \ 42 base/i18n/string_search.cc \ 43 base/i18n/time_formatting.cc \ 44 base/i18n/timezone.cc \ 45 base/i18n/utf8_validator_tables.cc 46 47 48# Flags passed to both C and C++ files. 49MY_CFLAGS_Debug := \ 50 --param=ssp-buffer-size=4 \ 51 -Werror \ 52 -fno-exceptions \ 53 -fno-strict-aliasing \ 54 -Wall \ 55 -Wno-unused-parameter \ 56 -Wno-missing-field-initializers \ 57 -fvisibility=hidden \ 58 -pipe \ 59 -fPIC \ 60 -Wno-unused-local-typedefs \ 61 -ffunction-sections \ 62 -funwind-tables \ 63 -g \ 64 -fno-short-enums \ 65 -finline-limit=64 \ 66 -Wa,--noexecstack \ 67 -U_FORTIFY_SOURCE \ 68 -Wno-extra \ 69 -Wno-ignored-qualifiers \ 70 -Wno-type-limits \ 71 -Wno-unused-but-set-variable \ 72 -Os \ 73 -g \ 74 -fdata-sections \ 75 -ffunction-sections \ 76 -funwind-tables 77 78MY_DEFS_Debug := \ 79 '-DV8_DEPRECATION_WARNINGS' \ 80 '-D_FILE_OFFSET_BITS=64' \ 81 '-DNO_TCMALLOC' \ 82 '-DDISABLE_NACL' \ 83 '-DCHROMIUM_BUILD' \ 84 '-DUSE_LIBJPEG_TURBO=1' \ 85 '-DENABLE_WEBRTC=1' \ 86 '-DUSE_PROPRIETARY_CODECS' \ 87 '-DENABLE_BROWSER_CDMS' \ 88 '-DENABLE_CONFIGURATION_POLICY' \ 89 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 90 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 91 '-DENABLE_EGLIMAGE=1' \ 92 '-DCLD_VERSION=1' \ 93 '-DENABLE_PRINTING=1' \ 94 '-DENABLE_MANAGED_USERS=1' \ 95 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 96 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 97 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 98 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 99 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 100 '-DVIDEO_HOLE=1' \ 101 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 102 '-DU_USING_ICU_NAMESPACE=0' \ 103 '-DU_ENABLE_DYLOAD=0' \ 104 '-DUSE_OPENSSL=1' \ 105 '-DUSE_OPENSSL_CERTS=1' \ 106 '-D__STDC_CONSTANT_MACROS' \ 107 '-D__STDC_FORMAT_MACROS' \ 108 '-DBASE_I18N_IMPLEMENTATION' \ 109 '-DANDROID' \ 110 '-D__GNU_SOURCE=1' \ 111 '-DUSE_STLPORT=1' \ 112 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 113 '-DCHROME_BUILD_ID=""' \ 114 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 115 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 116 '-D_DEBUG' 117 118 119# Include paths placed before CFLAGS/CPPFLAGS 120LOCAL_C_INCLUDES_Debug := \ 121 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 122 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 123 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 124 $(gyp_shared_intermediate_dir) \ 125 $(LOCAL_PATH) \ 126 $(PWD)/external/icu/icu4c/source/common \ 127 $(PWD)/external/icu/icu4c/source/i18n \ 128 $(PWD)/frameworks/wilhelm/include \ 129 $(PWD)/bionic \ 130 $(PWD)/external/stlport/stlport 131 132 133# Flags passed to only C++ (and not C) files. 134LOCAL_CPPFLAGS_Debug := \ 135 -fno-rtti \ 136 -fno-threadsafe-statics \ 137 -fvisibility-inlines-hidden \ 138 -Wsign-compare \ 139 -std=gnu++11 \ 140 -Wno-narrowing \ 141 -Wno-literal-suffix \ 142 -Wno-non-virtual-dtor \ 143 -Wno-sign-promo 144 145 146# Flags passed to both C and C++ files. 147MY_CFLAGS_Release := \ 148 --param=ssp-buffer-size=4 \ 149 -Werror \ 150 -fno-exceptions \ 151 -fno-strict-aliasing \ 152 -Wall \ 153 -Wno-unused-parameter \ 154 -Wno-missing-field-initializers \ 155 -fvisibility=hidden \ 156 -pipe \ 157 -fPIC \ 158 -Wno-unused-local-typedefs \ 159 -ffunction-sections \ 160 -funwind-tables \ 161 -g \ 162 -fno-short-enums \ 163 -finline-limit=64 \ 164 -Wa,--noexecstack \ 165 -U_FORTIFY_SOURCE \ 166 -Wno-extra \ 167 -Wno-ignored-qualifiers \ 168 -Wno-type-limits \ 169 -Wno-unused-but-set-variable \ 170 -Os \ 171 -fno-ident \ 172 -fdata-sections \ 173 -ffunction-sections \ 174 -funwind-tables 175 176MY_DEFS_Release := \ 177 '-DV8_DEPRECATION_WARNINGS' \ 178 '-D_FILE_OFFSET_BITS=64' \ 179 '-DNO_TCMALLOC' \ 180 '-DDISABLE_NACL' \ 181 '-DCHROMIUM_BUILD' \ 182 '-DUSE_LIBJPEG_TURBO=1' \ 183 '-DENABLE_WEBRTC=1' \ 184 '-DUSE_PROPRIETARY_CODECS' \ 185 '-DENABLE_BROWSER_CDMS' \ 186 '-DENABLE_CONFIGURATION_POLICY' \ 187 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 188 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 189 '-DENABLE_EGLIMAGE=1' \ 190 '-DCLD_VERSION=1' \ 191 '-DENABLE_PRINTING=1' \ 192 '-DENABLE_MANAGED_USERS=1' \ 193 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 194 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 195 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 196 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 197 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 198 '-DVIDEO_HOLE=1' \ 199 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 200 '-DU_USING_ICU_NAMESPACE=0' \ 201 '-DU_ENABLE_DYLOAD=0' \ 202 '-DUSE_OPENSSL=1' \ 203 '-DUSE_OPENSSL_CERTS=1' \ 204 '-D__STDC_CONSTANT_MACROS' \ 205 '-D__STDC_FORMAT_MACROS' \ 206 '-DBASE_I18N_IMPLEMENTATION' \ 207 '-DANDROID' \ 208 '-D__GNU_SOURCE=1' \ 209 '-DUSE_STLPORT=1' \ 210 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 211 '-DCHROME_BUILD_ID=""' \ 212 '-DNDEBUG' \ 213 '-DNVALGRIND' \ 214 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 215 '-D_FORTIFY_SOURCE=2' 216 217 218# Include paths placed before CFLAGS/CPPFLAGS 219LOCAL_C_INCLUDES_Release := \ 220 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 221 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 222 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 223 $(gyp_shared_intermediate_dir) \ 224 $(LOCAL_PATH) \ 225 $(PWD)/external/icu/icu4c/source/common \ 226 $(PWD)/external/icu/icu4c/source/i18n \ 227 $(PWD)/frameworks/wilhelm/include \ 228 $(PWD)/bionic \ 229 $(PWD)/external/stlport/stlport 230 231 232# Flags passed to only C++ (and not C) files. 233LOCAL_CPPFLAGS_Release := \ 234 -fno-rtti \ 235 -fno-threadsafe-statics \ 236 -fvisibility-inlines-hidden \ 237 -Wsign-compare \ 238 -std=gnu++11 \ 239 -Wno-narrowing \ 240 -Wno-literal-suffix \ 241 -Wno-non-virtual-dtor \ 242 -Wno-sign-promo 243 244 245LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 246LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 247LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 248LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 249### Rules for final target. 250 251LOCAL_LDFLAGS_Debug := \ 252 -Wl,-z,now \ 253 -Wl,-z,relro \ 254 -Wl,--fatal-warnings \ 255 -Wl,-z,noexecstack \ 256 -fPIC \ 257 -nostdlib \ 258 -Wl,--no-undefined \ 259 -Wl,--exclude-libs=ALL \ 260 -Wl,--warn-shared-textrel \ 261 -Wl,-O1 \ 262 -Wl,--as-needed 263 264 265LOCAL_LDFLAGS_Release := \ 266 -Wl,-z,now \ 267 -Wl,-z,relro \ 268 -Wl,--fatal-warnings \ 269 -Wl,-z,noexecstack \ 270 -fPIC \ 271 -nostdlib \ 272 -Wl,--no-undefined \ 273 -Wl,--exclude-libs=ALL \ 274 -Wl,-O1 \ 275 -Wl,--as-needed \ 276 -Wl,--gc-sections \ 277 -Wl,--warn-shared-textrel 278 279 280LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 281 282LOCAL_STATIC_LIBRARIES := 283 284# Enable grouping to fix circular references 285LOCAL_GROUP_STATIC_LIBRARIES := true 286 287LOCAL_SHARED_LIBRARIES := \ 288 libstlport \ 289 libdl 290 291# Add target alias to "gyp_all_modules" target. 292.PHONY: gyp_all_modules 293gyp_all_modules: base_base_i18n_gyp 294 295# Alias gyp target name. 296.PHONY: base_i18n 297base_i18n: base_base_i18n_gyp 298 299include $(BUILD_STATIC_LIBRARY) 300