Chromium Code Reviews| 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 27 matching lines...) Expand all Loading... | |
| 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", TODO(GYP) |
| 46 "//ui/compositor", | 46 "//ui/compositor", |
| 47 ] | 47 ] |
| 48 } else { | |
| 49 sources -= [ | |
|
cjhopman
2014/06/04 23:10:12
I don't know that this is how we actually want to
tfarina
2014/06/05 02:12:27
From what I understood from Brett's reply, that is
brettw
2014/06/05 02:38:15
Yeah, this is what I have been doing.
| |
| 50 "snapshot_aura.cc" | |
| 51 ] | |
| 48 } | 52 } |
| 49 } | 53 } |
| 50 | 54 |
| 51 # TODO(GYP) enable this when all targets are converted and it links | 55 # TODO(GYP) enable this when all targets are converted and it links |
| 52 #test("snapshot_unittests") { | 56 #test("snapshot_unittests") { |
| 53 # sources = [ | 57 # sources = [ |
| 54 # "snapshot_aura_unittest.cc", | 58 # "snapshot_aura_unittest.cc", |
| 55 # "snapshot_mac_unittest.mm", | 59 # "snapshot_mac_unittest.mm", |
| 56 # "test/run_all_unittests.cc", | 60 # "test/run_all_unittests.cc", |
| 57 # ] | 61 # ] |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 82 source_set("test_support") { | 86 source_set("test_support") { |
| 83 sources = [ | 87 sources = [ |
| 84 "test/snapshot_desktop.h", | 88 "test/snapshot_desktop.h", |
| 85 "test/snapshot_desktop_win.cc", | 89 "test/snapshot_desktop_win.cc", |
| 86 ] | 90 ] |
| 87 deps = [ | 91 deps = [ |
| 88 ":snapshot", | 92 ":snapshot", |
| 89 ] | 93 ] |
| 90 } | 94 } |
| 91 } | 95 } |
| OLD | NEW |