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

Side by Side Diff: device/core/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/base/mock_device_client.cc ('k') | device/core/device_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/features.gni")
6
7 component("core") {
8 output_name = "device_core"
9
10 sources = [
11 "device_client.cc",
12 "device_client.h",
13 "device_info_query_win.cc",
14 "device_info_query_win.h",
15 "device_monitor_win.cc",
16 "device_monitor_win.h",
17 ]
18
19 defines = [ "DEVICE_CORE_IMPLEMENTATION" ]
20
21 deps = []
22
23 public_deps = [
24 "//base",
25 ]
26
27 if (use_udev) {
28 sources += [
29 "device_monitor_linux.cc",
30 "device_monitor_linux.h",
31 ]
32
33 deps += [ "//device/udev_linux" ]
34 }
35
36 if (is_win) {
37 libs = [ "setupapi.lib" ]
38 }
39 }
40
41 source_set("mocks") {
42 testonly = true
43
44 sources = [
45 "mock_device_client.cc",
46 "mock_device_client.h",
47 ]
48
49 deps = [
50 ":core",
51 "//device/hid:mocks",
52 "//device/usb:test_support",
53 ]
54 }
OLDNEW
« no previous file with comments | « device/base/mock_device_client.cc ('k') | device/core/device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698