OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 ], | 10 ], |
11 'conditions': [ | 11 'conditions': [ |
12 ['OS == "linux" and target_arch != "arm" and use_x11==1', { | 12 ['OS == "linux" and target_arch != "arm" and use_x11==1', { |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 # GN version: //gpu/tools/compositor_model_bench | 15 # GN version: //gpu/tools/compositor_model_bench |
16 'target_name': 'compositor_model_bench', | 16 'target_name': 'compositor_model_bench', |
17 'type': 'executable', | 17 'type': 'executable', |
18 'dependencies': [ | 18 'dependencies': [ |
19 '../../base/base.gyp:base', | 19 '../../base/base.gyp:base', |
20 '../../build/linux/system.gyp:x11', | 20 '../../build/linux/system.gyp:x11', |
21 '../../ui/gl/gl.gyp:gl', | 21 '../../ui/gl/gl.gyp:gl', |
| 22 '../../ui/gl/init/gl_init.gyp:gl_init', |
22 ], | 23 ], |
23 'libraries': [ | 24 'libraries': [ |
24 '-lGL', | 25 '-lGL', |
25 '-ldl', | 26 '-ldl', |
26 ], | 27 ], |
27 'sources': [ | 28 'sources': [ |
28 'compositor_model_bench/compositor_model_bench.cc', | 29 'compositor_model_bench/compositor_model_bench.cc', |
29 'compositor_model_bench/forward_render_model.cc', | 30 'compositor_model_bench/forward_render_model.cc', |
30 'compositor_model_bench/render_model_utils.cc', | 31 'compositor_model_bench/render_model_utils.cc', |
31 'compositor_model_bench/render_models.cc', | 32 'compositor_model_bench/render_models.cc', |
32 'compositor_model_bench/render_tree.cc', | 33 'compositor_model_bench/render_tree.cc', |
33 'compositor_model_bench/shaders.cc', | 34 'compositor_model_bench/shaders.cc', |
34 ], | 35 ], |
35 }, | 36 }, |
36 ], | 37 ], |
37 }], | 38 }], |
38 ], | 39 ], |
39 } | 40 } |
OLD | NEW |