harfbuzz-ng.target.linux-mips.mk revision f8ee788a64d60abd8f2d742a5fdedde054ecd910
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_harfbuzz_ng_harfbuzz_ng_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_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 third_party/harfbuzz-ng/src/hb-blob.cc \ 29 third_party/harfbuzz-ng/src/hb-buffer.cc \ 30 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc \ 31 third_party/harfbuzz-ng/src/hb-common.cc \ 32 third_party/harfbuzz-ng/src/hb-face.cc \ 33 third_party/harfbuzz-ng/src/hb-fallback-shape.cc \ 34 third_party/harfbuzz-ng/src/hb-font.cc \ 35 third_party/harfbuzz-ng/src/hb-icu.cc \ 36 third_party/harfbuzz-ng/src/hb-ot-layout.cc \ 37 third_party/harfbuzz-ng/src/hb-ot-map.cc \ 38 third_party/harfbuzz-ng/src/hb-ot-shape.cc \ 39 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc \ 40 third_party/harfbuzz-ng/src/hb-ot-shape-complex-default.cc \ 41 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc \ 42 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hebrew.cc \ 43 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc \ 44 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-table.cc \ 45 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc \ 46 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc \ 47 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc \ 48 third_party/harfbuzz-ng/src/hb-ot-shape-complex-tibetan.cc \ 49 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc \ 50 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc \ 51 third_party/harfbuzz-ng/src/hb-ot-tag.cc \ 52 third_party/harfbuzz-ng/src/hb-set.cc \ 53 third_party/harfbuzz-ng/src/hb-shape.cc \ 54 third_party/harfbuzz-ng/src/hb-shape-plan.cc \ 55 third_party/harfbuzz-ng/src/hb-shaper.cc \ 56 third_party/harfbuzz-ng/src/hb-unicode.cc \ 57 third_party/harfbuzz-ng/src/hb-warning.cc 58 59 60# Flags passed to both C and C++ files. 61MY_CFLAGS_Debug := \ 62 -fstack-protector \ 63 --param=ssp-buffer-size=4 \ 64 \ 65 -fno-exceptions \ 66 -fno-strict-aliasing \ 67 -Wno-unused-parameter \ 68 -Wno-missing-field-initializers \ 69 -fvisibility=hidden \ 70 -pipe \ 71 -fPIC \ 72 -Wno-unused-local-typedefs \ 73 -Wno-format \ 74 -EL \ 75 -mhard-float \ 76 -ffunction-sections \ 77 -funwind-tables \ 78 -g \ 79 -fstack-protector \ 80 -fno-short-enums \ 81 -finline-limit=64 \ 82 -Wa,--noexecstack \ 83 -U_FORTIFY_SOURCE \ 84 -Wno-extra \ 85 -Wno-ignored-qualifiers \ 86 -Wno-type-limits \ 87 -Wno-unused-but-set-variable \ 88 -Wno-address \ 89 -Wno-format-security \ 90 -Wno-return-type \ 91 -Wno-sequence-point \ 92 -Os \ 93 -g \ 94 -fomit-frame-pointer \ 95 -fdata-sections \ 96 -ffunction-sections \ 97 -funwind-tables 98 99MY_DEFS_Debug := \ 100 '-DV8_DEPRECATION_WARNINGS' \ 101 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 102 '-D_FILE_OFFSET_BITS=64' \ 103 '-DNO_TCMALLOC' \ 104 '-DDISABLE_NACL' \ 105 '-DCHROMIUM_BUILD' \ 106 '-DUSE_LIBJPEG_TURBO=1' \ 107 '-DENABLE_WEBRTC=1' \ 108 '-DUSE_PROPRIETARY_CODECS' \ 109 '-DENABLE_BROWSER_CDMS' \ 110 '-DENABLE_CONFIGURATION_POLICY' \ 111 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 112 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 113 '-DENABLE_EGLIMAGE=1' \ 114 '-DCLD_VERSION=1' \ 115 '-DENABLE_PRINTING=1' \ 116 '-DENABLE_MANAGED_USERS=1' \ 117 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 118 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 119 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 120 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 121 '-DVIDEO_HOLE=1' \ 122 '-DHAVE_OT' \ 123 '-DHAVE_ICU' \ 124 '-DHAVE_ICU_BUILTIN' \ 125 '-DHB_NO_MT' \ 126 '-DU_USING_ICU_NAMESPACE=0' \ 127 '-DUSE_OPENSSL=1' \ 128 '-DUSE_OPENSSL_CERTS=1' \ 129 '-DANDROID' \ 130 '-D__GNU_SOURCE=1' \ 131 '-DUSE_STLPORT=1' \ 132 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 133 '-DCHROME_BUILD_ID=""' \ 134 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 135 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 136 '-D_DEBUG' 137 138 139# Include paths placed before CFLAGS/CPPFLAGS 140LOCAL_C_INCLUDES_Debug := \ 141 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 142 $(gyp_shared_intermediate_dir) \ 143 $(LOCAL_PATH)/third_party/harfbuzz-ng/src \ 144 $(PWD)/external/icu4c/common \ 145 $(PWD)/external/icu4c/i18n \ 146 $(PWD)/frameworks/wilhelm/include \ 147 $(PWD)/bionic \ 148 $(PWD)/external/stlport/stlport 149 150 151# Flags passed to only C++ (and not C) files. 152LOCAL_CPPFLAGS_Debug := \ 153 -fno-rtti \ 154 -fno-threadsafe-statics \ 155 -fvisibility-inlines-hidden \ 156 -Wno-deprecated \ 157 -Wno-uninitialized \ 158 -Wno-non-virtual-dtor \ 159 -Wno-sign-promo \ 160 -Wno-non-virtual-dtor 161 162 163# Flags passed to both C and C++ files. 164MY_CFLAGS_Release := \ 165 -fstack-protector \ 166 --param=ssp-buffer-size=4 \ 167 \ 168 -fno-exceptions \ 169 -fno-strict-aliasing \ 170 -Wno-unused-parameter \ 171 -Wno-missing-field-initializers \ 172 -fvisibility=hidden \ 173 -pipe \ 174 -fPIC \ 175 -Wno-unused-local-typedefs \ 176 -Wno-format \ 177 -EL \ 178 -mhard-float \ 179 -ffunction-sections \ 180 -funwind-tables \ 181 -g \ 182 -fstack-protector \ 183 -fno-short-enums \ 184 -finline-limit=64 \ 185 -Wa,--noexecstack \ 186 -U_FORTIFY_SOURCE \ 187 -Wno-extra \ 188 -Wno-ignored-qualifiers \ 189 -Wno-type-limits \ 190 -Wno-unused-but-set-variable \ 191 -Wno-address \ 192 -Wno-format-security \ 193 -Wno-return-type \ 194 -Wno-sequence-point \ 195 -Os \ 196 -fno-ident \ 197 -fdata-sections \ 198 -ffunction-sections \ 199 -fomit-frame-pointer \ 200 -funwind-tables 201 202MY_DEFS_Release := \ 203 '-DV8_DEPRECATION_WARNINGS' \ 204 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 205 '-D_FILE_OFFSET_BITS=64' \ 206 '-DNO_TCMALLOC' \ 207 '-DDISABLE_NACL' \ 208 '-DCHROMIUM_BUILD' \ 209 '-DUSE_LIBJPEG_TURBO=1' \ 210 '-DENABLE_WEBRTC=1' \ 211 '-DUSE_PROPRIETARY_CODECS' \ 212 '-DENABLE_BROWSER_CDMS' \ 213 '-DENABLE_CONFIGURATION_POLICY' \ 214 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 215 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 216 '-DENABLE_EGLIMAGE=1' \ 217 '-DCLD_VERSION=1' \ 218 '-DENABLE_PRINTING=1' \ 219 '-DENABLE_MANAGED_USERS=1' \ 220 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 221 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 222 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 223 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 224 '-DVIDEO_HOLE=1' \ 225 '-DHAVE_OT' \ 226 '-DHAVE_ICU' \ 227 '-DHAVE_ICU_BUILTIN' \ 228 '-DHB_NO_MT' \ 229 '-DU_USING_ICU_NAMESPACE=0' \ 230 '-DUSE_OPENSSL=1' \ 231 '-DUSE_OPENSSL_CERTS=1' \ 232 '-DANDROID' \ 233 '-D__GNU_SOURCE=1' \ 234 '-DUSE_STLPORT=1' \ 235 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 236 '-DCHROME_BUILD_ID=""' \ 237 '-DNDEBUG' \ 238 '-DNVALGRIND' \ 239 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 240 241 242# Include paths placed before CFLAGS/CPPFLAGS 243LOCAL_C_INCLUDES_Release := \ 244 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 245 $(gyp_shared_intermediate_dir) \ 246 $(LOCAL_PATH)/third_party/harfbuzz-ng/src \ 247 $(PWD)/external/icu4c/common \ 248 $(PWD)/external/icu4c/i18n \ 249 $(PWD)/frameworks/wilhelm/include \ 250 $(PWD)/bionic \ 251 $(PWD)/external/stlport/stlport 252 253 254# Flags passed to only C++ (and not C) files. 255LOCAL_CPPFLAGS_Release := \ 256 -fno-rtti \ 257 -fno-threadsafe-statics \ 258 -fvisibility-inlines-hidden \ 259 -Wno-deprecated \ 260 -Wno-uninitialized \ 261 -Wno-non-virtual-dtor \ 262 -Wno-sign-promo \ 263 -Wno-non-virtual-dtor 264 265 266LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 267LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 268LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 269LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 270### Rules for final target. 271 272LOCAL_LDFLAGS_Debug := \ 273 -Wl,-z,now \ 274 -Wl,-z,relro \ 275 -Wl,--fatal-warnings \ 276 -Wl,-z,noexecstack \ 277 -fPIC \ 278 -EL \ 279 -Wl,--no-keep-memory \ 280 -nostdlib \ 281 -Wl,--no-undefined \ 282 -Wl,--exclude-libs=ALL \ 283 -Wl,--warn-shared-textrel \ 284 -Wl,-O1 \ 285 -Wl,--as-needed 286 287 288LOCAL_LDFLAGS_Release := \ 289 -Wl,-z,now \ 290 -Wl,-z,relro \ 291 -Wl,--fatal-warnings \ 292 -Wl,-z,noexecstack \ 293 -fPIC \ 294 -EL \ 295 -Wl,--no-keep-memory \ 296 -nostdlib \ 297 -Wl,--no-undefined \ 298 -Wl,--exclude-libs=ALL \ 299 -Wl,-O1 \ 300 -Wl,--as-needed \ 301 -Wl,--gc-sections \ 302 -Wl,--warn-shared-textrel 303 304 305LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 306 307LOCAL_STATIC_LIBRARIES := 308 309# Enable grouping to fix circular references 310LOCAL_GROUP_STATIC_LIBRARIES := true 311 312LOCAL_SHARED_LIBRARIES := \ 313 libstlport \ 314 libdl 315 316# Add target alias to "gyp_all_modules" target. 317.PHONY: gyp_all_modules 318gyp_all_modules: third_party_harfbuzz_ng_harfbuzz_ng_gyp 319 320# Alias gyp target name. 321.PHONY: harfbuzz-ng 322harfbuzz-ng: third_party_harfbuzz_ng_harfbuzz_ng_gyp 323 324include $(BUILD_STATIC_LIBRARY) 325