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 "forward_render_model.h", |
13 "render_model_utils.cc", | 13 "render_model_utils.cc", |
14 "render_model_utils.h", | 14 "render_model_utils.h", |
15 "render_models.cc", | 15 "render_models.cc", |
16 "render_models.h", | 16 "render_models.h", |
17 "render_tree.cc", | 17 "render_tree.cc", |
18 "render_tree.h", | 18 "render_tree.h", |
19 "shaders.cc", | 19 "shaders.cc", |
20 "shaders.h", | 20 "shaders.h", |
21 ] | 21 ] |
22 | 22 |
23 libs = [ "GL" ] | 23 libs = [ "GL" ] |
24 | 24 |
25 configs += [ "//build/config/linux:x11" ] | 25 configs += [ "//build/config/linux:x11" ] |
26 | 26 |
27 deps = [ | 27 deps = [ |
28 "//base", | 28 "//base", |
29 "//build/config/sanitizers:deps", | 29 "//build/config:exe_and_shlib_deps", |
30 "//ui/gl", | 30 "//ui/gl", |
31 "//ui/gl/init", | 31 "//ui/gl/init", |
32 ] | 32 ] |
33 } | 33 } |
34 } | 34 } |
OLD | NEW |