Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: remoting/android/BUILD.gn

Issue 2156453002: Add AAR support to Chrome and convert support libraries to using AARs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert change in 3p/android_async_task/README.chromium Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/android/BUILD.gn ('k') | remoting/android/client_java_tmpl.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 android_resources("remoting_android_client_java_resources") { 101 android_resources("remoting_android_client_java_resources") {
102 custom_package = "org.chromium.chromoting" 102 custom_package = "org.chromium.chromoting"
103 resource_dirs = [ "java/res" ] 103 resource_dirs = [ "java/res" ]
104 generated_resource_dirs = [ _raw_resources_base_dir ] 104 generated_resource_dirs = [ _raw_resources_base_dir ]
105 generated_resource_files = 105 generated_resource_files =
106 get_target_outputs(":remoting_android_raw_resources") 106 get_target_outputs(":remoting_android_raw_resources")
107 107
108 deps = [ 108 deps = [
109 ":remoting_android_raw_resources", 109 ":remoting_android_raw_resources",
110 "//remoting/resources:strings_java", 110 "//remoting/resources:strings_java",
111 "//third_party/android_tools:android_support_v7_appcompat_resources", 111 "//third_party/android_tools:android_support_v7_appcompat_java",
112 ] 112 ]
113 } 113 }
114 114
115 remoting_android_client_java_tmpl("remoting_android_client_java") { 115 remoting_android_client_java_tmpl("remoting_android_client_java") {
116 remoting_google_play_services_library = google_play_services_library 116 remoting_google_play_services_library = google_play_services_library
117 } 117 }
118 118
119 if (current_cpu == "arm") { 119 if (current_cpu == "arm") {
120 action("remoting_cardboard_extract_native_lib") { 120 action("remoting_cardboard_extract_native_lib") {
121 script = "//remoting/tools/extract_android_native_lib.py" 121 script = "//remoting/tools/extract_android_native_lib.py"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 "//remoting/host/android/remoting_host_jni_onload.cc", 187 "//remoting/host/android/remoting_host_jni_onload.cc",
188 "//remoting/host/android/remoting_host_jni_registrar.cc", 188 "//remoting/host/android/remoting_host_jni_registrar.cc",
189 "//remoting/host/android/remoting_host_jni_registrar.h", 189 "//remoting/host/android/remoting_host_jni_registrar.h",
190 ] 190 ]
191 } 191 }
192 192
193 android_resources("remoting_host_apk_resources") { 193 android_resources("remoting_host_apk_resources") {
194 custom_package = "org.chromium.chromoting.host" 194 custom_package = "org.chromium.chromoting.host"
195 resource_dirs = [ "host/res" ] 195 resource_dirs = [ "host/res" ]
196 deps = [ 196 deps = [
197 "//third_party/android_tools:android_support_v7_appcompat_resources", 197 "//third_party/android_tools:android_support_v7_appcompat_java",
198 ] 198 ]
199 } 199 }
200 200
201 android_apk("remoting_host_apk") { 201 android_apk("remoting_host_apk") {
202 apk_name = "ChromotingHost" 202 apk_name = "ChromotingHost"
203 android_manifest = "host/AndroidManifest.xml" 203 android_manifest = "host/AndroidManifest.xml"
204 shared_libraries = [ ":remoting_host_jni" ] 204 shared_libraries = [ ":remoting_host_jni" ]
205 _java_file_prefix = "host/src/org/chromium/chromoting/host" 205 _java_file_prefix = "host/src/org/chromium/chromoting/host"
206 _java_files = [ 206 _java_files = [
207 "MainActivity.java", 207 "MainActivity.java",
208 "RemotingApplication.java", 208 "RemotingApplication.java",
209 "jni/Host.java", 209 "jni/Host.java",
210 "jni/It2MeHostObserver.java", 210 "jni/It2MeHostObserver.java",
211 ] 211 ]
212 java_files = rebase_path(_java_files, ".", _java_file_prefix) 212 java_files = rebase_path(_java_files, ".", _java_file_prefix)
213 java_files += 213 java_files +=
214 [ "java/src/org/chromium/chromoting/base/OAuthTokenFetcher.java" ] 214 [ "java/src/org/chromium/chromoting/base/OAuthTokenFetcher.java" ]
215 deps = [ 215 deps = [
216 ":remoting_host_apk_resources", 216 ":remoting_host_apk_resources",
217 "//base:base_java", 217 "//base:base_java",
218 "//net/android:net_java", 218 "//net/android:net_java",
219 "//third_party/android_tools:android_support_v13_java",
220 "//third_party/android_tools:android_support_v7_appcompat_java", 219 "//third_party/android_tools:android_support_v7_appcompat_java",
221 google_play_services_library, 220 google_play_services_library,
222 ] 221 ]
223 } 222 }
OLDNEW
« no previous file with comments | « content/public/android/BUILD.gn ('k') | remoting/android/client_java_tmpl.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698