• 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 := components_visitedlink_renderer_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp
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_CPP_EXTENSION := .cc
22LOCAL_GENERATED_SOURCES :=
23
24GYP_COPIED_SOURCE_ORIGIN_DIRS :=
25
26LOCAL_SRC_FILES := \
27	components/visitedlink/renderer/visitedlink_slave.cc
28
29
30# Flags passed to both C and C++ files.
31MY_CFLAGS_Debug := \
32	--param=ssp-buffer-size=4 \
33	-Werror \
34	-fno-exceptions \
35	-fno-strict-aliasing \
36	-Wall \
37	-Wno-unused-parameter \
38	-Wno-missing-field-initializers \
39	-fvisibility=hidden \
40	-pipe \
41	-fPIC \
42	-m32 \
43	-mmmx \
44	-march=pentium4 \
45	-msse2 \
46	-mfpmath=sse \
47	-fuse-ld=gold \
48	-ffunction-sections \
49	-funwind-tables \
50	-g \
51	-fno-short-enums \
52	-finline-limit=64 \
53	-Wa,--noexecstack \
54	-U_FORTIFY_SOURCE \
55	-Wno-extra \
56	-Wno-ignored-qualifiers \
57	-Wno-type-limits \
58	-fno-stack-protector \
59	-Os \
60	-g \
61	-fomit-frame-pointer \
62	-fdata-sections \
63	-ffunction-sections
64
65MY_DEFS_Debug := \
66	'-DV8_DEPRECATION_WARNINGS' \
67	'-D_FILE_OFFSET_BITS=64' \
68	'-DNO_TCMALLOC' \
69	'-DDISABLE_NACL' \
70	'-DCHROMIUM_BUILD' \
71	'-DUSE_LIBJPEG_TURBO=1' \
72	'-DUSE_PROPRIETARY_CODECS' \
73	'-DENABLE_CONFIGURATION_POLICY' \
74	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
75	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
76	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
77	'-DUSE_OPENSSL=1' \
78	'-DENABLE_EGLIMAGE=1' \
79	'-DCLD_VERSION=1' \
80	'-DENABLE_PRINTING=1' \
81	'-DENABLE_MANAGED_USERS=1' \
82	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
83	'-DU_USING_ICU_NAMESPACE=0' \
84	'-DCHROME_PNG_WRITE_SUPPORT' \
85	'-DPNG_USER_CONFIG' \
86	'-DCHROME_PNG_READ_PACK_SUPPORT' \
87	'-DUSE_SYSTEM_LIBJPEG' \
88	'-D__STDC_CONSTANT_MACROS' \
89	'-D__STDC_FORMAT_MACROS' \
90	'-DANDROID' \
91	'-D__GNU_SOURCE=1' \
92	'-DUSE_STLPORT=1' \
93	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
94	'-DCHROME_BUILD_ID=""' \
95	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
96	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
97	'-D_DEBUG'
98
99
100# Include paths placed before CFLAGS/CPPFLAGS
101LOCAL_C_INCLUDES_Debug := \
102	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
103	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
104	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
105	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
106	$(LOCAL_PATH) \
107	$(LOCAL_PATH)/skia/config \
108	$(LOCAL_PATH)/third_party/khronos \
109	$(LOCAL_PATH)/gpu \
110	$(LOCAL_PATH)/third_party/WebKit/Source \
111	$(LOCAL_PATH)/third_party/WebKit \
112	$(PWD)/external/skia/include \
113	$(PWD)/external/skia/include/core \
114	$(LOCAL_PATH)/third_party/skia/src/core \
115	$(LOCAL_PATH)/skia/ext \
116	$(PWD)/external/icu4c/common \
117	$(PWD)/external/icu4c/i18n \
118	$(LOCAL_PATH)/third_party/npapi \
119	$(LOCAL_PATH)/third_party/npapi/bindings \
120	$(LOCAL_PATH)/v8/include \
121	$(LOCAL_PATH)/third_party/libpng \
122	$(LOCAL_PATH)/third_party/zlib \
123	$(LOCAL_PATH)/third_party/libwebp \
124	$(LOCAL_PATH)/third_party/ots/include \
125	$(LOCAL_PATH)/third_party/qcms/src \
126	$(LOCAL_PATH)/third_party/iccjpeg \
127	$(PWD)/external/jpeg \
128	$(PWD)/frameworks/wilhelm/include \
129	$(PWD)/bionic \
130	$(PWD)/external/stlport/stlport
131
132
133# Flags passed to only C++ (and not C) files.
134LOCAL_CPPFLAGS_Debug := \
135	-fno-rtti \
136	-fno-threadsafe-statics \
137	-fvisibility-inlines-hidden \
138	-Wsign-compare \
139	-Wno-error=c++0x-compat \
140	-Wno-non-virtual-dtor \
141	-Wno-sign-promo
142
143
144# Flags passed to both C and C++ files.
145MY_CFLAGS_Release := \
146	--param=ssp-buffer-size=4 \
147	-Werror \
148	-fno-exceptions \
149	-fno-strict-aliasing \
150	-Wall \
151	-Wno-unused-parameter \
152	-Wno-missing-field-initializers \
153	-fvisibility=hidden \
154	-pipe \
155	-fPIC \
156	-m32 \
157	-mmmx \
158	-march=pentium4 \
159	-msse2 \
160	-mfpmath=sse \
161	-fuse-ld=gold \
162	-ffunction-sections \
163	-funwind-tables \
164	-g \
165	-fno-short-enums \
166	-finline-limit=64 \
167	-Wa,--noexecstack \
168	-U_FORTIFY_SOURCE \
169	-Wno-extra \
170	-Wno-ignored-qualifiers \
171	-Wno-type-limits \
172	-fno-stack-protector \
173	-Os \
174	-fno-ident \
175	-fdata-sections \
176	-ffunction-sections \
177	-fomit-frame-pointer \
178	-fno-unwind-tables \
179	-fno-asynchronous-unwind-tables
180
181MY_DEFS_Release := \
182	'-DV8_DEPRECATION_WARNINGS' \
183	'-D_FILE_OFFSET_BITS=64' \
184	'-DNO_TCMALLOC' \
185	'-DDISABLE_NACL' \
186	'-DCHROMIUM_BUILD' \
187	'-DUSE_LIBJPEG_TURBO=1' \
188	'-DUSE_PROPRIETARY_CODECS' \
189	'-DENABLE_CONFIGURATION_POLICY' \
190	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
191	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
192	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
193	'-DUSE_OPENSSL=1' \
194	'-DENABLE_EGLIMAGE=1' \
195	'-DCLD_VERSION=1' \
196	'-DENABLE_PRINTING=1' \
197	'-DENABLE_MANAGED_USERS=1' \
198	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
199	'-DU_USING_ICU_NAMESPACE=0' \
200	'-DCHROME_PNG_WRITE_SUPPORT' \
201	'-DPNG_USER_CONFIG' \
202	'-DCHROME_PNG_READ_PACK_SUPPORT' \
203	'-DUSE_SYSTEM_LIBJPEG' \
204	'-D__STDC_CONSTANT_MACROS' \
205	'-D__STDC_FORMAT_MACROS' \
206	'-DANDROID' \
207	'-D__GNU_SOURCE=1' \
208	'-DUSE_STLPORT=1' \
209	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
210	'-DCHROME_BUILD_ID=""' \
211	'-DNDEBUG' \
212	'-DNVALGRIND' \
213	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
214	'-D_FORTIFY_SOURCE=2'
215
216
217# Include paths placed before CFLAGS/CPPFLAGS
218LOCAL_C_INCLUDES_Release := \
219	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
220	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
221	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
222	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
223	$(LOCAL_PATH) \
224	$(LOCAL_PATH)/skia/config \
225	$(LOCAL_PATH)/third_party/khronos \
226	$(LOCAL_PATH)/gpu \
227	$(LOCAL_PATH)/third_party/WebKit/Source \
228	$(LOCAL_PATH)/third_party/WebKit \
229	$(PWD)/external/skia/include \
230	$(PWD)/external/skia/include/core \
231	$(LOCAL_PATH)/third_party/skia/src/core \
232	$(LOCAL_PATH)/skia/ext \
233	$(PWD)/external/icu4c/common \
234	$(PWD)/external/icu4c/i18n \
235	$(LOCAL_PATH)/third_party/npapi \
236	$(LOCAL_PATH)/third_party/npapi/bindings \
237	$(LOCAL_PATH)/v8/include \
238	$(LOCAL_PATH)/third_party/libpng \
239	$(LOCAL_PATH)/third_party/zlib \
240	$(LOCAL_PATH)/third_party/libwebp \
241	$(LOCAL_PATH)/third_party/ots/include \
242	$(LOCAL_PATH)/third_party/qcms/src \
243	$(LOCAL_PATH)/third_party/iccjpeg \
244	$(PWD)/external/jpeg \
245	$(PWD)/frameworks/wilhelm/include \
246	$(PWD)/bionic \
247	$(PWD)/external/stlport/stlport
248
249
250# Flags passed to only C++ (and not C) files.
251LOCAL_CPPFLAGS_Release := \
252	-fno-rtti \
253	-fno-threadsafe-statics \
254	-fvisibility-inlines-hidden \
255	-Wsign-compare \
256	-Wno-error=c++0x-compat \
257	-Wno-non-virtual-dtor \
258	-Wno-sign-promo
259
260
261LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
262LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
263LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
264### Rules for final target.
265
266LOCAL_LDFLAGS_Debug := \
267	-Wl,-z,now \
268	-Wl,-z,relro \
269	-Wl,-z,noexecstack \
270	-fPIC \
271	-m32 \
272	-fuse-ld=gold \
273	-nostdlib \
274	-Wl,--no-undefined \
275	-Wl,--exclude-libs=ALL \
276	-Wl,--fatal-warnings \
277	-Wl,--gc-sections \
278	-Wl,--warn-shared-textrel \
279	-Wl,-O1 \
280	-Wl,--as-needed
281
282
283LOCAL_LDFLAGS_Release := \
284	-Wl,-z,now \
285	-Wl,-z,relro \
286	-Wl,-z,noexecstack \
287	-fPIC \
288	-m32 \
289	-fuse-ld=gold \
290	-nostdlib \
291	-Wl,--no-undefined \
292	-Wl,--exclude-libs=ALL \
293	-Wl,-O1 \
294	-Wl,--as-needed \
295	-Wl,--gc-sections \
296	-Wl,--fatal-warnings \
297	-Wl,--warn-shared-textrel
298
299
300LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
301
302LOCAL_STATIC_LIBRARIES :=
303
304# Enable grouping to fix circular references
305LOCAL_GROUP_STATIC_LIBRARIES := true
306
307LOCAL_SHARED_LIBRARIES := \
308	libskia \
309	libstlport \
310	libdl
311
312# Add target alias to "gyp_all_modules" target.
313.PHONY: gyp_all_modules
314gyp_all_modules: components_visitedlink_renderer_gyp
315
316# Alias gyp target name.
317.PHONY: visitedlink_renderer
318visitedlink_renderer: components_visitedlink_renderer_gyp
319
320include $(BUILD_STATIC_LIBRARY)
321