OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 # GYP target: chromecast.gyp:cast_shell_manifest | 9 # GYP target: chromecast.gyp:cast_shell_manifest |
10 jinja_template("cast_shell_manifest") { | 10 jinja_template("cast_shell_manifest") { |
11 input = "apk/AndroidManifest.xml.jinja2" | 11 input = "apk/AndroidManifest.xml.jinja2" |
12 output = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml" | 12 output = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml" |
13 } | 13 } |
14 | 14 |
15 # GYP target: n/a | 15 # GYP target: n/a |
16 android_resources("cast_shell_android_resources") { | 16 android_resources("cast_shell_android_resources") { |
17 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml" | 17 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml" |
18 android_manifest_dep = ":cast_shell_manifest" | |
19 resource_dirs = [ "//chromecast/browser/android/apk/res" ] | 18 resource_dirs = [ "//chromecast/browser/android/apk/res" ] |
| 19 deps = [ |
| 20 ":cast_shell_manifest", |
| 21 ] |
20 } | 22 } |
21 | 23 |
22 # GYP target: chromecast.gyp:cast_shell_java | 24 # GYP target: chromecast.gyp:cast_shell_java |
23 android_library("cast_shell_java") { | 25 android_library("cast_shell_java") { |
24 java_src_dir = "//chromecast/browser/android/apk/src" | 26 java_src_dir = "//chromecast/browser/android/apk/src" |
25 java_files = [ | 27 java_files = [ |
26 "$java_src_dir/org/chromium/chromecast/shell/CastApplication.java", | 28 "$java_src_dir/org/chromium/chromecast/shell/CastApplication.java", |
27 "$java_src_dir/org/chromium/chromecast/shell/CastAudioManager.java", | 29 "$java_src_dir/org/chromium/chromecast/shell/CastAudioManager.java", |
28 "$java_src_dir/org/chromium/chromecast/shell/CastBrowserHelper.java", | 30 "$java_src_dir/org/chromium/chromecast/shell/CastBrowserHelper.java", |
29 "$java_src_dir/org/chromium/chromecast/shell/CastCrashHandler.java", | 31 "$java_src_dir/org/chromium/chromecast/shell/CastCrashHandler.java", |
(...skipping 12 matching lines...) Expand all Loading... |
42 "//components/external_video_surface:java", | 44 "//components/external_video_surface:java", |
43 "//content/public/android:content_java", | 45 "//content/public/android:content_java", |
44 "//media/base/android:media_java", | 46 "//media/base/android:media_java", |
45 "//net/android:net_java", | 47 "//net/android:net_java", |
46 | 48 |
47 # TODO(slan): We may need to pass this in as a parameter. | 49 # TODO(slan): We may need to pass this in as a parameter. |
48 "//third_party/android_tools:android_support_v13_java", | 50 "//third_party/android_tools:android_support_v13_java", |
49 "//ui/android:ui_java", | 51 "//ui/android:ui_java", |
50 ] | 52 ] |
51 } | 53 } |
OLD | NEW |