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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 "//base:base_java_test_support", | 153 "//base:base_java_test_support", |
154 ] | 154 ] |
155 } | 155 } |
156 | 156 |
157 shared_library("remoting_host_jni") { | 157 shared_library("remoting_host_jni") { |
158 deps = [ | 158 deps = [ |
159 ":jni_headers", | 159 ":jni_headers", |
160 "//google_apis", | 160 "//google_apis", |
161 "//remoting/base", | 161 "//remoting/base", |
162 "//remoting/host", | 162 "//remoting/host", |
| 163 "//remoting/host/it2me:common", |
163 "//remoting/protocol", | 164 "//remoting/protocol", |
164 ] | 165 ] |
165 sources = [ | 166 sources = [ |
166 "//remoting/host/android/jni_host.cc", | 167 "//remoting/host/android/jni_host.cc", |
167 "//remoting/host/android/jni_host.h", | 168 "//remoting/host/android/jni_host.h", |
168 "//remoting/host/android/remoting_host_jni_onload.cc", | 169 "//remoting/host/android/remoting_host_jni_onload.cc", |
169 "//remoting/host/android/remoting_host_jni_registrar.cc", | 170 "//remoting/host/android/remoting_host_jni_registrar.cc", |
170 "//remoting/host/android/remoting_host_jni_registrar.h", | 171 "//remoting/host/android/remoting_host_jni_registrar.h", |
171 ] | 172 ] |
172 } | 173 } |
173 | 174 |
174 android_resources("remoting_host_apk_resources") { | 175 android_resources("remoting_host_apk_resources") { |
175 custom_package = "org.chromium.chromoting.host" | 176 custom_package = "org.chromium.chromoting.host" |
176 resource_dirs = [ "host/res" ] | 177 resource_dirs = [ "host/res" ] |
177 deps = [ | 178 deps = [ |
178 "//third_party/android_tools:android_support_v7_appcompat_resources", | 179 "//third_party/android_tools:android_support_v7_appcompat_resources", |
179 ] | 180 ] |
180 } | 181 } |
181 | 182 |
182 android_apk("remoting_host_apk") { | 183 android_apk("remoting_host_apk") { |
183 apk_name = "ChromotingHost" | 184 apk_name = "ChromotingHost" |
184 android_manifest = "host/AndroidManifest.xml" | 185 android_manifest = "host/AndroidManifest.xml" |
185 native_libs = [ "libremoting_host_jni.so" ] | 186 native_libs = [ "libremoting_host_jni.so" ] |
186 java_files = [ | 187 java_files = [ |
| 188 "host/src/org/chromium/chromoting/host/MainActivity.java", |
187 "host/src/org/chromium/chromoting/host/RemotingApplication.java", | 189 "host/src/org/chromium/chromoting/host/RemotingApplication.java", |
188 "host/src/org/chromium/chromoting/host/MainActivity.java", | |
189 "host/src/org/chromium/chromoting/host/jni/Host.java", | 190 "host/src/org/chromium/chromoting/host/jni/Host.java", |
| 191 "java/src/org/chromium/chromoting/base/OAuthTokenFetcher.java", |
190 ] | 192 ] |
| 193 |
191 deps = [ | 194 deps = [ |
192 ":remoting_host_apk_resources", | 195 ":remoting_host_apk_resources", |
193 ":remoting_host_jni", | 196 ":remoting_host_jni", |
194 "//base:base_java", | 197 "//base:base_java", |
195 "//net/android:net_java", | 198 "//net/android:net_java", |
196 "//third_party/android_tools:android_support_v13_java", | 199 "//third_party/android_tools:android_support_v13_java", |
197 "//third_party/android_tools:android_support_v7_appcompat_java", | 200 "//third_party/android_tools:android_support_v7_appcompat_java", |
| 201 google_play_services_library, |
| 202 google_play_services_resources, |
198 ] | 203 ] |
199 } | 204 } |
OLD | NEW |