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

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

Issue 1165223004: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
1 # Copyright 2014 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("//third_party/mojo/src/mojo/public/mojo_application.gni") 5 import("//third_party/mojo/src/mojo/public/mojo_application.gni")
6 6
7 source_set("lib") { 7 source_set("lib") {
8 sources = [ 8 sources = [
9 "clipboard_application_delegate.cc", 9 "devices_app.cc",
10 "clipboard_application_delegate.h", 10 "devices_app.h",
11 "clipboard_standalone_impl.cc",
12 "clipboard_standalone_impl.h",
13 ] 11 ]
14 12
15 deps = [ 13 deps = [
16 "//components/clipboard/public/interfaces", 14 "//device/usb",
17 "//mojo/application/public/cpp", 15 "//device/usb/public/cpp",
16 "//device/usb/public/interfaces",
18 "//third_party/mojo/src/mojo/public/cpp/bindings", 17 "//third_party/mojo/src/mojo/public/cpp/bindings",
18 "//url",
19 ]
20
21 public_deps = [
22 "//base",
23 "//mojo/application/public/interfaces",
19 ] 24 ]
20 } 25 }
21 26
22 mojo_native_application("clipboard") { 27 mojo_native_application("devices") {
23 sources = [ 28 sources = [
24 "main.cc", 29 "main.cc",
25 ] 30 ]
26 31
27 deps = [ 32 deps = [
28 ":lib", 33 ":lib",
29 "//base", 34 "//base",
30 "//mojo/application/public/cpp", 35 "//mojo/application/public/cpp",
31 "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
32 ] 36 ]
33 } 37 }
34 38
35 mojo_native_application("apptests") { 39 mojo_native_application("apptests") {
36 output_name = "clipboard_apptests" 40 output_name = "devices_apptests"
37 41
38 testonly = true 42 testonly = true
39 43
40 sources = [ 44 sources = [
41 "clipboard_apptest.cc", 45 "devices_apptest.cc",
42 ] 46 ]
43 47
44 deps = [ 48 deps = [
49 ":lib",
45 "//base", 50 "//base",
46 "//components/clipboard/public/interfaces",
47 "//mojo/application/public/cpp:test_support", 51 "//mojo/application/public/cpp:test_support",
48 ] 52 ]
49 53
50 data_deps = [ ":clipboard" ] 54 data_deps = [ ":devices" ]
51 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698