OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 | 9 |
10 # These should compile on non-android platforms too. | 10 # These should compile on non-android platforms too. |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 "stream_texture_wrapper.h", | 83 "stream_texture_wrapper.h", |
84 ] | 84 ] |
85 configs += [ | 85 configs += [ |
86 "//media:media_config", | 86 "//media:media_config", |
87 "//media:media_implementation", | 87 "//media:media_implementation", |
88 ] | 88 ] |
89 deps = [ | 89 deps = [ |
90 ":media_jni_headers", | 90 ":media_jni_headers", |
91 "//media:media_features", | 91 "//media:media_features", |
92 "//media:shared_memory_support", | 92 "//media:shared_memory_support", |
93 "//third_party/widevine/cdm:version_h", | 93 "//third_party/widevine/cdm:headers", |
94 "//ui/gl", | 94 "//ui/gl", |
95 "//url", | 95 "//url", |
96 ] | 96 ] |
97 public_deps = [ | 97 public_deps = [ |
98 ":anywhere", | 98 ":anywhere", |
99 ] | 99 ] |
100 } | 100 } |
101 | 101 |
102 source_set("unittests") { | 102 source_set("unittests") { |
103 testonly = true | 103 testonly = true |
104 sources = [ | 104 sources = [ |
105 "media_drm_bridge_unittest.cc", | 105 "media_drm_bridge_unittest.cc", |
106 "media_player_bridge_unittest.cc", | 106 "media_player_bridge_unittest.cc", |
107 "sdk_media_codec_bridge_unittest.cc", | 107 "sdk_media_codec_bridge_unittest.cc", |
108 ] | 108 ] |
109 | 109 |
110 deps = [ | 110 deps = [ |
111 ":android", | 111 ":android", |
112 "//media/base:test_support", | 112 "//media/base:test_support", |
113 "//testing/gmock", | 113 "//testing/gmock", |
114 "//testing/gtest", | 114 "//testing/gtest", |
115 "//third_party/widevine/cdm:version_h", | 115 "//third_party/widevine/cdm:headers", |
116 ] | 116 ] |
117 configs += [ "//media:media_config" ] | 117 configs += [ "//media:media_config" ] |
118 } | 118 } |
119 | 119 |
120 generate_jni("media_jni_headers") { | 120 generate_jni("media_jni_headers") { |
121 sources = [ | 121 sources = [ |
122 "java/src/org/chromium/media/AudioManagerAndroid.java", | 122 "java/src/org/chromium/media/AudioManagerAndroid.java", |
123 "java/src/org/chromium/media/AudioRecordInput.java", | 123 "java/src/org/chromium/media/AudioRecordInput.java", |
124 "java/src/org/chromium/media/MediaCodecBridge.java", | 124 "java/src/org/chromium/media/MediaCodecBridge.java", |
125 "java/src/org/chromium/media/MediaCodecUtil.java", | 125 "java/src/org/chromium/media/MediaCodecUtil.java", |
(...skipping 13 matching lines...) Expand all Loading... |
139 "java/src/org/chromium/media/AudioManagerAndroid.java", | 139 "java/src/org/chromium/media/AudioManagerAndroid.java", |
140 "java/src/org/chromium/media/AudioRecordInput.java", | 140 "java/src/org/chromium/media/AudioRecordInput.java", |
141 "java/src/org/chromium/media/MediaCodecBridge.java", | 141 "java/src/org/chromium/media/MediaCodecBridge.java", |
142 "java/src/org/chromium/media/MediaCodecUtil.java", | 142 "java/src/org/chromium/media/MediaCodecUtil.java", |
143 "java/src/org/chromium/media/MediaDrmBridge.java", | 143 "java/src/org/chromium/media/MediaDrmBridge.java", |
144 "java/src/org/chromium/media/MediaPlayerBridge.java", | 144 "java/src/org/chromium/media/MediaPlayerBridge.java", |
145 "java/src/org/chromium/media/MediaPlayerListener.java", | 145 "java/src/org/chromium/media/MediaPlayerListener.java", |
146 ] | 146 ] |
147 } | 147 } |
148 } | 148 } |
OLD | NEW |