• 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 := ui_events_events_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14	$(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \
15	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a
16
17GYP_GENERATED_OUTPUTS :=
18
19# Make sure our deps and generated files are built first.
20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
21
22LOCAL_CPP_EXTENSION := .cc
23LOCAL_GENERATED_SOURCES :=
24
25GYP_COPIED_SOURCE_ORIGIN_DIRS :=
26
27LOCAL_SRC_FILES := \
28	ui/events/event.cc \
29	ui/events/event_dispatcher.cc \
30	ui/events/event_handler.cc \
31	ui/events/event_processor.cc \
32	ui/events/event_source.cc \
33	ui/events/event_target.cc \
34	ui/events/event_targeter.cc \
35	ui/events/event_utils.cc \
36	ui/events/events_stub.cc
37
38
39# Flags passed to both C and C++ files.
40MY_CFLAGS_Debug := \
41	--param=ssp-buffer-size=4 \
42	-Werror \
43	-fno-strict-aliasing \
44	-Wall \
45	-Wno-unused-parameter \
46	-Wno-missing-field-initializers \
47	-fvisibility=hidden \
48	-pipe \
49	-fPIC \
50	-Wno-unused-local-typedefs \
51	-ffunction-sections \
52	-funwind-tables \
53	-g \
54	-fno-short-enums \
55	-finline-limit=64 \
56	-Wa,--noexecstack \
57	-U_FORTIFY_SOURCE \
58	-Wno-extra \
59	-Wno-ignored-qualifiers \
60	-Wno-type-limits \
61	-Wno-unused-but-set-variable \
62	-Os \
63	-g \
64	-gdwarf-4 \
65	-fdata-sections \
66	-ffunction-sections \
67	-funwind-tables
68
69MY_DEFS_Debug := \
70	'-DV8_DEPRECATION_WARNINGS' \
71	'-D_FILE_OFFSET_BITS=64' \
72	'-DNO_TCMALLOC' \
73	'-DDISABLE_NACL' \
74	'-DCHROMIUM_BUILD' \
75	'-DUSE_LIBJPEG_TURBO=1' \
76	'-DENABLE_WEBRTC=1' \
77	'-DUSE_PROPRIETARY_CODECS' \
78	'-DENABLE_BROWSER_CDMS' \
79	'-DENABLE_CONFIGURATION_POLICY' \
80	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
81	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
82	'-DENABLE_EGLIMAGE=1' \
83	'-DCLD_VERSION=1' \
84	'-DENABLE_PRINTING=1' \
85	'-DENABLE_MANAGED_USERS=1' \
86	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
87	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
88	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
89	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
90	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
91	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
92	'-DVIDEO_HOLE=1' \
93	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
94	'-DEVENTS_IMPLEMENTATION' \
95	'-DSK_ENABLE_INST_COUNT=0' \
96	'-DSK_SUPPORT_GPU=1' \
97	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
98	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
99	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
100	'-DGR_GL_IGNORE_ES3_MSAA=0' \
101	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
102	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
103	'-DSK_BUILD_FOR_ANDROID' \
104	'-DSK_USE_POSIX_THREADS' \
105	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
106	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
107	'-DU_USING_ICU_NAMESPACE=0' \
108	'-DU_ENABLE_DYLOAD=0' \
109	'-DUSE_OPENSSL=1' \
110	'-DUSE_OPENSSL_CERTS=1' \
111	'-D__STDC_CONSTANT_MACROS' \
112	'-D__STDC_FORMAT_MACROS' \
113	'-DANDROID' \
114	'-D__GNU_SOURCE=1' \
115	'-DUSE_STLPORT=1' \
116	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
117	'-DCHROME_BUILD_ID=""' \
118	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
119	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
120	'-D_DEBUG'
121
122
123# Include paths placed before CFLAGS/CPPFLAGS
124LOCAL_C_INCLUDES_Debug := \
125	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
126	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
127	$(gyp_shared_intermediate_dir) \
128	$(LOCAL_PATH) \
129	$(LOCAL_PATH)/skia/config \
130	$(LOCAL_PATH)/third_party/skia/src/core \
131	$(LOCAL_PATH)/third_party/skia/include/core \
132	$(LOCAL_PATH)/third_party/skia/include/effects \
133	$(LOCAL_PATH)/third_party/skia/include/pdf \
134	$(LOCAL_PATH)/third_party/skia/include/gpu \
135	$(LOCAL_PATH)/third_party/skia/include/lazy \
136	$(LOCAL_PATH)/third_party/skia/include/pathops \
137	$(LOCAL_PATH)/third_party/skia/include/pipe \
138	$(LOCAL_PATH)/third_party/skia/include/ports \
139	$(LOCAL_PATH)/third_party/skia/include/utils \
140	$(LOCAL_PATH)/skia/ext \
141	$(PWD)/external/icu/icu4c/source/common \
142	$(PWD)/external/icu/icu4c/source/i18n \
143	$(PWD)/frameworks/wilhelm/include \
144	$(PWD)/bionic \
145	$(PWD)/external/stlport/stlport
146
147
148# Flags passed to only C++ (and not C) files.
149LOCAL_CPPFLAGS_Debug := \
150	-fno-exceptions \
151	-fno-rtti \
152	-fno-threadsafe-statics \
153	-fvisibility-inlines-hidden \
154	-Wsign-compare \
155	-std=gnu++11 \
156	-Wno-narrowing \
157	-Wno-literal-suffix \
158	-Wno-non-virtual-dtor \
159	-Wno-sign-promo
160
161
162# Flags passed to both C and C++ files.
163MY_CFLAGS_Release := \
164	--param=ssp-buffer-size=4 \
165	-Werror \
166	-fno-strict-aliasing \
167	-Wall \
168	-Wno-unused-parameter \
169	-Wno-missing-field-initializers \
170	-fvisibility=hidden \
171	-pipe \
172	-fPIC \
173	-Wno-unused-local-typedefs \
174	-ffunction-sections \
175	-funwind-tables \
176	-g \
177	-fno-short-enums \
178	-finline-limit=64 \
179	-Wa,--noexecstack \
180	-U_FORTIFY_SOURCE \
181	-Wno-extra \
182	-Wno-ignored-qualifiers \
183	-Wno-type-limits \
184	-Wno-unused-but-set-variable \
185	-Os \
186	-fno-ident \
187	-fdata-sections \
188	-ffunction-sections \
189	-funwind-tables
190
191MY_DEFS_Release := \
192	'-DV8_DEPRECATION_WARNINGS' \
193	'-D_FILE_OFFSET_BITS=64' \
194	'-DNO_TCMALLOC' \
195	'-DDISABLE_NACL' \
196	'-DCHROMIUM_BUILD' \
197	'-DUSE_LIBJPEG_TURBO=1' \
198	'-DENABLE_WEBRTC=1' \
199	'-DUSE_PROPRIETARY_CODECS' \
200	'-DENABLE_BROWSER_CDMS' \
201	'-DENABLE_CONFIGURATION_POLICY' \
202	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
203	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
204	'-DENABLE_EGLIMAGE=1' \
205	'-DCLD_VERSION=1' \
206	'-DENABLE_PRINTING=1' \
207	'-DENABLE_MANAGED_USERS=1' \
208	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
209	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
210	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
211	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
212	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
213	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
214	'-DVIDEO_HOLE=1' \
215	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
216	'-DEVENTS_IMPLEMENTATION' \
217	'-DSK_ENABLE_INST_COUNT=0' \
218	'-DSK_SUPPORT_GPU=1' \
219	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
220	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
221	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
222	'-DGR_GL_IGNORE_ES3_MSAA=0' \
223	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
224	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
225	'-DSK_BUILD_FOR_ANDROID' \
226	'-DSK_USE_POSIX_THREADS' \
227	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
228	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
229	'-DU_USING_ICU_NAMESPACE=0' \
230	'-DU_ENABLE_DYLOAD=0' \
231	'-DUSE_OPENSSL=1' \
232	'-DUSE_OPENSSL_CERTS=1' \
233	'-D__STDC_CONSTANT_MACROS' \
234	'-D__STDC_FORMAT_MACROS' \
235	'-DANDROID' \
236	'-D__GNU_SOURCE=1' \
237	'-DUSE_STLPORT=1' \
238	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
239	'-DCHROME_BUILD_ID=""' \
240	'-DNDEBUG' \
241	'-DNVALGRIND' \
242	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
243	'-D_FORTIFY_SOURCE=2'
244
245
246# Include paths placed before CFLAGS/CPPFLAGS
247LOCAL_C_INCLUDES_Release := \
248	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
249	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
250	$(gyp_shared_intermediate_dir) \
251	$(LOCAL_PATH) \
252	$(LOCAL_PATH)/skia/config \
253	$(LOCAL_PATH)/third_party/skia/src/core \
254	$(LOCAL_PATH)/third_party/skia/include/core \
255	$(LOCAL_PATH)/third_party/skia/include/effects \
256	$(LOCAL_PATH)/third_party/skia/include/pdf \
257	$(LOCAL_PATH)/third_party/skia/include/gpu \
258	$(LOCAL_PATH)/third_party/skia/include/lazy \
259	$(LOCAL_PATH)/third_party/skia/include/pathops \
260	$(LOCAL_PATH)/third_party/skia/include/pipe \
261	$(LOCAL_PATH)/third_party/skia/include/ports \
262	$(LOCAL_PATH)/third_party/skia/include/utils \
263	$(LOCAL_PATH)/skia/ext \
264	$(PWD)/external/icu/icu4c/source/common \
265	$(PWD)/external/icu/icu4c/source/i18n \
266	$(PWD)/frameworks/wilhelm/include \
267	$(PWD)/bionic \
268	$(PWD)/external/stlport/stlport
269
270
271# Flags passed to only C++ (and not C) files.
272LOCAL_CPPFLAGS_Release := \
273	-fno-exceptions \
274	-fno-rtti \
275	-fno-threadsafe-statics \
276	-fvisibility-inlines-hidden \
277	-Wsign-compare \
278	-std=gnu++11 \
279	-Wno-narrowing \
280	-Wno-literal-suffix \
281	-Wno-non-virtual-dtor \
282	-Wno-sign-promo
283
284
285LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
286LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
287LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
288LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
289### Rules for final target.
290
291LOCAL_SHARED_LIBRARIES := \
292	libstlport \
293	libdl
294
295# Add target alias to "gyp_all_modules" target.
296.PHONY: gyp_all_modules
297gyp_all_modules: ui_events_events_gyp
298
299# Alias gyp target name.
300.PHONY: events
301events: ui_events_events_gyp
302
303include $(BUILD_STATIC_LIBRARY)
304