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

Side by Side Diff: device/BUILD.gn

Issue 1465923002: GN: Merge apk_deps and deps in test() template (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for realz this time Created 5 years 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/test/BUILD.gn ('k') | gpu/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/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") # For generate_jni(). 9 import("//build/config/android/rules.gni") # For generate_jni().
10 } 10 }
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ] 131 ]
132 } 132 }
133 133
134 # UsbContext is a libusb-specific object. 134 # UsbContext is a libusb-specific object.
135 if (!is_android && !is_ios) { 135 if (!is_android && !is_ios) {
136 sources += [ "usb/usb_context_unittest.cc" ] 136 sources += [ "usb/usb_context_unittest.cc" ]
137 } 137 }
138 138
139 if (is_android) { 139 if (is_android) {
140 sources -= [ "battery/battery_status_service_unittest.cc" ] 140 sources -= [ "battery/battery_status_service_unittest.cc" ]
141 deps += [
142 ":bluetooth_test_java",
143 ":bluetooth_test_jni_headers",
144 ]
141 deps -= [ "//device/battery" ] 145 deps -= [ "//device/battery" ]
142 deps += [ ":bluetooth_test_jni_headers" ]
143 apk_deps = [ ":bluetooth_test_java" ]
144 } 146 }
145 147
146 if (is_chromeos) { 148 if (is_chromeos) {
147 deps += [ 149 deps += [
148 "//chromeos", 150 "//chromeos",
149 "//chromeos:test_support", 151 "//chromeos:test_support",
150 "//chromeos:test_support_without_gmock", 152 "//chromeos:test_support_without_gmock",
151 ] 153 ]
152 } 154 }
153 155
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 } 199 }
198 200
199 android_library("bluetooth_test_java") { 201 android_library("bluetooth_test_java") {
200 java_files = bluetooth_java_sources_needing_jni 202 java_files = bluetooth_java_sources_needing_jni
201 deps = [ 203 deps = [
202 "//base:base_java", 204 "//base:base_java",
203 "//device/bluetooth:java", 205 "//device/bluetooth:java",
204 ] 206 ]
205 } 207 }
206 } 208 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698