| 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 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 "//ui/aura", | 56 "//ui/aura", |
| 57 "//ui/compositor", | 57 "//ui/compositor", |
| 58 ] | 58 ] |
| 59 } else { | 59 } else { |
| 60 sources -= [ "snapshot_aura.cc" ] | 60 sources -= [ "snapshot_aura.cc" ] |
| 61 } | 61 } |
| 62 | 62 |
| 63 if (is_mac) { | 63 if (is_mac) { |
| 64 libs = [ | 64 libs = [ |
| 65 "AppKit.framework", | 65 "AppKit.framework", |
| 66 "ApplicationServices.framework", # Temporary hack around https://crbug.co
m/620127. |
| 66 "CoreGraphics.framework", | 67 "CoreGraphics.framework", |
| 67 ] | 68 ] |
| 68 } | 69 } |
| 69 } | 70 } |
| 70 | 71 |
| 71 test("snapshot_unittests") { | 72 test("snapshot_unittests") { |
| 72 sources = [ | 73 sources = [ |
| 73 "snapshot_aura_unittest.cc", | 74 "snapshot_aura_unittest.cc", |
| 74 "snapshot_mac_unittest.mm", | 75 "snapshot_mac_unittest.mm", |
| 75 "test/run_all_unittests.cc", | 76 "test/run_all_unittests.cc", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 92 deps += [ | 93 deps += [ |
| 93 "//ui/aura:test_support", | 94 "//ui/aura:test_support", |
| 94 "//ui/compositor", | 95 "//ui/compositor", |
| 95 "//ui/compositor:test_support", | 96 "//ui/compositor:test_support", |
| 96 "//ui/wm", | 97 "//ui/wm", |
| 97 ] | 98 ] |
| 98 } else { | 99 } else { |
| 99 sources -= [ "snapshot_aura_unittest.cc" ] | 100 sources -= [ "snapshot_aura_unittest.cc" ] |
| 100 } | 101 } |
| 101 } | 102 } |
| OLD | NEW |