OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # Override to dynamically link the PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
10 # Override to dynamically link the cras (ChromeOS audio) library. | 10 # Override to dynamically link the cras (ChromeOS audio) library. |
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 'targets': [ | 930 'targets': [ |
931 { | 931 { |
932 'target_name': 'player_android', | 932 'target_name': 'player_android', |
933 'type': 'static_library', | 933 'type': 'static_library', |
934 'sources': [ | 934 'sources': [ |
935 'base/android/media_player_bridge.cc', | 935 'base/android/media_player_bridge.cc', |
936 'base/android/media_player_bridge.h', | 936 'base/android/media_player_bridge.h', |
937 ], | 937 ], |
938 'dependencies': [ | 938 'dependencies': [ |
939 '../base/base.gyp:base', | 939 '../base/base.gyp:base', |
| 940 'media_java', |
940 ], | 941 ], |
941 'include_dirs': [ | 942 'include_dirs': [ |
942 '<(SHARED_INTERMEDIATE_DIR)/media', | 943 '<(SHARED_INTERMEDIATE_DIR)/media', |
943 ], | 944 ], |
944 'actions': [ | 945 'actions': [ |
945 { | 946 { |
946 'action_name': 'generate-jni-headers', | 947 'action_name': 'generate-jni-headers', |
947 'inputs': [ | 948 'inputs': [ |
948 '../base/android/jni_generator/jni_generator.py', | 949 '../base/android/jni_generator/jni_generator.py', |
949 'base/android/java/org/chromium/media/MediaPlayerListener.java', | 950 'base/android/java/org/chromium/media/MediaPlayerListener.java', |
950 ], | 951 ], |
951 'outputs': [ | 952 'outputs': [ |
952 '<(SHARED_INTERMEDIATE_DIR)/media/jni/media_player_listener_jni.
h', | 953 '<(SHARED_INTERMEDIATE_DIR)/media/jni/media_player_listener_jni.
h', |
953 ], | 954 ], |
954 'action': [ | 955 'action': [ |
955 'python', | 956 'python', |
956 '<(DEPTH)/base/android/jni_generator/jni_generator.py', | 957 '<(DEPTH)/base/android/jni_generator/jni_generator.py', |
957 '-o', | 958 '-o', |
958 '<@(_inputs)', | 959 '<@(_inputs)', |
959 '<@(_outputs)', | 960 '<@(_outputs)', |
960 ], | 961 ], |
961 }, | 962 }, |
962 ], | 963 ], |
963 }, | 964 }, |
| 965 { |
| 966 'target_name': 'media_java', |
| 967 'type': 'none', |
| 968 'dependencies': [ '../base/base.gyp:base_java' ], |
| 969 'variables': { |
| 970 'package_name': 'media', |
| 971 'java_in_dir': 'base/android/java', |
| 972 }, |
| 973 'includes': [ '../build/java.gypi' ], |
| 974 }, |
| 975 |
964 ], | 976 ], |
965 }, { # OS != "android"' | 977 }, { # OS != "android"' |
966 # Android does not use ffmpeg, so disable the targets which require it. | 978 # Android does not use ffmpeg, so disable the targets which require it. |
967 'targets': [ | 979 'targets': [ |
968 { | 980 { |
969 'target_name': 'ffmpeg_unittests', | 981 'target_name': 'ffmpeg_unittests', |
970 'type': 'executable', | 982 'type': 'executable', |
971 'dependencies': [ | 983 'dependencies': [ |
972 'media', | 984 'media', |
973 'media_test_support', | 985 'media_test_support', |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1050 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 1062 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
1051 ], | 1063 ], |
1052 'sources': [ | 1064 'sources': [ |
1053 'tools/media_bench/media_bench.cc', | 1065 'tools/media_bench/media_bench.cc', |
1054 ], | 1066 ], |
1055 }, | 1067 }, |
1056 ], | 1068 ], |
1057 }] | 1069 }] |
1058 ], | 1070 ], |
1059 } | 1071 } |
OLD | NEW |