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

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

Issue 929903002: Remove cc dependency from ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes in ui/PRESUBMIT.py Created 5 years, 10 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 | « ui/shell_dialogs/shell_dialogs.gyp ('k') | ui/snapshot/DEPS » ('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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("snapshot") { 8 component("snapshot") {
9 sources = [ 9 sources = [
10 "screenshot_grabber.cc", 10 "screenshot_grabber.cc",
(...skipping 12 matching lines...) Expand all
23 defines = [ "SNAPSHOT_IMPLEMENTATION" ] 23 defines = [ "SNAPSHOT_IMPLEMENTATION" ]
24 24
25 deps = [ 25 deps = [
26 "//base", 26 "//base",
27 "//skia", 27 "//skia",
28 "//ui/base", 28 "//ui/base",
29 "//ui/gfx", 29 "//ui/gfx",
30 "//ui/gfx/geometry", 30 "//ui/gfx/geometry",
31 ] 31 ]
32 32
33 if (is_android) {
34 deps += [ "//ui/android" ]
35 }
36
33 if (use_aura || is_android) { 37 if (use_aura || is_android) {
34 deps += [ 38 deps += [
35 "//cc", 39 "//cc",
36 "//gpu/command_buffer/common", 40 "//gpu/command_buffer/common",
37 ] 41 ]
38 } else { 42 } else {
39 sources -= [ 43 sources -= [
40 "snapshot_async.cc", 44 "snapshot_async.cc",
41 "snapshot_async.h", 45 "snapshot_async.h",
42 ] 46 ]
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 "//ui/aura:test_support", 83 "//ui/aura:test_support",
80 "//ui/compositor", 84 "//ui/compositor",
81 "//ui/compositor:test_support", 85 "//ui/compositor:test_support",
82 "//ui/wm", 86 "//ui/wm",
83 ] 87 ]
84 } else { 88 } else {
85 sources -= [ "snapshot_aura_unittest.cc" ] 89 sources -= [ "snapshot_aura_unittest.cc" ]
86 } 90 }
87 } 91 }
88 } 92 }
OLDNEW
« no previous file with comments | « ui/shell_dialogs/shell_dialogs.gyp ('k') | ui/snapshot/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698