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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 '<(DEPTH)/third_party/angle/src/build_angle.gyp:libGLESv2', | 72 '<(DEPTH)/third_party/angle/src/build_angle.gyp:libGLESv2', |
73 ], | 73 ], |
74 }], | 74 }], |
75 ], | 75 ], |
76 }, | 76 }, |
77 { | 77 { |
78 'target_name': 'compositor_test_support', | 78 'target_name': 'compositor_test_support', |
79 'type': 'static_library', | 79 'type': 'static_library', |
80 'dependencies': [ | 80 'dependencies': [ |
81 '<(DEPTH)/base/base.gyp:base', | 81 '<(DEPTH)/base/base.gyp:base', |
82 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', | 82 '<(DEPTH)/skia/skia.gyp:skia', |
83 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 83 '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 84 '<(DEPTH)/ui/ui.gyp:ui', |
| 85 'compositor', |
84 ], | 86 ], |
85 'sources': [ | 87 'sources': [ |
86 'test/compositor_test_support.cc', | |
87 'test/compositor_test_support.h', | |
88 'test/test_layers.cc', | 88 'test/test_layers.cc', |
89 'test/test_layers.h', | 89 'test/test_layers.h', |
90 'test/test_suite.cc', | 90 'test/test_suite.cc', |
91 'test/test_suite.h', | 91 'test/test_suite.h', |
92 ], | 92 ], |
93 'conditions': [ | |
94 ['os_posix == 1 and OS != "mac"', { | |
95 'conditions': [ | |
96 ['linux_use_tcmalloc==1', { | |
97 'dependencies': [ | |
98 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
99 ], | |
100 }], | |
101 ], | |
102 }], | |
103 ], | |
104 }, | 93 }, |
105 { | 94 { |
106 'target_name': 'compositor_unittests', | 95 'target_name': 'compositor_unittests', |
107 'type': 'executable', | 96 'type': 'executable', |
108 'dependencies': [ | 97 'dependencies': [ |
109 '<(DEPTH)/base/base.gyp:base', | 98 '<(DEPTH)/base/base.gyp:base', |
110 '<(DEPTH)/base/base.gyp:test_support_base', | 99 '<(DEPTH)/base/base.gyp:test_support_base', |
111 '<(DEPTH)/cc/cc.gyp:cc', | 100 '<(DEPTH)/cc/cc.gyp:cc', |
112 '<(DEPTH)/cc/cc_tests.gyp:cc_test_utils', | 101 '<(DEPTH)/cc/cc_tests.gyp:cc_test_utils', |
113 '<(DEPTH)/skia/skia.gyp:skia', | 102 '<(DEPTH)/skia/skia.gyp:skia', |
(...skipping 23 matching lines...) Expand all Loading... |
137 'test/test_utils.cc', | 126 'test/test_utils.cc', |
138 'test/test_utils.h', | 127 'test/test_utils.h', |
139 ], | 128 ], |
140 'conditions': [ | 129 'conditions': [ |
141 # osmesa GL implementation is used on linux. | 130 # osmesa GL implementation is used on linux. |
142 ['OS=="linux"', { | 131 ['OS=="linux"', { |
143 'dependencies': [ | 132 'dependencies': [ |
144 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 133 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
145 ], | 134 ], |
146 }], | 135 }], |
| 136 ['os_posix == 1 and OS != "mac"', { |
| 137 'conditions': [ |
| 138 ['linux_use_tcmalloc==1', { |
| 139 'dependencies': [ |
| 140 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
| 141 ], |
| 142 }], |
| 143 ], |
| 144 }], |
147 ], | 145 ], |
148 }, | 146 }, |
149 ], | 147 ], |
150 } | 148 } |
OLD | NEW |