1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := media_media_android_jni_headers_gyp 7 LOCAL_MODULE_STEM := media_android_jni_headers 8 LOCAL_MODULE_SUFFIX := .stamp 9 LOCAL_MODULE_TAGS := optional 10 gyp_intermediate_dir := $(call local-intermediates-dir) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 12 13 # Make sure our deps are built first. 14 GYP_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 27 media_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 37 media_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 47 media_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 57 media_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 67 media_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 77 media_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 87 media_media_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/media/jni/WebAudioMediaCodecBridge_jni.h 88 89 ### Finished generating for all rules 90 91 GYP_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. 101 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 102 103 LOCAL_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 113 GYP_COPIED_SOURCE_ORIGIN_DIRS := 114 115 LOCAL_SRC_FILES := 116 117 118 # Flags passed to both C and C++ files. 119 MY_CFLAGS_Debug := \ 120 -fstack-protector \ 121 --param=ssp-buffer-size=4 \ 122 \ 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 -EL \ 132 -mhard-float \ 133 -ffunction-sections \ 134 -funwind-tables \ 135 -g \ 136 -fstack-protector \ 137 -fno-short-enums \ 138 -finline-limit=64 \ 139 -Wa,--noexecstack \ 140 -U_FORTIFY_SOURCE \ 141 -Wno-extra \ 142 -Wno-ignored-qualifiers \ 143 -Wno-type-limits \ 144 -Os \ 145 -g \ 146 -fomit-frame-pointer \ 147 -fdata-sections \ 148 -ffunction-sections 149 150 MY_DEFS_Debug := \ 151 '-DV8_DEPRECATION_WARNINGS' \ 152 '-D_FILE_OFFSET_BITS=64' \ 153 '-DNO_TCMALLOC' \ 154 '-DDISABLE_NACL' \ 155 '-DCHROMIUM_BUILD' \ 156 '-DUSE_LIBJPEG_TURBO=1' \ 157 '-DUSE_PROPRIETARY_CODECS' \ 158 '-DENABLE_CONFIGURATION_POLICY' \ 159 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 160 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 161 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 162 '-DUSE_OPENSSL=1' \ 163 '-DENABLE_EGLIMAGE=1' \ 164 '-DCLD_VERSION=1' \ 165 '-DENABLE_PRINTING=1' \ 166 '-DENABLE_MANAGED_USERS=1' \ 167 '-D__STDC_CONSTANT_MACROS' \ 168 '-D__STDC_FORMAT_MACROS' \ 169 '-DANDROID' \ 170 '-D__GNU_SOURCE=1' \ 171 '-DUSE_STLPORT=1' \ 172 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 173 '-DCHROME_BUILD_ID=""' \ 174 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 175 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 176 '-D_DEBUG' 177 178 179 # Include paths placed before CFLAGS/CPPFLAGS 180 LOCAL_C_INCLUDES_Debug := \ 181 $(PWD)/frameworks/wilhelm/include \ 182 $(PWD)/bionic \ 183 $(PWD)/external/stlport/stlport 184 185 186 # Flags passed to only C++ (and not C) files. 187 LOCAL_CPPFLAGS_Debug := \ 188 -fno-rtti \ 189 -fno-threadsafe-statics \ 190 -fvisibility-inlines-hidden \ 191 -Wsign-compare \ 192 -Wno-uninitialized \ 193 -Wno-error=c++0x-compat \ 194 -Wno-non-virtual-dtor \ 195 -Wno-sign-promo 196 197 198 # Flags passed to both C and C++ files. 199 MY_CFLAGS_Release := \ 200 -fstack-protector \ 201 --param=ssp-buffer-size=4 \ 202 \ 203 -fno-exceptions \ 204 -fno-strict-aliasing \ 205 -Wall \ 206 -Wno-unused-parameter \ 207 -Wno-missing-field-initializers \ 208 -fvisibility=hidden \ 209 -pipe \ 210 -fPIC \ 211 -EL \ 212 -mhard-float \ 213 -ffunction-sections \ 214 -funwind-tables \ 215 -g \ 216 -fstack-protector \ 217 -fno-short-enums \ 218 -finline-limit=64 \ 219 -Wa,--noexecstack \ 220 -U_FORTIFY_SOURCE \ 221 -Wno-extra \ 222 -Wno-ignored-qualifiers \ 223 -Wno-type-limits \ 224 -Os \ 225 -fno-ident \ 226 -fdata-sections \ 227 -ffunction-sections \ 228 -fomit-frame-pointer 229 230 MY_DEFS_Release := \ 231 '-DV8_DEPRECATION_WARNINGS' \ 232 '-D_FILE_OFFSET_BITS=64' \ 233 '-DNO_TCMALLOC' \ 234 '-DDISABLE_NACL' \ 235 '-DCHROMIUM_BUILD' \ 236 '-DUSE_LIBJPEG_TURBO=1' \ 237 '-DUSE_PROPRIETARY_CODECS' \ 238 '-DENABLE_CONFIGURATION_POLICY' \ 239 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 240 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 241 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 242 '-DUSE_OPENSSL=1' \ 243 '-DENABLE_EGLIMAGE=1' \ 244 '-DCLD_VERSION=1' \ 245 '-DENABLE_PRINTING=1' \ 246 '-DENABLE_MANAGED_USERS=1' \ 247 '-D__STDC_CONSTANT_MACROS' \ 248 '-D__STDC_FORMAT_MACROS' \ 249 '-DANDROID' \ 250 '-D__GNU_SOURCE=1' \ 251 '-DUSE_STLPORT=1' \ 252 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 253 '-DCHROME_BUILD_ID=""' \ 254 '-DNDEBUG' \ 255 '-DNVALGRIND' \ 256 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 257 '-D_FORTIFY_SOURCE=2' 258 259 260 # Include paths placed before CFLAGS/CPPFLAGS 261 LOCAL_C_INCLUDES_Release := \ 262 $(PWD)/frameworks/wilhelm/include \ 263 $(PWD)/bionic \ 264 $(PWD)/external/stlport/stlport 265 266 267 # Flags passed to only C++ (and not C) files. 268 LOCAL_CPPFLAGS_Release := \ 269 -fno-rtti \ 270 -fno-threadsafe-statics \ 271 -fvisibility-inlines-hidden \ 272 -Wsign-compare \ 273 -Wno-uninitialized \ 274 -Wno-error=c++0x-compat \ 275 -Wno-non-virtual-dtor \ 276 -Wno-sign-promo 277 278 279 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 280 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 281 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 282 ### Rules for final target. 283 # Add target alias to "gyp_all_modules" target. 284 .PHONY: gyp_all_modules 285 gyp_all_modules: media_media_android_jni_headers_gyp 286 287 # Alias gyp target name. 288 .PHONY: media_android_jni_headers 289 media_android_jni_headers: media_media_android_jni_headers_gyp 290 291 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 292 LOCAL_UNINSTALLABLE_MODULE := true 293 294 include $(BUILD_SYSTEM)/base_rules.mk 295 296 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 297 $(hide) echo "Gyp timestamp: $@" 298 $(hide) mkdir -p $(dir $@) 299 $(hide) touch $@ 300