OLD | NEW |
---|---|
(Empty) | |
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. | |
Ben Goodger (Google)
2012/12/13 21:41:35
put DEPS in this directory.
| |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 'target_name': 'snapshot', | |
12 'type': '<(component)', | |
13 'dependencies': [ | |
14 '../../skia/skia.gyp:skia', | |
15 '../../base/base.gyp:base', | |
16 '../ui.gyp:ui', | |
17 ], | |
18 'defines': [ | |
19 'SNAPSHOT_IMPLEMENTATION', | |
20 ], | |
21 'sources': [ | |
22 'snapshot.h', | |
23 'snapshot_android.cc', | |
24 'snapshot_aura.cc', | |
25 'snapshot_export.h', | |
26 'snapshot_gtk.cc', | |
27 'snapshot_mac.mm', | |
28 'snapshot_win.cc', | |
29 ], | |
30 'include_dirs': [ | |
31 '..', | |
32 ], | |
33 'conditions': [ | |
34 ['use_aura==1', { | |
35 'dependencies': [ | |
36 '../aura/aura.gyp:aura', | |
37 '../compositor/compositor.gyp:compositor', | |
38 ], | |
39 }], | |
40 ['use_aura==1 and OS=="win"', { | |
41 'sources/': [ | |
42 ['exclude', 'snapshot_win.cc'], | |
43 ], | |
44 }], | |
45 ], | |
46 }, | |
47 { | |
48 'target_name': 'snapshot_unittests', | |
49 'type': '<(gtest_target_type)', | |
50 'dependencies': [ | |
51 '../../skia/skia.gyp:skia', | |
52 '../../base/base.gyp:base', | |
53 '../../testing/gtest.gyp:gtest', | |
54 '../../testing/gmock.gyp:gmock', | |
55 '../../testing/gtest.gyp:gtest', | |
56 '../ui.gyp:ui', | |
57 'snapshot' | |
58 ], | |
59 'sources': [ | |
60 'snapshot_mac_unittest.mm', | |
61 ] | |
62 }, | |
63 ], | |
64 } | |
OLD | NEW |