OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 assert(is_android) | 7 assert(is_android) |
8 | 8 |
9 android_resources("android_media_resources") { | 9 android_resources("android_media_resources") { |
10 custom_package = "org.chromium.third_party.android.media" | 10 custom_package = "org.chromium.third_party.android.media" |
11 resource_dirs = [ "java/res" ] | 11 resource_dirs = [ "java/res" ] |
12 deps = [ | 12 deps = [ |
13 "//third_party/android_tools:android_support_v7_appcompat_resources", | 13 "//third_party/android_tools:android_support_v7_appcompat_resources", |
14 "//third_party/android_tools:android_support_v7_mediarouter_resources", | 14 "//third_party/android_tools:android_support_v7_mediarouter_resources", |
15 ] | 15 ] |
16 } | 16 } |
17 | 17 |
18 android_library("android_media_java") { | 18 android_library("android_media_java") { |
19 DEPRECATED_java_in_dir = "java/src" | 19 java_files = |
| 20 [ "java/src/org/chromium/third_party/android/media/MediaController.java" ] |
20 deps = [ | 21 deps = [ |
21 ":android_media_resources", | 22 ":android_media_resources", |
22 "//third_party/android_tools:android_support_v13_java", | 23 "//third_party/android_tools:android_support_v13_java", |
23 "//third_party/android_tools:android_support_v7_appcompat_java", | 24 "//third_party/android_tools:android_support_v7_appcompat_java", |
24 "//third_party/android_tools:android_support_v7_mediarouter_java", | 25 "//third_party/android_tools:android_support_v7_mediarouter_java", |
25 "//third_party/android_tools:android_support_v7_mediarouter_resources", | 26 "//third_party/android_tools:android_support_v7_mediarouter_resources", |
26 ] | 27 ] |
27 } | 28 } |
OLD | NEW |