| 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 26 matching lines...) Expand all Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |