| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 resource_dirs = [ "host/res" ] | 177 resource_dirs = [ "host/res" ] |
| 178 deps = [ | 178 deps = [ |
| 179 "//third_party/android_tools:android_support_v7_appcompat_resources", | 179 "//third_party/android_tools:android_support_v7_appcompat_resources", |
| 180 ] | 180 ] |
| 181 } | 181 } |
| 182 | 182 |
| 183 android_apk("remoting_host_apk") { | 183 android_apk("remoting_host_apk") { |
| 184 apk_name = "ChromotingHost" | 184 apk_name = "ChromotingHost" |
| 185 android_manifest = "host/AndroidManifest.xml" | 185 android_manifest = "host/AndroidManifest.xml" |
| 186 native_libs = [ "libremoting_host_jni.so" ] | 186 native_libs = [ "libremoting_host_jni.so" ] |
| 187 java_files = [ | 187 _java_file_prefix = "host/src/org/chromium/chromoting/host" |
| 188 "host/src/org/chromium/chromoting/host/MainActivity.java", | 188 _java_files = [ |
| 189 "host/src/org/chromium/chromoting/host/RemotingApplication.java", | 189 "MainActivity.java", |
| 190 "host/src/org/chromium/chromoting/host/jni/Host.java", | 190 "RemotingApplication.java", |
| 191 "java/src/org/chromium/chromoting/base/OAuthTokenFetcher.java", | 191 "jni/Host.java", |
| 192 "jni/It2MeHostObserver.java", |
| 192 ] | 193 ] |
| 193 | 194 java_files = rebase_path(_java_files, ".", _java_file_prefix) |
| 195 java_files += |
| 196 [ "java/src/org/chromium/chromoting/base/OAuthTokenFetcher.java" ] |
| 194 deps = [ | 197 deps = [ |
| 195 ":remoting_host_apk_resources", | 198 ":remoting_host_apk_resources", |
| 196 ":remoting_host_jni", | 199 ":remoting_host_jni", |
| 197 "//base:base_java", | 200 "//base:base_java", |
| 198 "//net/android:net_java", | 201 "//net/android:net_java", |
| 199 "//third_party/android_tools:android_support_v13_java", | 202 "//third_party/android_tools:android_support_v13_java", |
| 200 "//third_party/android_tools:android_support_v7_appcompat_java", | 203 "//third_party/android_tools:android_support_v7_appcompat_java", |
| 201 google_play_services_library, | 204 google_play_services_library, |
| 202 google_play_services_resources, | 205 google_play_services_resources, |
| 203 ] | 206 ] |
| 204 } | 207 } |
| OLD | NEW |