diff options
author | Android Chromium Automerger <chromium-automerger@android> | 2014-11-05 12:24:10 +0000 |
---|---|---|
committer | Android Chromium Automerger <chromium-automerger@android> | 2014-11-05 12:24:10 +0000 |
commit | 8727b1c2dcbf19b4f3dddd17fb93fc15cae94869 (patch) | |
tree | c6289853254121ff4f5ffe41e507dcbf49e9d2d8 | |
parent | 3ce81f3394e92e029b9b1a7e63814601eaa32537 (diff) | |
download | icu-8727b1c2dcbf19b4f3dddd17fb93fc15cae94869.tar.gz |
Update makefiles after merge of Chromium at 2d0da5605d75
This commit was generated by merge_from_chromium.py.
Change-Id: Ifdd63327552e4b3eca0ad44458575611447b47c3
-rw-r--r-- | icudata.host.darwin-mips64.mk | 204 | ||||
-rw-r--r-- | icudata.host.linux-mips64.mk | 204 | ||||
-rw-r--r-- | icudata.target.darwin-mips64.mk | 241 | ||||
-rw-r--r-- | icudata.target.linux-mips64.mk | 241 | ||||
-rw-r--r-- | icui18n.host.darwin-mips64.mk | 381 | ||||
-rw-r--r-- | icui18n.host.linux-mips64.mk | 381 | ||||
-rw-r--r-- | icui18n.target.darwin-mips64.mk | 410 | ||||
-rw-r--r-- | icui18n.target.linux-mips64.mk | 410 | ||||
-rw-r--r-- | icuuc.host.darwin-mips64.mk | 390 | ||||
-rw-r--r-- | icuuc.host.linux-mips64.mk | 390 | ||||
-rw-r--r-- | icuuc.target.darwin-mips64.mk | 419 | ||||
-rw-r--r-- | icuuc.target.linux-mips64.mk | 419 |
12 files changed, 4090 insertions, 0 deletions
diff --git a/icudata.host.darwin-mips64.mk b/icudata.host.darwin-mips64.mk new file mode 100644 index 0000000..9a5a2eb --- /dev/null +++ b/icudata.host.darwin-mips64.mk @@ -0,0 +1,204 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_IS_HOST_MODULE := true +LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/mac/icudtl_dat.S + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_HIDE_DATA_SYMBOL' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -Wno-deprecated \ + -std=gnu++11 + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_HIDE_DATA_SYMBOL' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -Wno-deprecated \ + -std=gnu++11 + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +# Undefine ANDROID for host modules +LOCAL_CFLAGS += -UANDROID +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := true + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +# Alias gyp target name. +.PHONY: icudata +icudata: third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +include $(BUILD_HOST_STATIC_LIBRARY) diff --git a/icudata.host.linux-mips64.mk b/icudata.host.linux-mips64.mk new file mode 100644 index 0000000..921fb7a --- /dev/null +++ b/icudata.host.linux-mips64.mk @@ -0,0 +1,204 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_IS_HOST_MODULE := true +LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/linux/icudtl_dat.S + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_HIDE_DATA_SYMBOL' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -Wno-deprecated \ + -std=gnu++11 + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_HIDE_DATA_SYMBOL' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -Wno-deprecated \ + -std=gnu++11 + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +# Undefine ANDROID for host modules +LOCAL_CFLAGS += -UANDROID +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := true + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +# Alias gyp target name. +.PHONY: icudata +icudata: third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +include $(BUILD_HOST_STATIC_LIBRARY) diff --git a/icudata.target.darwin-mips64.mk b/icudata.target.darwin-mips64.mk new file mode 100644 index 0000000..b047985 --- /dev/null +++ b/icudata.target.darwin-mips64.mk @@ -0,0 +1,241 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icudata_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) +LOCAL_SDK_VERSION := 21 +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/android/icudtl_dat.S + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_HIDE_DATA_SYMBOL' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_HIDE_DATA_SYMBOL' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := false +LOCAL_NDK_STL_VARIANT := stlport_static + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icudata_gyp + +# Alias gyp target name. +.PHONY: icudata +icudata: third_party_icu_icudata_gyp + +include $(BUILD_STATIC_LIBRARY) diff --git a/icudata.target.linux-mips64.mk b/icudata.target.linux-mips64.mk new file mode 100644 index 0000000..b047985 --- /dev/null +++ b/icudata.target.linux-mips64.mk @@ -0,0 +1,241 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icudata_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) +LOCAL_SDK_VERSION := 21 +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/android/icudtl_dat.S + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_HIDE_DATA_SYMBOL' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_HIDE_DATA_SYMBOL' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := false +LOCAL_NDK_STL_VARIANT := stlport_static + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icudata_gyp + +# Alias gyp target name. +.PHONY: icudata +icudata: third_party_icu_icudata_gyp + +include $(BUILD_STATIC_LIBRARY) diff --git a/icui18n.host.darwin-mips64.mk b/icui18n.host.darwin-mips64.mk new file mode 100644 index 0000000..806e94a --- /dev/null +++ b/icui18n.host.darwin-mips64.mk @@ -0,0 +1,381 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_IS_HOST_MODULE := true +LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/source/i18n/alphaindex.cpp \ + third_party/icu/source/i18n/anytrans.cpp \ + third_party/icu/source/i18n/astro.cpp \ + third_party/icu/source/i18n/basictz.cpp \ + third_party/icu/source/i18n/bocsu.cpp \ + third_party/icu/source/i18n/brktrans.cpp \ + third_party/icu/source/i18n/buddhcal.cpp \ + third_party/icu/source/i18n/calendar.cpp \ + third_party/icu/source/i18n/casetrn.cpp \ + third_party/icu/source/i18n/cecal.cpp \ + third_party/icu/source/i18n/chnsecal.cpp \ + third_party/icu/source/i18n/choicfmt.cpp \ + third_party/icu/source/i18n/coleitr.cpp \ + third_party/icu/source/i18n/coll.cpp \ + third_party/icu/source/i18n/compactdecimalformat.cpp \ + third_party/icu/source/i18n/coptccal.cpp \ + third_party/icu/source/i18n/cpdtrans.cpp \ + third_party/icu/source/i18n/csdetect.cpp \ + third_party/icu/source/i18n/csmatch.cpp \ + third_party/icu/source/i18n/csr2022.cpp \ + third_party/icu/source/i18n/csrecog.cpp \ + third_party/icu/source/i18n/csrmbcs.cpp \ + third_party/icu/source/i18n/csrsbcs.cpp \ + third_party/icu/source/i18n/csrucode.cpp \ + third_party/icu/source/i18n/csrutf8.cpp \ + third_party/icu/source/i18n/curramt.cpp \ + third_party/icu/source/i18n/currfmt.cpp \ + third_party/icu/source/i18n/currpinf.cpp \ + third_party/icu/source/i18n/currunit.cpp \ + third_party/icu/source/i18n/dangical.cpp \ + third_party/icu/source/i18n/datefmt.cpp \ + third_party/icu/source/i18n/dcfmtsym.cpp \ + third_party/icu/source/i18n/decContext.c \ + third_party/icu/source/i18n/decfmtst.cpp \ + third_party/icu/source/i18n/decimfmt.cpp \ + third_party/icu/source/i18n/decNumber.c \ + third_party/icu/source/i18n/digitlst.cpp \ + third_party/icu/source/i18n/dtfmtsym.cpp \ + third_party/icu/source/i18n/dtitvfmt.cpp \ + third_party/icu/source/i18n/dtitvinf.cpp \ + third_party/icu/source/i18n/dtptngen.cpp \ + third_party/icu/source/i18n/dtrule.cpp \ + third_party/icu/source/i18n/esctrn.cpp \ + third_party/icu/source/i18n/ethpccal.cpp \ + third_party/icu/source/i18n/fmtable_cnv.cpp \ + third_party/icu/source/i18n/fmtable.cpp \ + third_party/icu/source/i18n/format.cpp \ + third_party/icu/source/i18n/fphdlimp.cpp \ + third_party/icu/source/i18n/fpositer.cpp \ + third_party/icu/source/i18n/funcrepl.cpp \ + third_party/icu/source/i18n/gender.cpp \ + third_party/icu/source/i18n/gregocal.cpp \ + third_party/icu/source/i18n/gregoimp.cpp \ + third_party/icu/source/i18n/hebrwcal.cpp \ + third_party/icu/source/i18n/identifier_info.cpp \ + third_party/icu/source/i18n/indiancal.cpp \ + third_party/icu/source/i18n/inputext.cpp \ + third_party/icu/source/i18n/islamcal.cpp \ + third_party/icu/source/i18n/japancal.cpp \ + third_party/icu/source/i18n/locdspnm.cpp \ + third_party/icu/source/i18n/measfmt.cpp \ + third_party/icu/source/i18n/measure.cpp \ + third_party/icu/source/i18n/msgfmt.cpp \ + third_party/icu/source/i18n/name2uni.cpp \ + third_party/icu/source/i18n/nfrs.cpp \ + third_party/icu/source/i18n/nfrule.cpp \ + third_party/icu/source/i18n/nfsubs.cpp \ + third_party/icu/source/i18n/nortrans.cpp \ + third_party/icu/source/i18n/nultrans.cpp \ + third_party/icu/source/i18n/numfmt.cpp \ + third_party/icu/source/i18n/numsys.cpp \ + third_party/icu/source/i18n/olsontz.cpp \ + third_party/icu/source/i18n/persncal.cpp \ + third_party/icu/source/i18n/plurfmt.cpp \ + third_party/icu/source/i18n/plurrule.cpp \ + third_party/icu/source/i18n/quant.cpp \ + third_party/icu/source/i18n/rbnf.cpp \ + third_party/icu/source/i18n/rbt.cpp \ + third_party/icu/source/i18n/rbt_data.cpp \ + third_party/icu/source/i18n/rbt_pars.cpp \ + third_party/icu/source/i18n/rbt_rule.cpp \ + third_party/icu/source/i18n/rbt_set.cpp \ + third_party/icu/source/i18n/rbtz.cpp \ + third_party/icu/source/i18n/regexcmp.cpp \ + third_party/icu/source/i18n/regeximp.cpp \ + third_party/icu/source/i18n/regexst.cpp \ + third_party/icu/source/i18n/regextxt.cpp \ + third_party/icu/source/i18n/region.cpp \ + third_party/icu/source/i18n/reldtfmt.cpp \ + third_party/icu/source/i18n/rematch.cpp \ + third_party/icu/source/i18n/remtrans.cpp \ + third_party/icu/source/i18n/repattrn.cpp \ + third_party/icu/source/i18n/scriptset.cpp \ + third_party/icu/source/i18n/search.cpp \ + third_party/icu/source/i18n/selfmt.cpp \ + third_party/icu/source/i18n/simpletz.cpp \ + third_party/icu/source/i18n/smpdtfmt.cpp \ + third_party/icu/source/i18n/smpdtfst.cpp \ + third_party/icu/source/i18n/sortkey.cpp \ + third_party/icu/source/i18n/strmatch.cpp \ + third_party/icu/source/i18n/strrepl.cpp \ + third_party/icu/source/i18n/stsearch.cpp \ + third_party/icu/source/i18n/taiwncal.cpp \ + third_party/icu/source/i18n/tblcoll.cpp \ + third_party/icu/source/i18n/timezone.cpp \ + third_party/icu/source/i18n/titletrn.cpp \ + third_party/icu/source/i18n/tmunit.cpp \ + third_party/icu/source/i18n/tmutamt.cpp \ + third_party/icu/source/i18n/tmutfmt.cpp \ + third_party/icu/source/i18n/tolowtrn.cpp \ + third_party/icu/source/i18n/toupptrn.cpp \ + third_party/icu/source/i18n/translit.cpp \ + third_party/icu/source/i18n/transreg.cpp \ + third_party/icu/source/i18n/tridpars.cpp \ + third_party/icu/source/i18n/tzfmt.cpp \ + third_party/icu/source/i18n/tzgnames.cpp \ + third_party/icu/source/i18n/tznames.cpp \ + third_party/icu/source/i18n/tznames_impl.cpp \ + third_party/icu/source/i18n/tzrule.cpp \ + third_party/icu/source/i18n/tztrans.cpp \ + third_party/icu/source/i18n/ucal.cpp \ + third_party/icu/source/i18n/ucln_in.c \ + third_party/icu/source/i18n/ucol_bld.cpp \ + third_party/icu/source/i18n/ucol_cnt.cpp \ + third_party/icu/source/i18n/ucol.cpp \ + third_party/icu/source/i18n/ucoleitr.cpp \ + third_party/icu/source/i18n/ucol_elm.cpp \ + third_party/icu/source/i18n/ucol_res.cpp \ + third_party/icu/source/i18n/ucol_sit.cpp \ + third_party/icu/source/i18n/ucol_tok.cpp \ + third_party/icu/source/i18n/ucol_wgt.cpp \ + third_party/icu/source/i18n/ucsdet.cpp \ + third_party/icu/source/i18n/ucurr.cpp \ + third_party/icu/source/i18n/udat.cpp \ + third_party/icu/source/i18n/udateintervalformat.cpp \ + third_party/icu/source/i18n/udatpg.cpp \ + third_party/icu/source/i18n/ulocdata.c \ + third_party/icu/source/i18n/umsg.cpp \ + third_party/icu/source/i18n/unesctrn.cpp \ + third_party/icu/source/i18n/uni2name.cpp \ + third_party/icu/source/i18n/unum.cpp \ + third_party/icu/source/i18n/unumsys.cpp \ + third_party/icu/source/i18n/upluralrules.cpp \ + third_party/icu/source/i18n/uregexc.cpp \ + third_party/icu/source/i18n/uregex.cpp \ + third_party/icu/source/i18n/uregion.cpp \ + third_party/icu/source/i18n/usearch.cpp \ + third_party/icu/source/i18n/uspoof_build.cpp \ + third_party/icu/source/i18n/uspoof_conf.cpp \ + third_party/icu/source/i18n/uspoof.cpp \ + third_party/icu/source/i18n/uspoof_impl.cpp \ + third_party/icu/source/i18n/uspoof_wsconf.cpp \ + third_party/icu/source/i18n/utmscale.c \ + third_party/icu/source/i18n/utrans.cpp \ + third_party/icu/source/i18n/vtzone.cpp \ + third_party/icu/source/i18n/vzone.cpp \ + third_party/icu/source/i18n/windtfmt.cpp \ + third_party/icu/source/i18n/winnmfmt.cpp \ + third_party/icu/source/i18n/wintzimpl.cpp \ + third_party/icu/source/i18n/zonemeta.cpp \ + third_party/icu/source/i18n/zrule.cpp \ + third_party/icu/source/i18n/ztrans.cpp + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-deprecated-declarations \ + -fno-builtin-sin \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Wno-deprecated-declarations \ + -Wno-logical-op-parentheses \ + -Wno-tautological-compare \ + -Wno-return-type-c-linkage \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_I18N_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -std=gnu++11 + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-deprecated-declarations \ + -fno-builtin-sin \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Wno-deprecated-declarations \ + -Wno-logical-op-parentheses \ + -Wno-tautological-compare \ + -Wno-return-type-c-linkage \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_I18N_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -std=gnu++11 + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +# Undefine ANDROID for host modules +LOCAL_CFLAGS += -UANDROID +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := true + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +# Alias gyp target name. +.PHONY: icui18n +icui18n: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +include $(BUILD_HOST_STATIC_LIBRARY) diff --git a/icui18n.host.linux-mips64.mk b/icui18n.host.linux-mips64.mk new file mode 100644 index 0000000..806e94a --- /dev/null +++ b/icui18n.host.linux-mips64.mk @@ -0,0 +1,381 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_IS_HOST_MODULE := true +LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/source/i18n/alphaindex.cpp \ + third_party/icu/source/i18n/anytrans.cpp \ + third_party/icu/source/i18n/astro.cpp \ + third_party/icu/source/i18n/basictz.cpp \ + third_party/icu/source/i18n/bocsu.cpp \ + third_party/icu/source/i18n/brktrans.cpp \ + third_party/icu/source/i18n/buddhcal.cpp \ + third_party/icu/source/i18n/calendar.cpp \ + third_party/icu/source/i18n/casetrn.cpp \ + third_party/icu/source/i18n/cecal.cpp \ + third_party/icu/source/i18n/chnsecal.cpp \ + third_party/icu/source/i18n/choicfmt.cpp \ + third_party/icu/source/i18n/coleitr.cpp \ + third_party/icu/source/i18n/coll.cpp \ + third_party/icu/source/i18n/compactdecimalformat.cpp \ + third_party/icu/source/i18n/coptccal.cpp \ + third_party/icu/source/i18n/cpdtrans.cpp \ + third_party/icu/source/i18n/csdetect.cpp \ + third_party/icu/source/i18n/csmatch.cpp \ + third_party/icu/source/i18n/csr2022.cpp \ + third_party/icu/source/i18n/csrecog.cpp \ + third_party/icu/source/i18n/csrmbcs.cpp \ + third_party/icu/source/i18n/csrsbcs.cpp \ + third_party/icu/source/i18n/csrucode.cpp \ + third_party/icu/source/i18n/csrutf8.cpp \ + third_party/icu/source/i18n/curramt.cpp \ + third_party/icu/source/i18n/currfmt.cpp \ + third_party/icu/source/i18n/currpinf.cpp \ + third_party/icu/source/i18n/currunit.cpp \ + third_party/icu/source/i18n/dangical.cpp \ + third_party/icu/source/i18n/datefmt.cpp \ + third_party/icu/source/i18n/dcfmtsym.cpp \ + third_party/icu/source/i18n/decContext.c \ + third_party/icu/source/i18n/decfmtst.cpp \ + third_party/icu/source/i18n/decimfmt.cpp \ + third_party/icu/source/i18n/decNumber.c \ + third_party/icu/source/i18n/digitlst.cpp \ + third_party/icu/source/i18n/dtfmtsym.cpp \ + third_party/icu/source/i18n/dtitvfmt.cpp \ + third_party/icu/source/i18n/dtitvinf.cpp \ + third_party/icu/source/i18n/dtptngen.cpp \ + third_party/icu/source/i18n/dtrule.cpp \ + third_party/icu/source/i18n/esctrn.cpp \ + third_party/icu/source/i18n/ethpccal.cpp \ + third_party/icu/source/i18n/fmtable_cnv.cpp \ + third_party/icu/source/i18n/fmtable.cpp \ + third_party/icu/source/i18n/format.cpp \ + third_party/icu/source/i18n/fphdlimp.cpp \ + third_party/icu/source/i18n/fpositer.cpp \ + third_party/icu/source/i18n/funcrepl.cpp \ + third_party/icu/source/i18n/gender.cpp \ + third_party/icu/source/i18n/gregocal.cpp \ + third_party/icu/source/i18n/gregoimp.cpp \ + third_party/icu/source/i18n/hebrwcal.cpp \ + third_party/icu/source/i18n/identifier_info.cpp \ + third_party/icu/source/i18n/indiancal.cpp \ + third_party/icu/source/i18n/inputext.cpp \ + third_party/icu/source/i18n/islamcal.cpp \ + third_party/icu/source/i18n/japancal.cpp \ + third_party/icu/source/i18n/locdspnm.cpp \ + third_party/icu/source/i18n/measfmt.cpp \ + third_party/icu/source/i18n/measure.cpp \ + third_party/icu/source/i18n/msgfmt.cpp \ + third_party/icu/source/i18n/name2uni.cpp \ + third_party/icu/source/i18n/nfrs.cpp \ + third_party/icu/source/i18n/nfrule.cpp \ + third_party/icu/source/i18n/nfsubs.cpp \ + third_party/icu/source/i18n/nortrans.cpp \ + third_party/icu/source/i18n/nultrans.cpp \ + third_party/icu/source/i18n/numfmt.cpp \ + third_party/icu/source/i18n/numsys.cpp \ + third_party/icu/source/i18n/olsontz.cpp \ + third_party/icu/source/i18n/persncal.cpp \ + third_party/icu/source/i18n/plurfmt.cpp \ + third_party/icu/source/i18n/plurrule.cpp \ + third_party/icu/source/i18n/quant.cpp \ + third_party/icu/source/i18n/rbnf.cpp \ + third_party/icu/source/i18n/rbt.cpp \ + third_party/icu/source/i18n/rbt_data.cpp \ + third_party/icu/source/i18n/rbt_pars.cpp \ + third_party/icu/source/i18n/rbt_rule.cpp \ + third_party/icu/source/i18n/rbt_set.cpp \ + third_party/icu/source/i18n/rbtz.cpp \ + third_party/icu/source/i18n/regexcmp.cpp \ + third_party/icu/source/i18n/regeximp.cpp \ + third_party/icu/source/i18n/regexst.cpp \ + third_party/icu/source/i18n/regextxt.cpp \ + third_party/icu/source/i18n/region.cpp \ + third_party/icu/source/i18n/reldtfmt.cpp \ + third_party/icu/source/i18n/rematch.cpp \ + third_party/icu/source/i18n/remtrans.cpp \ + third_party/icu/source/i18n/repattrn.cpp \ + third_party/icu/source/i18n/scriptset.cpp \ + third_party/icu/source/i18n/search.cpp \ + third_party/icu/source/i18n/selfmt.cpp \ + third_party/icu/source/i18n/simpletz.cpp \ + third_party/icu/source/i18n/smpdtfmt.cpp \ + third_party/icu/source/i18n/smpdtfst.cpp \ + third_party/icu/source/i18n/sortkey.cpp \ + third_party/icu/source/i18n/strmatch.cpp \ + third_party/icu/source/i18n/strrepl.cpp \ + third_party/icu/source/i18n/stsearch.cpp \ + third_party/icu/source/i18n/taiwncal.cpp \ + third_party/icu/source/i18n/tblcoll.cpp \ + third_party/icu/source/i18n/timezone.cpp \ + third_party/icu/source/i18n/titletrn.cpp \ + third_party/icu/source/i18n/tmunit.cpp \ + third_party/icu/source/i18n/tmutamt.cpp \ + third_party/icu/source/i18n/tmutfmt.cpp \ + third_party/icu/source/i18n/tolowtrn.cpp \ + third_party/icu/source/i18n/toupptrn.cpp \ + third_party/icu/source/i18n/translit.cpp \ + third_party/icu/source/i18n/transreg.cpp \ + third_party/icu/source/i18n/tridpars.cpp \ + third_party/icu/source/i18n/tzfmt.cpp \ + third_party/icu/source/i18n/tzgnames.cpp \ + third_party/icu/source/i18n/tznames.cpp \ + third_party/icu/source/i18n/tznames_impl.cpp \ + third_party/icu/source/i18n/tzrule.cpp \ + third_party/icu/source/i18n/tztrans.cpp \ + third_party/icu/source/i18n/ucal.cpp \ + third_party/icu/source/i18n/ucln_in.c \ + third_party/icu/source/i18n/ucol_bld.cpp \ + third_party/icu/source/i18n/ucol_cnt.cpp \ + third_party/icu/source/i18n/ucol.cpp \ + third_party/icu/source/i18n/ucoleitr.cpp \ + third_party/icu/source/i18n/ucol_elm.cpp \ + third_party/icu/source/i18n/ucol_res.cpp \ + third_party/icu/source/i18n/ucol_sit.cpp \ + third_party/icu/source/i18n/ucol_tok.cpp \ + third_party/icu/source/i18n/ucol_wgt.cpp \ + third_party/icu/source/i18n/ucsdet.cpp \ + third_party/icu/source/i18n/ucurr.cpp \ + third_party/icu/source/i18n/udat.cpp \ + third_party/icu/source/i18n/udateintervalformat.cpp \ + third_party/icu/source/i18n/udatpg.cpp \ + third_party/icu/source/i18n/ulocdata.c \ + third_party/icu/source/i18n/umsg.cpp \ + third_party/icu/source/i18n/unesctrn.cpp \ + third_party/icu/source/i18n/uni2name.cpp \ + third_party/icu/source/i18n/unum.cpp \ + third_party/icu/source/i18n/unumsys.cpp \ + third_party/icu/source/i18n/upluralrules.cpp \ + third_party/icu/source/i18n/uregexc.cpp \ + third_party/icu/source/i18n/uregex.cpp \ + third_party/icu/source/i18n/uregion.cpp \ + third_party/icu/source/i18n/usearch.cpp \ + third_party/icu/source/i18n/uspoof_build.cpp \ + third_party/icu/source/i18n/uspoof_conf.cpp \ + third_party/icu/source/i18n/uspoof.cpp \ + third_party/icu/source/i18n/uspoof_impl.cpp \ + third_party/icu/source/i18n/uspoof_wsconf.cpp \ + third_party/icu/source/i18n/utmscale.c \ + third_party/icu/source/i18n/utrans.cpp \ + third_party/icu/source/i18n/vtzone.cpp \ + third_party/icu/source/i18n/vzone.cpp \ + third_party/icu/source/i18n/windtfmt.cpp \ + third_party/icu/source/i18n/winnmfmt.cpp \ + third_party/icu/source/i18n/wintzimpl.cpp \ + third_party/icu/source/i18n/zonemeta.cpp \ + third_party/icu/source/i18n/zrule.cpp \ + third_party/icu/source/i18n/ztrans.cpp + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-deprecated-declarations \ + -fno-builtin-sin \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Wno-deprecated-declarations \ + -Wno-logical-op-parentheses \ + -Wno-tautological-compare \ + -Wno-return-type-c-linkage \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_I18N_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -std=gnu++11 + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-deprecated-declarations \ + -fno-builtin-sin \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Wno-deprecated-declarations \ + -Wno-logical-op-parentheses \ + -Wno-tautological-compare \ + -Wno-return-type-c-linkage \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_I18N_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -std=gnu++11 + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +# Undefine ANDROID for host modules +LOCAL_CFLAGS += -UANDROID +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := true + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +# Alias gyp target name. +.PHONY: icui18n +icui18n: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +include $(BUILD_HOST_STATIC_LIBRARY) diff --git a/icui18n.target.darwin-mips64.mk b/icui18n.target.darwin-mips64.mk new file mode 100644 index 0000000..6a957d9 --- /dev/null +++ b/icui18n.target.darwin-mips64.mk @@ -0,0 +1,410 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icui18n_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) +LOCAL_SDK_VERSION := 21 +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/source/i18n/alphaindex.cpp \ + third_party/icu/source/i18n/anytrans.cpp \ + third_party/icu/source/i18n/astro.cpp \ + third_party/icu/source/i18n/basictz.cpp \ + third_party/icu/source/i18n/bocsu.cpp \ + third_party/icu/source/i18n/brktrans.cpp \ + third_party/icu/source/i18n/buddhcal.cpp \ + third_party/icu/source/i18n/calendar.cpp \ + third_party/icu/source/i18n/casetrn.cpp \ + third_party/icu/source/i18n/cecal.cpp \ + third_party/icu/source/i18n/chnsecal.cpp \ + third_party/icu/source/i18n/choicfmt.cpp \ + third_party/icu/source/i18n/coleitr.cpp \ + third_party/icu/source/i18n/coll.cpp \ + third_party/icu/source/i18n/compactdecimalformat.cpp \ + third_party/icu/source/i18n/coptccal.cpp \ + third_party/icu/source/i18n/cpdtrans.cpp \ + third_party/icu/source/i18n/csdetect.cpp \ + third_party/icu/source/i18n/csmatch.cpp \ + third_party/icu/source/i18n/csr2022.cpp \ + third_party/icu/source/i18n/csrecog.cpp \ + third_party/icu/source/i18n/csrmbcs.cpp \ + third_party/icu/source/i18n/csrsbcs.cpp \ + third_party/icu/source/i18n/csrucode.cpp \ + third_party/icu/source/i18n/csrutf8.cpp \ + third_party/icu/source/i18n/curramt.cpp \ + third_party/icu/source/i18n/currfmt.cpp \ + third_party/icu/source/i18n/currpinf.cpp \ + third_party/icu/source/i18n/currunit.cpp \ + third_party/icu/source/i18n/dangical.cpp \ + third_party/icu/source/i18n/datefmt.cpp \ + third_party/icu/source/i18n/dcfmtsym.cpp \ + third_party/icu/source/i18n/decContext.c \ + third_party/icu/source/i18n/decfmtst.cpp \ + third_party/icu/source/i18n/decimfmt.cpp \ + third_party/icu/source/i18n/decNumber.c \ + third_party/icu/source/i18n/digitlst.cpp \ + third_party/icu/source/i18n/dtfmtsym.cpp \ + third_party/icu/source/i18n/dtitvfmt.cpp \ + third_party/icu/source/i18n/dtitvinf.cpp \ + third_party/icu/source/i18n/dtptngen.cpp \ + third_party/icu/source/i18n/dtrule.cpp \ + third_party/icu/source/i18n/esctrn.cpp \ + third_party/icu/source/i18n/ethpccal.cpp \ + third_party/icu/source/i18n/fmtable_cnv.cpp \ + third_party/icu/source/i18n/fmtable.cpp \ + third_party/icu/source/i18n/format.cpp \ + third_party/icu/source/i18n/fphdlimp.cpp \ + third_party/icu/source/i18n/fpositer.cpp \ + third_party/icu/source/i18n/funcrepl.cpp \ + third_party/icu/source/i18n/gender.cpp \ + third_party/icu/source/i18n/gregocal.cpp \ + third_party/icu/source/i18n/gregoimp.cpp \ + third_party/icu/source/i18n/hebrwcal.cpp \ + third_party/icu/source/i18n/identifier_info.cpp \ + third_party/icu/source/i18n/indiancal.cpp \ + third_party/icu/source/i18n/inputext.cpp \ + third_party/icu/source/i18n/islamcal.cpp \ + third_party/icu/source/i18n/japancal.cpp \ + third_party/icu/source/i18n/locdspnm.cpp \ + third_party/icu/source/i18n/measfmt.cpp \ + third_party/icu/source/i18n/measure.cpp \ + third_party/icu/source/i18n/msgfmt.cpp \ + third_party/icu/source/i18n/name2uni.cpp \ + third_party/icu/source/i18n/nfrs.cpp \ + third_party/icu/source/i18n/nfrule.cpp \ + third_party/icu/source/i18n/nfsubs.cpp \ + third_party/icu/source/i18n/nortrans.cpp \ + third_party/icu/source/i18n/nultrans.cpp \ + third_party/icu/source/i18n/numfmt.cpp \ + third_party/icu/source/i18n/numsys.cpp \ + third_party/icu/source/i18n/olsontz.cpp \ + third_party/icu/source/i18n/persncal.cpp \ + third_party/icu/source/i18n/plurfmt.cpp \ + third_party/icu/source/i18n/plurrule.cpp \ + third_party/icu/source/i18n/quant.cpp \ + third_party/icu/source/i18n/rbnf.cpp \ + third_party/icu/source/i18n/rbt.cpp \ + third_party/icu/source/i18n/rbt_data.cpp \ + third_party/icu/source/i18n/rbt_pars.cpp \ + third_party/icu/source/i18n/rbt_rule.cpp \ + third_party/icu/source/i18n/rbt_set.cpp \ + third_party/icu/source/i18n/rbtz.cpp \ + third_party/icu/source/i18n/regexcmp.cpp \ + third_party/icu/source/i18n/regeximp.cpp \ + third_party/icu/source/i18n/regexst.cpp \ + third_party/icu/source/i18n/regextxt.cpp \ + third_party/icu/source/i18n/region.cpp \ + third_party/icu/source/i18n/reldtfmt.cpp \ + third_party/icu/source/i18n/rematch.cpp \ + third_party/icu/source/i18n/remtrans.cpp \ + third_party/icu/source/i18n/repattrn.cpp \ + third_party/icu/source/i18n/scriptset.cpp \ + third_party/icu/source/i18n/search.cpp \ + third_party/icu/source/i18n/selfmt.cpp \ + third_party/icu/source/i18n/simpletz.cpp \ + third_party/icu/source/i18n/smpdtfmt.cpp \ + third_party/icu/source/i18n/smpdtfst.cpp \ + third_party/icu/source/i18n/sortkey.cpp \ + third_party/icu/source/i18n/strmatch.cpp \ + third_party/icu/source/i18n/strrepl.cpp \ + third_party/icu/source/i18n/stsearch.cpp \ + third_party/icu/source/i18n/taiwncal.cpp \ + third_party/icu/source/i18n/tblcoll.cpp \ + third_party/icu/source/i18n/timezone.cpp \ + third_party/icu/source/i18n/titletrn.cpp \ + third_party/icu/source/i18n/tmunit.cpp \ + third_party/icu/source/i18n/tmutamt.cpp \ + third_party/icu/source/i18n/tmutfmt.cpp \ + third_party/icu/source/i18n/tolowtrn.cpp \ + third_party/icu/source/i18n/toupptrn.cpp \ + third_party/icu/source/i18n/translit.cpp \ + third_party/icu/source/i18n/transreg.cpp \ + third_party/icu/source/i18n/tridpars.cpp \ + third_party/icu/source/i18n/tzfmt.cpp \ + third_party/icu/source/i18n/tzgnames.cpp \ + third_party/icu/source/i18n/tznames.cpp \ + third_party/icu/source/i18n/tznames_impl.cpp \ + third_party/icu/source/i18n/tzrule.cpp \ + third_party/icu/source/i18n/tztrans.cpp \ + third_party/icu/source/i18n/ucal.cpp \ + third_party/icu/source/i18n/ucln_in.c \ + third_party/icu/source/i18n/ucol_bld.cpp \ + third_party/icu/source/i18n/ucol_cnt.cpp \ + third_party/icu/source/i18n/ucol.cpp \ + third_party/icu/source/i18n/ucoleitr.cpp \ + third_party/icu/source/i18n/ucol_elm.cpp \ + third_party/icu/source/i18n/ucol_res.cpp \ + third_party/icu/source/i18n/ucol_sit.cpp \ + third_party/icu/source/i18n/ucol_tok.cpp \ + third_party/icu/source/i18n/ucol_wgt.cpp \ + third_party/icu/source/i18n/ucsdet.cpp \ + third_party/icu/source/i18n/ucurr.cpp \ + third_party/icu/source/i18n/udat.cpp \ + third_party/icu/source/i18n/udateintervalformat.cpp \ + third_party/icu/source/i18n/udatpg.cpp \ + third_party/icu/source/i18n/ulocdata.c \ + third_party/icu/source/i18n/umsg.cpp \ + third_party/icu/source/i18n/unesctrn.cpp \ + third_party/icu/source/i18n/uni2name.cpp \ + third_party/icu/source/i18n/unum.cpp \ + third_party/icu/source/i18n/unumsys.cpp \ + third_party/icu/source/i18n/upluralrules.cpp \ + third_party/icu/source/i18n/uregexc.cpp \ + third_party/icu/source/i18n/uregex.cpp \ + third_party/icu/source/i18n/uregion.cpp \ + third_party/icu/source/i18n/usearch.cpp \ + third_party/icu/source/i18n/uspoof_build.cpp \ + third_party/icu/source/i18n/uspoof_conf.cpp \ + third_party/icu/source/i18n/uspoof.cpp \ + third_party/icu/source/i18n/uspoof_impl.cpp \ + third_party/icu/source/i18n/uspoof_wsconf.cpp \ + third_party/icu/source/i18n/utmscale.c \ + third_party/icu/source/i18n/utrans.cpp \ + third_party/icu/source/i18n/vtzone.cpp \ + third_party/icu/source/i18n/vzone.cpp \ + third_party/icu/source/i18n/windtfmt.cpp \ + third_party/icu/source/i18n/winnmfmt.cpp \ + third_party/icu/source/i18n/wintzimpl.cpp \ + third_party/icu/source/i18n/zonemeta.cpp \ + third_party/icu/source/i18n/zrule.cpp \ + third_party/icu/source/i18n/ztrans.cpp + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-deprecated-declarations \ + -fno-builtin-sin \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_I18N_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-deprecated-declarations \ + -fno-builtin-sin \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_I18N_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := false +LOCAL_NDK_STL_VARIANT := stlport_static + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icui18n_gyp + +# Alias gyp target name. +.PHONY: icui18n +icui18n: third_party_icu_icui18n_gyp + +include $(BUILD_STATIC_LIBRARY) diff --git a/icui18n.target.linux-mips64.mk b/icui18n.target.linux-mips64.mk new file mode 100644 index 0000000..6a957d9 --- /dev/null +++ b/icui18n.target.linux-mips64.mk @@ -0,0 +1,410 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icui18n_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) +LOCAL_SDK_VERSION := 21 +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/source/i18n/alphaindex.cpp \ + third_party/icu/source/i18n/anytrans.cpp \ + third_party/icu/source/i18n/astro.cpp \ + third_party/icu/source/i18n/basictz.cpp \ + third_party/icu/source/i18n/bocsu.cpp \ + third_party/icu/source/i18n/brktrans.cpp \ + third_party/icu/source/i18n/buddhcal.cpp \ + third_party/icu/source/i18n/calendar.cpp \ + third_party/icu/source/i18n/casetrn.cpp \ + third_party/icu/source/i18n/cecal.cpp \ + third_party/icu/source/i18n/chnsecal.cpp \ + third_party/icu/source/i18n/choicfmt.cpp \ + third_party/icu/source/i18n/coleitr.cpp \ + third_party/icu/source/i18n/coll.cpp \ + third_party/icu/source/i18n/compactdecimalformat.cpp \ + third_party/icu/source/i18n/coptccal.cpp \ + third_party/icu/source/i18n/cpdtrans.cpp \ + third_party/icu/source/i18n/csdetect.cpp \ + third_party/icu/source/i18n/csmatch.cpp \ + third_party/icu/source/i18n/csr2022.cpp \ + third_party/icu/source/i18n/csrecog.cpp \ + third_party/icu/source/i18n/csrmbcs.cpp \ + third_party/icu/source/i18n/csrsbcs.cpp \ + third_party/icu/source/i18n/csrucode.cpp \ + third_party/icu/source/i18n/csrutf8.cpp \ + third_party/icu/source/i18n/curramt.cpp \ + third_party/icu/source/i18n/currfmt.cpp \ + third_party/icu/source/i18n/currpinf.cpp \ + third_party/icu/source/i18n/currunit.cpp \ + third_party/icu/source/i18n/dangical.cpp \ + third_party/icu/source/i18n/datefmt.cpp \ + third_party/icu/source/i18n/dcfmtsym.cpp \ + third_party/icu/source/i18n/decContext.c \ + third_party/icu/source/i18n/decfmtst.cpp \ + third_party/icu/source/i18n/decimfmt.cpp \ + third_party/icu/source/i18n/decNumber.c \ + third_party/icu/source/i18n/digitlst.cpp \ + third_party/icu/source/i18n/dtfmtsym.cpp \ + third_party/icu/source/i18n/dtitvfmt.cpp \ + third_party/icu/source/i18n/dtitvinf.cpp \ + third_party/icu/source/i18n/dtptngen.cpp \ + third_party/icu/source/i18n/dtrule.cpp \ + third_party/icu/source/i18n/esctrn.cpp \ + third_party/icu/source/i18n/ethpccal.cpp \ + third_party/icu/source/i18n/fmtable_cnv.cpp \ + third_party/icu/source/i18n/fmtable.cpp \ + third_party/icu/source/i18n/format.cpp \ + third_party/icu/source/i18n/fphdlimp.cpp \ + third_party/icu/source/i18n/fpositer.cpp \ + third_party/icu/source/i18n/funcrepl.cpp \ + third_party/icu/source/i18n/gender.cpp \ + third_party/icu/source/i18n/gregocal.cpp \ + third_party/icu/source/i18n/gregoimp.cpp \ + third_party/icu/source/i18n/hebrwcal.cpp \ + third_party/icu/source/i18n/identifier_info.cpp \ + third_party/icu/source/i18n/indiancal.cpp \ + third_party/icu/source/i18n/inputext.cpp \ + third_party/icu/source/i18n/islamcal.cpp \ + third_party/icu/source/i18n/japancal.cpp \ + third_party/icu/source/i18n/locdspnm.cpp \ + third_party/icu/source/i18n/measfmt.cpp \ + third_party/icu/source/i18n/measure.cpp \ + third_party/icu/source/i18n/msgfmt.cpp \ + third_party/icu/source/i18n/name2uni.cpp \ + third_party/icu/source/i18n/nfrs.cpp \ + third_party/icu/source/i18n/nfrule.cpp \ + third_party/icu/source/i18n/nfsubs.cpp \ + third_party/icu/source/i18n/nortrans.cpp \ + third_party/icu/source/i18n/nultrans.cpp \ + third_party/icu/source/i18n/numfmt.cpp \ + third_party/icu/source/i18n/numsys.cpp \ + third_party/icu/source/i18n/olsontz.cpp \ + third_party/icu/source/i18n/persncal.cpp \ + third_party/icu/source/i18n/plurfmt.cpp \ + third_party/icu/source/i18n/plurrule.cpp \ + third_party/icu/source/i18n/quant.cpp \ + third_party/icu/source/i18n/rbnf.cpp \ + third_party/icu/source/i18n/rbt.cpp \ + third_party/icu/source/i18n/rbt_data.cpp \ + third_party/icu/source/i18n/rbt_pars.cpp \ + third_party/icu/source/i18n/rbt_rule.cpp \ + third_party/icu/source/i18n/rbt_set.cpp \ + third_party/icu/source/i18n/rbtz.cpp \ + third_party/icu/source/i18n/regexcmp.cpp \ + third_party/icu/source/i18n/regeximp.cpp \ + third_party/icu/source/i18n/regexst.cpp \ + third_party/icu/source/i18n/regextxt.cpp \ + third_party/icu/source/i18n/region.cpp \ + third_party/icu/source/i18n/reldtfmt.cpp \ + third_party/icu/source/i18n/rematch.cpp \ + third_party/icu/source/i18n/remtrans.cpp \ + third_party/icu/source/i18n/repattrn.cpp \ + third_party/icu/source/i18n/scriptset.cpp \ + third_party/icu/source/i18n/search.cpp \ + third_party/icu/source/i18n/selfmt.cpp \ + third_party/icu/source/i18n/simpletz.cpp \ + third_party/icu/source/i18n/smpdtfmt.cpp \ + third_party/icu/source/i18n/smpdtfst.cpp \ + third_party/icu/source/i18n/sortkey.cpp \ + third_party/icu/source/i18n/strmatch.cpp \ + third_party/icu/source/i18n/strrepl.cpp \ + third_party/icu/source/i18n/stsearch.cpp \ + third_party/icu/source/i18n/taiwncal.cpp \ + third_party/icu/source/i18n/tblcoll.cpp \ + third_party/icu/source/i18n/timezone.cpp \ + third_party/icu/source/i18n/titletrn.cpp \ + third_party/icu/source/i18n/tmunit.cpp \ + third_party/icu/source/i18n/tmutamt.cpp \ + third_party/icu/source/i18n/tmutfmt.cpp \ + third_party/icu/source/i18n/tolowtrn.cpp \ + third_party/icu/source/i18n/toupptrn.cpp \ + third_party/icu/source/i18n/translit.cpp \ + third_party/icu/source/i18n/transreg.cpp \ + third_party/icu/source/i18n/tridpars.cpp \ + third_party/icu/source/i18n/tzfmt.cpp \ + third_party/icu/source/i18n/tzgnames.cpp \ + third_party/icu/source/i18n/tznames.cpp \ + third_party/icu/source/i18n/tznames_impl.cpp \ + third_party/icu/source/i18n/tzrule.cpp \ + third_party/icu/source/i18n/tztrans.cpp \ + third_party/icu/source/i18n/ucal.cpp \ + third_party/icu/source/i18n/ucln_in.c \ + third_party/icu/source/i18n/ucol_bld.cpp \ + third_party/icu/source/i18n/ucol_cnt.cpp \ + third_party/icu/source/i18n/ucol.cpp \ + third_party/icu/source/i18n/ucoleitr.cpp \ + third_party/icu/source/i18n/ucol_elm.cpp \ + third_party/icu/source/i18n/ucol_res.cpp \ + third_party/icu/source/i18n/ucol_sit.cpp \ + third_party/icu/source/i18n/ucol_tok.cpp \ + third_party/icu/source/i18n/ucol_wgt.cpp \ + third_party/icu/source/i18n/ucsdet.cpp \ + third_party/icu/source/i18n/ucurr.cpp \ + third_party/icu/source/i18n/udat.cpp \ + third_party/icu/source/i18n/udateintervalformat.cpp \ + third_party/icu/source/i18n/udatpg.cpp \ + third_party/icu/source/i18n/ulocdata.c \ + third_party/icu/source/i18n/umsg.cpp \ + third_party/icu/source/i18n/unesctrn.cpp \ + third_party/icu/source/i18n/uni2name.cpp \ + third_party/icu/source/i18n/unum.cpp \ + third_party/icu/source/i18n/unumsys.cpp \ + third_party/icu/source/i18n/upluralrules.cpp \ + third_party/icu/source/i18n/uregexc.cpp \ + third_party/icu/source/i18n/uregex.cpp \ + third_party/icu/source/i18n/uregion.cpp \ + third_party/icu/source/i18n/usearch.cpp \ + third_party/icu/source/i18n/uspoof_build.cpp \ + third_party/icu/source/i18n/uspoof_conf.cpp \ + third_party/icu/source/i18n/uspoof.cpp \ + third_party/icu/source/i18n/uspoof_impl.cpp \ + third_party/icu/source/i18n/uspoof_wsconf.cpp \ + third_party/icu/source/i18n/utmscale.c \ + third_party/icu/source/i18n/utrans.cpp \ + third_party/icu/source/i18n/vtzone.cpp \ + third_party/icu/source/i18n/vzone.cpp \ + third_party/icu/source/i18n/windtfmt.cpp \ + third_party/icu/source/i18n/winnmfmt.cpp \ + third_party/icu/source/i18n/wintzimpl.cpp \ + third_party/icu/source/i18n/zonemeta.cpp \ + third_party/icu/source/i18n/zrule.cpp \ + third_party/icu/source/i18n/ztrans.cpp + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-deprecated-declarations \ + -fno-builtin-sin \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_I18N_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-deprecated-declarations \ + -fno-builtin-sin \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_I18N_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := false +LOCAL_NDK_STL_VARIANT := stlport_static + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icui18n_gyp + +# Alias gyp target name. +.PHONY: icui18n +icui18n: third_party_icu_icui18n_gyp + +include $(BUILD_STATIC_LIBRARY) diff --git a/icuuc.host.darwin-mips64.mk b/icuuc.host.darwin-mips64.mk new file mode 100644 index 0000000..70eeca1 --- /dev/null +++ b/icuuc.host.darwin-mips64.mk @@ -0,0 +1,390 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_IS_HOST_MODULE := true +LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/source/common/appendable.cpp \ + third_party/icu/source/common/bmpset.cpp \ + third_party/icu/source/common/brkeng.cpp \ + third_party/icu/source/common/brkiter.cpp \ + third_party/icu/source/common/bytestream.cpp \ + third_party/icu/source/common/bytestriebuilder.cpp \ + third_party/icu/source/common/bytestrie.cpp \ + third_party/icu/source/common/bytestrieiterator.cpp \ + third_party/icu/source/common/caniter.cpp \ + third_party/icu/source/common/chariter.cpp \ + third_party/icu/source/common/charstr.cpp \ + third_party/icu/source/common/cmemory.c \ + third_party/icu/source/common/cstring.c \ + third_party/icu/source/common/cwchar.c \ + third_party/icu/source/common/dictbe.cpp \ + third_party/icu/source/common/dictionarydata.cpp \ + third_party/icu/source/common/dtintrv.cpp \ + third_party/icu/source/common/errorcode.cpp \ + third_party/icu/source/common/filterednormalizer2.cpp \ + third_party/icu/source/common/icudataver.c \ + third_party/icu/source/common/icuplug.c \ + third_party/icu/source/common/listformatter.cpp \ + third_party/icu/source/common/locavailable.cpp \ + third_party/icu/source/common/locbased.cpp \ + third_party/icu/source/common/locdispnames.cpp \ + third_party/icu/source/common/locid.cpp \ + third_party/icu/source/common/loclikely.cpp \ + third_party/icu/source/common/locmap.c \ + third_party/icu/source/common/locresdata.cpp \ + third_party/icu/source/common/locutil.cpp \ + third_party/icu/source/common/messagepattern.cpp \ + third_party/icu/source/common/normalizer2.cpp \ + third_party/icu/source/common/normalizer2impl.cpp \ + third_party/icu/source/common/normlzr.cpp \ + third_party/icu/source/common/parsepos.cpp \ + third_party/icu/source/common/patternprops.cpp \ + third_party/icu/source/common/propname.cpp \ + third_party/icu/source/common/propsvec.c \ + third_party/icu/source/common/punycode.cpp \ + third_party/icu/source/common/putil.cpp \ + third_party/icu/source/common/rbbi.cpp \ + third_party/icu/source/common/rbbidata.cpp \ + third_party/icu/source/common/rbbinode.cpp \ + third_party/icu/source/common/rbbirb.cpp \ + third_party/icu/source/common/rbbiscan.cpp \ + third_party/icu/source/common/rbbisetb.cpp \ + third_party/icu/source/common/rbbistbl.cpp \ + third_party/icu/source/common/rbbitblb.cpp \ + third_party/icu/source/common/resbund_cnv.cpp \ + third_party/icu/source/common/resbund.cpp \ + third_party/icu/source/common/ruleiter.cpp \ + third_party/icu/source/common/schriter.cpp \ + third_party/icu/source/common/serv.cpp \ + third_party/icu/source/common/servlk.cpp \ + third_party/icu/source/common/servlkf.cpp \ + third_party/icu/source/common/servls.cpp \ + third_party/icu/source/common/servnotf.cpp \ + third_party/icu/source/common/servrbf.cpp \ + third_party/icu/source/common/servslkf.cpp \ + third_party/icu/source/common/stringpiece.cpp \ + third_party/icu/source/common/stringtriebuilder.cpp \ + third_party/icu/source/common/uarrsort.c \ + third_party/icu/source/common/ubidi.c \ + third_party/icu/source/common/ubidiln.c \ + third_party/icu/source/common/ubidi_props.c \ + third_party/icu/source/common/ubidiwrt.c \ + third_party/icu/source/common/ubrk.cpp \ + third_party/icu/source/common/ucase.cpp \ + third_party/icu/source/common/ucasemap.cpp \ + third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp \ + third_party/icu/source/common/ucat.c \ + third_party/icu/source/common/uchar.c \ + third_party/icu/source/common/ucharstriebuilder.cpp \ + third_party/icu/source/common/ucharstrie.cpp \ + third_party/icu/source/common/ucharstrieiterator.cpp \ + third_party/icu/source/common/uchriter.cpp \ + third_party/icu/source/common/ucln_cmn.c \ + third_party/icu/source/common/ucmndata.c \ + third_party/icu/source/common/ucnv2022.cpp \ + third_party/icu/source/common/ucnv_bld.cpp \ + third_party/icu/source/common/ucnvbocu.cpp \ + third_party/icu/source/common/ucnv.c \ + third_party/icu/source/common/ucnv_cb.c \ + third_party/icu/source/common/ucnv_cnv.c \ + third_party/icu/source/common/ucnv_ct.c \ + third_party/icu/source/common/ucnvdisp.c \ + third_party/icu/source/common/ucnv_err.c \ + third_party/icu/source/common/ucnv_ext.cpp \ + third_party/icu/source/common/ucnvhz.c \ + third_party/icu/source/common/ucnv_io.cpp \ + third_party/icu/source/common/ucnvisci.c \ + third_party/icu/source/common/ucnvlat1.c \ + third_party/icu/source/common/ucnv_lmb.c \ + third_party/icu/source/common/ucnvmbcs.c \ + third_party/icu/source/common/ucnvscsu.c \ + third_party/icu/source/common/ucnvsel.cpp \ + third_party/icu/source/common/ucnv_set.c \ + third_party/icu/source/common/ucnv_u16.c \ + third_party/icu/source/common/ucnv_u32.c \ + third_party/icu/source/common/ucnv_u7.c \ + third_party/icu/source/common/ucnv_u8.c \ + third_party/icu/source/common/ucol_swp.cpp \ + third_party/icu/source/common/udata.cpp \ + third_party/icu/source/common/udatamem.c \ + third_party/icu/source/common/udataswp.c \ + third_party/icu/source/common/uenum.c \ + third_party/icu/source/common/uhash.c \ + third_party/icu/source/common/uhash_us.cpp \ + third_party/icu/source/common/uidna.cpp \ + third_party/icu/source/common/uinit.cpp \ + third_party/icu/source/common/uinvchar.c \ + third_party/icu/source/common/uiter.cpp \ + third_party/icu/source/common/ulist.c \ + third_party/icu/source/common/uloc.cpp \ + third_party/icu/source/common/uloc_tag.c \ + third_party/icu/source/common/umapfile.c \ + third_party/icu/source/common/umath.c \ + third_party/icu/source/common/umutex.cpp \ + third_party/icu/source/common/unames.cpp \ + third_party/icu/source/common/unifilt.cpp \ + third_party/icu/source/common/unifunct.cpp \ + third_party/icu/source/common/uniset_closure.cpp \ + third_party/icu/source/common/uniset.cpp \ + third_party/icu/source/common/uniset_props.cpp \ + third_party/icu/source/common/unisetspan.cpp \ + third_party/icu/source/common/unistr_case.cpp \ + third_party/icu/source/common/unistr_case_locale.cpp \ + third_party/icu/source/common/unistr_cnv.cpp \ + third_party/icu/source/common/unistr.cpp \ + third_party/icu/source/common/unistr_props.cpp \ + third_party/icu/source/common/unistr_titlecase_brkiter.cpp \ + third_party/icu/source/common/unormcmp.cpp \ + third_party/icu/source/common/unorm.cpp \ + third_party/icu/source/common/unorm_it.c \ + third_party/icu/source/common/uobject.cpp \ + third_party/icu/source/common/uprops.cpp \ + third_party/icu/source/common/uresbund.cpp \ + third_party/icu/source/common/ures_cnv.c \ + third_party/icu/source/common/uresdata.c \ + third_party/icu/source/common/usc_impl.c \ + third_party/icu/source/common/uscript.c \ + third_party/icu/source/common/uscript_props.cpp \ + third_party/icu/source/common/uset.cpp \ + third_party/icu/source/common/usetiter.cpp \ + third_party/icu/source/common/uset_props.cpp \ + third_party/icu/source/common/ushape.cpp \ + third_party/icu/source/common/usprep.cpp \ + third_party/icu/source/common/ustack.cpp \ + third_party/icu/source/common/ustrcase.cpp \ + third_party/icu/source/common/ustrcase_locale.cpp \ + third_party/icu/source/common/ustr_cnv.c \ + third_party/icu/source/common/ustrenum.cpp \ + third_party/icu/source/common/ustrfmt.c \ + third_party/icu/source/common/ustring.cpp \ + third_party/icu/source/common/ustr_titlecase_brkiter.cpp \ + third_party/icu/source/common/ustrtrns.cpp \ + third_party/icu/source/common/ustr_wcs.cpp \ + third_party/icu/source/common/utext.cpp \ + third_party/icu/source/common/utf_impl.c \ + third_party/icu/source/common/util.cpp \ + third_party/icu/source/common/util_props.cpp \ + third_party/icu/source/common/utrace.c \ + third_party/icu/source/common/utrie2_builder.cpp \ + third_party/icu/source/common/utrie2.cpp \ + third_party/icu/source/common/utrie.cpp \ + third_party/icu/source/common/uts46.cpp \ + third_party/icu/source/common/utypes.c \ + third_party/icu/source/common/uvector.cpp \ + third_party/icu/source/common/uvectr32.cpp \ + third_party/icu/source/common/uvectr64.cpp \ + third_party/icu/source/common/wintz.c + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-deprecated-declarations \ + -Wno-unused-function \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Wno-deprecated-declarations \ + -Wno-logical-op-parentheses \ + -Wno-tautological-compare \ + -Wno-switch \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_COMMON_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -std=gnu++11 + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-deprecated-declarations \ + -Wno-unused-function \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Wno-deprecated-declarations \ + -Wno-logical-op-parentheses \ + -Wno-tautological-compare \ + -Wno-switch \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_COMMON_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -std=gnu++11 + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +# Undefine ANDROID for host modules +LOCAL_CFLAGS += -UANDROID +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := true + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +# Alias gyp target name. +.PHONY: icuuc +icuuc: third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +include $(BUILD_HOST_STATIC_LIBRARY) diff --git a/icuuc.host.linux-mips64.mk b/icuuc.host.linux-mips64.mk new file mode 100644 index 0000000..70eeca1 --- /dev/null +++ b/icuuc.host.linux-mips64.mk @@ -0,0 +1,390 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_IS_HOST_MODULE := true +LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/source/common/appendable.cpp \ + third_party/icu/source/common/bmpset.cpp \ + third_party/icu/source/common/brkeng.cpp \ + third_party/icu/source/common/brkiter.cpp \ + third_party/icu/source/common/bytestream.cpp \ + third_party/icu/source/common/bytestriebuilder.cpp \ + third_party/icu/source/common/bytestrie.cpp \ + third_party/icu/source/common/bytestrieiterator.cpp \ + third_party/icu/source/common/caniter.cpp \ + third_party/icu/source/common/chariter.cpp \ + third_party/icu/source/common/charstr.cpp \ + third_party/icu/source/common/cmemory.c \ + third_party/icu/source/common/cstring.c \ + third_party/icu/source/common/cwchar.c \ + third_party/icu/source/common/dictbe.cpp \ + third_party/icu/source/common/dictionarydata.cpp \ + third_party/icu/source/common/dtintrv.cpp \ + third_party/icu/source/common/errorcode.cpp \ + third_party/icu/source/common/filterednormalizer2.cpp \ + third_party/icu/source/common/icudataver.c \ + third_party/icu/source/common/icuplug.c \ + third_party/icu/source/common/listformatter.cpp \ + third_party/icu/source/common/locavailable.cpp \ + third_party/icu/source/common/locbased.cpp \ + third_party/icu/source/common/locdispnames.cpp \ + third_party/icu/source/common/locid.cpp \ + third_party/icu/source/common/loclikely.cpp \ + third_party/icu/source/common/locmap.c \ + third_party/icu/source/common/locresdata.cpp \ + third_party/icu/source/common/locutil.cpp \ + third_party/icu/source/common/messagepattern.cpp \ + third_party/icu/source/common/normalizer2.cpp \ + third_party/icu/source/common/normalizer2impl.cpp \ + third_party/icu/source/common/normlzr.cpp \ + third_party/icu/source/common/parsepos.cpp \ + third_party/icu/source/common/patternprops.cpp \ + third_party/icu/source/common/propname.cpp \ + third_party/icu/source/common/propsvec.c \ + third_party/icu/source/common/punycode.cpp \ + third_party/icu/source/common/putil.cpp \ + third_party/icu/source/common/rbbi.cpp \ + third_party/icu/source/common/rbbidata.cpp \ + third_party/icu/source/common/rbbinode.cpp \ + third_party/icu/source/common/rbbirb.cpp \ + third_party/icu/source/common/rbbiscan.cpp \ + third_party/icu/source/common/rbbisetb.cpp \ + third_party/icu/source/common/rbbistbl.cpp \ + third_party/icu/source/common/rbbitblb.cpp \ + third_party/icu/source/common/resbund_cnv.cpp \ + third_party/icu/source/common/resbund.cpp \ + third_party/icu/source/common/ruleiter.cpp \ + third_party/icu/source/common/schriter.cpp \ + third_party/icu/source/common/serv.cpp \ + third_party/icu/source/common/servlk.cpp \ + third_party/icu/source/common/servlkf.cpp \ + third_party/icu/source/common/servls.cpp \ + third_party/icu/source/common/servnotf.cpp \ + third_party/icu/source/common/servrbf.cpp \ + third_party/icu/source/common/servslkf.cpp \ + third_party/icu/source/common/stringpiece.cpp \ + third_party/icu/source/common/stringtriebuilder.cpp \ + third_party/icu/source/common/uarrsort.c \ + third_party/icu/source/common/ubidi.c \ + third_party/icu/source/common/ubidiln.c \ + third_party/icu/source/common/ubidi_props.c \ + third_party/icu/source/common/ubidiwrt.c \ + third_party/icu/source/common/ubrk.cpp \ + third_party/icu/source/common/ucase.cpp \ + third_party/icu/source/common/ucasemap.cpp \ + third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp \ + third_party/icu/source/common/ucat.c \ + third_party/icu/source/common/uchar.c \ + third_party/icu/source/common/ucharstriebuilder.cpp \ + third_party/icu/source/common/ucharstrie.cpp \ + third_party/icu/source/common/ucharstrieiterator.cpp \ + third_party/icu/source/common/uchriter.cpp \ + third_party/icu/source/common/ucln_cmn.c \ + third_party/icu/source/common/ucmndata.c \ + third_party/icu/source/common/ucnv2022.cpp \ + third_party/icu/source/common/ucnv_bld.cpp \ + third_party/icu/source/common/ucnvbocu.cpp \ + third_party/icu/source/common/ucnv.c \ + third_party/icu/source/common/ucnv_cb.c \ + third_party/icu/source/common/ucnv_cnv.c \ + third_party/icu/source/common/ucnv_ct.c \ + third_party/icu/source/common/ucnvdisp.c \ + third_party/icu/source/common/ucnv_err.c \ + third_party/icu/source/common/ucnv_ext.cpp \ + third_party/icu/source/common/ucnvhz.c \ + third_party/icu/source/common/ucnv_io.cpp \ + third_party/icu/source/common/ucnvisci.c \ + third_party/icu/source/common/ucnvlat1.c \ + third_party/icu/source/common/ucnv_lmb.c \ + third_party/icu/source/common/ucnvmbcs.c \ + third_party/icu/source/common/ucnvscsu.c \ + third_party/icu/source/common/ucnvsel.cpp \ + third_party/icu/source/common/ucnv_set.c \ + third_party/icu/source/common/ucnv_u16.c \ + third_party/icu/source/common/ucnv_u32.c \ + third_party/icu/source/common/ucnv_u7.c \ + third_party/icu/source/common/ucnv_u8.c \ + third_party/icu/source/common/ucol_swp.cpp \ + third_party/icu/source/common/udata.cpp \ + third_party/icu/source/common/udatamem.c \ + third_party/icu/source/common/udataswp.c \ + third_party/icu/source/common/uenum.c \ + third_party/icu/source/common/uhash.c \ + third_party/icu/source/common/uhash_us.cpp \ + third_party/icu/source/common/uidna.cpp \ + third_party/icu/source/common/uinit.cpp \ + third_party/icu/source/common/uinvchar.c \ + third_party/icu/source/common/uiter.cpp \ + third_party/icu/source/common/ulist.c \ + third_party/icu/source/common/uloc.cpp \ + third_party/icu/source/common/uloc_tag.c \ + third_party/icu/source/common/umapfile.c \ + third_party/icu/source/common/umath.c \ + third_party/icu/source/common/umutex.cpp \ + third_party/icu/source/common/unames.cpp \ + third_party/icu/source/common/unifilt.cpp \ + third_party/icu/source/common/unifunct.cpp \ + third_party/icu/source/common/uniset_closure.cpp \ + third_party/icu/source/common/uniset.cpp \ + third_party/icu/source/common/uniset_props.cpp \ + third_party/icu/source/common/unisetspan.cpp \ + third_party/icu/source/common/unistr_case.cpp \ + third_party/icu/source/common/unistr_case_locale.cpp \ + third_party/icu/source/common/unistr_cnv.cpp \ + third_party/icu/source/common/unistr.cpp \ + third_party/icu/source/common/unistr_props.cpp \ + third_party/icu/source/common/unistr_titlecase_brkiter.cpp \ + third_party/icu/source/common/unormcmp.cpp \ + third_party/icu/source/common/unorm.cpp \ + third_party/icu/source/common/unorm_it.c \ + third_party/icu/source/common/uobject.cpp \ + third_party/icu/source/common/uprops.cpp \ + third_party/icu/source/common/uresbund.cpp \ + third_party/icu/source/common/ures_cnv.c \ + third_party/icu/source/common/uresdata.c \ + third_party/icu/source/common/usc_impl.c \ + third_party/icu/source/common/uscript.c \ + third_party/icu/source/common/uscript_props.cpp \ + third_party/icu/source/common/uset.cpp \ + third_party/icu/source/common/usetiter.cpp \ + third_party/icu/source/common/uset_props.cpp \ + third_party/icu/source/common/ushape.cpp \ + third_party/icu/source/common/usprep.cpp \ + third_party/icu/source/common/ustack.cpp \ + third_party/icu/source/common/ustrcase.cpp \ + third_party/icu/source/common/ustrcase_locale.cpp \ + third_party/icu/source/common/ustr_cnv.c \ + third_party/icu/source/common/ustrenum.cpp \ + third_party/icu/source/common/ustrfmt.c \ + third_party/icu/source/common/ustring.cpp \ + third_party/icu/source/common/ustr_titlecase_brkiter.cpp \ + third_party/icu/source/common/ustrtrns.cpp \ + third_party/icu/source/common/ustr_wcs.cpp \ + third_party/icu/source/common/utext.cpp \ + third_party/icu/source/common/utf_impl.c \ + third_party/icu/source/common/util.cpp \ + third_party/icu/source/common/util_props.cpp \ + third_party/icu/source/common/utrace.c \ + third_party/icu/source/common/utrie2_builder.cpp \ + third_party/icu/source/common/utrie2.cpp \ + third_party/icu/source/common/utrie.cpp \ + third_party/icu/source/common/uts46.cpp \ + third_party/icu/source/common/utypes.c \ + third_party/icu/source/common/uvector.cpp \ + third_party/icu/source/common/uvectr32.cpp \ + third_party/icu/source/common/uvectr64.cpp \ + third_party/icu/source/common/wintz.c + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-deprecated-declarations \ + -Wno-unused-function \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Wno-deprecated-declarations \ + -Wno-logical-op-parentheses \ + -Wno-tautological-compare \ + -Wno-switch \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_COMMON_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -std=gnu++11 + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -pthread \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-deprecated-declarations \ + -Wno-unused-function \ + -Wno-format \ + -Wheader-hygiene \ + -Wno-char-subscripts \ + -Wno-unneeded-internal-declaration \ + -Wno-covered-switch-default \ + -Wstring-conversion \ + -Wno-c++11-narrowing \ + -Wno-deprecated-register \ + -Wno-unused-local-typedef \ + -Wno-deprecated-declarations \ + -Wno-logical-op-parentheses \ + -Wno-tautological-compare \ + -Wno-switch \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_COMMON_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -std=gnu++11 + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +# Undefine ANDROID for host modules +LOCAL_CFLAGS += -UANDROID +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := true + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +# Alias gyp target name. +.PHONY: icuuc +icuuc: third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp + +include $(BUILD_HOST_STATIC_LIBRARY) diff --git a/icuuc.target.darwin-mips64.mk b/icuuc.target.darwin-mips64.mk new file mode 100644 index 0000000..a2d77d1 --- /dev/null +++ b/icuuc.target.darwin-mips64.mk @@ -0,0 +1,419 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icuuc_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) +LOCAL_SDK_VERSION := 21 +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/source/common/appendable.cpp \ + third_party/icu/source/common/bmpset.cpp \ + third_party/icu/source/common/brkeng.cpp \ + third_party/icu/source/common/brkiter.cpp \ + third_party/icu/source/common/bytestream.cpp \ + third_party/icu/source/common/bytestriebuilder.cpp \ + third_party/icu/source/common/bytestrie.cpp \ + third_party/icu/source/common/bytestrieiterator.cpp \ + third_party/icu/source/common/caniter.cpp \ + third_party/icu/source/common/chariter.cpp \ + third_party/icu/source/common/charstr.cpp \ + third_party/icu/source/common/cmemory.c \ + third_party/icu/source/common/cstring.c \ + third_party/icu/source/common/cwchar.c \ + third_party/icu/source/common/dictbe.cpp \ + third_party/icu/source/common/dictionarydata.cpp \ + third_party/icu/source/common/dtintrv.cpp \ + third_party/icu/source/common/errorcode.cpp \ + third_party/icu/source/common/filterednormalizer2.cpp \ + third_party/icu/source/common/icudataver.c \ + third_party/icu/source/common/icuplug.c \ + third_party/icu/source/common/listformatter.cpp \ + third_party/icu/source/common/locavailable.cpp \ + third_party/icu/source/common/locbased.cpp \ + third_party/icu/source/common/locdispnames.cpp \ + third_party/icu/source/common/locid.cpp \ + third_party/icu/source/common/loclikely.cpp \ + third_party/icu/source/common/locmap.c \ + third_party/icu/source/common/locresdata.cpp \ + third_party/icu/source/common/locutil.cpp \ + third_party/icu/source/common/messagepattern.cpp \ + third_party/icu/source/common/normalizer2.cpp \ + third_party/icu/source/common/normalizer2impl.cpp \ + third_party/icu/source/common/normlzr.cpp \ + third_party/icu/source/common/parsepos.cpp \ + third_party/icu/source/common/patternprops.cpp \ + third_party/icu/source/common/propname.cpp \ + third_party/icu/source/common/propsvec.c \ + third_party/icu/source/common/punycode.cpp \ + third_party/icu/source/common/putil.cpp \ + third_party/icu/source/common/rbbi.cpp \ + third_party/icu/source/common/rbbidata.cpp \ + third_party/icu/source/common/rbbinode.cpp \ + third_party/icu/source/common/rbbirb.cpp \ + third_party/icu/source/common/rbbiscan.cpp \ + third_party/icu/source/common/rbbisetb.cpp \ + third_party/icu/source/common/rbbistbl.cpp \ + third_party/icu/source/common/rbbitblb.cpp \ + third_party/icu/source/common/resbund_cnv.cpp \ + third_party/icu/source/common/resbund.cpp \ + third_party/icu/source/common/ruleiter.cpp \ + third_party/icu/source/common/schriter.cpp \ + third_party/icu/source/common/serv.cpp \ + third_party/icu/source/common/servlk.cpp \ + third_party/icu/source/common/servlkf.cpp \ + third_party/icu/source/common/servls.cpp \ + third_party/icu/source/common/servnotf.cpp \ + third_party/icu/source/common/servrbf.cpp \ + third_party/icu/source/common/servslkf.cpp \ + third_party/icu/source/common/stringpiece.cpp \ + third_party/icu/source/common/stringtriebuilder.cpp \ + third_party/icu/source/common/uarrsort.c \ + third_party/icu/source/common/ubidi.c \ + third_party/icu/source/common/ubidiln.c \ + third_party/icu/source/common/ubidi_props.c \ + third_party/icu/source/common/ubidiwrt.c \ + third_party/icu/source/common/ubrk.cpp \ + third_party/icu/source/common/ucase.cpp \ + third_party/icu/source/common/ucasemap.cpp \ + third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp \ + third_party/icu/source/common/ucat.c \ + third_party/icu/source/common/uchar.c \ + third_party/icu/source/common/ucharstriebuilder.cpp \ + third_party/icu/source/common/ucharstrie.cpp \ + third_party/icu/source/common/ucharstrieiterator.cpp \ + third_party/icu/source/common/uchriter.cpp \ + third_party/icu/source/common/ucln_cmn.c \ + third_party/icu/source/common/ucmndata.c \ + third_party/icu/source/common/ucnv2022.cpp \ + third_party/icu/source/common/ucnv_bld.cpp \ + third_party/icu/source/common/ucnvbocu.cpp \ + third_party/icu/source/common/ucnv.c \ + third_party/icu/source/common/ucnv_cb.c \ + third_party/icu/source/common/ucnv_cnv.c \ + third_party/icu/source/common/ucnv_ct.c \ + third_party/icu/source/common/ucnvdisp.c \ + third_party/icu/source/common/ucnv_err.c \ + third_party/icu/source/common/ucnv_ext.cpp \ + third_party/icu/source/common/ucnvhz.c \ + third_party/icu/source/common/ucnv_io.cpp \ + third_party/icu/source/common/ucnvisci.c \ + third_party/icu/source/common/ucnvlat1.c \ + third_party/icu/source/common/ucnv_lmb.c \ + third_party/icu/source/common/ucnvmbcs.c \ + third_party/icu/source/common/ucnvscsu.c \ + third_party/icu/source/common/ucnvsel.cpp \ + third_party/icu/source/common/ucnv_set.c \ + third_party/icu/source/common/ucnv_u16.c \ + third_party/icu/source/common/ucnv_u32.c \ + third_party/icu/source/common/ucnv_u7.c \ + third_party/icu/source/common/ucnv_u8.c \ + third_party/icu/source/common/ucol_swp.cpp \ + third_party/icu/source/common/udata.cpp \ + third_party/icu/source/common/udatamem.c \ + third_party/icu/source/common/udataswp.c \ + third_party/icu/source/common/uenum.c \ + third_party/icu/source/common/uhash.c \ + third_party/icu/source/common/uhash_us.cpp \ + third_party/icu/source/common/uidna.cpp \ + third_party/icu/source/common/uinit.cpp \ + third_party/icu/source/common/uinvchar.c \ + third_party/icu/source/common/uiter.cpp \ + third_party/icu/source/common/ulist.c \ + third_party/icu/source/common/uloc.cpp \ + third_party/icu/source/common/uloc_tag.c \ + third_party/icu/source/common/umapfile.c \ + third_party/icu/source/common/umath.c \ + third_party/icu/source/common/umutex.cpp \ + third_party/icu/source/common/unames.cpp \ + third_party/icu/source/common/unifilt.cpp \ + third_party/icu/source/common/unifunct.cpp \ + third_party/icu/source/common/uniset_closure.cpp \ + third_party/icu/source/common/uniset.cpp \ + third_party/icu/source/common/uniset_props.cpp \ + third_party/icu/source/common/unisetspan.cpp \ + third_party/icu/source/common/unistr_case.cpp \ + third_party/icu/source/common/unistr_case_locale.cpp \ + third_party/icu/source/common/unistr_cnv.cpp \ + third_party/icu/source/common/unistr.cpp \ + third_party/icu/source/common/unistr_props.cpp \ + third_party/icu/source/common/unistr_titlecase_brkiter.cpp \ + third_party/icu/source/common/unormcmp.cpp \ + third_party/icu/source/common/unorm.cpp \ + third_party/icu/source/common/unorm_it.c \ + third_party/icu/source/common/uobject.cpp \ + third_party/icu/source/common/uprops.cpp \ + third_party/icu/source/common/uresbund.cpp \ + third_party/icu/source/common/ures_cnv.c \ + third_party/icu/source/common/uresdata.c \ + third_party/icu/source/common/usc_impl.c \ + third_party/icu/source/common/uscript.c \ + third_party/icu/source/common/uscript_props.cpp \ + third_party/icu/source/common/uset.cpp \ + third_party/icu/source/common/usetiter.cpp \ + third_party/icu/source/common/uset_props.cpp \ + third_party/icu/source/common/ushape.cpp \ + third_party/icu/source/common/usprep.cpp \ + third_party/icu/source/common/ustack.cpp \ + third_party/icu/source/common/ustrcase.cpp \ + third_party/icu/source/common/ustrcase_locale.cpp \ + third_party/icu/source/common/ustr_cnv.c \ + third_party/icu/source/common/ustrenum.cpp \ + third_party/icu/source/common/ustrfmt.c \ + third_party/icu/source/common/ustring.cpp \ + third_party/icu/source/common/ustr_titlecase_brkiter.cpp \ + third_party/icu/source/common/ustrtrns.cpp \ + third_party/icu/source/common/ustr_wcs.cpp \ + third_party/icu/source/common/utext.cpp \ + third_party/icu/source/common/utf_impl.c \ + third_party/icu/source/common/util.cpp \ + third_party/icu/source/common/util_props.cpp \ + third_party/icu/source/common/utrace.c \ + third_party/icu/source/common/utrie2_builder.cpp \ + third_party/icu/source/common/utrie2.cpp \ + third_party/icu/source/common/utrie.cpp \ + third_party/icu/source/common/uts46.cpp \ + third_party/icu/source/common/utypes.c \ + third_party/icu/source/common/uvector.cpp \ + third_party/icu/source/common/uvectr32.cpp \ + third_party/icu/source/common/uvectr64.cpp \ + third_party/icu/source/common/wintz.c + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-deprecated-declarations \ + -Wno-unused-function \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_COMMON_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-deprecated-declarations \ + -Wno-unused-function \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_COMMON_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := false +LOCAL_NDK_STL_VARIANT := stlport_static + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icuuc_gyp + +# Alias gyp target name. +.PHONY: icuuc +icuuc: third_party_icu_icuuc_gyp + +include $(BUILD_STATIC_LIBRARY) diff --git a/icuuc.target.linux-mips64.mk b/icuuc.target.linux-mips64.mk new file mode 100644 index 0000000..a2d77d1 --- /dev/null +++ b/icuuc.target.linux-mips64.mk @@ -0,0 +1,419 @@ +# This file is generated by gyp; do not edit. + +include $(CLEAR_VARS) + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE := third_party_icu_icuuc_gyp +LOCAL_MODULE_SUFFIX := .a +LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) +LOCAL_SDK_VERSION := 21 +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) + +# Make sure our deps are built first. +GYP_TARGET_DEPENDENCIES := + +GYP_GENERATED_OUTPUTS := + +# Make sure our deps and generated files are built first. +LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) + +LOCAL_GENERATED_SOURCES := + +GYP_COPIED_SOURCE_ORIGIN_DIRS := + +LOCAL_SRC_FILES := \ + third_party/icu/source/common/appendable.cpp \ + third_party/icu/source/common/bmpset.cpp \ + third_party/icu/source/common/brkeng.cpp \ + third_party/icu/source/common/brkiter.cpp \ + third_party/icu/source/common/bytestream.cpp \ + third_party/icu/source/common/bytestriebuilder.cpp \ + third_party/icu/source/common/bytestrie.cpp \ + third_party/icu/source/common/bytestrieiterator.cpp \ + third_party/icu/source/common/caniter.cpp \ + third_party/icu/source/common/chariter.cpp \ + third_party/icu/source/common/charstr.cpp \ + third_party/icu/source/common/cmemory.c \ + third_party/icu/source/common/cstring.c \ + third_party/icu/source/common/cwchar.c \ + third_party/icu/source/common/dictbe.cpp \ + third_party/icu/source/common/dictionarydata.cpp \ + third_party/icu/source/common/dtintrv.cpp \ + third_party/icu/source/common/errorcode.cpp \ + third_party/icu/source/common/filterednormalizer2.cpp \ + third_party/icu/source/common/icudataver.c \ + third_party/icu/source/common/icuplug.c \ + third_party/icu/source/common/listformatter.cpp \ + third_party/icu/source/common/locavailable.cpp \ + third_party/icu/source/common/locbased.cpp \ + third_party/icu/source/common/locdispnames.cpp \ + third_party/icu/source/common/locid.cpp \ + third_party/icu/source/common/loclikely.cpp \ + third_party/icu/source/common/locmap.c \ + third_party/icu/source/common/locresdata.cpp \ + third_party/icu/source/common/locutil.cpp \ + third_party/icu/source/common/messagepattern.cpp \ + third_party/icu/source/common/normalizer2.cpp \ + third_party/icu/source/common/normalizer2impl.cpp \ + third_party/icu/source/common/normlzr.cpp \ + third_party/icu/source/common/parsepos.cpp \ + third_party/icu/source/common/patternprops.cpp \ + third_party/icu/source/common/propname.cpp \ + third_party/icu/source/common/propsvec.c \ + third_party/icu/source/common/punycode.cpp \ + third_party/icu/source/common/putil.cpp \ + third_party/icu/source/common/rbbi.cpp \ + third_party/icu/source/common/rbbidata.cpp \ + third_party/icu/source/common/rbbinode.cpp \ + third_party/icu/source/common/rbbirb.cpp \ + third_party/icu/source/common/rbbiscan.cpp \ + third_party/icu/source/common/rbbisetb.cpp \ + third_party/icu/source/common/rbbistbl.cpp \ + third_party/icu/source/common/rbbitblb.cpp \ + third_party/icu/source/common/resbund_cnv.cpp \ + third_party/icu/source/common/resbund.cpp \ + third_party/icu/source/common/ruleiter.cpp \ + third_party/icu/source/common/schriter.cpp \ + third_party/icu/source/common/serv.cpp \ + third_party/icu/source/common/servlk.cpp \ + third_party/icu/source/common/servlkf.cpp \ + third_party/icu/source/common/servls.cpp \ + third_party/icu/source/common/servnotf.cpp \ + third_party/icu/source/common/servrbf.cpp \ + third_party/icu/source/common/servslkf.cpp \ + third_party/icu/source/common/stringpiece.cpp \ + third_party/icu/source/common/stringtriebuilder.cpp \ + third_party/icu/source/common/uarrsort.c \ + third_party/icu/source/common/ubidi.c \ + third_party/icu/source/common/ubidiln.c \ + third_party/icu/source/common/ubidi_props.c \ + third_party/icu/source/common/ubidiwrt.c \ + third_party/icu/source/common/ubrk.cpp \ + third_party/icu/source/common/ucase.cpp \ + third_party/icu/source/common/ucasemap.cpp \ + third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp \ + third_party/icu/source/common/ucat.c \ + third_party/icu/source/common/uchar.c \ + third_party/icu/source/common/ucharstriebuilder.cpp \ + third_party/icu/source/common/ucharstrie.cpp \ + third_party/icu/source/common/ucharstrieiterator.cpp \ + third_party/icu/source/common/uchriter.cpp \ + third_party/icu/source/common/ucln_cmn.c \ + third_party/icu/source/common/ucmndata.c \ + third_party/icu/source/common/ucnv2022.cpp \ + third_party/icu/source/common/ucnv_bld.cpp \ + third_party/icu/source/common/ucnvbocu.cpp \ + third_party/icu/source/common/ucnv.c \ + third_party/icu/source/common/ucnv_cb.c \ + third_party/icu/source/common/ucnv_cnv.c \ + third_party/icu/source/common/ucnv_ct.c \ + third_party/icu/source/common/ucnvdisp.c \ + third_party/icu/source/common/ucnv_err.c \ + third_party/icu/source/common/ucnv_ext.cpp \ + third_party/icu/source/common/ucnvhz.c \ + third_party/icu/source/common/ucnv_io.cpp \ + third_party/icu/source/common/ucnvisci.c \ + third_party/icu/source/common/ucnvlat1.c \ + third_party/icu/source/common/ucnv_lmb.c \ + third_party/icu/source/common/ucnvmbcs.c \ + third_party/icu/source/common/ucnvscsu.c \ + third_party/icu/source/common/ucnvsel.cpp \ + third_party/icu/source/common/ucnv_set.c \ + third_party/icu/source/common/ucnv_u16.c \ + third_party/icu/source/common/ucnv_u32.c \ + third_party/icu/source/common/ucnv_u7.c \ + third_party/icu/source/common/ucnv_u8.c \ + third_party/icu/source/common/ucol_swp.cpp \ + third_party/icu/source/common/udata.cpp \ + third_party/icu/source/common/udatamem.c \ + third_party/icu/source/common/udataswp.c \ + third_party/icu/source/common/uenum.c \ + third_party/icu/source/common/uhash.c \ + third_party/icu/source/common/uhash_us.cpp \ + third_party/icu/source/common/uidna.cpp \ + third_party/icu/source/common/uinit.cpp \ + third_party/icu/source/common/uinvchar.c \ + third_party/icu/source/common/uiter.cpp \ + third_party/icu/source/common/ulist.c \ + third_party/icu/source/common/uloc.cpp \ + third_party/icu/source/common/uloc_tag.c \ + third_party/icu/source/common/umapfile.c \ + third_party/icu/source/common/umath.c \ + third_party/icu/source/common/umutex.cpp \ + third_party/icu/source/common/unames.cpp \ + third_party/icu/source/common/unifilt.cpp \ + third_party/icu/source/common/unifunct.cpp \ + third_party/icu/source/common/uniset_closure.cpp \ + third_party/icu/source/common/uniset.cpp \ + third_party/icu/source/common/uniset_props.cpp \ + third_party/icu/source/common/unisetspan.cpp \ + third_party/icu/source/common/unistr_case.cpp \ + third_party/icu/source/common/unistr_case_locale.cpp \ + third_party/icu/source/common/unistr_cnv.cpp \ + third_party/icu/source/common/unistr.cpp \ + third_party/icu/source/common/unistr_props.cpp \ + third_party/icu/source/common/unistr_titlecase_brkiter.cpp \ + third_party/icu/source/common/unormcmp.cpp \ + third_party/icu/source/common/unorm.cpp \ + third_party/icu/source/common/unorm_it.c \ + third_party/icu/source/common/uobject.cpp \ + third_party/icu/source/common/uprops.cpp \ + third_party/icu/source/common/uresbund.cpp \ + third_party/icu/source/common/ures_cnv.c \ + third_party/icu/source/common/uresdata.c \ + third_party/icu/source/common/usc_impl.c \ + third_party/icu/source/common/uscript.c \ + third_party/icu/source/common/uscript_props.cpp \ + third_party/icu/source/common/uset.cpp \ + third_party/icu/source/common/usetiter.cpp \ + third_party/icu/source/common/uset_props.cpp \ + third_party/icu/source/common/ushape.cpp \ + third_party/icu/source/common/usprep.cpp \ + third_party/icu/source/common/ustack.cpp \ + third_party/icu/source/common/ustrcase.cpp \ + third_party/icu/source/common/ustrcase_locale.cpp \ + third_party/icu/source/common/ustr_cnv.c \ + third_party/icu/source/common/ustrenum.cpp \ + third_party/icu/source/common/ustrfmt.c \ + third_party/icu/source/common/ustring.cpp \ + third_party/icu/source/common/ustr_titlecase_brkiter.cpp \ + third_party/icu/source/common/ustrtrns.cpp \ + third_party/icu/source/common/ustr_wcs.cpp \ + third_party/icu/source/common/utext.cpp \ + third_party/icu/source/common/utf_impl.c \ + third_party/icu/source/common/util.cpp \ + third_party/icu/source/common/util_props.cpp \ + third_party/icu/source/common/utrace.c \ + third_party/icu/source/common/utrie2_builder.cpp \ + third_party/icu/source/common/utrie2.cpp \ + third_party/icu/source/common/utrie.cpp \ + third_party/icu/source/common/uts46.cpp \ + third_party/icu/source/common/utypes.c \ + third_party/icu/source/common/uvector.cpp \ + third_party/icu/source/common/uvectr32.cpp \ + third_party/icu/source/common/uvectr64.cpp \ + third_party/icu/source/common/wintz.c + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Debug := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-deprecated-declarations \ + -Wno-unused-function \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -g \ + -gdwarf-4 \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Debug := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_COMMON_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ + '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ + '-D_DEBUG' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Debug := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Debug := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +# Flags passed to both C and C++ files. +MY_CFLAGS_Release := \ + -fstack-protector \ + --param=ssp-buffer-size=4 \ + \ + -fno-strict-aliasing \ + -Wno-unused-parameter \ + -Wno-missing-field-initializers \ + -fvisibility=hidden \ + -pipe \ + -fPIC \ + -Wno-unused-local-typedefs \ + -Wno-deprecated-declarations \ + -Wno-unused-function \ + -Wno-format \ + -ffunction-sections \ + -funwind-tables \ + -g \ + -fstack-protector \ + -fno-short-enums \ + -finline-limit=64 \ + -Wa,--noexecstack \ + -U_FORTIFY_SOURCE \ + -Wno-extra \ + -Wno-ignored-qualifiers \ + -Wno-type-limits \ + -Wno-unused-but-set-variable \ + -Wno-address \ + -Wno-format-security \ + -Wno-return-type \ + -Wno-sequence-point \ + -Os \ + -fno-ident \ + -fdata-sections \ + -ffunction-sections \ + -fomit-frame-pointer \ + -funwind-tables + +MY_DEFS_Release := \ + '-DU_USING_ICU_NAMESPACE=0' \ + '-DHAVE_DLOPEN=0' \ + '-DUCONFIG_NO_NON_HTML5_CONVERSION=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-D_FILE_OFFSET_BITS=64' \ + '-DNO_TCMALLOC' \ + '-DDISABLE_NACL' \ + '-DU_STATIC_IMPLEMENTATION' \ + '-DCHROMIUM_BUILD' \ + '-DUSE_LIBJPEG_TURBO=1' \ + '-DENABLE_WEBRTC=1' \ + '-DUSE_PROPRIETARY_CODECS' \ + '-DENABLE_BROWSER_CDMS' \ + '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ + '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ + '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ + '-DDONT_EMBED_BUILD_METADATA' \ + '-DCLD_VERSION=1' \ + '-DENABLE_PRINTING=1' \ + '-DENABLE_MANAGED_USERS=1' \ + '-DVIDEO_HOLE=1' \ + '-DENABLE_LOAD_COMPLETION_HACKS=1' \ + '-DU_COMMON_IMPLEMENTATION' \ + '-DU_ENABLE_DYLOAD=0' \ + '-DUSE_LIBPCI=1' \ + '-DUSE_OPENSSL=1' \ + '-DUSE_OPENSSL_CERTS=1' \ + '-DANDROID' \ + '-D__GNU_SOURCE=1' \ + '-DUSE_STLPORT=1' \ + '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ + '-DCHROME_BUILD_ID=""' \ + '-DNDEBUG' \ + '-DNVALGRIND' \ + '-DDYNAMIC_ANNOTATIONS_ENABLED=0' + + +# Include paths placed before CFLAGS/CPPFLAGS +LOCAL_C_INCLUDES_Release := \ + $(LOCAL_PATH)/third_party/icu/source/common \ + $(LOCAL_PATH)/third_party/icu/source/i18n \ + $(gyp_shared_intermediate_dir) + + +# Flags passed to only C++ (and not C) files. +LOCAL_CPPFLAGS_Release := \ + -fno-exceptions \ + -fno-rtti \ + -fno-threadsafe-statics \ + -fvisibility-inlines-hidden \ + -frtti \ + -Wno-deprecated \ + -Wno-uninitialized \ + -std=gnu++11 \ + -Wno-narrowing \ + -Wno-literal-suffix \ + -Wno-non-virtual-dtor \ + -Wno-sign-promo \ + -Wno-non-virtual-dtor + + +LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) +LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) +LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) +LOCAL_ASFLAGS := $(LOCAL_CFLAGS) +### Rules for final target. +### Set directly by aosp_build_settings. +LOCAL_CLANG := false +LOCAL_NDK_STL_VARIANT := stlport_static + +# Add target alias to "gyp_all_modules" target. +.PHONY: gyp_all_modules +gyp_all_modules: third_party_icu_icuuc_gyp + +# Alias gyp target name. +.PHONY: icuuc +icuuc: third_party_icu_icuuc_gyp + +include $(BUILD_STATIC_LIBRARY) |