blob: 13f44db37a448bc0657617595f73c6a49ab0c70a [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 \
76 -fuse-ld=gold \
77 -Wno-psabi \
78 -ffunction-sections \
79 -funwind-tables \
80 -g \
81 -fstack-protector \
82 -fno-short-enums \
83 -finline-limit=64 \
84 -Wa,--noexecstack \
85 -U_FORTIFY_SOURCE \
86 -Wno-extra \
87 -Wno-ignored-qualifiers \
88 -Wno-type-limits \
89 -Wno-unused-but-set-variable \
90 -Os \
91 -g \
92 -fomit-frame-pointer \
93 -fdata-sections \
94 -ffunction-sections \
95 -funwind-tables
96
97MY_DEFS_Debug := \
98 '-DV8_DEPRECATION_WARNINGS' \
99 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
100 '-D_FILE_OFFSET_BITS=64' \
101 '-DNO_TCMALLOC' \
102 '-DDISABLE_NACL' \
103 '-DCHROMIUM_BUILD' \
104 '-DUSE_LIBJPEG_TURBO=1' \
105 '-DENABLE_WEBRTC=1' \
106 '-DUSE_PROPRIETARY_CODECS' \
107 '-DENABLE_CONFIGURATION_POLICY' \
108 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
109 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
110 '-DENABLE_EGLIMAGE=1' \
111 '-DCLD_VERSION=1' \
112 '-DENABLE_PRINTING=1' \
113 '-DENABLE_MANAGED_USERS=1' \
114 '-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 \
186 -fuse-ld=gold \
187 -Wno-psabi \
188 -ffunction-sections \
189 -funwind-tables \
190 -g \
191 -fstack-protector \
192 -fno-short-enums \
193 -finline-limit=64 \
194 -Wa,--noexecstack \
195 -U_FORTIFY_SOURCE \
196 -Wno-extra \
197 -Wno-ignored-qualifiers \
198 -Wno-type-limits \
199 -Wno-unused-but-set-variable \
200 -Os \
201 -fno-ident \
202 -fdata-sections \
203 -ffunction-sections \
204 -fomit-frame-pointer \
205 -funwind-tables
206
207MY_DEFS_Release := \
208 '-DV8_DEPRECATION_WARNINGS' \
209 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
210 '-D_FILE_OFFSET_BITS=64' \
211 '-DNO_TCMALLOC' \
212 '-DDISABLE_NACL' \
213 '-DCHROMIUM_BUILD' \
214 '-DUSE_LIBJPEG_TURBO=1' \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000215 '-DENABLE_WEBRTC=1' \
216 '-DUSE_PROPRIETARY_CODECS' \
217 '-DENABLE_CONFIGURATION_POLICY' \
218 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
219 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
220 '-DENABLE_EGLIMAGE=1' \
221 '-DCLD_VERSION=1' \
222 '-DENABLE_PRINTING=1' \
223 '-DENABLE_MANAGED_USERS=1' \
224 '-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 \
294 -Wl,--gc-sections \
295 -Wl,--warn-shared-textrel \
296 -Wl,-O1 \
297 -Wl,--as-needed
298
299
300LOCAL_LDFLAGS_Release := \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000301 -Wl,-z,now \
302 -Wl,-z,relro \
Android Chromium Automerger97a64e22014-04-07 11:28:24 +0000303 -Wl,--fatal-warnings \
Android Chromium Automerger2ebb6ba2014-04-01 19:42:48 +0000304 -Wl,-z,noexecstack \
305 -fPIC \
306 -Wl,-z,relro \
307 -Wl,-z,now \
308 -fuse-ld=gold \
309 -nostdlib \
310 -Wl,--no-undefined \
311 -Wl,--exclude-libs=ALL \
312 -Wl,--icf=safe \
313 -Wl,-O1 \
314 -Wl,--as-needed \
315 -Wl,--gc-sections \
316 -Wl,--warn-shared-textrel
317
318
319LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
320
321LOCAL_STATIC_LIBRARIES :=
322
323# Enable grouping to fix circular references
324LOCAL_GROUP_STATIC_LIBRARIES := true
325
326LOCAL_SHARED_LIBRARIES := \
327 libstlport \
328 libdl
329
330# Add target alias to "gyp_all_modules" target.
331.PHONY: gyp_all_modules
332gyp_all_modules: third_party_webrtc_modules_iSACFix_gyp
333
334# Alias gyp target name.
335.PHONY: iSACFix
336iSACFix: third_party_webrtc_modules_iSACFix_gyp
337
338include $(BUILD_STATIC_LIBRARY)