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