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 # GYP-to-GN project mappings: | 5 # GYP-to-GN project mappings: |
6 # | 6 # |
7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client | 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client |
8 # | 8 # |
9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common | 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common |
10 # | 10 # |
(...skipping 16 matching lines...) Expand all Loading... |
27 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto | 27 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto |
28 # | 28 # |
29 # command_buffer/command_buffer.gyp:gles2_utils => | 29 # command_buffer/command_buffer.gyp:gles2_utils => |
30 # //gpu/command_buffer/common | 30 # //gpu/command_buffer/common |
31 # (Merged in to here because the separate file exists in GYP only to break | 31 # (Merged in to here because the separate file exists in GYP only to break |
32 # a .gyp file dependency cycle which GN doesn't have.) | 32 # a .gyp file dependency cycle which GN doesn't have.) |
33 # | 33 # |
34 # gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings | 34 # gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings |
35 | 35 |
36 import("//testing/test.gni") | 36 import("//testing/test.gni") |
| 37 import("//build/config/ui.gni") |
37 | 38 |
38 component("gpu") { | 39 component("gpu") { |
39 public_deps = [ | 40 public_deps = [ |
40 "//gpu/command_buffer/client", | 41 "//gpu/command_buffer/client", |
41 "//gpu/command_buffer/client:gles2_cmd_helper_sources", | 42 "//gpu/command_buffer/client:gles2_cmd_helper_sources", |
42 "//gpu/command_buffer/common", | 43 "//gpu/command_buffer/common", |
43 "//gpu/command_buffer/service", | 44 "//gpu/command_buffer/service", |
44 "//gpu/config", | 45 "//gpu/config", |
45 "//gpu/ipc", | 46 "//gpu/ipc", |
46 ] | 47 ] |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 | 276 |
276 deps = [ | 277 deps = [ |
277 "//base", | 278 "//base", |
278 "//base/test:test_support", | 279 "//base/test:test_support", |
279 "//base/third_party/dynamic_annotations", | 280 "//base/third_party/dynamic_annotations", |
280 "//testing/gmock", | 281 "//testing/gmock", |
281 "//testing/gtest", | 282 "//testing/gtest", |
282 "//third_party/angle:translator_static", | 283 "//third_party/angle:translator_static", |
283 ] | 284 ] |
284 } | 285 } |
| 286 |
| 287 if (is_linux && !is_chromeos && target_cpu != "arm" && use_x11) { |
| 288 executable("compositor_model_bench") { |
| 289 sources = [ |
| 290 "tools/compositor_model_bench/compositor_model_bench.cc", |
| 291 "tools/compositor_model_bench/forward_render_model.cc", |
| 292 "tools/compositor_model_bench/render_model_utils.cc", |
| 293 "tools/compositor_model_bench/render_models.cc", |
| 294 "tools/compositor_model_bench/render_tree.cc", |
| 295 "tools/compositor_model_bench/shaders.cc", |
| 296 ] |
| 297 |
| 298 libs = [ "GL" ] |
| 299 |
| 300 configs += [ "//build/config/linux:x11" ] |
| 301 |
| 302 deps = [ |
| 303 "//base", |
| 304 "//ui/gl", |
| 305 ] |
| 306 } |
| 307 } |
OLD | NEW |