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

Side by Side Diff: device/base/BUILD.gn

Issue 2417043002: Move device/core files to device/base directory. (Closed)
Patch Set: Fix ChromeOS build Created 4 years, 2 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 | « device/BUILD.gn ('k') | device/base/device_base_export.h » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 6
7 component("core") { 7 component("base") {
8 output_name = "device_core" 8 output_name = "device_base"
9 9
10 sources = [ 10 sources = [
11 "device_client.cc", 11 "device_client.cc",
12 "device_client.h", 12 "device_client.h",
13 "device_info_query_win.cc", 13 "device_info_query_win.cc",
14 "device_info_query_win.h", 14 "device_info_query_win.h",
15 "device_monitor_win.cc", 15 "device_monitor_win.cc",
16 "device_monitor_win.h", 16 "device_monitor_win.h",
17 ] 17 ]
18 18
19 defines = [ "DEVICE_CORE_IMPLEMENTATION" ] 19 defines = [ "DEVICE_BASE_IMPLEMENTATION" ]
20 20
21 deps = [] 21 deps = []
22 22
23 public_deps = [ 23 public_deps = [
24 "//base", 24 "//base",
25 ] 25 ]
26 26
27 if (use_udev) { 27 if (use_udev) {
28 sources += [ 28 sources += [
29 "device_monitor_linux.cc", 29 "device_monitor_linux.cc",
(...skipping 10 matching lines...) Expand all
40 40
41 source_set("mocks") { 41 source_set("mocks") {
42 testonly = true 42 testonly = true
43 43
44 sources = [ 44 sources = [
45 "mock_device_client.cc", 45 "mock_device_client.cc",
46 "mock_device_client.h", 46 "mock_device_client.h",
47 ] 47 ]
48 48
49 deps = [ 49 deps = [
50 ":core", 50 ":base",
51 "//device/hid:mocks", 51 "//device/hid:mocks",
52 "//device/usb:test_support", 52 "//device/usb:test_support",
53 ] 53 ]
54 } 54 }
OLDNEW
« no previous file with comments | « device/BUILD.gn ('k') | device/base/device_base_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698