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

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

Issue 2151653003: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crypto Created 4 years, 5 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 | « cc/BUILD.gn ('k') | components/os_crypt/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 source_set("open_from_clipboard") { 5 static_library("open_from_clipboard") {
6 sources = [ 6 sources = [
7 "clipboard_recent_content.cc", 7 "clipboard_recent_content.cc",
8 "clipboard_recent_content.h", 8 "clipboard_recent_content.h",
9 "clipboard_recent_content_ios.h", 9 "clipboard_recent_content_ios.h",
10 "clipboard_recent_content_ios.mm", 10 "clipboard_recent_content_ios.mm",
11 ] 11 ]
12 12
13 deps = [ 13 deps = [
14 "//base", 14 "//base",
15 "//url", 15 "//url",
16 ] 16 ]
17 } 17 }
18 18
19 source_set("test_support") { 19 static_library("test_support") {
20 testonly = true 20 testonly = true
21 sources = [ 21 sources = [
22 "fake_clipboard_recent_content.cc", 22 "fake_clipboard_recent_content.cc",
23 "fake_clipboard_recent_content.h", 23 "fake_clipboard_recent_content.h",
24 ] 24 ]
25 25
26 deps = [ 26 deps = [
27 ":open_from_clipboard", 27 ":open_from_clipboard",
28 "//base", 28 "//base",
29 "//url", 29 "//url",
30 ] 30 ]
31 } 31 }
32 32
33 source_set("unit_tests") { 33 source_set("unit_tests") {
34 testonly = true 34 testonly = true
35 sources = [ 35 sources = [
36 "clipboard_recent_content_ios_unittest.mm", 36 "clipboard_recent_content_ios_unittest.mm",
37 ] 37 ]
38 38
39 deps = [ 39 deps = [
40 ":open_from_clipboard", 40 ":open_from_clipboard",
41 "//base", 41 "//base",
42 "//testing/gtest", 42 "//testing/gtest",
43 ] 43 ]
44 } 44 }
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | components/os_crypt/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698