• 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 := webkit_renderer_compositor_bindings_webkit_compositor_support_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,skia_skia_gyp)/skia.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	webkit/renderer/compositor_bindings/web_compositor_support_impl.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	'-D__STDC_CONSTANT_MACROS' \
84	'-D__STDC_FORMAT_MACROS' \
85	'-DANDROID' \
86	'-D__GNU_SOURCE=1' \
87	'-DUSE_STLPORT=1' \
88	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
89	'-DCHROME_BUILD_ID=""' \
90	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
91	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
92	'-D_DEBUG'
93
94
95# Include paths placed before CFLAGS/CPPFLAGS
96LOCAL_C_INCLUDES_Debug := \
97	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
98	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
99	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
100	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
101	$(LOCAL_PATH)/webkit \
102	$(gyp_shared_intermediate_dir)/webkit \
103	$(LOCAL_PATH) \
104	$(LOCAL_PATH)/skia/config \
105	$(LOCAL_PATH)/third_party/khronos \
106	$(LOCAL_PATH)/gpu \
107	$(LOCAL_PATH)/third_party/WebKit/Source \
108	$(PWD)/external/skia/include \
109	$(PWD)/external/skia/include/core \
110	$(LOCAL_PATH)/third_party/skia/src/core \
111	$(LOCAL_PATH)/skia/ext \
112	$(PWD)/frameworks/wilhelm/include \
113	$(PWD)/bionic \
114	$(PWD)/external/stlport/stlport
115
116
117# Flags passed to only C++ (and not C) files.
118LOCAL_CPPFLAGS_Debug := \
119	-fno-rtti \
120	-fno-threadsafe-statics \
121	-fvisibility-inlines-hidden \
122	-Wsign-compare \
123	-Wno-error=c++0x-compat \
124	-Wno-non-virtual-dtor \
125	-Wno-sign-promo
126
127
128# Flags passed to both C and C++ files.
129MY_CFLAGS_Release := \
130	--param=ssp-buffer-size=4 \
131	-Werror \
132	-fno-exceptions \
133	-fno-strict-aliasing \
134	-Wall \
135	-Wno-unused-parameter \
136	-Wno-missing-field-initializers \
137	-fvisibility=hidden \
138	-pipe \
139	-fPIC \
140	-m32 \
141	-mmmx \
142	-march=pentium4 \
143	-msse2 \
144	-mfpmath=sse \
145	-fuse-ld=gold \
146	-ffunction-sections \
147	-funwind-tables \
148	-g \
149	-fno-short-enums \
150	-finline-limit=64 \
151	-Wa,--noexecstack \
152	-U_FORTIFY_SOURCE \
153	-Wno-extra \
154	-Wno-ignored-qualifiers \
155	-Wno-type-limits \
156	-fno-stack-protector \
157	-Os \
158	-fno-ident \
159	-fdata-sections \
160	-ffunction-sections \
161	-fomit-frame-pointer \
162	-fno-unwind-tables \
163	-fno-asynchronous-unwind-tables
164
165MY_DEFS_Release := \
166	'-DV8_DEPRECATION_WARNINGS' \
167	'-D_FILE_OFFSET_BITS=64' \
168	'-DNO_TCMALLOC' \
169	'-DDISABLE_NACL' \
170	'-DCHROMIUM_BUILD' \
171	'-DUSE_LIBJPEG_TURBO=1' \
172	'-DUSE_PROPRIETARY_CODECS' \
173	'-DENABLE_CONFIGURATION_POLICY' \
174	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
175	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
176	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
177	'-DUSE_OPENSSL=1' \
178	'-DENABLE_EGLIMAGE=1' \
179	'-DCLD_VERSION=1' \
180	'-DENABLE_PRINTING=1' \
181	'-DENABLE_MANAGED_USERS=1' \
182	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
183	'-D__STDC_CONSTANT_MACROS' \
184	'-D__STDC_FORMAT_MACROS' \
185	'-DANDROID' \
186	'-D__GNU_SOURCE=1' \
187	'-DUSE_STLPORT=1' \
188	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
189	'-DCHROME_BUILD_ID=""' \
190	'-DNDEBUG' \
191	'-DNVALGRIND' \
192	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
193	'-D_FORTIFY_SOURCE=2'
194
195
196# Include paths placed before CFLAGS/CPPFLAGS
197LOCAL_C_INCLUDES_Release := \
198	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
199	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
200	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
201	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
202	$(LOCAL_PATH)/webkit \
203	$(gyp_shared_intermediate_dir)/webkit \
204	$(LOCAL_PATH) \
205	$(LOCAL_PATH)/skia/config \
206	$(LOCAL_PATH)/third_party/khronos \
207	$(LOCAL_PATH)/gpu \
208	$(LOCAL_PATH)/third_party/WebKit/Source \
209	$(PWD)/external/skia/include \
210	$(PWD)/external/skia/include/core \
211	$(LOCAL_PATH)/third_party/skia/src/core \
212	$(LOCAL_PATH)/skia/ext \
213	$(PWD)/frameworks/wilhelm/include \
214	$(PWD)/bionic \
215	$(PWD)/external/stlport/stlport
216
217
218# Flags passed to only C++ (and not C) files.
219LOCAL_CPPFLAGS_Release := \
220	-fno-rtti \
221	-fno-threadsafe-statics \
222	-fvisibility-inlines-hidden \
223	-Wsign-compare \
224	-Wno-error=c++0x-compat \
225	-Wno-non-virtual-dtor \
226	-Wno-sign-promo
227
228
229LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
230LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
231LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
232### Rules for final target.
233
234LOCAL_LDFLAGS_Debug := \
235	-Wl,-z,now \
236	-Wl,-z,relro \
237	-Wl,-z,noexecstack \
238	-fPIC \
239	-m32 \
240	-fuse-ld=gold \
241	-nostdlib \
242	-Wl,--no-undefined \
243	-Wl,--exclude-libs=ALL \
244	-Wl,--fatal-warnings \
245	-Wl,--gc-sections \
246	-Wl,--warn-shared-textrel \
247	-Wl,-O1 \
248	-Wl,--as-needed
249
250
251LOCAL_LDFLAGS_Release := \
252	-Wl,-z,now \
253	-Wl,-z,relro \
254	-Wl,-z,noexecstack \
255	-fPIC \
256	-m32 \
257	-fuse-ld=gold \
258	-nostdlib \
259	-Wl,--no-undefined \
260	-Wl,--exclude-libs=ALL \
261	-Wl,-O1 \
262	-Wl,--as-needed \
263	-Wl,--gc-sections \
264	-Wl,--fatal-warnings \
265	-Wl,--warn-shared-textrel
266
267
268LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
269
270LOCAL_STATIC_LIBRARIES :=
271
272# Enable grouping to fix circular references
273LOCAL_GROUP_STATIC_LIBRARIES := true
274
275LOCAL_SHARED_LIBRARIES := \
276	libskia \
277	libstlport \
278	libdl
279
280# Add target alias to "gyp_all_modules" target.
281.PHONY: gyp_all_modules
282gyp_all_modules: webkit_renderer_compositor_bindings_webkit_compositor_support_gyp
283
284# Alias gyp target name.
285.PHONY: webkit_compositor_support
286webkit_compositor_support: webkit_renderer_compositor_bindings_webkit_compositor_support_gyp
287
288include $(BUILD_STATIC_LIBRARY)
289