Home | History | Annotate | Download | only in icu
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
      6 LOCAL_MODULE := third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_IS_HOST_MODULE := true
      9 LOCAL_MULTILIB := $(GYP_HOST_MULTILIB)
     10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX))
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES :=
     15 
     16 GYP_GENERATED_OUTPUTS :=
     17 
     18 # Make sure our deps and generated files are built first.
     19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     20 
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES := \
     26 	third_party/icu/linux/icudtl_dat.S
     27 
     28 
     29 # Flags passed to both C and C++ files.
     30 MY_CFLAGS_Debug := \
     31 	-fstack-protector \
     32 	--param=ssp-buffer-size=4 \
     33 	-pthread \
     34 	-fno-strict-aliasing \
     35 	-Wno-unused-parameter \
     36 	-Wno-missing-field-initializers \
     37 	-fvisibility=hidden \
     38 	-pipe \
     39 	-fPIC \
     40 	-Wno-format \
     41 	-m64 \
     42 	-Wheader-hygiene \
     43 	-Wno-char-subscripts \
     44 	-Wno-unneeded-internal-declaration \
     45 	-Wno-covered-switch-default \
     46 	-Wstring-conversion \
     47 	-Wno-c++11-narrowing \
     48 	-Wno-deprecated-register \
     49 	-Wno-unused-local-typedef \
     50 	-Os \
     51 	-g \
     52 	-gdwarf-4 \
     53 	-fdata-sections \
     54 	-ffunction-sections \
     55 	-funwind-tables
     56 
     57 MY_DEFS_Debug := \
     58 	'-DU_USING_ICU_NAMESPACE=0' \
     59 	'-DHAVE_DLOPEN=0' \
     60 	'-DV8_DEPRECATION_WARNINGS' \
     61 	'-D_FILE_OFFSET_BITS=64' \
     62 	'-DNO_TCMALLOC' \
     63 	'-DDISABLE_NACL' \
     64 	'-DU_STATIC_IMPLEMENTATION' \
     65 	'-DCHROMIUM_BUILD' \
     66 	'-DUSE_LIBJPEG_TURBO=1' \
     67 	'-DENABLE_WEBRTC=1' \
     68 	'-DUSE_PROPRIETARY_CODECS' \
     69 	'-DENABLE_BROWSER_CDMS' \
     70 	'-DENABLE_CONFIGURATION_POLICY' \
     71 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     72 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     73 	'-DENABLE_EGLIMAGE=1' \
     74 	'-DCLD_VERSION=1' \
     75 	'-DENABLE_PRINTING=1' \
     76 	'-DENABLE_MANAGED_USERS=1' \
     77 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
     78 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
     79 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
     80 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
     81 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
     82 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
     83 	'-DVIDEO_HOLE=1' \
     84 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
     85 	'-DU_HIDE_DATA_SYMBOL' \
     86 	'-DUSE_OPENSSL=1' \
     87 	'-DUSE_OPENSSL_CERTS=1' \
     88 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
     89 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
     90 	'-D_DEBUG'
     91 
     92 
     93 # Include paths placed before CFLAGS/CPPFLAGS
     94 LOCAL_C_INCLUDES_Debug := \
     95 	$(LOCAL_PATH)/third_party/icu/source/common \
     96 	$(LOCAL_PATH)/third_party/icu/source/i18n \
     97 	$(gyp_shared_intermediate_dir)
     98 
     99 
    100 # Flags passed to only C++ (and not C) files.
    101 LOCAL_CPPFLAGS_Debug := \
    102 	-fno-exceptions \
    103 	-fno-rtti \
    104 	-fno-threadsafe-statics \
    105 	-fvisibility-inlines-hidden \
    106 	-Wno-deprecated \
    107 	-std=gnu++11
    108 
    109 
    110 # Flags passed to both C and C++ files.
    111 MY_CFLAGS_Release := \
    112 	-fstack-protector \
    113 	--param=ssp-buffer-size=4 \
    114 	-pthread \
    115 	-fno-strict-aliasing \
    116 	-Wno-unused-parameter \
    117 	-Wno-missing-field-initializers \
    118 	-fvisibility=hidden \
    119 	-pipe \
    120 	-fPIC \
    121 	-Wno-format \
    122 	-m64 \
    123 	-Wheader-hygiene \
    124 	-Wno-char-subscripts \
    125 	-Wno-unneeded-internal-declaration \
    126 	-Wno-covered-switch-default \
    127 	-Wstring-conversion \
    128 	-Wno-c++11-narrowing \
    129 	-Wno-deprecated-register \
    130 	-Wno-unused-local-typedef \
    131 	-Os \
    132 	-fno-ident \
    133 	-fdata-sections \
    134 	-ffunction-sections \
    135 	-funwind-tables
    136 
    137 MY_DEFS_Release := \
    138 	'-DU_USING_ICU_NAMESPACE=0' \
    139 	'-DHAVE_DLOPEN=0' \
    140 	'-DV8_DEPRECATION_WARNINGS' \
    141 	'-D_FILE_OFFSET_BITS=64' \
    142 	'-DNO_TCMALLOC' \
    143 	'-DDISABLE_NACL' \
    144 	'-DU_STATIC_IMPLEMENTATION' \
    145 	'-DCHROMIUM_BUILD' \
    146 	'-DUSE_LIBJPEG_TURBO=1' \
    147 	'-DENABLE_WEBRTC=1' \
    148 	'-DUSE_PROPRIETARY_CODECS' \
    149 	'-DENABLE_BROWSER_CDMS' \
    150 	'-DENABLE_CONFIGURATION_POLICY' \
    151 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    152 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    153 	'-DENABLE_EGLIMAGE=1' \
    154 	'-DCLD_VERSION=1' \
    155 	'-DENABLE_PRINTING=1' \
    156 	'-DENABLE_MANAGED_USERS=1' \
    157 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    158 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    159 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    160 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    161 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    162 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    163 	'-DVIDEO_HOLE=1' \
    164 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    165 	'-DU_HIDE_DATA_SYMBOL' \
    166 	'-DUSE_OPENSSL=1' \
    167 	'-DUSE_OPENSSL_CERTS=1' \
    168 	'-DNDEBUG' \
    169 	'-DNVALGRIND' \
    170 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    171 
    172 
    173 # Include paths placed before CFLAGS/CPPFLAGS
    174 LOCAL_C_INCLUDES_Release := \
    175 	$(LOCAL_PATH)/third_party/icu/source/common \
    176 	$(LOCAL_PATH)/third_party/icu/source/i18n \
    177 	$(gyp_shared_intermediate_dir)
    178 
    179 
    180 # Flags passed to only C++ (and not C) files.
    181 LOCAL_CPPFLAGS_Release := \
    182 	-fno-exceptions \
    183 	-fno-rtti \
    184 	-fno-threadsafe-statics \
    185 	-fvisibility-inlines-hidden \
    186 	-Wno-deprecated \
    187 	-std=gnu++11
    188 
    189 
    190 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    191 # Undefine ANDROID for host modules
    192 LOCAL_CFLAGS += -UANDROID
    193 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    194 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    195 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    196 ### Rules for final target.
    197 ### Set directly by aosp_build_settings.
    198 LOCAL_CLANG := true
    199 
    200 # Add target alias to "gyp_all_modules" target.
    201 .PHONY: gyp_all_modules
    202 gyp_all_modules: third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
    203 
    204 # Alias gyp target name.
    205 .PHONY: icudata
    206 icudata: third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
    207 
    208 include $(BUILD_HOST_STATIC_LIBRARY)
    209