| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 custom_package = "org.chromium.chromoting.host" | 187 custom_package = "org.chromium.chromoting.host" |
| 188 resource_dirs = [ "host/res" ] | 188 resource_dirs = [ "host/res" ] |
| 189 deps = [ | 189 deps = [ |
| 190 "//third_party/android_tools:android_support_v7_appcompat_resources", | 190 "//third_party/android_tools:android_support_v7_appcompat_resources", |
| 191 ] | 191 ] |
| 192 } | 192 } |
| 193 | 193 |
| 194 android_apk("remoting_host_apk") { | 194 android_apk("remoting_host_apk") { |
| 195 apk_name = "ChromotingHost" | 195 apk_name = "ChromotingHost" |
| 196 android_manifest = "host/AndroidManifest.xml" | 196 android_manifest = "host/AndroidManifest.xml" |
| 197 native_libs = [ "libremoting_host_jni.so" ] | 197 shared_libraries = [ ":remoting_host_jni" ] |
| 198 _java_file_prefix = "host/src/org/chromium/chromoting/host" | 198 _java_file_prefix = "host/src/org/chromium/chromoting/host" |
| 199 _java_files = [ | 199 _java_files = [ |
| 200 "MainActivity.java", | 200 "MainActivity.java", |
| 201 "RemotingApplication.java", | 201 "RemotingApplication.java", |
| 202 "jni/Host.java", | 202 "jni/Host.java", |
| 203 "jni/It2MeHostObserver.java", | 203 "jni/It2MeHostObserver.java", |
| 204 ] | 204 ] |
| 205 java_files = rebase_path(_java_files, ".", _java_file_prefix) | 205 java_files = rebase_path(_java_files, ".", _java_file_prefix) |
| 206 java_files += | 206 java_files += |
| 207 [ "java/src/org/chromium/chromoting/base/OAuthTokenFetcher.java" ] | 207 [ "java/src/org/chromium/chromoting/base/OAuthTokenFetcher.java" ] |
| 208 deps = [ | 208 deps = [ |
| 209 ":remoting_host_apk_resources", | 209 ":remoting_host_apk_resources", |
| 210 ":remoting_host_jni", | |
| 211 "//base:base_java", | 210 "//base:base_java", |
| 212 "//net/android:net_java", | 211 "//net/android:net_java", |
| 213 "//third_party/android_tools:android_support_v13_java", | 212 "//third_party/android_tools:android_support_v13_java", |
| 214 "//third_party/android_tools:android_support_v7_appcompat_java", | 213 "//third_party/android_tools:android_support_v7_appcompat_java", |
| 215 google_play_services_library, | 214 google_play_services_library, |
| 216 ] | 215 ] |
| 217 } | 216 } |
| OLD | NEW |