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",
19 defines = [ "SNAPSHOT_IMPLEMENTATION" ]
29 if (use_aura || is_android) {
32 "//gpu/command_buffer/common",
53 test("snapshot_unittests") {
55 "snapshot_aura_unittest.cc",
56 "snapshot_mac_unittest.mm",
57 "test/run_all_unittests.cc",
64 "//base/test:test_support",
75 "//ui/aura:test_support",
77 "//ui/compositor:test_support",
81 sources -= [ "snapshot_aura_unittest.cc" ]