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 { |
(...skipping 11 matching lines...) Expand all Loading... |
22 ], | 22 ], |
23 'sources': [ | 23 'sources': [ |
24 'snapshot.h', | 24 'snapshot.h', |
25 'snapshot_android.cc', | 25 'snapshot_android.cc', |
26 'snapshot_async.cc', | 26 'snapshot_async.cc', |
27 'snapshot_async.h', | 27 'snapshot_async.h', |
28 'snapshot_aura.cc', | 28 'snapshot_aura.cc', |
29 'snapshot_export.h', | 29 'snapshot_export.h', |
30 'snapshot_ios.mm', | 30 'snapshot_ios.mm', |
31 'snapshot_mac.mm', | 31 'snapshot_mac.mm', |
32 'snapshot_win.cc', | |
33 'snapshot_win.h', | |
34 ], | 32 ], |
35 'include_dirs': [ | 33 'include_dirs': [ |
36 '..', | 34 '..', |
37 ], | 35 ], |
38 'conditions': [ | 36 'conditions': [ |
39 ['use_aura==1 or OS=="android"', { | 37 ['use_aura==1 or OS=="android"', { |
40 'dependencies': [ | 38 'dependencies': [ |
41 '../../cc/cc.gyp:cc', | 39 '../../cc/cc.gyp:cc', |
42 '../../gpu/gpu.gyp:command_buffer_common', | 40 '../../gpu/gpu.gyp:command_buffer_common', |
43 ], | 41 ], |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 }], | 84 }], |
87 # See http://crbug.com/162998#c4 for why this is needed. | 85 # See http://crbug.com/162998#c4 for why this is needed. |
88 ['OS=="linux" and use_allocator!="none"', { | 86 ['OS=="linux" and use_allocator!="none"', { |
89 'dependencies': [ | 87 'dependencies': [ |
90 '../../base/allocator/allocator.gyp:allocator', | 88 '../../base/allocator/allocator.gyp:allocator', |
91 ], | 89 ], |
92 }], | 90 }], |
93 ], | 91 ], |
94 }, | 92 }, |
95 ], | 93 ], |
96 'conditions': [ | |
97 ['OS=="win"', { | |
98 'targets': [ | |
99 { | |
100 'target_name': 'snapshot_test_support', | |
101 'type': 'static_library', | |
102 'sources': [ | |
103 'test/snapshot_desktop.h', | |
104 'test/snapshot_desktop_win.cc', | |
105 ], | |
106 'dependencies': [ | |
107 'snapshot', | |
108 ], | |
109 'include_dirs': [ | |
110 '../..', | |
111 ], | |
112 }, | |
113 ], | |
114 }], | |
115 ], | |
116 } | 94 } |
OLD | NEW |