• 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 := third_party_openmax_dl_dl_openmax_dl_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_GENERATED_SOURCES :=
22
23GYP_COPIED_SOURCE_ORIGIN_DIRS :=
24
25LOCAL_SRC_FILES := \
26	third_party/openmax_dl/dl/sp/src/armSP_FFT_F32TwiddleTable.c \
27	third_party/openmax_dl/dl/sp/src/x86/omxSP_FFTFwd_RToCCS_F32_Sfs.c \
28	third_party/openmax_dl/dl/sp/src/x86/omxSP_FFTGetBufSize_R_F32.c \
29	third_party/openmax_dl/dl/sp/src/x86/omxSP_FFTInit_R_F32.c \
30	third_party/openmax_dl/dl/sp/src/x86/omxSP_FFTInv_CCSToR_F32_Sfs.c \
31	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix2_fs.c \
32	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix2_ls.c \
33	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix2_ls_sse.c \
34	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix2_ms.c \
35	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_fs.c \
36	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_fs_sse.c \
37	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_ls.c \
38	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_ls_sse.c \
39	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_ms.c \
40	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_ms_sse.c \
41	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix2_fs.c \
42	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix2_ls.c \
43	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix2_ls_sse.c \
44	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix2_ms.c \
45	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_fs.c \
46	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_fs_sse.c \
47	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_ls.c \
48	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_ls_sse.c \
49	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_ms.c \
50	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_ms_sse.c \
51	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_F32_radix2_kernel.c \
52	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_F32_radix4_kernel.c
53
54
55# Flags passed to both C and C++ files.
56MY_CFLAGS_Debug := \
57	--param=ssp-buffer-size=4 \
58	-fno-exceptions \
59	-fno-strict-aliasing \
60	-Wno-unused-parameter \
61	-Wno-missing-field-initializers \
62	-fvisibility=hidden \
63	-pipe \
64	-fPIC \
65	-Wno-unused-local-typedefs \
66	-msse2 \
67	-Wno-format \
68	-msse2 \
69	-mfpmath=sse \
70	-mmmx \
71	-m32 \
72	-ffunction-sections \
73	-funwind-tables \
74	-g \
75	-fno-short-enums \
76	-finline-limit=64 \
77	-Wa,--noexecstack \
78	-U_FORTIFY_SOURCE \
79	-Wno-extra \
80	-Wno-ignored-qualifiers \
81	-Wno-type-limits \
82	-Wno-unused-but-set-variable \
83	-fno-stack-protector \
84	-Wno-address \
85	-Wno-format-security \
86	-Wno-return-type \
87	-Wno-sequence-point \
88	-Os \
89	-g \
90	-fdata-sections \
91	-ffunction-sections \
92	-fomit-frame-pointer \
93	-funwind-tables
94
95MY_DEFS_Debug := \
96	'-DV8_DEPRECATION_WARNINGS' \
97	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
98	'-D_FILE_OFFSET_BITS=64' \
99	'-DNO_TCMALLOC' \
100	'-DDISABLE_NACL' \
101	'-DCHROMIUM_BUILD' \
102	'-DUSE_LIBJPEG_TURBO=1' \
103	'-DENABLE_WEBRTC=1' \
104	'-DUSE_PROPRIETARY_CODECS' \
105	'-DENABLE_BROWSER_CDMS' \
106	'-DENABLE_CONFIGURATION_POLICY' \
107	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
108	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
109	'-DENABLE_EGLIMAGE=1' \
110	'-DCLD_VERSION=1' \
111	'-DENABLE_PRINTING=1' \
112	'-DENABLE_MANAGED_USERS=1' \
113	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
114	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
115	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
116	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
117	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
118	'-DVIDEO_HOLE=1' \
119	'-DBIG_FFT_TABLE' \
120	'-DUSE_OPENSSL=1' \
121	'-DUSE_OPENSSL_CERTS=1' \
122	'-DANDROID' \
123	'-D__GNU_SOURCE=1' \
124	'-DUSE_STLPORT=1' \
125	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
126	'-DCHROME_BUILD_ID=""' \
127	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
128	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
129	'-D_DEBUG'
130
131
132# Include paths placed before CFLAGS/CPPFLAGS
133LOCAL_C_INCLUDES_Debug := \
134	$(gyp_shared_intermediate_dir) \
135	$(LOCAL_PATH)/third_party/openmax_dl \
136	$(PWD)/frameworks/wilhelm/include \
137	$(PWD)/bionic \
138	$(PWD)/external/stlport/stlport
139
140
141# Flags passed to only C++ (and not C) files.
142LOCAL_CPPFLAGS_Debug := \
143	-fno-rtti \
144	-fno-threadsafe-statics \
145	-fvisibility-inlines-hidden \
146	-Wno-deprecated \
147	-Wno-non-virtual-dtor \
148	-Wno-sign-promo \
149	-Wno-non-virtual-dtor
150
151
152LOCAL_FDO_SUPPORT_Debug := false
153
154# Flags passed to both C and C++ files.
155MY_CFLAGS_Release := \
156	--param=ssp-buffer-size=4 \
157	-fno-exceptions \
158	-fno-strict-aliasing \
159	-Wno-unused-parameter \
160	-Wno-missing-field-initializers \
161	-fvisibility=hidden \
162	-pipe \
163	-fPIC \
164	-Wno-unused-local-typedefs \
165	-msse2 \
166	-Wno-format \
167	-msse2 \
168	-mfpmath=sse \
169	-mmmx \
170	-m32 \
171	-ffunction-sections \
172	-funwind-tables \
173	-g \
174	-fno-short-enums \
175	-finline-limit=64 \
176	-Wa,--noexecstack \
177	-U_FORTIFY_SOURCE \
178	-Wno-extra \
179	-Wno-ignored-qualifiers \
180	-Wno-type-limits \
181	-Wno-unused-but-set-variable \
182	-fno-stack-protector \
183	-Wno-address \
184	-Wno-format-security \
185	-Wno-return-type \
186	-Wno-sequence-point \
187	-Os \
188	-fno-ident \
189	-fdata-sections \
190	-ffunction-sections \
191	-fomit-frame-pointer \
192	-funwind-tables
193
194MY_DEFS_Release := \
195	'-DV8_DEPRECATION_WARNINGS' \
196	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
197	'-D_FILE_OFFSET_BITS=64' \
198	'-DNO_TCMALLOC' \
199	'-DDISABLE_NACL' \
200	'-DCHROMIUM_BUILD' \
201	'-DUSE_LIBJPEG_TURBO=1' \
202	'-DENABLE_WEBRTC=1' \
203	'-DUSE_PROPRIETARY_CODECS' \
204	'-DENABLE_BROWSER_CDMS' \
205	'-DENABLE_CONFIGURATION_POLICY' \
206	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
207	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
208	'-DENABLE_EGLIMAGE=1' \
209	'-DCLD_VERSION=1' \
210	'-DENABLE_PRINTING=1' \
211	'-DENABLE_MANAGED_USERS=1' \
212	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
213	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
214	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
215	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
216	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
217	'-DVIDEO_HOLE=1' \
218	'-DBIG_FFT_TABLE' \
219	'-DUSE_OPENSSL=1' \
220	'-DUSE_OPENSSL_CERTS=1' \
221	'-DANDROID' \
222	'-D__GNU_SOURCE=1' \
223	'-DUSE_STLPORT=1' \
224	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
225	'-DCHROME_BUILD_ID=""' \
226	'-DNDEBUG' \
227	'-DNVALGRIND' \
228	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
229
230
231# Include paths placed before CFLAGS/CPPFLAGS
232LOCAL_C_INCLUDES_Release := \
233	$(gyp_shared_intermediate_dir) \
234	$(LOCAL_PATH)/third_party/openmax_dl \
235	$(PWD)/frameworks/wilhelm/include \
236	$(PWD)/bionic \
237	$(PWD)/external/stlport/stlport
238
239
240# Flags passed to only C++ (and not C) files.
241LOCAL_CPPFLAGS_Release := \
242	-fno-rtti \
243	-fno-threadsafe-statics \
244	-fvisibility-inlines-hidden \
245	-Wno-deprecated \
246	-Wno-non-virtual-dtor \
247	-Wno-sign-promo \
248	-Wno-non-virtual-dtor
249
250
251LOCAL_FDO_SUPPORT_Release := false
252
253LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
254LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
255LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
256LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
257LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
258### Rules for final target.
259
260LOCAL_LDFLAGS_Debug := \
261	-Wl,-z,now \
262	-Wl,-z,relro \
263	-Wl,--fatal-warnings \
264	-Wl,-z,noexecstack \
265	-fPIC \
266	-m32 \
267	-fuse-ld=gold \
268	-nostdlib \
269	-Wl,--no-undefined \
270	-Wl,--exclude-libs=ALL \
271	-Wl,--warn-shared-textrel \
272	-Wl,-O1 \
273	-Wl,--as-needed
274
275
276LOCAL_LDFLAGS_Release := \
277	-Wl,-z,now \
278	-Wl,-z,relro \
279	-Wl,--fatal-warnings \
280	-Wl,-z,noexecstack \
281	-fPIC \
282	-m32 \
283	-fuse-ld=gold \
284	-nostdlib \
285	-Wl,--no-undefined \
286	-Wl,--exclude-libs=ALL \
287	-Wl,-O1 \
288	-Wl,--as-needed \
289	-Wl,--gc-sections \
290	-Wl,--warn-shared-textrel
291
292
293LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
294
295LOCAL_STATIC_LIBRARIES :=
296
297# Enable grouping to fix circular references
298LOCAL_GROUP_STATIC_LIBRARIES := true
299
300LOCAL_SHARED_LIBRARIES := \
301	libstlport \
302	libdl
303
304# Add target alias to "gyp_all_modules" target.
305.PHONY: gyp_all_modules
306gyp_all_modules: third_party_openmax_dl_dl_openmax_dl_gyp
307
308# Alias gyp target name.
309.PHONY: openmax_dl
310openmax_dl: third_party_openmax_dl_dl_openmax_dl_gyp
311
312include $(BUILD_STATIC_LIBRARY)
313