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 | 9 |
10 'targets': [ | 10 'targets': [ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
60 'async_pixel_transfer_delegate_sync.cc', | 60 'async_pixel_transfer_delegate_sync.cc', |
61 'async_pixel_transfer_delegate_sync.h', | 61 'async_pixel_transfer_delegate_sync.h', |
62 'async_pixel_transfer_delegate_win.cc', | 62 'async_pixel_transfer_delegate_win.cc', |
63 'gl_bindings.h', | 63 'gl_bindings.h', |
64 'gl_bindings_skia_in_process.cc', | 64 'gl_bindings_skia_in_process.cc', |
65 'gl_bindings_skia_in_process.h', | 65 'gl_bindings_skia_in_process.h', |
66 'gl_context.cc', | 66 'gl_context.cc', |
67 'gl_context.h', | 67 'gl_context.h', |
68 'gl_context_android.cc', | 68 'gl_context_android.cc', |
69 'gl_context_mac.mm', | 69 'gl_context_mac.mm', |
70 'gl_context_osmesa.cc', | 70 'gl_context_nsl.mm', |
jonathan.backer
2013/04/30 12:41:20
.mm? nix this?
rjkroege
2013/05/06 18:46:24
bad merge. fixed.
| |
71 'gl_context_osmesa.cc', | |
jonathan.backer
2013/04/30 12:41:20
nit: whitespace.
rjkroege
2013/05/06 18:46:24
Done.
| |
71 'gl_context_osmesa.h', | 72 'gl_context_osmesa.h', |
72 'gl_context_stub.cc', | 73 'gl_context_stub.cc', |
73 'gl_context_stub.h', | 74 'gl_context_stub.h', |
74 'gl_context_win.cc', | 75 'gl_context_win.cc', |
75 'gl_context_x11.cc', | 76 'gl_context_x11.cc', |
76 'gl_export.h', | 77 'gl_export.h', |
77 'gl_fence.cc', | 78 'gl_fence.cc', |
78 'gl_fence.h', | 79 'gl_fence.h', |
79 'gl_gl_api_implementation.cc', | 80 'gl_gl_api_implementation.cc', |
80 'gl_gl_api_implementation.h', | 81 'gl_gl_api_implementation.h', |
81 'gl_image.cc', | 82 'gl_image.cc', |
82 'gl_image.h', | 83 'gl_image.h', |
83 'gl_image_android.cc', | 84 'gl_image_android.cc', |
84 'gl_image_mac.cc', | 85 'gl_image_mac.cc', |
86 'gl_image_nsl.cc', | |
85 'gl_image_stub.cc', | 87 'gl_image_stub.cc', |
86 'gl_image_stub.h', | 88 'gl_image_stub.h', |
87 'gl_image_win.cc', | 89 'gl_image_win.cc', |
88 'gl_image_x11.cc', | 90 'gl_image_x11.cc', |
89 'gl_implementation.cc', | 91 'gl_implementation.cc', |
90 'gl_implementation.h', | 92 'gl_implementation.h', |
91 'gl_implementation_android.cc', | 93 'gl_implementation_android.cc', |
92 'gl_implementation_mac.cc', | 94 'gl_implementation_mac.cc', |
95 'gl_implementation_nsl.cc', | |
93 'gl_implementation_win.cc', | 96 'gl_implementation_win.cc', |
94 'gl_implementation_x11.cc', | 97 'gl_implementation_x11.cc', |
95 'gl_interface.cc', | 98 'gl_interface.cc', |
96 'gl_interface.h', | 99 'gl_interface.h', |
97 'gl_osmesa_api_implementation.cc', | 100 'gl_osmesa_api_implementation.cc', |
98 'gl_osmesa_api_implementation.h', | 101 'gl_osmesa_api_implementation.h', |
99 'gl_share_group.cc', | 102 'gl_share_group.cc', |
100 'gl_share_group.h', | 103 'gl_share_group.h', |
101 'gl_state_restorer.cc', | 104 'gl_state_restorer.cc', |
102 'gl_state_restorer.h', | 105 'gl_state_restorer.h', |
103 'gl_surface.cc', | 106 'gl_surface.cc', |
104 'gl_surface.h', | 107 'gl_surface.h', |
105 'gl_surface_android.cc', | 108 'gl_surface_android.cc', |
106 'gl_surface_mac.cc', | 109 'gl_surface_mac.cc', |
110 'gl_surface_nsl.cc', | |
107 'gl_surface_stub.cc', | 111 'gl_surface_stub.cc', |
108 'gl_surface_stub.h', | 112 'gl_surface_stub.h', |
109 'gl_surface_win.cc', | 113 'gl_surface_win.cc', |
110 'gl_surface_x11.cc', | 114 'gl_surface_x11.cc', |
111 'gl_surface_osmesa.cc', | 115 'gl_surface_osmesa.cc', |
112 'gl_surface_osmesa.h', | 116 'gl_surface_osmesa.h', |
113 'gl_switches.cc', | 117 'gl_switches.cc', |
114 'gl_switches.h', | 118 'gl_switches.h', |
115 'gpu_switching_manager.cc', | 119 'gpu_switching_manager.cc', |
116 'gpu_switching_manager.h', | 120 'gpu_switching_manager.h', |
117 'safe_shared_memory_pool.h', | 121 'safe_shared_memory_pool.h', |
118 'safe_shared_memory_pool.cc', | 122 'safe_shared_memory_pool.cc', |
119 'scoped_make_current.cc', | 123 'scoped_make_current.cc', |
120 'scoped_make_current.h', | 124 'scoped_make_current.h', |
121 'gl_state_restorer.cc', | 125 'gl_state_restorer.cc', |
122 'gl_state_restorer.h', | 126 'gl_state_restorer.h', |
123 'vsync_provider.cc', | 127 'vsync_provider.cc', |
124 'vsync_provider.h', | 128 'vsync_provider.h', |
125 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', | 129 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', |
126 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', | 130 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', |
127 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc', | 131 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc', |
128 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', | 132 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', |
129 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', | 133 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', |
130 '<(gl_binding_output_dir)/gl_interface_autogen_gl.h', | 134 '<(gl_binding_output_dir)/gl_interface_autogen_gl.h', |
131 ], | 135 ], |
136 'target_conditions': [ | |
137 ['<(use_native_surface_linux) == 1', { | |
138 'sources!': [ | |
139 'gl_context_linux.cc', | |
140 'gl_image_linux.cc', | |
141 'gl_implementation_linux.cc', | |
142 'gl_surface_linux.cc', | |
143 ], | |
144 }, | |
145 { # use_native_surface_linux == 0 | |
146 'sources!': [ | |
147 'gl_context_nsl.cc', | |
148 'gl_implementation_nsl.cc', | |
149 'gl_surface_nsl.cc', | |
150 'gl_image_nsl.cc', | |
151 ], | |
152 }], | |
153 ], | |
132 # hard_dependency is necessary for this target because it has actions | 154 # hard_dependency is necessary for this target because it has actions |
133 # that generate header files included by dependent targets. The header | 155 # that generate header files included by dependent targets. The header |
134 # files must be generated before the dependents are compiled. The usual | 156 # files must be generated before the dependents are compiled. The usual |
135 # semantics are to allow the two targets to build concurrently. | 157 # semantics are to allow the two targets to build concurrently. |
136 'hard_dependency': 1, | 158 'hard_dependency': 1, |
137 'actions': [ | 159 'actions': [ |
138 { | 160 { |
139 'action_name': 'generate_gl_bindings', | 161 'action_name': 'generate_gl_bindings', |
140 'variables': { | 162 'variables': { |
141 'generator_path': 'generate_bindings.py', | 163 'generator_path': 'generate_bindings.py', |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
356 ], | 378 ], |
357 'variables': { | 379 'variables': { |
358 'jni_gen_package': 'ui/gl', | 380 'jni_gen_package': 'ui/gl', |
359 }, | 381 }, |
360 'includes': [ '../../build/jni_generator.gypi' ], | 382 'includes': [ '../../build/jni_generator.gypi' ], |
361 }, | 383 }, |
362 ], | 384 ], |
363 }], | 385 }], |
364 ], | 386 ], |
365 } | 387 } |
OLD | NEW |