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