After 24 hours, bust the browser cache when checking for ServiceWorker updates and...
[chromium-blink-merge.git] / content / content_gpu.gypi
blobdf99270d90bcbf0b70c4a7e0559e1f5c2d895969
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.
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     ['OS=="win" and target_arch=="ia32" and directxsdk_exists=="True"', {
44       # We don't support x64 prior to Win7 and D3DCompiler_43.dll is
45       # not needed on Vista+.
46       'actions': [
47         {
48           'action_name': 'extract_d3dcompiler',
49           'variables': {
50             'input': 'Jun2010_D3DCompiler_43_x86.cab',
51             'output': 'D3DCompiler_43.dll',
52           },
53           'inputs': [
54             '../third_party/directxsdk/files/Redist/<(input)',
55           ],
56           'outputs': [
57             '<(PRODUCT_DIR)/<(output)',
58           ],
59           'action': [
60             'python',
61             '../build/extract_from_cab.py',
62             '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
63             '<(output)',
64             '<(PRODUCT_DIR)',
65           ],
66         },
67       ],
68     }],
69     ['target_arch!="arm" and chromeos == 1', {
70       'include_dirs': [
71         '<(DEPTH)/third_party/libva',
72       ],
73     }],
74   ],