OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 gl_binding_output_dir = target_gen_dir | 7 gl_binding_output_dir = target_gen_dir |
8 | 8 |
9 config("gl_config") { | 9 config("gl_config") { |
10 if (use_x11) { | 10 if (use_x11) { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "//third_party/mesa/src/include", | 106 "//third_party/mesa/src/include", |
107 gl_binding_output_dir, | 107 gl_binding_output_dir, |
108 ] | 108 ] |
109 | 109 |
110 all_dependent_configs = [ ":gl_config" ] | 110 all_dependent_configs = [ ":gl_config" ] |
111 | 111 |
112 deps = [ | 112 deps = [ |
113 ":generate_gl_bindings", | 113 ":generate_gl_bindings", |
114 "//base", | 114 "//base", |
115 "//base/third_party/dynamic_annotations", | 115 "//base/third_party/dynamic_annotations", |
116 "//gpu/command_buffer:gles2_utils", | 116 "//gpu/command_buffer/common", |
117 "//skia", | 117 "//skia", |
118 # TODO(GYP) hook up once this is converted. | 118 # TODO(GYP) hook up once this is converted. |
119 # Also uncomment forward statement below. | 119 # Also uncomment forward statement below. |
120 #"//third_party/mesa:mesa_headers", | 120 #"//third_party/mesa:mesa_headers", |
121 "//ui/gfx", | 121 "//ui/gfx", |
122 "//ui/gfx/geometry", | 122 "//ui/gfx/geometry", |
123 ] | 123 ] |
124 | 124 |
125 # TODO(GYP) hook up once this is converted. | 125 # TODO(GYP) hook up once this is converted. |
126 #forward_dependent_configs_from = [ "//third_party/mesa:mesa_headers" ] | 126 #forward_dependent_configs_from = [ "//third_party/mesa:mesa_headers" ] |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 "$gl_binding_output_dir/gl_mock_autogen_gl.h", | 280 "$gl_binding_output_dir/gl_mock_autogen_gl.h", |
281 ] | 281 ] |
282 | 282 |
283 args = [ | 283 args = [ |
284 "--header-paths=" + | 284 "--header-paths=" + |
285 rebase_path("//third_party/khronos", root_build_dir) + ":" + | 285 rebase_path("//third_party/khronos", root_build_dir) + ":" + |
286 rebase_path("//third_party/mesa/src/include", root_build_dir), | 286 rebase_path("//third_party/mesa/src/include", root_build_dir), |
287 rebase_path(gl_binding_output_dir, root_build_dir), | 287 rebase_path(gl_binding_output_dir, root_build_dir), |
288 ] | 288 ] |
289 } | 289 } |
OLD | NEW |