Add @VisibleForTesting to fix ChromePublic release build.
[chromium-blink-merge.git] / gpu / tools / compositor_model_bench / BUILD.gn
blob8eadc6b9716c21f5976e97240979121fec91d843
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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
7 if (is_linux && !is_chromeos && target_cpu != "arm" && use_x11) {
8   # GYP version: //gpu/tools/tools.gyp:compositor_model_bench
9   executable("compositor_model_bench") {
10     sources = [
11       "compositor_model_bench.cc",
12       "forward_render_model.cc",
13       "render_model_utils.cc",
14       "render_models.cc",
15       "render_tree.cc",
16       "shaders.cc",
17     ]
19     libs = [ "GL" ]
21     configs += [ "//build/config/linux:x11" ]
23     deps = [
24       "//base",
25       "//ui/gl",
26     ]
27   }