summaryrefslogtreecommitdiffstats
path: root/content/content_gpu.gypi
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-12 01:00:41 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-12 01:00:41 +0000
commit623c0bd198a26b6609c7545a0cce0578dbad5316 (patch)
treee5cfac9d974797d95a8b4ee0aa0e4204826f089c /content/content_gpu.gypi
parent23716fb643383cb737e564d55234a7c2d58eba00 (diff)
downloadchromium_src-623c0bd198a26b6609c7545a0cce0578dbad5316.zip
chromium_src-623c0bd198a26b6609c7545a0cce0578dbad5316.tar.gz
chromium_src-623c0bd198a26b6609c7545a0cce0578dbad5316.tar.bz2
Move chrome\gpu to content\gpu.
TBR=avi Review URL: http://codereview.chromium.org/6684015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_gpu.gypi')
-rw-r--r--content/content_gpu.gypi128
1 files changed, 128 insertions, 0 deletions
diff --git a/content/content_gpu.gypi b/content/content_gpu.gypi
new file mode 100644
index 0000000..ae65369
--- /dev/null
+++ b/content/content_gpu.gypi
@@ -0,0 +1,128 @@
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/directxsdk)',
+ }, # variables
+ 'targets': [
+ {
+ 'target_name': 'content_gpu',
+ 'type': '<(library)',
+ 'msvs_guid': 'F10F1ECD-D84D-4C33-8468-9DDFE19F4D8A',
+ 'dependencies': [
+ 'content_common',
+ '../app/app.gyp:app_base',
+ '../base/base.gyp:base',
+ '../media/media.gyp:media',
+ '../skia/skia.gyp:skia',
+ ],
+ 'sources': [
+ 'gpu/gpu_channel.cc',
+ 'gpu/gpu_channel.h',
+ 'gpu/gpu_command_buffer_stub.cc',
+ 'gpu/gpu_command_buffer_stub.h',
+ 'gpu/gpu_config.h',
+ 'gpu/gpu_dx_diagnostics_win.cc',
+ 'gpu/gpu_info_collector_linux.cc',
+ 'gpu/gpu_info_collector_mac.mm',
+ 'gpu/gpu_info_collector_win.cc',
+ 'gpu/gpu_info_collector.cc',
+ 'gpu/gpu_info_collector.h',
+ 'gpu/gpu_main.cc',
+ 'gpu/gpu_process.cc',
+ 'gpu/gpu_process.h',
+ 'gpu/gpu_thread.cc',
+ 'gpu/gpu_thread.h',
+ 'gpu/gpu_video_decoder.cc',
+ 'gpu/gpu_video_decoder.h',
+ 'gpu/gpu_video_service.cc',
+ 'gpu/gpu_video_service.h',
+ 'gpu/gpu_watchdog_thread.cc',
+ 'gpu/gpu_watchdog_thread.h',
+ 'gpu/media/gpu_video_device.h',
+ 'gpu/media/fake_gl_video_decode_engine.cc',
+ 'gpu/media/fake_gl_video_decode_engine.h',
+ 'gpu/media/fake_gl_video_device.cc',
+ 'gpu/media/fake_gl_video_device.h',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/angle/include',
+ '<(DEPTH)/third_party/angle/src',
+ '<(DEPTH)/third_party/wtl/include',
+ '$(DXSDK_DIR)/include',
+ ],
+ 'dependencies': [
+ '../third_party/angle/src/build_angle.gyp:libEGL',
+ '../third_party/angle/src/build_angle.gyp:libGLESv2',
+ ],
+ }],
+ ['OS=="win" and directxsdk_exists=="True"', {
+ 'actions': [
+ {
+ 'action_name': 'extract_d3dx9',
+ 'variables': {
+ 'input': 'Aug2009_d3dx9_42_x86.cab',
+ 'output': 'd3dx9_42.dll',
+ },
+ 'inputs': [
+ '../third_party/directxsdk/files/Redist/<(input)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/<(output)',
+ ],
+ 'action': [
+ 'python',
+ '../build/extract_from_cab.py',
+ '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
+ '<(output)',
+ '<(PRODUCT_DIR)',
+ ],
+ },
+ {
+ 'action_name': 'extract_d3dcompiler',
+ 'variables': {
+ 'input': 'Aug2009_D3DCompiler_42_x86.cab',
+ 'output': 'D3DCompiler_42.dll',
+ },
+ 'inputs': [
+ '../third_party/directxsdk/files/Redist/<(input)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/<(output)',
+ ],
+ 'action': [
+ 'python',
+ '../build/extract_from_cab.py',
+ '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
+ '<(output)',
+ '<(PRODUCT_DIR)',
+ ],
+ },
+ ],
+ 'sources': [
+ 'gpu/media/mft_angle_video_device.cc',
+ 'gpu/media/mft_angle_video_device.h',
+ ],
+ }],
+ ['OS=="linux" and target_arch!="arm"', {
+ 'sources': [
+ 'gpu/x_util.cc',
+ 'gpu/x_util.h',
+ ],
+ }],
+ ['enable_gpu==1', {
+ 'dependencies': [
+ '../gpu/gpu.gyp:command_buffer_service',
+ ],
+ }],
+ ],
+ },
+ ],
+}