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

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

Issue 1947923002: remoting: fix out-of-tree build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: trybots Created 4 years, 7 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 | « no previous file | remoting/host/BUILD.gn » ('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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 remoting_localize("remoting_apk_manifest") { 72 remoting_localize("remoting_apk_manifest") {
73 sources = [ 73 sources = [
74 "java/AndroidManifest.xml.jinja2", 74 "java/AndroidManifest.xml.jinja2",
75 ] 75 ]
76 locales = [ "en" ] 76 locales = [ "en" ]
77 if (remoting_enable_cardboard) { 77 if (remoting_enable_cardboard) {
78 defines = [ "ENABLE_CARDBOARD=1" ] 78 defines = [ "ENABLE_CARDBOARD=1" ]
79 } else { 79 } else {
80 defines = [ "ENABLE_CARDBOARD=0" ] 80 defines = [ "ENABLE_CARDBOARD=0" ]
81 } 81 }
82 variables = [ branding_path ] 82 variables = [ rebase_path(branding_path) ]
83 output = "$root_gen_dir/remoting/android/{{source_name_part}}" 83 output = "$root_gen_dir/remoting/android/{{source_name_part}}"
84 } 84 }
85 85
86 android_resources("remoting_android_client_java_resources") { 86 android_resources("remoting_android_client_java_resources") {
87 custom_package = "org.chromium.chromoting" 87 custom_package = "org.chromium.chromoting"
88 resource_dirs = [ "java/res" ] 88 resource_dirs = [ "java/res" ]
89 generated_resource_dirs = [ _raw_resources_base_dir ] 89 generated_resource_dirs = [ _raw_resources_base_dir ]
90 generated_resource_files = 90 generated_resource_files =
91 get_target_outputs(":remoting_android_raw_resources") 91 get_target_outputs(":remoting_android_raw_resources")
92 92
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 "//net/android:net_java", 125 "//net/android:net_java",
126 google_play_services_resources, 126 google_play_services_resources,
127 ] 127 ]
128 } 128 }
129 129
130 remoting_localize("remoting_test_apk_manifest") { 130 remoting_localize("remoting_test_apk_manifest") {
131 sources = [ 131 sources = [
132 "javatests/AndroidManifest.xml.jinja2", 132 "javatests/AndroidManifest.xml.jinja2",
133 ] 133 ]
134 locales = [ "en" ] 134 locales = [ "en" ]
135 variables = [ branding_path ] 135 variables = [ rebase_path(branding_path) ]
136 output = "$root_gen_dir/remoting/android_test/{{source_name_part}}" 136 output = "$root_gen_dir/remoting/android_test/{{source_name_part}}"
137 } 137 }
138 138
139 instrumentation_test_apk("remoting_test_apk") { 139 instrumentation_test_apk("remoting_test_apk") {
140 android_manifest = "$root_gen_dir/remoting/android_test/AndroidManifest.xml" 140 android_manifest = "$root_gen_dir/remoting/android_test/AndroidManifest.xml"
141 apk_name = "ChromotingTest" 141 apk_name = "ChromotingTest"
142 apk_under_test = ":remoting_apk" 142 apk_under_test = ":remoting_apk"
143 java_files = [ 143 java_files = [
144 "javatests/src/org/chromium/chromoting/TouchInputStrategyTest.java", 144 "javatests/src/org/chromium/chromoting/TouchInputStrategyTest.java",
145 "javatests/src/org/chromium/chromoting/SwipePinchDetectorTest.java", 145 "javatests/src/org/chromium/chromoting/SwipePinchDetectorTest.java",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 ":remoting_host_apk_resources", 198 ":remoting_host_apk_resources",
199 ":remoting_host_jni", 199 ":remoting_host_jni",
200 "//base:base_java", 200 "//base:base_java",
201 "//net/android:net_java", 201 "//net/android:net_java",
202 "//third_party/android_tools:android_support_v13_java", 202 "//third_party/android_tools:android_support_v13_java",
203 "//third_party/android_tools:android_support_v7_appcompat_java", 203 "//third_party/android_tools:android_support_v7_appcompat_java",
204 google_play_services_library, 204 google_play_services_library,
205 google_play_services_resources, 205 google_play_services_resources,
206 ] 206 ]
207 } 207 }
OLDNEW
« no previous file with comments | « no previous file | remoting/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698