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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
7 component("snapshot") {
10 "snapshot_android.cc",
21 defines = [ "SNAPSHOT_IMPLEMENTATION" ]
31 if (use_aura || is_android) {
34 "//gpu/command_buffer/common",
55 test("snapshot_unittests") {
57 "snapshot_aura_unittest.cc",
58 "snapshot_mac_unittest.mm",
59 "test/run_all_unittests.cc",
66 "//base/test:test_support",
77 "//ui/aura:test_support",
79 "//ui/compositor:test_support",
83 sources -= [ "snapshot_aura_unittest.cc" ]
88 source_set("test_support") {
90 "test/snapshot_desktop.h",
91 "test/snapshot_desktop_win.cc",