1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := ui_events_dom4_keycode_converter_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
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_CPP_EXTENSION := .cc
22LOCAL_GENERATED_SOURCES :=
23
24GYP_COPIED_SOURCE_ORIGIN_DIRS :=
25
26LOCAL_SRC_FILES := \
27	ui/events/keycodes/dom4/keycode_converter.cc
28
29
30# Flags passed to both C and C++ files.
31MY_CFLAGS_Debug := \
32	-fstack-protector \
33	--param=ssp-buffer-size=4 \
34	-Werror \
35	-fno-exceptions \
36	-fno-strict-aliasing \
37	-Wall \
38	-Wno-unused-parameter \
39	-Wno-missing-field-initializers \
40	-fvisibility=hidden \
41	-pipe \
42	-fPIC \
43	-Wno-unused-local-typedefs \
44	-m64 \
45	-march=x86-64 \
46	-ffunction-sections \
47	-funwind-tables \
48	-g \
49	-fstack-protector \
50	-fno-short-enums \
51	-finline-limit=64 \
52	-Wa,--noexecstack \
53	-U_FORTIFY_SOURCE \
54	-Wno-extra \
55	-Wno-ignored-qualifiers \
56	-Wno-type-limits \
57	-Wno-unused-but-set-variable \
58	-Os \
59	-g \
60	-fdata-sections \
61	-ffunction-sections \
62	-fomit-frame-pointer \
63	-funwind-tables
64
65MY_DEFS_Debug := \
66	'-DV8_DEPRECATION_WARNINGS' \
67	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
68	'-D_FILE_OFFSET_BITS=64' \
69	'-DNO_TCMALLOC' \
70	'-DDISABLE_NACL' \
71	'-DCHROMIUM_BUILD' \
72	'-DUSE_LIBJPEG_TURBO=1' \
73	'-DENABLE_WEBRTC=1' \
74	'-DUSE_PROPRIETARY_CODECS' \
75	'-DENABLE_BROWSER_CDMS' \
76	'-DENABLE_CONFIGURATION_POLICY' \
77	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
78	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
79	'-DENABLE_EGLIMAGE=1' \
80	'-DCLD_VERSION=1' \
81	'-DENABLE_PRINTING=1' \
82	'-DENABLE_MANAGED_USERS=1' \
83	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
84	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
85	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
86	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
87	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
88	'-DVIDEO_HOLE=1' \
89	'-DUSE_OPENSSL=1' \
90	'-DUSE_OPENSSL_CERTS=1' \
91	'-D__STDC_CONSTANT_MACROS' \
92	'-D__STDC_FORMAT_MACROS' \
93	'-DANDROID' \
94	'-D__GNU_SOURCE=1' \
95	'-DUSE_STLPORT=1' \
96	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
97	'-DCHROME_BUILD_ID=""' \
98	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
99	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
100	'-D_DEBUG'
101
102
103# Include paths placed before CFLAGS/CPPFLAGS
104LOCAL_C_INCLUDES_Debug := \
105	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
106	$(gyp_shared_intermediate_dir) \
107	$(LOCAL_PATH) \
108	$(PWD)/frameworks/wilhelm/include \
109	$(PWD)/bionic \
110	$(PWD)/external/stlport/stlport
111
112
113# Flags passed to only C++ (and not C) files.
114LOCAL_CPPFLAGS_Debug := \
115	-fno-rtti \
116	-fno-threadsafe-statics \
117	-fvisibility-inlines-hidden \
118	-Wsign-compare \
119	-Wno-non-virtual-dtor \
120	-Wno-sign-promo
121
122
123LOCAL_FDO_SUPPORT_Debug := false
124
125# Flags passed to both C and C++ files.
126MY_CFLAGS_Release := \
127	-fstack-protector \
128	--param=ssp-buffer-size=4 \
129	-Werror \
130	-fno-exceptions \
131	-fno-strict-aliasing \
132	-Wall \
133	-Wno-unused-parameter \
134	-Wno-missing-field-initializers \
135	-fvisibility=hidden \
136	-pipe \
137	-fPIC \
138	-Wno-unused-local-typedefs \
139	-m64 \
140	-march=x86-64 \
141	-ffunction-sections \
142	-funwind-tables \
143	-g \
144	-fstack-protector \
145	-fno-short-enums \
146	-finline-limit=64 \
147	-Wa,--noexecstack \
148	-U_FORTIFY_SOURCE \
149	-Wno-extra \
150	-Wno-ignored-qualifiers \
151	-Wno-type-limits \
152	-Wno-unused-but-set-variable \
153	-Os \
154	-fno-ident \
155	-fdata-sections \
156	-ffunction-sections \
157	-fomit-frame-pointer \
158	-funwind-tables
159
160MY_DEFS_Release := \
161	'-DV8_DEPRECATION_WARNINGS' \
162	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
163	'-D_FILE_OFFSET_BITS=64' \
164	'-DNO_TCMALLOC' \
165	'-DDISABLE_NACL' \
166	'-DCHROMIUM_BUILD' \
167	'-DUSE_LIBJPEG_TURBO=1' \
168	'-DENABLE_WEBRTC=1' \
169	'-DUSE_PROPRIETARY_CODECS' \
170	'-DENABLE_BROWSER_CDMS' \
171	'-DENABLE_CONFIGURATION_POLICY' \
172	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
173	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
174	'-DENABLE_EGLIMAGE=1' \
175	'-DCLD_VERSION=1' \
176	'-DENABLE_PRINTING=1' \
177	'-DENABLE_MANAGED_USERS=1' \
178	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
179	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
180	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
181	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
182	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
183	'-DVIDEO_HOLE=1' \
184	'-DUSE_OPENSSL=1' \
185	'-DUSE_OPENSSL_CERTS=1' \
186	'-D__STDC_CONSTANT_MACROS' \
187	'-D__STDC_FORMAT_MACROS' \
188	'-DANDROID' \
189	'-D__GNU_SOURCE=1' \
190	'-DUSE_STLPORT=1' \
191	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
192	'-DCHROME_BUILD_ID=""' \
193	'-DNDEBUG' \
194	'-DNVALGRIND' \
195	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
196	'-D_FORTIFY_SOURCE=2'
197
198
199# Include paths placed before CFLAGS/CPPFLAGS
200LOCAL_C_INCLUDES_Release := \
201	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
202	$(gyp_shared_intermediate_dir) \
203	$(LOCAL_PATH) \
204	$(PWD)/frameworks/wilhelm/include \
205	$(PWD)/bionic \
206	$(PWD)/external/stlport/stlport
207
208
209# Flags passed to only C++ (and not C) files.
210LOCAL_CPPFLAGS_Release := \
211	-fno-rtti \
212	-fno-threadsafe-statics \
213	-fvisibility-inlines-hidden \
214	-Wsign-compare \
215	-Wno-non-virtual-dtor \
216	-Wno-sign-promo
217
218
219LOCAL_FDO_SUPPORT_Release := false
220
221LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
222LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
223LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
224LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
225LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
226### Rules for final target.
227
228LOCAL_LDFLAGS_Debug := \
229	-Wl,-z,now \
230	-Wl,-z,relro \
231	-Wl,--fatal-warnings \
232	-Wl,-z,noexecstack \
233	-fPIC \
234	-m64 \
235	-fuse-ld=gold \
236	-nostdlib \
237	-Wl,--no-undefined \
238	-Wl,--exclude-libs=ALL \
239	-Wl,--warn-shared-textrel \
240	-Wl,-O1 \
241	-Wl,--as-needed
242
243
244LOCAL_LDFLAGS_Release := \
245	-Wl,-z,now \
246	-Wl,-z,relro \
247	-Wl,--fatal-warnings \
248	-Wl,-z,noexecstack \
249	-fPIC \
250	-m64 \
251	-fuse-ld=gold \
252	-nostdlib \
253	-Wl,--no-undefined \
254	-Wl,--exclude-libs=ALL \
255	-Wl,-O1 \
256	-Wl,--as-needed \
257	-Wl,--gc-sections \
258	-Wl,--warn-shared-textrel
259
260
261LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
262
263LOCAL_STATIC_LIBRARIES :=
264
265# Enable grouping to fix circular references
266LOCAL_GROUP_STATIC_LIBRARIES := true
267
268LOCAL_SHARED_LIBRARIES := \
269	libstlport \
270	libdl
271
272# Add target alias to "gyp_all_modules" target.
273.PHONY: gyp_all_modules
274gyp_all_modules: ui_events_dom4_keycode_converter_gyp
275
276# Alias gyp target name.
277.PHONY: dom4_keycode_converter
278dom4_keycode_converter: ui_events_dom4_keycode_converter_gyp
279
280include $(BUILD_STATIC_LIBRARY)
281