OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 if (is_linux && !is_chromeos && current_cpu != "arm" && use_x11) { | 7 if (is_linux && !is_chromeos && current_cpu != "arm" && use_x11) { |
8 executable("compositor_model_bench") { | 8 executable("compositor_model_bench") { |
9 sources = [ | 9 sources = [ |
10 "compositor_model_bench.cc", | 10 "compositor_model_bench.cc", |
11 "forward_render_model.cc", | 11 "forward_render_model.cc", |
| 12 "forward_render_model.h", |
12 "render_model_utils.cc", | 13 "render_model_utils.cc", |
| 14 "render_model_utils.h", |
13 "render_models.cc", | 15 "render_models.cc", |
| 16 "render_models.h", |
14 "render_tree.cc", | 17 "render_tree.cc", |
| 18 "render_tree.h", |
15 "shaders.cc", | 19 "shaders.cc", |
| 20 "shaders.h", |
16 ] | 21 ] |
17 | 22 |
18 libs = [ "GL" ] | 23 libs = [ "GL" ] |
19 | 24 |
20 configs += [ "//build/config/linux:x11" ] | 25 configs += [ "//build/config/linux:x11" ] |
21 | 26 |
22 deps = [ | 27 deps = [ |
23 "//base", | 28 "//base", |
24 "//build/config/sanitizers:deps", | 29 "//build/config/sanitizers:deps", |
25 "//ui/gl", | 30 "//ui/gl", |
26 "//ui/gl/init", | 31 "//ui/gl/init", |
27 ] | 32 ] |
28 } | 33 } |
29 } | 34 } |
OLD | NEW |