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_host_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TAGS := optional
      9 LOCAL_IS_HOST_MODULE := true
     10 gyp_intermediate_dir := $(call local-intermediates-dir)
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
     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/mac/icudt46l_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-exceptions \
     35 	-fno-strict-aliasing \
     36 	-Wno-unused-parameter \
     37 	-Wno-missing-field-initializers \
     38 	-fvisibility=hidden \
     39 	-pipe \
     40 	-fPIC \
     41 	-Wno-format \
     42 	-m32 \
     43 	-Os \
     44 	-g \
     45 	-fomit-frame-pointer \
     46 	-fdata-sections \
     47 	-ffunction-sections
     48 
     49 MY_DEFS_Debug := \
     50 	'-DU_USING_ICU_NAMESPACE=0' \
     51 	'-DV8_DEPRECATION_WARNINGS' \
     52 	'-D_FILE_OFFSET_BITS=64' \
     53 	'-DNO_TCMALLOC' \
     54 	'-DDISABLE_NACL' \
     55 	'-DU_STATIC_IMPLEMENTATION' \
     56 	'-DCHROMIUM_BUILD' \
     57 	'-DUSE_LIBJPEG_TURBO=1' \
     58 	'-DUSE_PROPRIETARY_CODECS' \
     59 	'-DENABLE_CONFIGURATION_POLICY' \
     60 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     61 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     62 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
     63 	'-DUSE_OPENSSL=1' \
     64 	'-DENABLE_EGLIMAGE=1' \
     65 	'-DCLD_VERSION=1' \
     66 	'-DENABLE_PRINTING=1' \
     67 	'-DENABLE_MANAGED_USERS=1' \
     68 	'-DU_HIDE_DATA_SYMBOL' \
     69 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
     70 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
     71 	'-D_DEBUG'
     72 
     73 
     74 # Include paths placed before CFLAGS/CPPFLAGS
     75 LOCAL_C_INCLUDES_Debug := \
     76 	$(LOCAL_PATH)/third_party/icu/source/common \
     77 	$(LOCAL_PATH)/third_party/icu/source/i18n
     78 
     79 
     80 # Flags passed to only C++ (and not C) files.
     81 LOCAL_CPPFLAGS_Debug := \
     82 	-fno-rtti \
     83 	-fno-threadsafe-statics \
     84 	-fvisibility-inlines-hidden \
     85 	-Wno-deprecated
     86 
     87 
     88 # Flags passed to both C and C++ files.
     89 MY_CFLAGS_Release := \
     90 	-fstack-protector \
     91 	--param=ssp-buffer-size=4 \
     92 	-pthread \
     93 	-fno-exceptions \
     94 	-fno-strict-aliasing \
     95 	-Wno-unused-parameter \
     96 	-Wno-missing-field-initializers \
     97 	-fvisibility=hidden \
     98 	-pipe \
     99 	-fPIC \
    100 	-Wno-format \
    101 	-m32 \
    102 	-Os \
    103 	-fno-ident \
    104 	-fdata-sections \
    105 	-ffunction-sections \
    106 	-fomit-frame-pointer
    107 
    108 MY_DEFS_Release := \
    109 	'-DU_USING_ICU_NAMESPACE=0' \
    110 	'-DV8_DEPRECATION_WARNINGS' \
    111 	'-D_FILE_OFFSET_BITS=64' \
    112 	'-DNO_TCMALLOC' \
    113 	'-DDISABLE_NACL' \
    114 	'-DU_STATIC_IMPLEMENTATION' \
    115 	'-DCHROMIUM_BUILD' \
    116 	'-DUSE_LIBJPEG_TURBO=1' \
    117 	'-DUSE_PROPRIETARY_CODECS' \
    118 	'-DENABLE_CONFIGURATION_POLICY' \
    119 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    120 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    121 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    122 	'-DUSE_OPENSSL=1' \
    123 	'-DENABLE_EGLIMAGE=1' \
    124 	'-DCLD_VERSION=1' \
    125 	'-DENABLE_PRINTING=1' \
    126 	'-DENABLE_MANAGED_USERS=1' \
    127 	'-DU_HIDE_DATA_SYMBOL' \
    128 	'-DNDEBUG' \
    129 	'-DNVALGRIND' \
    130 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    131 
    132 
    133 # Include paths placed before CFLAGS/CPPFLAGS
    134 LOCAL_C_INCLUDES_Release := \
    135 	$(LOCAL_PATH)/third_party/icu/source/common \
    136 	$(LOCAL_PATH)/third_party/icu/source/i18n
    137 
    138 
    139 # Flags passed to only C++ (and not C) files.
    140 LOCAL_CPPFLAGS_Release := \
    141 	-fno-rtti \
    142 	-fno-threadsafe-statics \
    143 	-fvisibility-inlines-hidden \
    144 	-Wno-deprecated
    145 
    146 
    147 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    148 # Undefine ANDROID for host modules
    149 LOCAL_CFLAGS += -UANDROID
    150 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    151 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    152 ### Rules for final target.
    153 
    154 LOCAL_LDFLAGS_Debug := \
    155 	-pthread \
    156 	-fPIC \
    157 	-m32
    158 
    159 
    160 LOCAL_LDFLAGS_Release := \
    161 	-pthread \
    162 	-fPIC \
    163 	-m32
    164 
    165 
    166 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    167 
    168 LOCAL_STATIC_LIBRARIES :=
    169 
    170 # Enable grouping to fix circular references
    171 LOCAL_GROUP_STATIC_LIBRARIES := true
    172 
    173 LOCAL_SHARED_LIBRARIES :=
    174 
    175 # Add target alias to "gyp_all_modules" target.
    176 .PHONY: gyp_all_modules
    177 gyp_all_modules: third_party_icu_icudata_host_gyp
    178 
    179 # Alias gyp target name.
    180 .PHONY: icudata
    181 icudata: third_party_icu_icudata_host_gyp
    182 
    183 include $(BUILD_HOST_STATIC_LIBRARY)
    184