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 := base_base_i18n_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,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 18 GYP_GENERATED_OUTPUTS := 19 20 # Make sure our deps and generated files are built first. 21 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23 LOCAL_CPP_EXTENSION := .cc 24 LOCAL_GENERATED_SOURCES := 25 26 GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28 LOCAL_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. 49 MY_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 -msse2 \ 62 -mfpmath=sse \ 63 -mmmx \ 64 -m32 \ 65 -ffunction-sections \ 66 -funwind-tables \ 67 -g \ 68 -fno-short-enums \ 69 -finline-limit=64 \ 70 -Wa,--noexecstack \ 71 -U_FORTIFY_SOURCE \ 72 -Wno-extra \ 73 -Wno-ignored-qualifiers \ 74 -Wno-type-limits \ 75 -Wno-unused-but-set-variable \ 76 -fno-stack-protector \ 77 -Os \ 78 -g \ 79 -fdata-sections \ 80 -ffunction-sections \ 81 -fomit-frame-pointer \ 82 -funwind-tables 83 84 MY_DEFS_Debug := \ 85 '-DV8_DEPRECATION_WARNINGS' \ 86 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 87 '-D_FILE_OFFSET_BITS=64' \ 88 '-DNO_TCMALLOC' \ 89 '-DDISABLE_NACL' \ 90 '-DCHROMIUM_BUILD' \ 91 '-DUSE_LIBJPEG_TURBO=1' \ 92 '-DENABLE_WEBRTC=1' \ 93 '-DUSE_PROPRIETARY_CODECS' \ 94 '-DENABLE_BROWSER_CDMS' \ 95 '-DENABLE_CONFIGURATION_POLICY' \ 96 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 97 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 98 '-DENABLE_EGLIMAGE=1' \ 99 '-DCLD_VERSION=1' \ 100 '-DENABLE_PRINTING=1' \ 101 '-DENABLE_MANAGED_USERS=1' \ 102 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 103 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 104 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 105 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 106 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 107 '-DVIDEO_HOLE=1' \ 108 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 109 '-DU_USING_ICU_NAMESPACE=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 126 LOCAL_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)/shim_headers/ashmem/target \ 130 $(gyp_shared_intermediate_dir) \ 131 $(LOCAL_PATH) \ 132 $(PWD)/external/icu/icu4c/source/common \ 133 $(PWD)/external/icu/icu4c/source/i18n \ 134 $(PWD)/frameworks/wilhelm/include \ 135 $(PWD)/bionic \ 136 $(PWD)/external/stlport/stlport 137 138 139 # Flags passed to only C++ (and not C) files. 140 LOCAL_CPPFLAGS_Debug := \ 141 -fno-rtti \ 142 -fno-threadsafe-statics \ 143 -fvisibility-inlines-hidden \ 144 -Wsign-compare \ 145 -Wno-non-virtual-dtor \ 146 -Wno-sign-promo 147 148 149 LOCAL_FDO_SUPPORT_Debug := false 150 151 # Flags passed to both C and C++ files. 152 MY_CFLAGS_Release := \ 153 --param=ssp-buffer-size=4 \ 154 -Werror \ 155 -fno-exceptions \ 156 -fno-strict-aliasing \ 157 -Wall \ 158 -Wno-unused-parameter \ 159 -Wno-missing-field-initializers \ 160 -fvisibility=hidden \ 161 -pipe \ 162 -fPIC \ 163 -Wno-unused-local-typedefs \ 164 -msse2 \ 165 -mfpmath=sse \ 166 -mmmx \ 167 -m32 \ 168 -ffunction-sections \ 169 -funwind-tables \ 170 -g \ 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-stack-protector \ 180 -Os \ 181 -fno-ident \ 182 -fdata-sections \ 183 -ffunction-sections \ 184 -fomit-frame-pointer \ 185 -funwind-tables 186 187 MY_DEFS_Release := \ 188 '-DV8_DEPRECATION_WARNINGS' \ 189 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 190 '-D_FILE_OFFSET_BITS=64' \ 191 '-DNO_TCMALLOC' \ 192 '-DDISABLE_NACL' \ 193 '-DCHROMIUM_BUILD' \ 194 '-DUSE_LIBJPEG_TURBO=1' \ 195 '-DENABLE_WEBRTC=1' \ 196 '-DUSE_PROPRIETARY_CODECS' \ 197 '-DENABLE_BROWSER_CDMS' \ 198 '-DENABLE_CONFIGURATION_POLICY' \ 199 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 200 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 201 '-DENABLE_EGLIMAGE=1' \ 202 '-DCLD_VERSION=1' \ 203 '-DENABLE_PRINTING=1' \ 204 '-DENABLE_MANAGED_USERS=1' \ 205 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 206 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 207 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 208 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 209 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 210 '-DVIDEO_HOLE=1' \ 211 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 212 '-DU_USING_ICU_NAMESPACE=0' \ 213 '-DUSE_OPENSSL=1' \ 214 '-DUSE_OPENSSL_CERTS=1' \ 215 '-D__STDC_CONSTANT_MACROS' \ 216 '-D__STDC_FORMAT_MACROS' \ 217 '-DBASE_I18N_IMPLEMENTATION' \ 218 '-DANDROID' \ 219 '-D__GNU_SOURCE=1' \ 220 '-DUSE_STLPORT=1' \ 221 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 222 '-DCHROME_BUILD_ID=""' \ 223 '-DNDEBUG' \ 224 '-DNVALGRIND' \ 225 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 226 '-D_FORTIFY_SOURCE=2' 227 228 229 # Include paths placed before CFLAGS/CPPFLAGS 230 LOCAL_C_INCLUDES_Release := \ 231 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 232 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 233 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/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. 244 LOCAL_CPPFLAGS_Release := \ 245 -fno-rtti \ 246 -fno-threadsafe-statics \ 247 -fvisibility-inlines-hidden \ 248 -Wsign-compare \ 249 -Wno-non-virtual-dtor \ 250 -Wno-sign-promo 251 252 253 LOCAL_FDO_SUPPORT_Release := false 254 255 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 256 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 257 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 258 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 259 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 260 ### Rules for final target. 261 262 LOCAL_LDFLAGS_Debug := \ 263 -Wl,-z,now \ 264 -Wl,-z,relro \ 265 -Wl,--fatal-warnings \ 266 -Wl,-z,noexecstack \ 267 -fPIC \ 268 -m32 \ 269 -fuse-ld=gold \ 270 -nostdlib \ 271 -Wl,--no-undefined \ 272 -Wl,--exclude-libs=ALL \ 273 -Wl,--warn-shared-textrel \ 274 -Wl,-O1 \ 275 -Wl,--as-needed 276 277 278 LOCAL_LDFLAGS_Release := \ 279 -Wl,-z,now \ 280 -Wl,-z,relro \ 281 -Wl,--fatal-warnings \ 282 -Wl,-z,noexecstack \ 283 -fPIC \ 284 -m32 \ 285 -fuse-ld=gold \ 286 -nostdlib \ 287 -Wl,--no-undefined \ 288 -Wl,--exclude-libs=ALL \ 289 -Wl,-O1 \ 290 -Wl,--as-needed \ 291 -Wl,--gc-sections \ 292 -Wl,--warn-shared-textrel 293 294 295 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 296 297 LOCAL_STATIC_LIBRARIES := 298 299 # Enable grouping to fix circular references 300 LOCAL_GROUP_STATIC_LIBRARIES := true 301 302 LOCAL_SHARED_LIBRARIES := \ 303 libstlport \ 304 libdl 305 306 # Add target alias to "gyp_all_modules" target. 307 .PHONY: gyp_all_modules 308 gyp_all_modules: base_base_i18n_gyp 309 310 # Alias gyp target name. 311 .PHONY: base_i18n 312 base_i18n: base_base_i18n_gyp 313 314 include $(BUILD_STATIC_LIBRARY) 315