• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := third_party_icu_icudata_host_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9LOCAL_IS_HOST_MODULE := true
10gyp_intermediate_dir := $(call local-intermediates-dir)
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
12
13# Make sure our deps are built first.
14GYP_TARGET_DEPENDENCIES :=
15
16GYP_GENERATED_OUTPUTS :=
17
18# Make sure our deps and generated files are built first.
19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
20
21LOCAL_GENERATED_SOURCES :=
22
23GYP_COPIED_SOURCE_ORIGIN_DIRS :=
24
25LOCAL_SRC_FILES := \
26	third_party/icu/linux/icudt46l_dat.S
27
28
29# Flags passed to both C and C++ files.
30MY_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
49MY_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
75LOCAL_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.
81LOCAL_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.
89MY_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
108MY_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
134LOCAL_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.
140LOCAL_CPPFLAGS_Release := \
141	-fno-rtti \
142	-fno-threadsafe-statics \
143	-fvisibility-inlines-hidden \
144	-Wno-deprecated
145
146
147LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
148# Undefine ANDROID for host modules
149LOCAL_CFLAGS += -UANDROID
150LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
151LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
152### Rules for final target.
153
154LOCAL_LDFLAGS_Debug := \
155	-Wl,-z,now \
156	-Wl,-z,relro \
157	-pthread \
158	-fPIC \
159	-m32
160
161
162LOCAL_LDFLAGS_Release := \
163	-Wl,-z,now \
164	-Wl,-z,relro \
165	-pthread \
166	-fPIC \
167	-m32
168
169
170LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
171
172LOCAL_STATIC_LIBRARIES :=
173
174# Enable grouping to fix circular references
175LOCAL_GROUP_STATIC_LIBRARIES := true
176
177LOCAL_SHARED_LIBRARIES :=
178
179# Add target alias to "gyp_all_modules" target.
180.PHONY: gyp_all_modules
181gyp_all_modules: third_party_icu_icudata_host_gyp
182
183# Alias gyp target name.
184.PHONY: icudata
185icudata: third_party_icu_icudata_host_gyp
186
187include $(BUILD_HOST_STATIC_LIBRARY)
188