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

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

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 | « ui/resources/BUILD.gn ('k') | ui/views/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 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 26 matching lines...) Expand all
37 "snapshot_async.h", 37 "snapshot_async.h",
38 ] 38 ]
39 } 39 }
40 40
41 if (use_aura) { 41 if (use_aura) {
42 deps += [ 42 deps += [
43 "//ui/aura", 43 "//ui/aura",
44 "//ui/compositor", 44 "//ui/compositor",
45 ] 45 ]
46 } else { 46 } else {
47 sources -= [ 47 sources -= [ "snapshot_aura.cc" ]
48 "snapshot_aura.cc"
49 ]
50 } 48 }
51 } 49 }
52 50
53 test("snapshot_unittests") { 51 test("snapshot_unittests") {
54 sources = [ 52 sources = [
55 "snapshot_aura_unittest.cc", 53 "snapshot_aura_unittest.cc",
56 "snapshot_mac_unittest.mm", 54 "snapshot_mac_unittest.mm",
57 "test/run_all_unittests.cc", 55 "test/run_all_unittests.cc",
58 ] 56 ]
59 57
(...skipping 14 matching lines...) Expand all
74 deps += [ 72 deps += [
75 "//ui/aura:test_support", 73 "//ui/aura:test_support",
76 "//ui/compositor", 74 "//ui/compositor",
77 "//ui/compositor:test_support", 75 "//ui/compositor:test_support",
78 "//ui/wm", 76 "//ui/wm",
79 ] 77 ]
80 } else { 78 } else {
81 sources -= [ "snapshot_aura_unittest.cc" ] 79 sources -= [ "snapshot_aura_unittest.cc" ]
82 } 80 }
83 } 81 }
OLDNEW
« no previous file with comments | « ui/resources/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698