blob: 85329f06b52a53c826a98ee2257573833f945c62 [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
Android Chromium Automergerc71dd0d2014-04-09 18:59:40 +00009LOCAL_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))
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +000012
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/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines.c \
27 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c \
28 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_logist.c \
29 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/bandwidth_estimator.c \
30 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c \
31 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_bwe.c \
32 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_plc.c \
33 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/encode.c \
34 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c \
35 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/fft.c \
36 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_tables.c \
37 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks.c \
38 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filters.c \
39 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/initialize.c \
40 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c \
41 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c \
42 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.c \
43 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_tables.c \
44 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator.c \
45 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c \
46 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_gain_tables.c \
47 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_lag_tables.c \
48 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/spectrum_ar_model_tables.c \
49 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/transform.c \
50 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S \
51 third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S
52
53
54# Flags passed to both C and C++ files.
55MY_CFLAGS_Debug := \
56 -fstack-protector \
57 --param=ssp-buffer-size=4 \
58 -Werror \
59 -fno-exceptions \
60 -fno-strict-aliasing \
61 -Wall \
62 -Wno-unused-parameter \
63 -Wno-missing-field-initializers \
64 -fvisibility=hidden \
65 -pipe \
66 -fPIC \
67 -fno-builtin-cos \
68 -fno-builtin-sin \
69 -fno-builtin-cosf \
70 -fno-builtin-sinf \
71 -fno-builtin-cos \
72 -fno-builtin-sin \
73 -fno-builtin-cosf \
74 -fno-builtin-sinf \
75 -fno-tree-sra \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +000076 -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' \
Torne (Richard Coles)d658c112014-05-14 10:24:51 +0100113 '-DVIDEO_HOLE=1' \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000114 '-DWEBRTC_RESTRICT_LOGGING' \
115 '-DWEBRTC_MODULE_UTILITY_VIDEO' \
116 '-DWEBRTC_CHROMIUM_BUILD' \
117 '-DWEBRTC_ARCH_ARM' \
118 '-DWEBRTC_ARCH_ARM_V7' \
119 '-DWEBRTC_DETECT_ARM_NEON' \
120 '-DWEBRTC_POSIX' \
121 '-DWEBRTC_LINUX' \
122 '-DWEBRTC_ANDROID' \
123 '-DWEBRTC_ANDROID_OPENSLES' \
124 '-DUSE_OPENSSL=1' \
125 '-DUSE_OPENSSL_CERTS=1' \
126 '-D__STDC_CONSTANT_MACROS' \
127 '-D__STDC_FORMAT_MACROS' \
128 '-DANDROID' \
129 '-D__GNU_SOURCE=1' \
130 '-DUSE_STLPORT=1' \
131 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
132 '-DCHROME_BUILD_ID=""' \
133 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
134 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
135 '-D_DEBUG'
136
137
138# Include paths placed before CFLAGS/CPPFLAGS
139LOCAL_C_INCLUDES_Debug := \
140 $(LOCAL_PATH)/third_party \
141 $(LOCAL_PATH) \
142 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \
143 $(LOCAL_PATH)/third_party/webrtc \
144 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \
145 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \
146 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \
147 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
148 $(PWD)/frameworks/wilhelm/include \
149 $(PWD)/bionic \
150 $(PWD)/external/stlport/stlport
151
152
153# Flags passed to only C++ (and not C) files.
154LOCAL_CPPFLAGS_Debug := \
155 -fno-rtti \
156 -fno-threadsafe-statics \
157 -fvisibility-inlines-hidden \
158 -Wsign-compare \
159 -Wno-abi \
160 -Wno-non-virtual-dtor \
161 -Wno-sign-promo
162
163
164# Flags passed to both C and C++ files.
165MY_CFLAGS_Release := \
166 -fstack-protector \
167 --param=ssp-buffer-size=4 \
168 -Werror \
169 -fno-exceptions \
170 -fno-strict-aliasing \
171 -Wall \
172 -Wno-unused-parameter \
173 -Wno-missing-field-initializers \
174 -fvisibility=hidden \
175 -pipe \
176 -fPIC \
177 -fno-builtin-cos \
178 -fno-builtin-sin \
179 -fno-builtin-cosf \
180 -fno-builtin-sinf \
181 -fno-builtin-cos \
182 -fno-builtin-sin \
183 -fno-builtin-cosf \
184 -fno-builtin-sinf \
185 -fno-tree-sra \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000186 -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' \
Torne (Richard Coles)d658c112014-05-14 10:24:51 +0100223 '-DVIDEO_HOLE=1' \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000224 '-DWEBRTC_RESTRICT_LOGGING' \
225 '-DWEBRTC_MODULE_UTILITY_VIDEO' \
226 '-DWEBRTC_CHROMIUM_BUILD' \
227 '-DWEBRTC_ARCH_ARM' \
228 '-DWEBRTC_ARCH_ARM_V7' \
229 '-DWEBRTC_DETECT_ARM_NEON' \
230 '-DWEBRTC_POSIX' \
231 '-DWEBRTC_LINUX' \
232 '-DWEBRTC_ANDROID' \
233 '-DWEBRTC_ANDROID_OPENSLES' \
234 '-DUSE_OPENSSL=1' \
235 '-DUSE_OPENSSL_CERTS=1' \
236 '-D__STDC_CONSTANT_MACROS' \
237 '-D__STDC_FORMAT_MACROS' \
238 '-DANDROID' \
239 '-D__GNU_SOURCE=1' \
240 '-DUSE_STLPORT=1' \
241 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
242 '-DCHROME_BUILD_ID=""' \
243 '-DNDEBUG' \
244 '-DNVALGRIND' \
245 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
246 '-D_FORTIFY_SOURCE=2'
247
248
249# Include paths placed before CFLAGS/CPPFLAGS
250LOCAL_C_INCLUDES_Release := \
251 $(LOCAL_PATH)/third_party \
252 $(LOCAL_PATH) \
253 $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \
254 $(LOCAL_PATH)/third_party/webrtc \
255 $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \
256 $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \
257 $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \
258 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
259 $(PWD)/frameworks/wilhelm/include \
260 $(PWD)/bionic \
261 $(PWD)/external/stlport/stlport
262
263
264# Flags passed to only C++ (and not C) files.
265LOCAL_CPPFLAGS_Release := \
266 -fno-rtti \
267 -fno-threadsafe-statics \
268 -fvisibility-inlines-hidden \
269 -Wsign-compare \
270 -Wno-abi \
271 -Wno-non-virtual-dtor \
272 -Wno-sign-promo
273
274
275LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
276LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
277LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
278LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
279### Rules for final target.
280
281LOCAL_LDFLAGS_Debug := \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000282 -Wl,-z,now \
283 -Wl,-z,relro \
Android Chromium Automerger97a64e22014-04-07 11:28:24 +0000284 -Wl,--fatal-warnings \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000285 -Wl,-z,noexecstack \
286 -fPIC \
287 -Wl,-z,relro \
288 -Wl,-z,now \
289 -fuse-ld=gold \
290 -nostdlib \
291 -Wl,--no-undefined \
292 -Wl,--exclude-libs=ALL \
293 -Wl,--icf=safe \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000294 -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)