blob: 144f54ec848b70e7859e533aa0451784ffd6159d [file] [log] [blame]
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +00001# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := third_party_webrtc_modules_iSACFix_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_GENERATED_SOURCES :=
21
22GYP_COPIED_SOURCE_ORIGIN_DIRS :=
23
24LOCAL_SRC_FILES := \
25 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines.c \
26 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c \
27 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_logist.c \
28 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/bandwidth_estimator.c \
29 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c \
30 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_bwe.c \
31 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_plc.c \
32 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/encode.c \
33 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c \
34 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/fft.c \
35 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_tables.c \
36 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks.c \
37 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filters.c \
38 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/initialize.c \
39 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c \
40 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c \
41 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.c \
42 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_tables.c \
43 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator.c \
44 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c \
45 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_gain_tables.c \
46 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_lag_tables.c \
47 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/spectrum_ar_model_tables.c \
48 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/transform.c \
49 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S \
50 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S
51
52
53# Flags passed to both C and C++ files.
54MY_CFLAGS_Debug := \
55 -fstack-protector \
56 --param=ssp-buffer-size=4 \
57 -Werror \
58 -fno-exceptions \
59 -fno-strict-aliasing \
60 -Wall \
61 -Wno-unused-parameter \
62 -Wno-missing-field-initializers \
63 -fvisibility=hidden \
64 -pipe \
65 -fPIC \
66 -fno-builtin-cos \
67 -fno-builtin-sin \
68 -fno-builtin-cosf \
69 -fno-builtin-sinf \
70 -fno-builtin-cos \
71 -fno-builtin-sin \
72 -fno-builtin-cosf \
73 -fno-builtin-sinf \
74 -fno-tree-sra \
75 -fuse-ld=gold \
76 -Wno-psabi \
77 -ffunction-sections \
78 -funwind-tables \
79 -g \
80 -fstack-protector \
81 -fno-short-enums \
82 -finline-limit=64 \
83 -Wa,--noexecstack \
84 -U_FORTIFY_SOURCE \
85 -Wno-extra \
86 -Wno-ignored-qualifiers \
87 -Wno-type-limits \
88 -Wno-unused-but-set-variable \
89 -Os \
90 -g \
91 -fomit-frame-pointer \
92 -fdata-sections \
93 -ffunction-sections \
94 -funwind-tables
95
96MY_DEFS_Debug := \
97 '-DV8_DEPRECATION_WARNINGS' \
98 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
99 '-D_FILE_OFFSET_BITS=64' \
100 '-DNO_TCMALLOC' \
101 '-DDISABLE_NACL' \
102 '-DCHROMIUM_BUILD' \
103 '-DUSE_LIBJPEG_TURBO=1' \
104 '-DENABLE_WEBRTC=1' \
105 '-DUSE_PROPRIETARY_CODECS' \
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 '-DWEBRTC_RESTRICT_LOGGING' \
114 '-DWEBRTC_MODULE_UTILITY_VIDEO' \
115 '-DWEBRTC_CHROMIUM_BUILD' \
116 '-DWEBRTC_ARCH_ARM' \
117 '-DWEBRTC_ARCH_ARM_V7' \
118 '-DWEBRTC_DETECT_ARM_NEON' \
119 '-DWEBRTC_POSIX' \
120 '-DWEBRTC_LINUX' \
121 '-DWEBRTC_ANDROID' \
122 '-DWEBRTC_ANDROID_OPENSLES' \
123 '-DUSE_OPENSSL=1' \
124 '-DUSE_OPENSSL_CERTS=1' \
125 '-D__STDC_CONSTANT_MACROS' \
126 '-D__STDC_FORMAT_MACROS' \
127 '-DANDROID' \
128 '-D__GNU_SOURCE=1' \
129 '-DUSE_STLPORT=1' \
130 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
131 '-DCHROME_BUILD_ID=""' \
132 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
133 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
134 '-D_DEBUG'
135
136
137# Include paths placed before CFLAGS/CPPFLAGS
138LOCAL_C_INCLUDES_Debug := \
139 $(LOCAL_PATH)/third_party \
140 $(LOCAL_PATH) \
141 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \
142 $(LOCAL_PATH)/third_party/webrtc \
143 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \
144 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \
145 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \
146 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
147 $(PWD)/frameworks/wilhelm/include \
148 $(PWD)/bionic \
149 $(PWD)/external/stlport/stlport
150
151
152# Flags passed to only C++ (and not C) files.
153LOCAL_CPPFLAGS_Debug := \
154 -fno-rtti \
155 -fno-threadsafe-statics \
156 -fvisibility-inlines-hidden \
157 -Wsign-compare \
158 -Wno-abi \
159 -Wno-non-virtual-dtor \
160 -Wno-sign-promo
161
162
163# Flags passed to both C and C++ files.
164MY_CFLAGS_Release := \
165 -fstack-protector \
166 --param=ssp-buffer-size=4 \
167 -Werror \
168 -fno-exceptions \
169 -fno-strict-aliasing \
170 -Wall \
171 -Wno-unused-parameter \
172 -Wno-missing-field-initializers \
173 -fvisibility=hidden \
174 -pipe \
175 -fPIC \
176 -fno-builtin-cos \
177 -fno-builtin-sin \
178 -fno-builtin-cosf \
179 -fno-builtin-sinf \
180 -fno-builtin-cos \
181 -fno-builtin-sin \
182 -fno-builtin-cosf \
183 -fno-builtin-sinf \
184 -fno-tree-sra \
185 -fuse-ld=gold \
186 -Wno-psabi \
187 -ffunction-sections \
188 -funwind-tables \
189 -g \
190 -fstack-protector \
191 -fno-short-enums \
192 -finline-limit=64 \
193 -Wa,--noexecstack \
194 -U_FORTIFY_SOURCE \
195 -Wno-extra \
196 -Wno-ignored-qualifiers \
197 -Wno-type-limits \
198 -Wno-unused-but-set-variable \
199 -Os \
200 -fno-ident \
201 -fdata-sections \
202 -ffunction-sections \
203 -fomit-frame-pointer \
204 -funwind-tables
205
206MY_DEFS_Release := \
207 '-DV8_DEPRECATION_WARNINGS' \
208 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
209 '-D_FILE_OFFSET_BITS=64' \
210 '-DNO_TCMALLOC' \
211 '-DDISABLE_NACL' \
212 '-DCHROMIUM_BUILD' \
213 '-DUSE_LIBJPEG_TURBO=1' \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000214 '-DENABLE_WEBRTC=1' \
215 '-DUSE_PROPRIETARY_CODECS' \
216 '-DENABLE_CONFIGURATION_POLICY' \
217 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
218 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
219 '-DENABLE_EGLIMAGE=1' \
220 '-DCLD_VERSION=1' \
221 '-DENABLE_PRINTING=1' \
222 '-DENABLE_MANAGED_USERS=1' \
223 '-DWEBRTC_RESTRICT_LOGGING' \
224 '-DWEBRTC_MODULE_UTILITY_VIDEO' \
225 '-DWEBRTC_CHROMIUM_BUILD' \
226 '-DWEBRTC_ARCH_ARM' \
227 '-DWEBRTC_ARCH_ARM_V7' \
228 '-DWEBRTC_DETECT_ARM_NEON' \
229 '-DWEBRTC_POSIX' \
230 '-DWEBRTC_LINUX' \
231 '-DWEBRTC_ANDROID' \
232 '-DWEBRTC_ANDROID_OPENSLES' \
233 '-DUSE_OPENSSL=1' \
234 '-DUSE_OPENSSL_CERTS=1' \
235 '-D__STDC_CONSTANT_MACROS' \
236 '-D__STDC_FORMAT_MACROS' \
237 '-DANDROID' \
238 '-D__GNU_SOURCE=1' \
239 '-DUSE_STLPORT=1' \
240 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
241 '-DCHROME_BUILD_ID=""' \
242 '-DNDEBUG' \
243 '-DNVALGRIND' \
244 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
245 '-D_FORTIFY_SOURCE=2'
246
247
248# Include paths placed before CFLAGS/CPPFLAGS
249LOCAL_C_INCLUDES_Release := \
250 $(LOCAL_PATH)/third_party \
251 $(LOCAL_PATH) \
252 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \
253 $(LOCAL_PATH)/third_party/webrtc \
254 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \
255 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \
256 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \
257 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
258 $(PWD)/frameworks/wilhelm/include \
259 $(PWD)/bionic \
260 $(PWD)/external/stlport/stlport
261
262
263# Flags passed to only C++ (and not C) files.
264LOCAL_CPPFLAGS_Release := \
265 -fno-rtti \
266 -fno-threadsafe-statics \
267 -fvisibility-inlines-hidden \
268 -Wsign-compare \
269 -Wno-abi \
270 -Wno-non-virtual-dtor \
271 -Wno-sign-promo
272
273
274LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
275LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
276LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
277LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
278### Rules for final target.
279
280LOCAL_LDFLAGS_Debug := \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000281 -Wl,-z,now \
282 -Wl,-z,relro \
Android Chromium Automerger97a64e22014-04-07 11:28:24 +0000283 -Wl,--fatal-warnings \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000284 -Wl,-z,noexecstack \
285 -fPIC \
286 -Wl,-z,relro \
287 -Wl,-z,now \
288 -fuse-ld=gold \
289 -nostdlib \
290 -Wl,--no-undefined \
291 -Wl,--exclude-libs=ALL \
292 -Wl,--icf=safe \
293 -Wl,--gc-sections \
294 -Wl,--warn-shared-textrel \
295 -Wl,-O1 \
296 -Wl,--as-needed
297
298
299LOCAL_LDFLAGS_Release := \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000300 -Wl,-z,now \
301 -Wl,-z,relro \
Android Chromium Automerger97a64e22014-04-07 11:28:24 +0000302 -Wl,--fatal-warnings \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000303 -Wl,-z,noexecstack \
304 -fPIC \
305 -Wl,-z,relro \
306 -Wl,-z,now \
307 -fuse-ld=gold \
308 -nostdlib \
309 -Wl,--no-undefined \
310 -Wl,--exclude-libs=ALL \
311 -Wl,--icf=safe \
312 -Wl,-O1 \
313 -Wl,--as-needed \
314 -Wl,--gc-sections \
315 -Wl,--warn-shared-textrel
316
317
318LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
319
320LOCAL_STATIC_LIBRARIES :=
321
322# Enable grouping to fix circular references
323LOCAL_GROUP_STATIC_LIBRARIES := true
324
325LOCAL_SHARED_LIBRARIES := \
326 libstlport \
327 libdl
328
329# Add target alias to "gyp_all_modules" target.
330.PHONY: gyp_all_modules
331gyp_all_modules: third_party_webrtc_modules_iSACFix_gyp
332
333# Alias gyp target name.
334.PHONY: iSACFix
335iSACFix: third_party_webrtc_modules_iSACFix_gyp
336
337include $(BUILD_STATIC_LIBRARY)