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