| OLD | NEW |
| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 deps = [ | 62 deps = [ |
| 63 ":snapshot", | 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 "//ui/gl", |
| 72 ] | 73 ] |
| 73 | 74 |
| 74 if (use_aura) { | 75 if (use_aura) { |
| 75 deps += [ | 76 deps += [ |
| 76 "//ui/aura:test_support", | 77 "//ui/aura:test_support", |
| 77 "//ui/compositor", | 78 "//ui/compositor", |
| 78 "//ui/compositor:test_support", | 79 "//ui/compositor:test_support", |
| 79 "//ui/wm", | 80 "//ui/wm", |
| 80 ] | 81 ] |
| 81 } else { | 82 } else { |
| 82 sources -= [ "snapshot_aura_unittest.cc" ] | 83 sources -= [ "snapshot_aura_unittest.cc" ] |
| 83 } | 84 } |
| 84 } | 85 } |
| 85 | 86 |
| 86 if (is_win) { | 87 if (is_win) { |
| 87 source_set("test_support") { | 88 source_set("test_support") { |
| 88 sources = [ | 89 sources = [ |
| 89 "test/snapshot_desktop.h", | 90 "test/snapshot_desktop.h", |
| 90 "test/snapshot_desktop_win.cc", | 91 "test/snapshot_desktop_win.cc", |
| 91 ] | 92 ] |
| 92 deps = [ | 93 deps = [ |
| 93 ":snapshot", | 94 ":snapshot", |
| 94 ] | 95 ] |
| 95 } | 96 } |
| 96 } | 97 } |
| OLD | NEW |