| 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 # GYP version: //gpu/tools/tools.gyp:compositor_model_bench | |
| 9 executable("compositor_model_bench") { | 8 executable("compositor_model_bench") { |
| 10 sources = [ | 9 sources = [ |
| 11 "compositor_model_bench.cc", | 10 "compositor_model_bench.cc", |
| 12 "forward_render_model.cc", | 11 "forward_render_model.cc", |
| 13 "render_model_utils.cc", | 12 "render_model_utils.cc", |
| 14 "render_models.cc", | 13 "render_models.cc", |
| 15 "render_tree.cc", | 14 "render_tree.cc", |
| 16 "shaders.cc", | 15 "shaders.cc", |
| 17 ] | 16 ] |
| 18 | 17 |
| 19 libs = [ "GL" ] | 18 libs = [ "GL" ] |
| 20 | 19 |
| 21 configs += [ "//build/config/linux:x11" ] | 20 configs += [ "//build/config/linux:x11" ] |
| 22 | 21 |
| 23 deps = [ | 22 deps = [ |
| 24 "//base", | 23 "//base", |
| 25 "//build/config/sanitizers:deps", | 24 "//build/config/sanitizers:deps", |
| 26 "//ui/gl", | 25 "//ui/gl", |
| 27 "//ui/gl/init", | 26 "//ui/gl/init", |
| 28 ] | 27 ] |
| 29 } | 28 } |
| 30 } | 29 } |
| OLD | NEW |