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 3 # found in the LICENSE file. 4 5 { 6 'variables': { 7 'chromium_code': 1, 8 }, 9 'targets': [ 10 ], 11 'conditions': [ 12 ['OS == "linux" and target_arch != "arm" and use_x11==1', { 13 'targets': [ 14 { 15 'target_name': 'compositor_model_bench', 16 'type': 'executable', 17 'dependencies': [ 18 '../../base/base.gyp:base', 19 '../../build/linux/system.gyp:x11', 20 '../../ui/gl/gl.gyp:gl', 21 ], 22 'libraries': [ 23 '-lGL', 24 '-ldl', 25 ], 26 'sources': [ 27 'compositor_model_bench/compositor_model_bench.cc', 28 'compositor_model_bench/render_tree.cc', 29 'compositor_model_bench/shaders.cc', 30 'compositor_model_bench/render_models.cc', 31 'compositor_model_bench/render_model_utils.cc', 32 'compositor_model_bench/forward_render_model.cc', 33 ], 34 }, 35 ], 36 }], 37 ], 38 } 39