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': 'compositor', | 11 'target_name': 'compositor', |
12 'type': '<(component)', | 12 'type': '<(component)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '<(DEPTH)/base/base.gyp:base', | 14 '<(DEPTH)/base/base.gyp:base', |
15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
16 '<(DEPTH)/cc/cc.gyp:cc', | 16 '<(DEPTH)/cc/cc.gyp:cc', |
17 '<(DEPTH)/skia/skia.gyp:skia', | 17 '<(DEPTH)/skia/skia.gyp:skia', |
18 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 18 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
19 '<(DEPTH)/ui/gl/gl.gyp:gl', | 19 '<(DEPTH)/ui/gl/gl.gyp:gl', |
20 '<(DEPTH)/ui/ui.gyp:ui', | 20 '<(DEPTH)/ui/ui.gyp:ui', |
| 21 '<(DEPTH)/ui/ui.gyp:ui_test_support', |
21 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', | 22 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', |
22 ], | 23 ], |
23 'defines': [ | 24 'defines': [ |
24 'COMPOSITOR_IMPLEMENTATION', | 25 'COMPOSITOR_IMPLEMENTATION', |
25 ], | 26 ], |
26 'sources': [ | 27 'sources': [ |
27 'compositor.cc', | 28 'compositor.cc', |
28 'compositor.h', | 29 'compositor.h', |
29 'compositor_export.h', | 30 'compositor_export.h', |
30 'compositor_observer.h', | 31 'compositor_observer.h', |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 '<(DEPTH)/third_party/angle/src/build_angle.gyp:libEGL', | 66 '<(DEPTH)/third_party/angle/src/build_angle.gyp:libEGL', |
66 '<(DEPTH)/third_party/angle/src/build_angle.gyp:libGLESv2', | 67 '<(DEPTH)/third_party/angle/src/build_angle.gyp:libGLESv2', |
67 ], | 68 ], |
68 }], | 69 }], |
69 ], | 70 ], |
70 }, | 71 }, |
71 { | 72 { |
72 'target_name': 'compositor_test_support', | 73 'target_name': 'compositor_test_support', |
73 'type': 'static_library', | 74 'type': 'static_library', |
74 'dependencies': [ | 75 'dependencies': [ |
| 76 'compositor', |
75 '<(DEPTH)/base/base.gyp:base', | 77 '<(DEPTH)/base/base.gyp:base', |
76 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', | 78 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', |
77 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 79 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
78 ], | 80 ], |
79 'sources': [ | 81 'sources': [ |
80 'test/compositor_test_support.cc', | 82 'test/compositor_test_support.cc', |
81 'test/compositor_test_support.h', | 83 'test/compositor_test_support.h', |
82 ], | 84 ], |
83 'conditions': [ | 85 'conditions': [ |
84 ['os_posix == 1 and OS != "mac"', { | 86 ['os_posix == 1 and OS != "mac"', { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 # osmesa GL implementation is used on linux. | 133 # osmesa GL implementation is used on linux. |
132 ['OS=="linux"', { | 134 ['OS=="linux"', { |
133 'dependencies': [ | 135 'dependencies': [ |
134 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 136 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
135 ], | 137 ], |
136 }], | 138 }], |
137 ], | 139 ], |
138 }, | 140 }, |
139 ], | 141 ], |
140 } | 142 } |
OLD | NEW |