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

Side by Side Diff: ui/snapshot/BUILD.gn

Issue 489223002: Add chrome, installer_util targets to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« chrome/version.gni ('K') | « printing/BUILD.gn ('k') | no next file » | 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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 component("snapshot") { 7 component("snapshot") {
8 sources = [ 8 sources = [
9 "snapshot.h", 9 "snapshot.h",
10 "snapshot_android.cc", 10 "snapshot_android.cc",
(...skipping 24 matching lines...) Expand all
35 ] 35 ]
36 } else { 36 } else {
37 sources -= [ 37 sources -= [
38 "snapshot_async.cc", 38 "snapshot_async.cc",
39 "snapshot_async.h", 39 "snapshot_async.h",
40 ] 40 ]
41 } 41 }
42 42
43 if (use_aura) { 43 if (use_aura) {
44 deps += [ 44 deps += [
45 #"//ui/aura", TODO(GYP) 45 "//ui/aura",
46 "//ui/compositor", 46 "//ui/compositor",
47 ] 47 ]
48 } else { 48 } else {
49 sources -= [ 49 sources -= [
50 "snapshot_aura.cc" 50 "snapshot_aura.cc"
51 ] 51 ]
52 } 52 }
53 } 53 }
54 54
55 # TODO(GYP) enable this when all targets are converted and it links 55 test("snapshot_unittests") {
56 #test("snapshot_unittests") { 56 sources = [
57 # sources = [ 57 "snapshot_aura_unittest.cc",
58 # "snapshot_aura_unittest.cc", 58 "snapshot_mac_unittest.mm",
59 # "snapshot_mac_unittest.mm", 59 "test/run_all_unittests.cc",
60 # "test/run_all_unittests.cc", 60 ]
61 # ] 61
62 # 62 deps = [
63 # deps = [ 63 ":snapshot",
64 # "//base", 64 "//base",
65 # "//base/allocator", 65 "//base/allocator",
66 # "//base/test:test_support", 66 "//base/test:test_support",
67 # "//skia", 67 "//skia",
68 # "//testing/gtest", 68 "//testing/gtest",
69 # "//ui/base", 69 "//ui/base",
70 # "//ui/gfx", 70 "//ui/gfx",
71 # "//ui/gfx/geometry", 71 "//ui/gfx/geometry",
72 # ] 72 ]
73 # 73
74 # if (use_aura) { 74 if (use_aura) {
75 # deps += [ 75 deps += [
76 # #"//ui/aura:test_support", TODO(GYP) 76 "//ui/aura:test_support",
77 # "//ui/compositor", 77 "//ui/compositor",
78 # "//ui/compositor:test_support", 78 "//ui/compositor:test_support",
79 # ] 79 "//ui/wm",
80 # } else { 80 ]
81 # sources -= [ "snapshot_aura_unittest.cc" ] 81 } else {
82 # } 82 sources -= [ "snapshot_aura_unittest.cc" ]
83 #} 83 }
84 }
84 85
85 if (is_win) { 86 if (is_win) {
86 source_set("test_support") { 87 source_set("test_support") {
87 sources = [ 88 sources = [
88 "test/snapshot_desktop.h", 89 "test/snapshot_desktop.h",
89 "test/snapshot_desktop_win.cc", 90 "test/snapshot_desktop_win.cc",
90 ] 91 ]
91 deps = [ 92 deps = [
92 ":snapshot", 93 ":snapshot",
93 ] 94 ]
94 } 95 }
95 } 96 }
OLDNEW
« chrome/version.gni ('K') | « printing/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698