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 '../../base/base.gyp:base', | 14 '../../base/base.gyp:base', |
15 '../../skia/skia.gyp:skia', | 15 '../../skia/skia.gyp:skia', |
16 '../base/ui_base.gyp:ui_base', | 16 '../base/ui_base.gyp:ui_base', |
17 '../gfx/gfx.gyp:gfx', | 17 '../gfx/gfx.gyp:gfx', |
18 '../gfx/gfx.gyp:gfx_geometry', | 18 '../gfx/gfx.gyp:gfx_geometry', |
19 ], | 19 ], |
20 'defines': [ | 20 'defines': [ |
21 'SNAPSHOT_IMPLEMENTATION', | 21 'SNAPSHOT_IMPLEMENTATION', |
22 ], | 22 ], |
23 'sources': [ | 23 'sources': [ |
| 24 'screenshot_grabber.cc', |
| 25 'screenshot_grabber.h', |
| 26 'screenshot_grabber_observer.h', |
24 'snapshot.h', | 27 'snapshot.h', |
25 'snapshot_android.cc', | 28 'snapshot_android.cc', |
26 'snapshot_async.cc', | 29 'snapshot_async.cc', |
27 'snapshot_async.h', | 30 'snapshot_async.h', |
28 'snapshot_aura.cc', | 31 'snapshot_aura.cc', |
29 'snapshot_export.h', | 32 'snapshot_export.h', |
30 'snapshot_ios.mm', | 33 'snapshot_ios.mm', |
31 'snapshot_mac.mm', | 34 'snapshot_mac.mm', |
32 ], | 35 ], |
33 'include_dirs': [ | 36 'include_dirs': [ |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 # See http://crbug.com/162998#c4 for why this is needed. | 88 # See http://crbug.com/162998#c4 for why this is needed. |
86 ['OS=="linux" and use_allocator!="none"', { | 89 ['OS=="linux" and use_allocator!="none"', { |
87 'dependencies': [ | 90 'dependencies': [ |
88 '../../base/allocator/allocator.gyp:allocator', | 91 '../../base/allocator/allocator.gyp:allocator', |
89 ], | 92 ], |
90 }], | 93 }], |
91 ], | 94 ], |
92 }, | 95 }, |
93 ], | 96 ], |
94 } | 97 } |
OLD | NEW |