• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := GYP
6LOCAL_MODULE := media_media_android_jni_headers_gyp
7LOCAL_MODULE_STEM := media_android_jni_headers
8LOCAL_MODULE_SUFFIX := .stamp
9LOCAL_MODULE_TAGS := optional
10gyp_intermediate_dir := $(call local-intermediates-dir)
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
12
13# Make sure our deps are built first.
14GYP_TARGET_DEPENDENCIES :=
15
16
17### Generated for rule "media_media_gyp_media_android_jni_headers_target_generate_jni_headers":
18# "{'inputs': ['../base/android/jni_generator/jni_generator.py', '../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/media/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['base/android/java/src/org/chromium/media/AudioManagerAndroid.java', 'base/android/java/src/org/chromium/media/AudioRecordInput.java', 'base/android/java/src/org/chromium/media/MediaCodecBridge.java', 'base/android/java/src/org/chromium/media/MediaDrmBridge.java', 'base/android/java/src/org/chromium/media/MediaPlayerBridge.java', 'base/android/java/src/org/chromium/media/MediaPlayerListener.java', 'base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/media/jni', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}":
19$(gyp_shared_intermediate_dir)/media/jni/AudioManagerAndroid_jni.h: gyp_local_path := $(LOCAL_PATH)
20$(gyp_shared_intermediate_dir)/media/jni/AudioManagerAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
21$(gyp_shared_intermediate_dir)/media/jni/AudioManagerAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
22$(gyp_shared_intermediate_dir)/media/jni/AudioManagerAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
23$(gyp_shared_intermediate_dir)/media/jni/AudioManagerAndroid_jni.h: $(LOCAL_PATH)/media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
24	mkdir -p $(gyp_shared_intermediate_dir)/media/jni; cd $(gyp_local_path)/media; ../base/android/jni_generator/jni_generator.py --input_file base/android/java/src/org/chromium/media/AudioManagerAndroid.java --output_dir "$(gyp_shared_intermediate_dir)/media/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
25
26.PHONY: media_media_android_jni_headers_gyp_rule_trigger
27media_media_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/media/jni/AudioManagerAndroid_jni.h
28
29$(gyp_shared_intermediate_dir)/media/jni/AudioRecordInput_jni.h: gyp_local_path := $(LOCAL_PATH)
30$(gyp_shared_intermediate_dir)/media/jni/AudioRecordInput_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
31$(gyp_shared_intermediate_dir)/media/jni/AudioRecordInput_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
32$(gyp_shared_intermediate_dir)/media/jni/AudioRecordInput_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
33$(gyp_shared_intermediate_dir)/media/jni/AudioRecordInput_jni.h: $(LOCAL_PATH)/media/base/android/java/src/org/chromium/media/AudioRecordInput.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
34	mkdir -p $(gyp_shared_intermediate_dir)/media/jni; cd $(gyp_local_path)/media; ../base/android/jni_generator/jni_generator.py --input_file base/android/java/src/org/chromium/media/AudioRecordInput.java --output_dir "$(gyp_shared_intermediate_dir)/media/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
35
36.PHONY: media_media_android_jni_headers_gyp_rule_trigger
37media_media_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/media/jni/AudioRecordInput_jni.h
38
39$(gyp_shared_intermediate_dir)/media/jni/MediaCodecBridge_jni.h: gyp_local_path := $(LOCAL_PATH)
40$(gyp_shared_intermediate_dir)/media/jni/MediaCodecBridge_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
41$(gyp_shared_intermediate_dir)/media/jni/MediaCodecBridge_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
42$(gyp_shared_intermediate_dir)/media/jni/MediaCodecBridge_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
43$(gyp_shared_intermediate_dir)/media/jni/MediaCodecBridge_jni.h: $(LOCAL_PATH)/media/base/android/java/src/org/chromium/media/MediaCodecBridge.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
44	mkdir -p $(gyp_shared_intermediate_dir)/media/jni; cd $(gyp_local_path)/media; ../base/android/jni_generator/jni_generator.py --input_file base/android/java/src/org/chromium/media/MediaCodecBridge.java --output_dir "$(gyp_shared_intermediate_dir)/media/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
45
46.PHONY: media_media_android_jni_headers_gyp_rule_trigger
47media_media_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/media/jni/MediaCodecBridge_jni.h
48
49$(gyp_shared_intermediate_dir)/media/jni/MediaDrmBridge_jni.h: gyp_local_path := $(LOCAL_PATH)
50$(gyp_shared_intermediate_dir)/media/jni/MediaDrmBridge_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
51$(gyp_shared_intermediate_dir)/media/jni/MediaDrmBridge_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
52$(gyp_shared_intermediate_dir)/media/jni/MediaDrmBridge_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
53$(gyp_shared_intermediate_dir)/media/jni/MediaDrmBridge_jni.h: $(LOCAL_PATH)/media/base/android/java/src/org/chromium/media/MediaDrmBridge.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
54	mkdir -p $(gyp_shared_intermediate_dir)/media/jni; cd $(gyp_local_path)/media; ../base/android/jni_generator/jni_generator.py --input_file base/android/java/src/org/chromium/media/MediaDrmBridge.java --output_dir "$(gyp_shared_intermediate_dir)/media/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
55
56.PHONY: media_media_android_jni_headers_gyp_rule_trigger
57media_media_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/media/jni/MediaDrmBridge_jni.h
58
59$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerBridge_jni.h: gyp_local_path := $(LOCAL_PATH)
60$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerBridge_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
61$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerBridge_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
62$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerBridge_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
63$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerBridge_jni.h: $(LOCAL_PATH)/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
64	mkdir -p $(gyp_shared_intermediate_dir)/media/jni; cd $(gyp_local_path)/media; ../base/android/jni_generator/jni_generator.py --input_file base/android/java/src/org/chromium/media/MediaPlayerBridge.java --output_dir "$(gyp_shared_intermediate_dir)/media/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
65
66.PHONY: media_media_android_jni_headers_gyp_rule_trigger
67media_media_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/media/jni/MediaPlayerBridge_jni.h
68
69$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerListener_jni.h: gyp_local_path := $(LOCAL_PATH)
70$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerListener_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
71$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerListener_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
72$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerListener_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
73$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerListener_jni.h: $(LOCAL_PATH)/media/base/android/java/src/org/chromium/media/MediaPlayerListener.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
74	mkdir -p $(gyp_shared_intermediate_dir)/media/jni; cd $(gyp_local_path)/media; ../base/android/jni_generator/jni_generator.py --input_file base/android/java/src/org/chromium/media/MediaPlayerListener.java --output_dir "$(gyp_shared_intermediate_dir)/media/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
75
76.PHONY: media_media_android_jni_headers_gyp_rule_trigger
77media_media_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/media/jni/MediaPlayerListener_jni.h
78
79$(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h: gyp_local_path := $(LOCAL_PATH)
80$(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
81$(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
82$(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
83$(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h: $(LOCAL_PATH)/media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
84	mkdir -p $(gyp_shared_intermediate_dir)/media/jni; cd $(gyp_local_path)/media; ../base/android/jni_generator/jni_generator.py --input_file base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java --output_dir "$(gyp_shared_intermediate_dir)/media/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
85
86.PHONY: media_media_android_jni_headers_gyp_rule_trigger
87media_media_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h
88
89### Finished generating for all rules
90
91GYP_GENERATED_OUTPUTS := \
92	$(gyp_shared_intermediate_dir)/media/jni/AudioManagerAndroid_jni.h \
93	$(gyp_shared_intermediate_dir)/media/jni/AudioRecordInput_jni.h \
94	$(gyp_shared_intermediate_dir)/media/jni/MediaCodecBridge_jni.h \
95	$(gyp_shared_intermediate_dir)/media/jni/MediaDrmBridge_jni.h \
96	$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerBridge_jni.h \
97	$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerListener_jni.h \
98	$(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h
99
100# Make sure our deps and generated files are built first.
101LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
102
103LOCAL_GENERATED_SOURCES := \
104	$(gyp_shared_intermediate_dir)/media/jni/AudioManagerAndroid_jni.h \
105	$(gyp_shared_intermediate_dir)/media/jni/AudioRecordInput_jni.h \
106	$(gyp_shared_intermediate_dir)/media/jni/MediaCodecBridge_jni.h \
107	$(gyp_shared_intermediate_dir)/media/jni/MediaDrmBridge_jni.h \
108	$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerBridge_jni.h \
109	$(gyp_shared_intermediate_dir)/media/jni/MediaPlayerListener_jni.h \
110	$(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h \
111	media_media_android_jni_headers_gyp_rule_trigger
112
113GYP_COPIED_SOURCE_ORIGIN_DIRS :=
114
115LOCAL_SRC_FILES :=
116
117
118# Flags passed to both C and C++ files.
119MY_CFLAGS_Debug := \
120	--param=ssp-buffer-size=4 \
121	-Werror \
122	-fno-exceptions \
123	-fno-strict-aliasing \
124	-Wall \
125	-Wno-unused-parameter \
126	-Wno-missing-field-initializers \
127	-fvisibility=hidden \
128	-pipe \
129	-fPIC \
130	-m32 \
131	-mmmx \
132	-march=pentium4 \
133	-msse2 \
134	-mfpmath=sse \
135	-fuse-ld=gold \
136	-ffunction-sections \
137	-funwind-tables \
138	-g \
139	-fno-short-enums \
140	-finline-limit=64 \
141	-Wa,--noexecstack \
142	-U_FORTIFY_SOURCE \
143	-Wno-extra \
144	-Wno-ignored-qualifiers \
145	-Wno-type-limits \
146	-fno-stack-protector \
147	-Os \
148	-g \
149	-fomit-frame-pointer \
150	-fdata-sections \
151	-ffunction-sections
152
153MY_DEFS_Debug := \
154	'-DV8_DEPRECATION_WARNINGS' \
155	'-D_FILE_OFFSET_BITS=64' \
156	'-DNO_TCMALLOC' \
157	'-DDISABLE_NACL' \
158	'-DCHROMIUM_BUILD' \
159	'-DUSE_LIBJPEG_TURBO=1' \
160	'-DUSE_PROPRIETARY_CODECS' \
161	'-DENABLE_CONFIGURATION_POLICY' \
162	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
163	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
164	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
165	'-DUSE_OPENSSL=1' \
166	'-DENABLE_EGLIMAGE=1' \
167	'-DCLD_VERSION=1' \
168	'-DENABLE_PRINTING=1' \
169	'-DENABLE_MANAGED_USERS=1' \
170	'-D__STDC_CONSTANT_MACROS' \
171	'-D__STDC_FORMAT_MACROS' \
172	'-DANDROID' \
173	'-D__GNU_SOURCE=1' \
174	'-DUSE_STLPORT=1' \
175	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
176	'-DCHROME_BUILD_ID=""' \
177	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
178	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
179	'-D_DEBUG'
180
181
182# Include paths placed before CFLAGS/CPPFLAGS
183LOCAL_C_INCLUDES_Debug := \
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_Debug := \
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
200# Flags passed to both C and C++ files.
201MY_CFLAGS_Release := \
202	--param=ssp-buffer-size=4 \
203	-Werror \
204	-fno-exceptions \
205	-fno-strict-aliasing \
206	-Wall \
207	-Wno-unused-parameter \
208	-Wno-missing-field-initializers \
209	-fvisibility=hidden \
210	-pipe \
211	-fPIC \
212	-m32 \
213	-mmmx \
214	-march=pentium4 \
215	-msse2 \
216	-mfpmath=sse \
217	-fuse-ld=gold \
218	-ffunction-sections \
219	-funwind-tables \
220	-g \
221	-fno-short-enums \
222	-finline-limit=64 \
223	-Wa,--noexecstack \
224	-U_FORTIFY_SOURCE \
225	-Wno-extra \
226	-Wno-ignored-qualifiers \
227	-Wno-type-limits \
228	-fno-stack-protector \
229	-Os \
230	-fno-ident \
231	-fdata-sections \
232	-ffunction-sections \
233	-fomit-frame-pointer \
234	-fno-unwind-tables \
235	-fno-asynchronous-unwind-tables
236
237MY_DEFS_Release := \
238	'-DV8_DEPRECATION_WARNINGS' \
239	'-D_FILE_OFFSET_BITS=64' \
240	'-DNO_TCMALLOC' \
241	'-DDISABLE_NACL' \
242	'-DCHROMIUM_BUILD' \
243	'-DUSE_LIBJPEG_TURBO=1' \
244	'-DUSE_PROPRIETARY_CODECS' \
245	'-DENABLE_CONFIGURATION_POLICY' \
246	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
247	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
248	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
249	'-DUSE_OPENSSL=1' \
250	'-DENABLE_EGLIMAGE=1' \
251	'-DCLD_VERSION=1' \
252	'-DENABLE_PRINTING=1' \
253	'-DENABLE_MANAGED_USERS=1' \
254	'-D__STDC_CONSTANT_MACROS' \
255	'-D__STDC_FORMAT_MACROS' \
256	'-DANDROID' \
257	'-D__GNU_SOURCE=1' \
258	'-DUSE_STLPORT=1' \
259	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
260	'-DCHROME_BUILD_ID=""' \
261	'-DNDEBUG' \
262	'-DNVALGRIND' \
263	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
264	'-D_FORTIFY_SOURCE=2'
265
266
267# Include paths placed before CFLAGS/CPPFLAGS
268LOCAL_C_INCLUDES_Release := \
269	$(PWD)/frameworks/wilhelm/include \
270	$(PWD)/bionic \
271	$(PWD)/external/stlport/stlport
272
273
274# Flags passed to only C++ (and not C) files.
275LOCAL_CPPFLAGS_Release := \
276	-fno-rtti \
277	-fno-threadsafe-statics \
278	-fvisibility-inlines-hidden \
279	-Wsign-compare \
280	-Wno-error=c++0x-compat \
281	-Wno-non-virtual-dtor \
282	-Wno-sign-promo
283
284
285LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
286LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
287LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
288### Rules for final target.
289# Add target alias to "gyp_all_modules" target.
290.PHONY: gyp_all_modules
291gyp_all_modules: media_media_android_jni_headers_gyp
292
293# Alias gyp target name.
294.PHONY: media_android_jni_headers
295media_android_jni_headers: media_media_android_jni_headers_gyp
296
297LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
298LOCAL_UNINSTALLABLE_MODULE := true
299
300include $(BUILD_SYSTEM)/base_rules.mk
301
302$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
303	$(hide) echo "Gyp timestamp: $@"
304	$(hide) mkdir -p $(dir $@)
305	$(hide) touch $@
306