diff options
author | Torne (Richard Coles) <torne@google.com> | 2014-11-06 11:12:36 +0000 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2014-11-06 11:12:36 +0000 |
commit | 75e8cb4da8d131daa99d9fbed996cbd42083fef3 (patch) | |
tree | 9f11b4a3c434b95cd2e7af1557e00e92e6b3058a | |
parent | 1bb8189578968c60ee1af03ee4c97587d4e1756c (diff) | |
parent | cf50e1e1bced13a28c8f78c0c2eed5f6ce5713f9 (diff) | |
download | icu-75e8cb4da8d131daa99d9fbed996cbd42083fef3.tar.gz |
Merge from Chromium at DEPS revision db3f05efe0f9
This commit was generated by merge_to_master.py.
Change-Id: I6c48cc4e4da0ef04984d6b98c1ee805bccabeb8a
72 files changed, 4630 insertions, 120 deletions
diff --git a/icudata.host.darwin-arm.mk b/icudata.host.darwin-arm.mk index 42aed88..3004c4e 100644 --- a/icudata.host.darwin-arm.mk +++ b/icudata.host.darwin-arm.mk @@ -70,15 +70,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -146,15 +149,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -187,6 +193,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.darwin-arm64.mk b/icudata.host.darwin-arm64.mk index dfdef8c..490eb00 100644 --- a/icudata.host.darwin-arm64.mk +++ b/icudata.host.darwin-arm64.mk @@ -69,15 +69,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -144,15 +147,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -185,6 +191,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.darwin-mips.mk b/icudata.host.darwin-mips.mk index 083b355..4bf0311 100644 --- a/icudata.host.darwin-mips.mk +++ b/icudata.host.darwin-mips.mk @@ -71,15 +71,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -148,15 +151,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -189,6 +195,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.darwin-mips64.mk b/icudata.host.darwin-mips64.mk new file mode 100644 index 0000000..e14ed30 --- /dev/null +++ b/icudata.host.darwin-mips64.mk @@ -0,0 +1,207 @@ +# 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_BASIC_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_BASIC_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_CXX_STL := libstdc++ +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.darwin-x86.mk b/icudata.host.darwin-x86.mk index 42aed88..3004c4e 100644 --- a/icudata.host.darwin-x86.mk +++ b/icudata.host.darwin-x86.mk @@ -70,15 +70,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -146,15 +149,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -187,6 +193,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.darwin-x86_64.mk b/icudata.host.darwin-x86_64.mk index e92204d..4faeff6 100644 --- a/icudata.host.darwin-x86_64.mk +++ b/icudata.host.darwin-x86_64.mk @@ -70,15 +70,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -146,15 +149,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -187,6 +193,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.linux-arm.mk b/icudata.host.linux-arm.mk index 4bea557..f9654d6 100644 --- a/icudata.host.linux-arm.mk +++ b/icudata.host.linux-arm.mk @@ -70,15 +70,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -146,15 +149,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -187,6 +193,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.linux-arm64.mk b/icudata.host.linux-arm64.mk index f24dd6a..8d4dfc1 100644 --- a/icudata.host.linux-arm64.mk +++ b/icudata.host.linux-arm64.mk @@ -69,15 +69,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -144,15 +147,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -185,6 +191,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.linux-mips.mk b/icudata.host.linux-mips.mk index f91f311..4a707e9 100644 --- a/icudata.host.linux-mips.mk +++ b/icudata.host.linux-mips.mk @@ -71,15 +71,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -148,15 +151,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -189,6 +195,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.linux-mips64.mk b/icudata.host.linux-mips64.mk new file mode 100644 index 0000000..0d4a3b8 --- /dev/null +++ b/icudata.host.linux-mips64.mk @@ -0,0 +1,207 @@ +# 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_BASIC_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_BASIC_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_CXX_STL := libstdc++ +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-x86.mk b/icudata.host.linux-x86.mk index 4bea557..f9654d6 100644 --- a/icudata.host.linux-x86.mk +++ b/icudata.host.linux-x86.mk @@ -70,15 +70,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -146,15 +149,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -187,6 +193,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.host.linux-x86_64.mk b/icudata.host.linux-x86_64.mk index d7c0857..c9f49b9 100644 --- a/icudata.host.linux-x86_64.mk +++ b/icudata.host.linux-x86_64.mk @@ -70,15 +70,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -146,15 +149,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -187,6 +193,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icudata.target.darwin-arm.mk b/icudata.target.darwin-arm.mk index 9c85608..05ffa0b 100644 --- a/icudata.target.darwin-arm.mk +++ b/icudata.target.darwin-arm.mk @@ -85,15 +85,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -187,15 +190,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.darwin-arm64.mk b/icudata.target.darwin-arm64.mk index e5b3772..0b335ee 100644 --- a/icudata.target.darwin-arm64.mk +++ b/icudata.target.darwin-arm64.mk @@ -74,15 +74,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -164,15 +167,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.darwin-mips.mk b/icudata.target.darwin-mips.mk index d1fbf6b..22402b2 100644 --- a/icudata.target.darwin-mips.mk +++ b/icudata.target.darwin-mips.mk @@ -78,15 +78,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -173,15 +176,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.darwin-mips64.mk b/icudata.target.darwin-mips64.mk new file mode 100644 index 0000000..22402b2 --- /dev/null +++ b/icudata.target.darwin-mips64.mk @@ -0,0 +1,243 @@ +# 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_BASIC_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_BASIC_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.darwin-x86.mk b/icudata.target.darwin-x86.mk index 1859487..d0b551a 100644 --- a/icudata.target.darwin-x86.mk +++ b/icudata.target.darwin-x86.mk @@ -80,15 +80,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -176,15 +179,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.darwin-x86_64.mk b/icudata.target.darwin-x86_64.mk index 26f6815..0e0acca 100644 --- a/icudata.target.darwin-x86_64.mk +++ b/icudata.target.darwin-x86_64.mk @@ -79,15 +79,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -174,15 +177,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.linux-arm.mk b/icudata.target.linux-arm.mk index 9c85608..05ffa0b 100644 --- a/icudata.target.linux-arm.mk +++ b/icudata.target.linux-arm.mk @@ -85,15 +85,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -187,15 +190,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.linux-arm64.mk b/icudata.target.linux-arm64.mk index e5b3772..0b335ee 100644 --- a/icudata.target.linux-arm64.mk +++ b/icudata.target.linux-arm64.mk @@ -74,15 +74,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -164,15 +167,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.linux-mips.mk b/icudata.target.linux-mips.mk index d1fbf6b..22402b2 100644 --- a/icudata.target.linux-mips.mk +++ b/icudata.target.linux-mips.mk @@ -78,15 +78,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -173,15 +176,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.linux-mips64.mk b/icudata.target.linux-mips64.mk new file mode 100644 index 0000000..22402b2 --- /dev/null +++ b/icudata.target.linux-mips64.mk @@ -0,0 +1,243 @@ +# 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_BASIC_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_BASIC_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-x86.mk b/icudata.target.linux-x86.mk index 1859487..d0b551a 100644 --- a/icudata.target.linux-x86.mk +++ b/icudata.target.linux-x86.mk @@ -80,15 +80,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -176,15 +179,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icudata.target.linux-x86_64.mk b/icudata.target.linux-x86_64.mk index 26f6815..0e0acca 100644 --- a/icudata.target.linux-x86_64.mk +++ b/icudata.target.linux-x86_64.mk @@ -79,15 +79,18 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -174,15 +177,18 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.host.darwin-arm.mk b/icui18n.host.darwin-arm.mk index 1de4c07..485e5d8 100644 --- a/icui18n.host.darwin-arm.mk +++ b/icui18n.host.darwin-arm.mk @@ -237,16 +237,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -321,16 +324,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -364,6 +370,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.darwin-arm64.mk b/icui18n.host.darwin-arm64.mk index 9eafe35..23ae105 100644 --- a/icui18n.host.darwin-arm64.mk +++ b/icui18n.host.darwin-arm64.mk @@ -236,16 +236,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -319,16 +322,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -362,6 +368,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.darwin-mips.mk b/icui18n.host.darwin-mips.mk index a8142bd..af8904c 100644 --- a/icui18n.host.darwin-mips.mk +++ b/icui18n.host.darwin-mips.mk @@ -238,16 +238,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -323,16 +326,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -366,6 +372,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.darwin-mips64.mk b/icui18n.host.darwin-mips64.mk new file mode 100644 index 0000000..ce87285 --- /dev/null +++ b/icui18n.host.darwin-mips64.mk @@ -0,0 +1,384 @@ +# 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_BASIC_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_BASIC_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_CXX_STL := libstdc++ +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.darwin-x86.mk b/icui18n.host.darwin-x86.mk index 1de4c07..485e5d8 100644 --- a/icui18n.host.darwin-x86.mk +++ b/icui18n.host.darwin-x86.mk @@ -237,16 +237,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -321,16 +324,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -364,6 +370,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.darwin-x86_64.mk b/icui18n.host.darwin-x86_64.mk index 66ec423..7fc23f2 100644 --- a/icui18n.host.darwin-x86_64.mk +++ b/icui18n.host.darwin-x86_64.mk @@ -237,16 +237,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -321,16 +324,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -364,6 +370,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.linux-arm.mk b/icui18n.host.linux-arm.mk index 1de4c07..485e5d8 100644 --- a/icui18n.host.linux-arm.mk +++ b/icui18n.host.linux-arm.mk @@ -237,16 +237,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -321,16 +324,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -364,6 +370,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.linux-arm64.mk b/icui18n.host.linux-arm64.mk index 9eafe35..23ae105 100644 --- a/icui18n.host.linux-arm64.mk +++ b/icui18n.host.linux-arm64.mk @@ -236,16 +236,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -319,16 +322,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -362,6 +368,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.linux-mips.mk b/icui18n.host.linux-mips.mk index a8142bd..af8904c 100644 --- a/icui18n.host.linux-mips.mk +++ b/icui18n.host.linux-mips.mk @@ -238,16 +238,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -323,16 +326,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -366,6 +372,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.linux-mips64.mk b/icui18n.host.linux-mips64.mk new file mode 100644 index 0000000..ce87285 --- /dev/null +++ b/icui18n.host.linux-mips64.mk @@ -0,0 +1,384 @@ +# 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_BASIC_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_BASIC_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_CXX_STL := libstdc++ +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-x86.mk b/icui18n.host.linux-x86.mk index 1de4c07..485e5d8 100644 --- a/icui18n.host.linux-x86.mk +++ b/icui18n.host.linux-x86.mk @@ -237,16 +237,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -321,16 +324,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -364,6 +370,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.host.linux-x86_64.mk b/icui18n.host.linux-x86_64.mk index 66ec423..7fc23f2 100644 --- a/icui18n.host.linux-x86_64.mk +++ b/icui18n.host.linux-x86_64.mk @@ -237,16 +237,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -321,16 +324,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -364,6 +370,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icui18n.target.darwin-arm.mk b/icui18n.target.darwin-arm.mk index c92206e..55f780c 100644 --- a/icui18n.target.darwin-arm.mk +++ b/icui18n.target.darwin-arm.mk @@ -248,16 +248,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -354,16 +357,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.darwin-arm64.mk b/icui18n.target.darwin-arm64.mk index 1ef8e46..108a751 100644 --- a/icui18n.target.darwin-arm64.mk +++ b/icui18n.target.darwin-arm64.mk @@ -237,16 +237,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -331,16 +334,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.darwin-mips.mk b/icui18n.target.darwin-mips.mk index 292fecc..4eeab89 100644 --- a/icui18n.target.darwin-mips.mk +++ b/icui18n.target.darwin-mips.mk @@ -241,16 +241,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -340,16 +343,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.darwin-mips64.mk b/icui18n.target.darwin-mips64.mk new file mode 100644 index 0000000..4eeab89 --- /dev/null +++ b/icui18n.target.darwin-mips64.mk @@ -0,0 +1,412 @@ +# 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_BASIC_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_BASIC_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.darwin-x86.mk b/icui18n.target.darwin-x86.mk index 818eb77..17a7c8d 100644 --- a/icui18n.target.darwin-x86.mk +++ b/icui18n.target.darwin-x86.mk @@ -243,16 +243,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -343,16 +346,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.darwin-x86_64.mk b/icui18n.target.darwin-x86_64.mk index 4fb9c6d..131d6b9 100644 --- a/icui18n.target.darwin-x86_64.mk +++ b/icui18n.target.darwin-x86_64.mk @@ -242,16 +242,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -341,16 +344,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.linux-arm.mk b/icui18n.target.linux-arm.mk index c92206e..55f780c 100644 --- a/icui18n.target.linux-arm.mk +++ b/icui18n.target.linux-arm.mk @@ -248,16 +248,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -354,16 +357,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.linux-arm64.mk b/icui18n.target.linux-arm64.mk index 1ef8e46..108a751 100644 --- a/icui18n.target.linux-arm64.mk +++ b/icui18n.target.linux-arm64.mk @@ -237,16 +237,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -331,16 +334,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.linux-mips.mk b/icui18n.target.linux-mips.mk index 292fecc..4eeab89 100644 --- a/icui18n.target.linux-mips.mk +++ b/icui18n.target.linux-mips.mk @@ -241,16 +241,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -340,16 +343,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.linux-mips64.mk b/icui18n.target.linux-mips64.mk new file mode 100644 index 0000000..4eeab89 --- /dev/null +++ b/icui18n.target.linux-mips64.mk @@ -0,0 +1,412 @@ +# 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_BASIC_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_BASIC_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-x86.mk b/icui18n.target.linux-x86.mk index 818eb77..17a7c8d 100644 --- a/icui18n.target.linux-x86.mk +++ b/icui18n.target.linux-x86.mk @@ -243,16 +243,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -343,16 +346,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icui18n.target.linux-x86_64.mk b/icui18n.target.linux-x86_64.mk index 4fb9c6d..131d6b9 100644 --- a/icui18n.target.linux-x86_64.mk +++ b/icui18n.target.linux-x86_64.mk @@ -242,16 +242,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -341,16 +344,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.host.darwin-arm.mk b/icuuc.host.darwin-arm.mk index f94aecd..3a8b5e1 100644 --- a/icuuc.host.darwin-arm.mk +++ b/icuuc.host.darwin-arm.mk @@ -246,16 +246,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -330,16 +333,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -373,6 +379,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.darwin-arm64.mk b/icuuc.host.darwin-arm64.mk index 1161a87..f0632f0 100644 --- a/icuuc.host.darwin-arm64.mk +++ b/icuuc.host.darwin-arm64.mk @@ -245,16 +245,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -328,16 +331,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -371,6 +377,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.darwin-mips.mk b/icuuc.host.darwin-mips.mk index ddfaa88..639abaa 100644 --- a/icuuc.host.darwin-mips.mk +++ b/icuuc.host.darwin-mips.mk @@ -247,16 +247,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -332,16 +335,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -375,6 +381,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.darwin-mips64.mk b/icuuc.host.darwin-mips64.mk new file mode 100644 index 0000000..1252394 --- /dev/null +++ b/icuuc.host.darwin-mips64.mk @@ -0,0 +1,393 @@ +# 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_BASIC_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_BASIC_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_CXX_STL := libstdc++ +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.darwin-x86.mk b/icuuc.host.darwin-x86.mk index f94aecd..3a8b5e1 100644 --- a/icuuc.host.darwin-x86.mk +++ b/icuuc.host.darwin-x86.mk @@ -246,16 +246,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -330,16 +333,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -373,6 +379,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.darwin-x86_64.mk b/icuuc.host.darwin-x86_64.mk index b9e98c6..d790e4f 100644 --- a/icuuc.host.darwin-x86_64.mk +++ b/icuuc.host.darwin-x86_64.mk @@ -246,16 +246,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -330,16 +333,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -373,6 +379,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.linux-arm.mk b/icuuc.host.linux-arm.mk index f94aecd..3a8b5e1 100644 --- a/icuuc.host.linux-arm.mk +++ b/icuuc.host.linux-arm.mk @@ -246,16 +246,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -330,16 +333,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -373,6 +379,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.linux-arm64.mk b/icuuc.host.linux-arm64.mk index 1161a87..f0632f0 100644 --- a/icuuc.host.linux-arm64.mk +++ b/icuuc.host.linux-arm64.mk @@ -245,16 +245,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -328,16 +331,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -371,6 +377,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.linux-mips.mk b/icuuc.host.linux-mips.mk index ddfaa88..639abaa 100644 --- a/icuuc.host.linux-mips.mk +++ b/icuuc.host.linux-mips.mk @@ -247,16 +247,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -332,16 +335,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -375,6 +381,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.linux-mips64.mk b/icuuc.host.linux-mips64.mk new file mode 100644 index 0000000..1252394 --- /dev/null +++ b/icuuc.host.linux-mips64.mk @@ -0,0 +1,393 @@ +# 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_BASIC_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_BASIC_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_CXX_STL := libstdc++ +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-x86.mk b/icuuc.host.linux-x86.mk index f94aecd..3a8b5e1 100644 --- a/icuuc.host.linux-x86.mk +++ b/icuuc.host.linux-x86.mk @@ -246,16 +246,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -330,16 +333,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -373,6 +379,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.host.linux-x86_64.mk b/icuuc.host.linux-x86_64.mk index b9e98c6..d790e4f 100644 --- a/icuuc.host.linux-x86_64.mk +++ b/icuuc.host.linux-x86_64.mk @@ -246,16 +246,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -330,16 +333,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -373,6 +379,7 @@ LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) LOCAL_ASFLAGS := $(LOCAL_CFLAGS) ### Rules for final target. ### Set directly by aosp_build_settings. +LOCAL_CXX_STL := libstdc++ LOCAL_CLANG := true # Add target alias to "gyp_all_modules" target. diff --git a/icuuc.target.darwin-arm.mk b/icuuc.target.darwin-arm.mk index 92a36f8..36496f6 100644 --- a/icuuc.target.darwin-arm.mk +++ b/icuuc.target.darwin-arm.mk @@ -257,16 +257,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -363,16 +366,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.darwin-arm64.mk b/icuuc.target.darwin-arm64.mk index 6c3c0ec..22a7848 100644 --- a/icuuc.target.darwin-arm64.mk +++ b/icuuc.target.darwin-arm64.mk @@ -246,16 +246,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -340,16 +343,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.darwin-mips.mk b/icuuc.target.darwin-mips.mk index f3433d5..aed38f2 100644 --- a/icuuc.target.darwin-mips.mk +++ b/icuuc.target.darwin-mips.mk @@ -250,16 +250,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -349,16 +352,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.darwin-mips64.mk b/icuuc.target.darwin-mips64.mk new file mode 100644 index 0000000..aed38f2 --- /dev/null +++ b/icuuc.target.darwin-mips64.mk @@ -0,0 +1,421 @@ +# 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_BASIC_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_BASIC_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.darwin-x86.mk b/icuuc.target.darwin-x86.mk index f264140..1374ac3 100644 --- a/icuuc.target.darwin-x86.mk +++ b/icuuc.target.darwin-x86.mk @@ -252,16 +252,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -352,16 +355,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.darwin-x86_64.mk b/icuuc.target.darwin-x86_64.mk index 3cc2693..680e3e8 100644 --- a/icuuc.target.darwin-x86_64.mk +++ b/icuuc.target.darwin-x86_64.mk @@ -251,16 +251,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -350,16 +353,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.linux-arm.mk b/icuuc.target.linux-arm.mk index 92a36f8..36496f6 100644 --- a/icuuc.target.linux-arm.mk +++ b/icuuc.target.linux-arm.mk @@ -257,16 +257,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -363,16 +366,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.linux-arm64.mk b/icuuc.target.linux-arm64.mk index 6c3c0ec..22a7848 100644 --- a/icuuc.target.linux-arm64.mk +++ b/icuuc.target.linux-arm64.mk @@ -246,16 +246,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -340,16 +343,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.linux-mips.mk b/icuuc.target.linux-mips.mk index f3433d5..aed38f2 100644 --- a/icuuc.target.linux-mips.mk +++ b/icuuc.target.linux-mips.mk @@ -250,16 +250,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -349,16 +352,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.linux-mips64.mk b/icuuc.target.linux-mips64.mk new file mode 100644 index 0000000..aed38f2 --- /dev/null +++ b/icuuc.target.linux-mips64.mk @@ -0,0 +1,421 @@ +# 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_BASIC_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_BASIC_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-x86.mk b/icuuc.target.linux-x86.mk index f264140..1374ac3 100644 --- a/icuuc.target.linux-x86.mk +++ b/icuuc.target.linux-x86.mk @@ -252,16 +252,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -352,16 +355,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ diff --git a/icuuc.target.linux-x86_64.mk b/icuuc.target.linux-x86_64.mk index 3cc2693..680e3e8 100644 --- a/icuuc.target.linux-x86_64.mk +++ b/icuuc.target.linux-x86_64.mk @@ -251,16 +251,19 @@ MY_DEFS_Debug := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ @@ -350,16 +353,19 @@ MY_DEFS_Release := \ '-DUSE_PROPRIETARY_CODECS' \ '-DENABLE_BROWSER_CDMS' \ '-DENABLE_CONFIGURATION_POLICY' \ + '-DENABLE_NOTIFICATIONS' \ '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ - '-DENABLE_EGLIMAGE=1' \ + '-DDONT_EMBED_BUILD_METADATA' \ '-DCLD_VERSION=1' \ '-DENABLE_PRINTING=1' \ + '-DENABLE_BASIC_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' \ |