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