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 	-m32 \
     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 	-fomit-frame-pointer \
     56 	-funwind-tables
     57 
     58 MY_DEFS_Debug := \
     59 	'-DU_USING_ICU_NAMESPACE=0' \
     60 	'-DHAVE_DLOPEN=0' \
     61 	'-DV8_DEPRECATION_WARNINGS' \
     62 	'-D_FILE_OFFSET_BITS=64' \
     63 	'-DNO_TCMALLOC' \
     64 	'-DDISABLE_NACL' \
     65 	'-DU_STATIC_IMPLEMENTATION' \
     66 	'-DCHROMIUM_BUILD' \
     67 	'-DUSE_LIBJPEG_TURBO=1' \
     68 	'-DENABLE_WEBRTC=1' \
     69 	'-DUSE_PROPRIETARY_CODECS' \
     70 	'-DENABLE_BROWSER_CDMS' \
     71 	'-DENABLE_CONFIGURATION_POLICY' \
     72 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     73 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     74 	'-DENABLE_EGLIMAGE=1' \
     75 	'-DCLD_VERSION=1' \
     76 	'-DENABLE_PRINTING=1' \
     77 	'-DENABLE_MANAGED_USERS=1' \
     78 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
     79 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
     80 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
     81 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
     82 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
     83 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
     84 	'-DVIDEO_HOLE=1' \
     85 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
     86 	'-DU_HIDE_DATA_SYMBOL' \
     87 	'-DUSE_OPENSSL=1' \
     88 	'-DUSE_OPENSSL_CERTS=1' \
     89 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
     90 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
     91 	'-D_DEBUG'
     92 
     93 
     94 # Include paths placed before CFLAGS/CPPFLAGS
     95 LOCAL_C_INCLUDES_Debug := \
     96 	$(LOCAL_PATH)/third_party/icu/source/common \
     97 	$(LOCAL_PATH)/third_party/icu/source/i18n \
     98 	$(gyp_shared_intermediate_dir)
     99 
    100 
    101 # Flags passed to only C++ (and not C) files.
    102 LOCAL_CPPFLAGS_Debug := \
    103 	-fno-exceptions \
    104 	-fno-rtti \
    105 	-fno-threadsafe-statics \
    106 	-fvisibility-inlines-hidden \
    107 	-Wno-deprecated \
    108 	-std=gnu++11
    109 
    110 
    111 # Flags passed to both C and C++ files.
    112 MY_CFLAGS_Release := \
    113 	-fstack-protector \
    114 	--param=ssp-buffer-size=4 \
    115 	-pthread \
    116 	-fno-strict-aliasing \
    117 	-Wno-unused-parameter \
    118 	-Wno-missing-field-initializers \
    119 	-fvisibility=hidden \
    120 	-pipe \
    121 	-fPIC \
    122 	-Wno-format \
    123 	-m32 \
    124 	-Wheader-hygiene \
    125 	-Wno-char-subscripts \
    126 	-Wno-unneeded-internal-declaration \
    127 	-Wno-covered-switch-default \
    128 	-Wstring-conversion \
    129 	-Wno-c++11-narrowing \
    130 	-Wno-deprecated-register \
    131 	-Wno-unused-local-typedef \
    132 	-Os \
    133 	-fno-ident \
    134 	-fdata-sections \
    135 	-ffunction-sections \
    136 	-fomit-frame-pointer \
    137 	-funwind-tables
    138 
    139 MY_DEFS_Release := \
    140 	'-DU_USING_ICU_NAMESPACE=0' \
    141 	'-DHAVE_DLOPEN=0' \
    142 	'-DV8_DEPRECATION_WARNINGS' \
    143 	'-D_FILE_OFFSET_BITS=64' \
    144 	'-DNO_TCMALLOC' \
    145 	'-DDISABLE_NACL' \
    146 	'-DU_STATIC_IMPLEMENTATION' \
    147 	'-DCHROMIUM_BUILD' \
    148 	'-DUSE_LIBJPEG_TURBO=1' \
    149 	'-DENABLE_WEBRTC=1' \
    150 	'-DUSE_PROPRIETARY_CODECS' \
    151 	'-DENABLE_BROWSER_CDMS' \
    152 	'-DENABLE_CONFIGURATION_POLICY' \
    153 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    154 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    155 	'-DENABLE_EGLIMAGE=1' \
    156 	'-DCLD_VERSION=1' \
    157 	'-DENABLE_PRINTING=1' \
    158 	'-DENABLE_MANAGED_USERS=1' \
    159 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    160 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    161 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    162 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    163 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    164 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    165 	'-DVIDEO_HOLE=1' \
    166 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    167 	'-DU_HIDE_DATA_SYMBOL' \
    168 	'-DUSE_OPENSSL=1' \
    169 	'-DUSE_OPENSSL_CERTS=1' \
    170 	'-DNDEBUG' \
    171 	'-DNVALGRIND' \
    172 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    173 
    174 
    175 # Include paths placed before CFLAGS/CPPFLAGS
    176 LOCAL_C_INCLUDES_Release := \
    177 	$(LOCAL_PATH)/third_party/icu/source/common \
    178 	$(LOCAL_PATH)/third_party/icu/source/i18n \
    179 	$(gyp_shared_intermediate_dir)
    180 
    181 
    182 # Flags passed to only C++ (and not C) files.
    183 LOCAL_CPPFLAGS_Release := \
    184 	-fno-exceptions \
    185 	-fno-rtti \
    186 	-fno-threadsafe-statics \
    187 	-fvisibility-inlines-hidden \
    188 	-Wno-deprecated \
    189 	-std=gnu++11
    190 
    191 
    192 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    193 # Undefine ANDROID for host modules
    194 LOCAL_CFLAGS += -UANDROID
    195 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    196 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    197 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    198 ### Rules for final target.
    199 ### Set directly by aosp_build_settings.
    200 LOCAL_CLANG := true
    201 
    202 # Add target alias to "gyp_all_modules" target.
    203 .PHONY: gyp_all_modules
    204 gyp_all_modules: third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
    205 
    206 # Alias gyp target name.
    207 .PHONY: icudata
    208 icudata: third_party_icu_icudata_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
    209 
    210 include $(BUILD_HOST_STATIC_LIBRARY)
    211