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 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp 16 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_CPP_EXTENSION := .cc 23 LOCAL_GENERATED_SOURCES := 24 25 GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27 LOCAL_SRC_FILES := \ 28 base/i18n/bidi_line_iterator.cc \ 29 base/i18n/break_iterator.cc \ 30 base/i18n/char_iterator.cc \ 31 base/i18n/case_conversion.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/string_compare.cc \ 40 base/i18n/string_search.cc \ 41 base/i18n/time_formatting.cc \ 42 base/i18n/timezone.cc 43 44 45 # Flags passed to both C and C++ files. 46 MY_CFLAGS_Debug := \ 47 --param=ssp-buffer-size=4 \ 48 -Werror \ 49 -fno-exceptions \ 50 -fno-strict-aliasing \ 51 -Wall \ 52 -Wno-unused-parameter \ 53 -Wno-missing-field-initializers \ 54 -fvisibility=hidden \ 55 -pipe \ 56 -fPIC \ 57 -m32 \ 58 -mmmx \ 59 -march=pentium4 \ 60 -msse2 \ 61 -mfpmath=sse \ 62 -fuse-ld=gold \ 63 -ffunction-sections \ 64 -funwind-tables \ 65 -g \ 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 -fno-stack-protector \ 74 -Os \ 75 -g \ 76 -fomit-frame-pointer \ 77 -fdata-sections \ 78 -ffunction-sections 79 80 MY_DEFS_Debug := \ 81 '-DV8_DEPRECATION_WARNINGS' \ 82 '-D_FILE_OFFSET_BITS=64' \ 83 '-DNO_TCMALLOC' \ 84 '-DDISABLE_NACL' \ 85 '-DCHROMIUM_BUILD' \ 86 '-DUSE_LIBJPEG_TURBO=1' \ 87 '-DUSE_PROPRIETARY_CODECS' \ 88 '-DENABLE_CONFIGURATION_POLICY' \ 89 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 90 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 91 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 92 '-DUSE_OPENSSL=1' \ 93 '-DENABLE_EGLIMAGE=1' \ 94 '-DCLD_VERSION=1' \ 95 '-DENABLE_PRINTING=1' \ 96 '-DENABLE_MANAGED_USERS=1' \ 97 '-DBASE_I18N_IMPLEMENTATION' \ 98 '-DU_USING_ICU_NAMESPACE=0' \ 99 '-D__STDC_CONSTANT_MACROS' \ 100 '-D__STDC_FORMAT_MACROS' \ 101 '-DANDROID' \ 102 '-D__GNU_SOURCE=1' \ 103 '-DUSE_STLPORT=1' \ 104 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 105 '-DCHROME_BUILD_ID=""' \ 106 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 107 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 108 '-D_DEBUG' 109 110 111 # Include paths placed before CFLAGS/CPPFLAGS 112 LOCAL_C_INCLUDES_Debug := \ 113 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 114 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 115 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 116 $(LOCAL_PATH) \ 117 $(PWD)/external/icu4c/common \ 118 $(PWD)/external/icu4c/i18n \ 119 $(PWD)/frameworks/wilhelm/include \ 120 $(PWD)/bionic \ 121 $(PWD)/external/stlport/stlport 122 123 124 # Flags passed to only C++ (and not C) files. 125 LOCAL_CPPFLAGS_Debug := \ 126 -fno-rtti \ 127 -fno-threadsafe-statics \ 128 -fvisibility-inlines-hidden \ 129 -Wsign-compare \ 130 -Wno-error=c++0x-compat \ 131 -Wno-non-virtual-dtor \ 132 -Wno-sign-promo 133 134 135 # Flags passed to both C and C++ files. 136 MY_CFLAGS_Release := \ 137 --param=ssp-buffer-size=4 \ 138 -Werror \ 139 -fno-exceptions \ 140 -fno-strict-aliasing \ 141 -Wall \ 142 -Wno-unused-parameter \ 143 -Wno-missing-field-initializers \ 144 -fvisibility=hidden \ 145 -pipe \ 146 -fPIC \ 147 -m32 \ 148 -mmmx \ 149 -march=pentium4 \ 150 -msse2 \ 151 -mfpmath=sse \ 152 -fuse-ld=gold \ 153 -ffunction-sections \ 154 -funwind-tables \ 155 -g \ 156 -fno-short-enums \ 157 -finline-limit=64 \ 158 -Wa,--noexecstack \ 159 -U_FORTIFY_SOURCE \ 160 -Wno-extra \ 161 -Wno-ignored-qualifiers \ 162 -Wno-type-limits \ 163 -fno-stack-protector \ 164 -Os \ 165 -fno-ident \ 166 -fdata-sections \ 167 -ffunction-sections \ 168 -fomit-frame-pointer \ 169 -fno-unwind-tables \ 170 -fno-asynchronous-unwind-tables 171 172 MY_DEFS_Release := \ 173 '-DV8_DEPRECATION_WARNINGS' \ 174 '-D_FILE_OFFSET_BITS=64' \ 175 '-DNO_TCMALLOC' \ 176 '-DDISABLE_NACL' \ 177 '-DCHROMIUM_BUILD' \ 178 '-DUSE_LIBJPEG_TURBO=1' \ 179 '-DUSE_PROPRIETARY_CODECS' \ 180 '-DENABLE_CONFIGURATION_POLICY' \ 181 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 182 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 183 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 184 '-DUSE_OPENSSL=1' \ 185 '-DENABLE_EGLIMAGE=1' \ 186 '-DCLD_VERSION=1' \ 187 '-DENABLE_PRINTING=1' \ 188 '-DENABLE_MANAGED_USERS=1' \ 189 '-DBASE_I18N_IMPLEMENTATION' \ 190 '-DU_USING_ICU_NAMESPACE=0' \ 191 '-D__STDC_CONSTANT_MACROS' \ 192 '-D__STDC_FORMAT_MACROS' \ 193 '-DANDROID' \ 194 '-D__GNU_SOURCE=1' \ 195 '-DUSE_STLPORT=1' \ 196 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 197 '-DCHROME_BUILD_ID=""' \ 198 '-DNDEBUG' \ 199 '-DNVALGRIND' \ 200 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 201 '-D_FORTIFY_SOURCE=2' 202 203 204 # Include paths placed before CFLAGS/CPPFLAGS 205 LOCAL_C_INCLUDES_Release := \ 206 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 207 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 208 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 209 $(LOCAL_PATH) \ 210 $(PWD)/external/icu4c/common \ 211 $(PWD)/external/icu4c/i18n \ 212 $(PWD)/frameworks/wilhelm/include \ 213 $(PWD)/bionic \ 214 $(PWD)/external/stlport/stlport 215 216 217 # Flags passed to only C++ (and not C) files. 218 LOCAL_CPPFLAGS_Release := \ 219 -fno-rtti \ 220 -fno-threadsafe-statics \ 221 -fvisibility-inlines-hidden \ 222 -Wsign-compare \ 223 -Wno-error=c++0x-compat \ 224 -Wno-non-virtual-dtor \ 225 -Wno-sign-promo 226 227 228 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 229 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 230 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 231 ### Rules for final target. 232 233 LOCAL_LDFLAGS_Debug := \ 234 -Wl,-z,now \ 235 -Wl,-z,relro \ 236 -Wl,-z,noexecstack \ 237 -fPIC \ 238 -m32 \ 239 -fuse-ld=gold \ 240 -nostdlib \ 241 -Wl,--no-undefined \ 242 -Wl,--exclude-libs=ALL \ 243 -Wl,--fatal-warnings \ 244 -Wl,--gc-sections \ 245 -Wl,--warn-shared-textrel \ 246 -Wl,-O1 \ 247 -Wl,--as-needed 248 249 250 LOCAL_LDFLAGS_Release := \ 251 -Wl,-z,now \ 252 -Wl,-z,relro \ 253 -Wl,-z,noexecstack \ 254 -fPIC \ 255 -m32 \ 256 -fuse-ld=gold \ 257 -nostdlib \ 258 -Wl,--no-undefined \ 259 -Wl,--exclude-libs=ALL \ 260 -Wl,-O1 \ 261 -Wl,--as-needed \ 262 -Wl,--gc-sections \ 263 -Wl,--fatal-warnings \ 264 -Wl,--warn-shared-textrel 265 266 267 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 268 269 LOCAL_STATIC_LIBRARIES := 270 271 # Enable grouping to fix circular references 272 LOCAL_GROUP_STATIC_LIBRARIES := true 273 274 LOCAL_SHARED_LIBRARIES := \ 275 libstlport \ 276 libdl 277 278 # Add target alias to "gyp_all_modules" target. 279 .PHONY: gyp_all_modules 280 gyp_all_modules: base_base_i18n_gyp 281 282 # Alias gyp target name. 283 .PHONY: base_i18n 284 base_i18n: base_base_i18n_gyp 285 286 include $(BUILD_STATIC_LIBRARY) 287