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/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//remoting/android/client_java_tmpl.gni") | 7 import("//remoting/android/client_java_tmpl.gni") |
8 import("//remoting/android/remoting_apk_tmpl.gni") | 8 import("//remoting/android/remoting_apk_tmpl.gni") |
9 import("//remoting/remoting_options.gni") | 9 import("//remoting/remoting_options.gni") |
10 import("//remoting/tools/build/remoting_localize.gni") | 10 import("//remoting/tools/build/remoting_localize.gni") |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 ":remoting_android_raw_resources", | 90 ":remoting_android_raw_resources", |
91 "//remoting/resources:strings_java", | 91 "//remoting/resources:strings_java", |
92 "//third_party/android_tools:android_support_v7_appcompat_resources", | 92 "//third_party/android_tools:android_support_v7_appcompat_resources", |
93 ] | 93 ] |
94 } | 94 } |
95 | 95 |
96 remoting_android_client_java_tmpl("remoting_android_client_java") { | 96 remoting_android_client_java_tmpl("remoting_android_client_java") { |
97 remoting_google_play_services_library = google_play_services_library | 97 remoting_google_play_services_library = google_play_services_library |
98 } | 98 } |
99 | 99 |
100 action("remoting_cardboard_extract_native_lib") { | 100 if (target_cpu == "arm") { |
101 script = "//remoting/tools/extract_android_native_lib.py" | 101 action("remoting_cardboard_extract_native_lib") { |
102 sources = [ | 102 script = "//remoting/tools/extract_android_native_lib.py" |
103 "//third_party/cardboard-java/src/CardboardSample/libs/cardboard.jar", | 103 sources = [ |
104 ] | 104 "//third_party/cardboard-java/src/CardboardSample/libs/cardboard.jar", |
105 outputs = [ | 105 ] |
106 "$root_out_dir/libvrtoolkit.so", | 106 outputs = [ |
107 ] | 107 "$root_out_dir/libvrtoolkit.so", |
108 args = [ android_app_abi ] | 108 ] |
109 args += rebase_path(sources, root_build_dir) | 109 args = [ android_app_abi ] |
110 args += rebase_path(outputs, root_build_dir) | 110 args += rebase_path(sources, root_build_dir) |
| 111 args += rebase_path(outputs, root_build_dir) |
| 112 } |
111 } | 113 } |
112 | 114 |
113 remoting_apk_tmpl("remoting_apk") { | 115 remoting_apk_tmpl("remoting_apk") { |
114 apk_name = "Chromoting" | 116 apk_name = "Chromoting" |
115 | 117 |
116 DEPRECATED_java_in_dir = "//remoting/android/apk/src" | 118 DEPRECATED_java_in_dir = "//remoting/android/apk/src" |
117 | 119 |
118 deps = [ | 120 deps = [ |
119 ":remoting_android_client_java", | 121 ":remoting_android_client_java", |
120 "//base:base_java", | 122 "//base:base_java", |
(...skipping 16 matching lines...) Expand all Loading... |
137 apk_name = "ChromotingTest" | 139 apk_name = "ChromotingTest" |
138 apk_under_test = ":remoting_apk" | 140 apk_under_test = ":remoting_apk" |
139 DEPRECATED_java_in_dir = "javatests/src" | 141 DEPRECATED_java_in_dir = "javatests/src" |
140 deps = [ | 142 deps = [ |
141 ":remoting_android_client_java", | 143 ":remoting_android_client_java", |
142 ":remoting_test_apk_manifest", | 144 ":remoting_test_apk_manifest", |
143 "//base:base_java", | 145 "//base:base_java", |
144 "//base:base_java_test_support", | 146 "//base:base_java_test_support", |
145 ] | 147 ] |
146 } | 148 } |
OLD | NEW |