• 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_dom4_keycode_converter_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
15GYP_GENERATED_OUTPUTS :=
16
17# Make sure our deps and generated files are built first.
18LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
19
20LOCAL_CPP_EXTENSION := .cc
21LOCAL_GENERATED_SOURCES :=
22
23GYP_COPIED_SOURCE_ORIGIN_DIRS :=
24
25LOCAL_SRC_FILES := \
26	ui/events/keycodes/dom4/keycode_converter.cc
27
28
29# Flags passed to both C and C++ files.
30MY_CFLAGS_Debug := \
31	--param=ssp-buffer-size=4 \
32	-Werror \
33	-fno-exceptions \
34	-fno-strict-aliasing \
35	-Wall \
36	-Wno-unused-parameter \
37	-Wno-missing-field-initializers \
38	-fvisibility=hidden \
39	-pipe \
40	-fPIC \
41	-m32 \
42	-mmmx \
43	-march=pentium4 \
44	-msse2 \
45	-mfpmath=sse \
46	-fuse-ld=gold \
47	-ffunction-sections \
48	-funwind-tables \
49	-g \
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	-fno-stack-protector \
58	-Os \
59	-g \
60	-fomit-frame-pointer \
61	-fdata-sections \
62	-ffunction-sections
63
64MY_DEFS_Debug := \
65	'-DV8_DEPRECATION_WARNINGS' \
66	'-D_FILE_OFFSET_BITS=64' \
67	'-DNO_TCMALLOC' \
68	'-DDISABLE_NACL' \
69	'-DCHROMIUM_BUILD' \
70	'-DUSE_LIBJPEG_TURBO=1' \
71	'-DUSE_PROPRIETARY_CODECS' \
72	'-DENABLE_CONFIGURATION_POLICY' \
73	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
74	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
75	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
76	'-DUSE_OPENSSL=1' \
77	'-DENABLE_EGLIMAGE=1' \
78	'-DCLD_VERSION=1' \
79	'-DENABLE_PRINTING=1' \
80	'-DENABLE_MANAGED_USERS=1' \
81	'-D__STDC_CONSTANT_MACROS' \
82	'-D__STDC_FORMAT_MACROS' \
83	'-DANDROID' \
84	'-D__GNU_SOURCE=1' \
85	'-DUSE_STLPORT=1' \
86	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
87	'-DCHROME_BUILD_ID=""' \
88	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
89	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
90	'-D_DEBUG'
91
92
93# Include paths placed before CFLAGS/CPPFLAGS
94LOCAL_C_INCLUDES_Debug := \
95	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
96	$(LOCAL_PATH) \
97	$(PWD)/frameworks/wilhelm/include \
98	$(PWD)/bionic \
99	$(PWD)/external/stlport/stlport
100
101
102# Flags passed to only C++ (and not C) files.
103LOCAL_CPPFLAGS_Debug := \
104	-fno-rtti \
105	-fno-threadsafe-statics \
106	-fvisibility-inlines-hidden \
107	-Wsign-compare \
108	-Wno-error=c++0x-compat \
109	-Wno-non-virtual-dtor \
110	-Wno-sign-promo
111
112
113# Flags passed to both C and C++ files.
114MY_CFLAGS_Release := \
115	--param=ssp-buffer-size=4 \
116	-Werror \
117	-fno-exceptions \
118	-fno-strict-aliasing \
119	-Wall \
120	-Wno-unused-parameter \
121	-Wno-missing-field-initializers \
122	-fvisibility=hidden \
123	-pipe \
124	-fPIC \
125	-m32 \
126	-mmmx \
127	-march=pentium4 \
128	-msse2 \
129	-mfpmath=sse \
130	-fuse-ld=gold \
131	-ffunction-sections \
132	-funwind-tables \
133	-g \
134	-fno-short-enums \
135	-finline-limit=64 \
136	-Wa,--noexecstack \
137	-U_FORTIFY_SOURCE \
138	-Wno-extra \
139	-Wno-ignored-qualifiers \
140	-Wno-type-limits \
141	-fno-stack-protector \
142	-Os \
143	-fno-ident \
144	-fdata-sections \
145	-ffunction-sections \
146	-fomit-frame-pointer \
147	-fno-unwind-tables \
148	-fno-asynchronous-unwind-tables
149
150MY_DEFS_Release := \
151	'-DV8_DEPRECATION_WARNINGS' \
152	'-D_FILE_OFFSET_BITS=64' \
153	'-DNO_TCMALLOC' \
154	'-DDISABLE_NACL' \
155	'-DCHROMIUM_BUILD' \
156	'-DUSE_LIBJPEG_TURBO=1' \
157	'-DUSE_PROPRIETARY_CODECS' \
158	'-DENABLE_CONFIGURATION_POLICY' \
159	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
160	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
161	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
162	'-DUSE_OPENSSL=1' \
163	'-DENABLE_EGLIMAGE=1' \
164	'-DCLD_VERSION=1' \
165	'-DENABLE_PRINTING=1' \
166	'-DENABLE_MANAGED_USERS=1' \
167	'-D__STDC_CONSTANT_MACROS' \
168	'-D__STDC_FORMAT_MACROS' \
169	'-DANDROID' \
170	'-D__GNU_SOURCE=1' \
171	'-DUSE_STLPORT=1' \
172	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
173	'-DCHROME_BUILD_ID=""' \
174	'-DNDEBUG' \
175	'-DNVALGRIND' \
176	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
177	'-D_FORTIFY_SOURCE=2'
178
179
180# Include paths placed before CFLAGS/CPPFLAGS
181LOCAL_C_INCLUDES_Release := \
182	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
183	$(LOCAL_PATH) \
184	$(PWD)/frameworks/wilhelm/include \
185	$(PWD)/bionic \
186	$(PWD)/external/stlport/stlport
187
188
189# Flags passed to only C++ (and not C) files.
190LOCAL_CPPFLAGS_Release := \
191	-fno-rtti \
192	-fno-threadsafe-statics \
193	-fvisibility-inlines-hidden \
194	-Wsign-compare \
195	-Wno-error=c++0x-compat \
196	-Wno-non-virtual-dtor \
197	-Wno-sign-promo
198
199
200LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
201LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
202LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
203### Rules for final target.
204
205LOCAL_LDFLAGS_Debug := \
206	-Wl,-z,now \
207	-Wl,-z,relro \
208	-Wl,-z,noexecstack \
209	-fPIC \
210	-m32 \
211	-fuse-ld=gold \
212	-nostdlib \
213	-Wl,--no-undefined \
214	-Wl,--exclude-libs=ALL \
215	-Wl,--fatal-warnings \
216	-Wl,--gc-sections \
217	-Wl,--warn-shared-textrel \
218	-Wl,-O1 \
219	-Wl,--as-needed
220
221
222LOCAL_LDFLAGS_Release := \
223	-Wl,-z,now \
224	-Wl,-z,relro \
225	-Wl,-z,noexecstack \
226	-fPIC \
227	-m32 \
228	-fuse-ld=gold \
229	-nostdlib \
230	-Wl,--no-undefined \
231	-Wl,--exclude-libs=ALL \
232	-Wl,-O1 \
233	-Wl,--as-needed \
234	-Wl,--gc-sections \
235	-Wl,--fatal-warnings \
236	-Wl,--warn-shared-textrel
237
238
239LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
240
241LOCAL_STATIC_LIBRARIES :=
242
243# Enable grouping to fix circular references
244LOCAL_GROUP_STATIC_LIBRARIES := true
245
246LOCAL_SHARED_LIBRARIES := \
247	libstlport \
248	libdl
249
250# Add target alias to "gyp_all_modules" target.
251.PHONY: gyp_all_modules
252gyp_all_modules: ui_events_dom4_keycode_converter_gyp
253
254# Alias gyp target name.
255.PHONY: dom4_keycode_converter
256dom4_keycode_converter: ui_events_dom4_keycode_converter_gyp
257
258include $(BUILD_STATIC_LIBRARY)
259