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"', { | 12 ['OS == "linux" and target_arch != "arm" and use_x11==1', { |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'compositor_model_bench', | 15 'target_name': 'compositor_model_bench', |
16 'type': 'executable', | 16 'type': 'executable', |
17 'dependencies': [ | 17 'dependencies': [ |
18 '../../base/base.gyp:base', | 18 '../../base/base.gyp:base', |
19 '../../build/linux/system.gyp:x11', | 19 '../../build/linux/system.gyp:x11', |
20 '../../ui/gl/gl.gyp:gl', | 20 '../../ui/gl/gl.gyp:gl', |
21 ], | 21 ], |
22 'libraries': [ | 22 'libraries': [ |
23 '-lGL', | 23 '-lGL', |
24 '-ldl', | 24 '-ldl', |
25 ], | 25 ], |
26 'sources': [ | 26 'sources': [ |
27 'compositor_model_bench/compositor_model_bench.cc', | 27 'compositor_model_bench/compositor_model_bench.cc', |
28 'compositor_model_bench/render_tree.cc', | 28 'compositor_model_bench/render_tree.cc', |
29 'compositor_model_bench/shaders.cc', | 29 'compositor_model_bench/shaders.cc', |
30 'compositor_model_bench/render_models.cc', | 30 'compositor_model_bench/render_models.cc', |
31 'compositor_model_bench/render_model_utils.cc', | 31 'compositor_model_bench/render_model_utils.cc', |
32 'compositor_model_bench/forward_render_model.cc', | 32 'compositor_model_bench/forward_render_model.cc', |
33 ], | 33 ], |
34 }, | 34 }, |
35 ], | 35 ], |
36 }], | 36 }], |
37 ], | 37 ], |
38 } | 38 } |
OLD | NEW |