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

Side by Side Diff: components/clipboard/BUILD.gn

Issue 1142323003: Remove duplicate application cpp files in mojo/application. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 | « build/gn_migration.gypi ('k') | components/clipboard/clipboard_apptest.cc » ('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("//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 "clipboard_application_delegate.cc",
10 "clipboard_application_delegate.h", 10 "clipboard_application_delegate.h",
11 "clipboard_standalone_impl.cc", 11 "clipboard_standalone_impl.cc",
12 "clipboard_standalone_impl.h", 12 "clipboard_standalone_impl.h",
13 ] 13 ]
14 14
15 deps = [ 15 deps = [
16 "//components/clipboard/public/interfaces", 16 "//components/clipboard/public/interfaces",
17 "//mojo/application/public/cpp", 17 "//mojo/application/public/cpp",
18 "//third_party/mojo/src/mojo/public/cpp/bindings", 18 "//third_party/mojo/src/mojo/public/cpp/bindings",
19 ] 19 ]
20 } 20 }
21 21
22 mojo_native_application("clipboard") { 22 mojo_native_application("clipboard") {
23 sources = [ 23 sources = [
24 "main.cc", 24 "main.cc",
25 ] 25 ]
26 26
27 deps = [ 27 deps = [
28 ":lib", 28 ":lib",
29 "//base", 29 "//base",
30 "//mojo/application", 30 "//mojo/application/public/cpp",
31 "//mojo/common",
32 "//mojo/environment:chromium",
33 "//third_party/mojo/src/mojo/public/cpp/bindings",
34 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", 31 "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
35 ] 32 ]
36 } 33 }
37 34
38 mojo_native_application("apptests") { 35 mojo_native_application("apptests") {
39 output_name = "clipboard_apptests" 36 output_name = "clipboard_apptests"
40 37
41 testonly = true 38 testonly = true
42 39
43 sources = [ 40 sources = [
44 "clipboard_apptest.cc", 41 "clipboard_apptest.cc",
45 ] 42 ]
46 43
47 deps = [ 44 deps = [
48 "//base", 45 "//base",
49 "//components/clipboard/public/interfaces", 46 "//components/clipboard/public/interfaces",
50 "//mojo/application", 47 "//mojo/application/public/cpp:test_support",
51 "//mojo/application:test_support",
52 "//mojo/common",
53 "//third_party/mojo/src/mojo/public/cpp/bindings",
54 ] 48 ]
55 49
56 data_deps = [ ":clipboard($default_toolchain)" ] 50 data_deps = [ ":clipboard($default_toolchain)" ]
57 } 51 }
OLDNEW
« no previous file with comments | « build/gn_migration.gypi ('k') | components/clipboard/clipboard_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698