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  'dependencies': [
7    '../base/base.gyp:base',
8    '../mojo/mojo_base.gyp:mojo_application_bindings',
9    '../skia/skia.gyp:skia',
10    '../ui/gl/gl.gyp:gl',
11  ],
12  'sources': [
13    'gpu/gpu_main.cc',
14    'gpu/gpu_process.cc',
15    'gpu/gpu_process.h',
16    'gpu/gpu_child_thread.cc',
17    'gpu/gpu_child_thread.h',
18    'gpu/gpu_watchdog_thread.cc',
19    'gpu/gpu_watchdog_thread.h',
20    'gpu/in_process_gpu_thread.cc',
21    'gpu/in_process_gpu_thread.h',
22  ],
23  'include_dirs': [
24    '..',
25  ],
26  'conditions': [
27    ['OS=="win"', {
28      'include_dirs': [
29        '<(DEPTH)/third_party/khronos',
30        '<(angle_path)/src',
31        '<(DEPTH)/third_party/wtl/include',
32      ],
33      'dependencies': [
34        '<(angle_path)/src/build_angle.gyp:libEGL',
35        '<(angle_path)/src/build_angle.gyp:libGLESv2',
36      ],
37      'link_settings': {
38        'libraries': [
39          '-lsetupapi.lib',
40        ],
41      },
42    }],
43    ['target_arch!="arm" and chromeos == 1', {
44      'include_dirs': [
45        '<(DEPTH)/third_party/libva',
46      ],
47    }],
48  ],
49}
50