1 # Copyright (c) 2012 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.
11 'target_name': 'snapshot',
12 'type': '<(component)',
14 '../../skia/skia.gyp:skia',
15 '../../base/base.gyp:base',
16 '../events/events.gyp:events',
21 'SNAPSHOT_IMPLEMENTATION',
25 'snapshot_android.cc',
40 '../aura/aura.gyp:aura',
41 '../compositor/compositor.gyp:compositor',
47 'target_name': 'snapshot_unittests',
48 'type': '<(gtest_target_type)',
50 '../../skia/skia.gyp:skia',
51 '../../base/base.gyp:base',
52 '../../base/base.gyp:test_support_base',
53 '../../testing/gtest.gyp:gtest',
54 '../events/events.gyp:events',
60 'snapshot_aura_unittest.cc',
61 'snapshot_mac_unittest.mm',
62 'test/run_all_unittests.cc',
67 '../../base/base.gyp:test_support_base',
68 '../aura/aura.gyp:aura_test_support',
69 '../compositor/compositor.gyp:compositor',
70 '../compositor/compositor.gyp:compositor_test_support',
73 # See http://crbug.com/162998#c4 for why this is needed.
74 ['OS=="linux" and linux_use_tcmalloc==1', {
76 '../../base/allocator/allocator.gyp:allocator',
86 'target_name': 'snapshot_test_support',
87 'type': 'static_library',
89 'test/snapshot_desktop.h',
90 'test/snapshot_desktop_win.cc',