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

Side by Side Diff: device/BUILD.gn

Issue 1484643002: Make //device pass "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « build/linux/BUILD.gn ('k') | device/bluetooth/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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "test/run_all_unittests.cc", 55 "test/run_all_unittests.cc",
56 ] 56 ]
57 57
58 deps = [ 58 deps = [
59 "//base/test:test_support", 59 "//base/test:test_support",
60 "//device/battery", 60 "//device/battery",
61 "//device/battery:mojo_bindings", 61 "//device/battery:mojo_bindings",
62 "//device/bluetooth", 62 "//device/bluetooth",
63 "//device/bluetooth:mocks", 63 "//device/bluetooth:mocks",
64 "//device/nfc", 64 "//device/nfc",
65 "//mojo/common",
65 "//mojo/environment:chromium", 66 "//mojo/environment:chromium",
66 "//mojo/public/cpp/bindings", 67 "//mojo/public/cpp/bindings",
67 "//net", 68 "//net",
68 "//testing/gmock", 69 "//testing/gmock",
69 "//testing/gtest", 70 "//testing/gtest",
70 "//third_party/mojo/src/mojo/edk/system", 71 "//third_party/mojo/src/mojo/edk/system",
71 "//url", 72 "//url",
72 ] 73 ]
73 74
74 if (!is_linux_without_dbus && !is_chromeos) { 75 if (!is_linux_without_dbus && !is_chromeos) {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 "//device/devices_app:lib", 128 "//device/devices_app:lib",
128 "//device/devices_app/usb/public/interfaces", 129 "//device/devices_app/usb/public/interfaces",
129 "//device/usb", 130 "//device/usb",
130 "//device/usb:mocks", 131 "//device/usb:mocks",
131 ] 132 ]
132 } 133 }
133 134
134 # UsbContext is a libusb-specific object. 135 # UsbContext is a libusb-specific object.
135 if (!is_android && !is_ios) { 136 if (!is_android && !is_ios) {
136 sources += [ "usb/usb_context_unittest.cc" ] 137 sources += [ "usb/usb_context_unittest.cc" ]
138 deps += [ "//third_party/libusb" ]
137 } 139 }
138 140
139 if (is_android) { 141 if (is_android) {
140 sources -= [ "battery/battery_status_service_unittest.cc" ] 142 sources -= [ "battery/battery_status_service_unittest.cc" ]
141 deps -= [ "//device/battery" ] 143 deps -= [ "//device/battery" ]
142 deps += [ ":bluetooth_test_jni_headers" ] 144 deps += [ ":bluetooth_test_jni_headers" ]
143 apk_deps = [ ":bluetooth_test_java" ] 145 apk_deps = [ ":bluetooth_test_java" ]
144 } 146 }
145 147
146 if (is_chromeos) { 148 if (is_chromeos) {
(...skipping 50 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 | « build/linux/BUILD.gn ('k') | device/bluetooth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698