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

Side by Side Diff: device/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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 | « crypto/BUILD.gn ('k') | device/battery/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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "//device/nfc", 66 "//device/nfc",
67 "//mojo/environment:chromium", 67 "//mojo/environment:chromium",
68 "//net", 68 "//net",
69 "//testing/gmock", 69 "//testing/gmock",
70 "//testing/gtest", 70 "//testing/gtest",
71 "//third_party/mojo/src/mojo/edk/system", 71 "//third_party/mojo/src/mojo/edk/system",
72 "//third_party/mojo/src/mojo/public/cpp/bindings", 72 "//third_party/mojo/src/mojo/public/cpp/bindings",
73 "//url", 73 "//url",
74 ] 74 ]
75 75
76 if (!is_linux_without_dbus && !is_chromeos) { 76 if (!is_linux_without_dbus && !use_cros_fe) {
77 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] 77 sources += [ "battery/battery_status_manager_linux_unittest.cc" ]
78 } 78 }
79 79
80 # HID and Serial: 80 # HID and Serial:
81 # Android doesn't compile. 81 # Android doesn't compile.
82 # Linux, requires udev. 82 # Linux, requires udev.
83 if (!is_linux_without_udev && !is_android) { 83 if (!is_linux_without_udev && !is_android) {
84 sources += [ 84 sources += [
85 "hid/hid_connection_unittest.cc", 85 "hid/hid_connection_unittest.cc",
86 "hid/hid_device_filter_unittest.cc", 86 "hid/hid_device_filter_unittest.cc",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 "//device/usb:mocks", 129 "//device/usb:mocks",
130 "//third_party/libusb", 130 "//third_party/libusb",
131 ] 131 ]
132 } 132 }
133 133
134 if (is_android) { 134 if (is_android) {
135 deps += [ ":bluetooth_test_jni_headers" ] 135 deps += [ ":bluetooth_test_jni_headers" ]
136 apk_deps = [ ":bluetooth_test_java" ] 136 apk_deps = [ ":bluetooth_test_java" ]
137 } 137 }
138 138
139 if (is_chromeos) { 139 if (use_cros_fe) {
140 configs += [ "//build/config/linux:dbus" ] 140 configs += [ "//build/config/linux:dbus" ]
141 141
142 deps += [ 142 deps += [
143 "//chromeos", 143 "//chromeos",
144 "//chromeos:test_support", 144 "//chromeos:test_support",
145 "//chromeos:test_support_without_gmock", 145 "//chromeos:test_support_without_gmock",
146 "//dbus", 146 "//dbus",
147 ] 147 ]
148 } 148 }
149 149
(...skipping 25 matching lines...) Expand all
175 } 175 }
176 176
177 android_library("bluetooth_test_java") { 177 android_library("bluetooth_test_java") {
178 java_files = bluetooth_java_sources_needing_jni 178 java_files = bluetooth_java_sources_needing_jni
179 deps = [ 179 deps = [
180 "//base:base_java", 180 "//base:base_java",
181 "//device/bluetooth:java", 181 "//device/bluetooth:java",
182 ] 182 ]
183 } 183 }
184 } 184 }
OLDNEW
« no previous file with comments | « crypto/BUILD.gn ('k') | device/battery/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698