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 -fstack-protector \ 121 --param=ssp-buffer-size=4 \ 122 -Werror \ 123 -fno-exceptions \ 124 -fno-strict-aliasing \ 125 -Wall \ 126 -Wno-unused-parameter \ 127 -Wno-missing-field-initializers \ 128 -fvisibility=hidden \ 129 -pipe \ 130 -fPIC \ 131 -fno-tree-sra \ 132 -fuse-ld=gold \ 133 -Wno-psabi \ 134 -ffunction-sections \ 135 -funwind-tables \ 136 -g \ 137 -fstack-protector \ 138 -fno-short-enums \ 139 -finline-limit=64 \ 140 -Wa,--noexecstack \ 141 -U_FORTIFY_SOURCE \ 142 -Wno-extra \ 143 -Wno-ignored-qualifiers \ 144 -Wno-type-limits \ 145 -Os \ 146 -g \ 147 -fomit-frame-pointer \ 148 -fdata-sections \ 149 -ffunction-sections 150 151MY_DEFS_Debug := \ 152 '-DV8_DEPRECATION_WARNINGS' \ 153 '-D_FILE_OFFSET_BITS=64' \ 154 '-DNO_TCMALLOC' \ 155 '-DDISABLE_NACL' \ 156 '-DCHROMIUM_BUILD' \ 157 '-DUSE_LIBJPEG_TURBO=1' \ 158 '-DUSE_PROPRIETARY_CODECS' \ 159 '-DENABLE_CONFIGURATION_POLICY' \ 160 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 161 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 162 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 163 '-DUSE_OPENSSL=1' \ 164 '-DENABLE_EGLIMAGE=1' \ 165 '-DCLD_VERSION=1' \ 166 '-DENABLE_PRINTING=1' \ 167 '-DENABLE_MANAGED_USERS=1' \ 168 '-D__STDC_CONSTANT_MACROS' \ 169 '-D__STDC_FORMAT_MACROS' \ 170 '-DANDROID' \ 171 '-D__GNU_SOURCE=1' \ 172 '-DUSE_STLPORT=1' \ 173 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 174 '-DCHROME_BUILD_ID=""' \ 175 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 176 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 177 '-D_DEBUG' 178 179 180# Include paths placed before CFLAGS/CPPFLAGS 181LOCAL_C_INCLUDES_Debug := \ 182 $(PWD)/frameworks/wilhelm/include \ 183 $(PWD)/bionic \ 184 $(PWD)/external/stlport/stlport 185 186 187# Flags passed to only C++ (and not C) files. 188LOCAL_CPPFLAGS_Debug := \ 189 -fno-rtti \ 190 -fno-threadsafe-statics \ 191 -fvisibility-inlines-hidden \ 192 -Wsign-compare \ 193 -Wno-abi \ 194 -Wno-error=c++0x-compat \ 195 -Wno-non-virtual-dtor \ 196 -Wno-sign-promo 197 198 199# Flags passed to both C and C++ files. 200MY_CFLAGS_Release := \ 201 -fstack-protector \ 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 -fno-tree-sra \ 213 -fuse-ld=gold \ 214 -Wno-psabi \ 215 -ffunction-sections \ 216 -funwind-tables \ 217 -g \ 218 -fstack-protector \ 219 -fno-short-enums \ 220 -finline-limit=64 \ 221 -Wa,--noexecstack \ 222 -U_FORTIFY_SOURCE \ 223 -Wno-extra \ 224 -Wno-ignored-qualifiers \ 225 -Wno-type-limits \ 226 -Os \ 227 -fno-ident \ 228 -fdata-sections \ 229 -ffunction-sections \ 230 -fomit-frame-pointer 231 232MY_DEFS_Release := \ 233 '-DV8_DEPRECATION_WARNINGS' \ 234 '-D_FILE_OFFSET_BITS=64' \ 235 '-DNO_TCMALLOC' \ 236 '-DDISABLE_NACL' \ 237 '-DCHROMIUM_BUILD' \ 238 '-DUSE_LIBJPEG_TURBO=1' \ 239 '-DUSE_PROPRIETARY_CODECS' \ 240 '-DENABLE_CONFIGURATION_POLICY' \ 241 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 242 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 243 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 244 '-DUSE_OPENSSL=1' \ 245 '-DENABLE_EGLIMAGE=1' \ 246 '-DCLD_VERSION=1' \ 247 '-DENABLE_PRINTING=1' \ 248 '-DENABLE_MANAGED_USERS=1' \ 249 '-D__STDC_CONSTANT_MACROS' \ 250 '-D__STDC_FORMAT_MACROS' \ 251 '-DANDROID' \ 252 '-D__GNU_SOURCE=1' \ 253 '-DUSE_STLPORT=1' \ 254 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 255 '-DCHROME_BUILD_ID=""' \ 256 '-DNDEBUG' \ 257 '-DNVALGRIND' \ 258 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 259 '-D_FORTIFY_SOURCE=2' 260 261 262# Include paths placed before CFLAGS/CPPFLAGS 263LOCAL_C_INCLUDES_Release := \ 264 $(PWD)/frameworks/wilhelm/include \ 265 $(PWD)/bionic \ 266 $(PWD)/external/stlport/stlport 267 268 269# Flags passed to only C++ (and not C) files. 270LOCAL_CPPFLAGS_Release := \ 271 -fno-rtti \ 272 -fno-threadsafe-statics \ 273 -fvisibility-inlines-hidden \ 274 -Wsign-compare \ 275 -Wno-abi \ 276 -Wno-error=c++0x-compat \ 277 -Wno-non-virtual-dtor \ 278 -Wno-sign-promo 279 280 281LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 282LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 283LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 284### Rules for final target. 285# Add target alias to "gyp_all_modules" target. 286.PHONY: gyp_all_modules 287gyp_all_modules: media_media_android_jni_headers_gyp 288 289# Alias gyp target name. 290.PHONY: media_android_jni_headers 291media_android_jni_headers: media_media_android_jni_headers_gyp 292 293LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 294LOCAL_UNINSTALLABLE_MODULE := true 295 296include $(BUILD_SYSTEM)/base_rules.mk 297 298$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 299 $(hide) echo "Gyp timestamp: $@" 300 $(hide) mkdir -p $(dir $@) 301 $(hide) touch $@ 302