OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'snapshot', | 11 'target_name': 'snapshot', |
12 'type': '<(component)', | 12 'type': '<(component)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../skia/skia.gyp:skia', | 14 '../../skia/skia.gyp:skia', |
15 '../../base/base.gyp:base', | 15 '../../base/base.gyp:base', |
| 16 '../gfx/gfx.gyp:gfx', |
16 '../ui.gyp:ui', | 17 '../ui.gyp:ui', |
17 ], | 18 ], |
18 'defines': [ | 19 'defines': [ |
19 'SNAPSHOT_IMPLEMENTATION', | 20 'SNAPSHOT_IMPLEMENTATION', |
20 ], | 21 ], |
21 'sources': [ | 22 'sources': [ |
22 'snapshot.h', | 23 'snapshot.h', |
23 'snapshot_android.cc', | 24 'snapshot_android.cc', |
24 'snapshot_aura.cc', | 25 'snapshot_aura.cc', |
25 'snapshot_export.h', | 26 'snapshot_export.h', |
(...skipping 16 matching lines...) Expand all Loading... |
42 ], | 43 ], |
43 }, | 44 }, |
44 { | 45 { |
45 'target_name': 'snapshot_unittests', | 46 'target_name': 'snapshot_unittests', |
46 'type': '<(gtest_target_type)', | 47 'type': '<(gtest_target_type)', |
47 'dependencies': [ | 48 'dependencies': [ |
48 '../../skia/skia.gyp:skia', | 49 '../../skia/skia.gyp:skia', |
49 '../../base/base.gyp:base', | 50 '../../base/base.gyp:base', |
50 '../../base/base.gyp:test_support_base', | 51 '../../base/base.gyp:test_support_base', |
51 '../../testing/gtest.gyp:gtest', | 52 '../../testing/gtest.gyp:gtest', |
| 53 '../gfx/gfx.gyp:gfx', |
52 '../ui.gyp:ui', | 54 '../ui.gyp:ui', |
53 'snapshot' | 55 'snapshot' |
54 ], | 56 ], |
55 'sources': [ | 57 'sources': [ |
56 'snapshot_aura_unittest.cc', | 58 'snapshot_aura_unittest.cc', |
57 'snapshot_mac_unittest.mm', | 59 'snapshot_mac_unittest.mm', |
58 'test/run_all_unittests.cc', | 60 'test/run_all_unittests.cc', |
59 ], | 61 ], |
60 'conditions': [ | 62 'conditions': [ |
61 ['use_aura==1', { | 63 ['use_aura==1', { |
(...skipping 27 matching lines...) Expand all Loading... |
89 'snapshot', | 91 'snapshot', |
90 ], | 92 ], |
91 'include_dirs': [ | 93 'include_dirs': [ |
92 '../..', | 94 '../..', |
93 ], | 95 ], |
94 }, | 96 }, |
95 ], | 97 ], |
96 }], | 98 }], |
97 ], | 99 ], |
98 } | 100 } |
OLD | NEW |