| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/
directxsdk)', | 7 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/
directxsdk)', |
| 8 }, # variables | 8 }, # variables |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'content_gpu', | 11 'target_name': 'content_gpu', |
| 12 'type': '<(library)', | 12 'type': '<(library)', |
| 13 'msvs_guid': 'F10F1ECD-D84D-4C33-8468-9DDFE19F4D8A', | 13 'msvs_guid': 'F10F1ECD-D84D-4C33-8468-9DDFE19F4D8A', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 'content_common', | 15 'content_common', |
| 16 '../base/base.gyp:base', | 16 '../base/base.gyp:base', |
| 17 '../media/media.gyp:media', | |
| 18 '../skia/skia.gyp:skia', | 17 '../skia/skia.gyp:skia', |
| 19 '../ui/gfx/gl/gl.gyp:gl', | 18 '../ui/gfx/gl/gl.gyp:gl', |
| 20 ], | 19 ], |
| 21 'sources': [ | 20 'sources': [ |
| 22 'gpu/content_gpu_client.h', | |
| 23 'gpu/gpu_channel.cc', | |
| 24 'gpu/gpu_channel.h', | |
| 25 'gpu/gpu_command_buffer_stub.cc', | |
| 26 'gpu/gpu_command_buffer_stub.h', | |
| 27 'gpu/gpu_config.h', | |
| 28 'gpu/gpu_dx_diagnostics_win.cc', | 21 'gpu/gpu_dx_diagnostics_win.cc', |
| 29 'gpu/gpu_info_collector_linux.cc', | 22 'gpu/gpu_info_collector_linux.cc', |
| 30 'gpu/gpu_info_collector_mac.mm', | 23 'gpu/gpu_info_collector_mac.mm', |
| 31 'gpu/gpu_info_collector_win.cc', | 24 'gpu/gpu_info_collector_win.cc', |
| 32 'gpu/gpu_info_collector.cc', | 25 'gpu/gpu_info_collector.cc', |
| 33 'gpu/gpu_info_collector.h', | 26 'gpu/gpu_info_collector.h', |
| 34 'gpu/gpu_main.cc', | 27 'gpu/gpu_main.cc', |
| 35 'gpu/gpu_process.cc', | 28 'gpu/gpu_process.cc', |
| 36 'gpu/gpu_process.h', | 29 'gpu/gpu_process.h', |
| 37 'gpu/gpu_child_thread.cc', | 30 'gpu/gpu_child_thread.cc', |
| 38 'gpu/gpu_child_thread.h', | 31 'gpu/gpu_child_thread.h', |
| 39 'gpu/gpu_render_thread.cc', | |
| 40 'gpu/gpu_render_thread.h', | |
| 41 'gpu/gpu_video_decoder.cc', | |
| 42 'gpu/gpu_video_decoder.h', | |
| 43 'gpu/gpu_video_service.cc', | |
| 44 'gpu/gpu_video_service.h', | |
| 45 'gpu/gpu_watchdog_thread.cc', | 32 'gpu/gpu_watchdog_thread.cc', |
| 46 'gpu/gpu_watchdog_thread.h', | 33 'gpu/gpu_watchdog_thread.h', |
| 47 'gpu/media/gpu_video_device.h', | |
| 48 'gpu/media/fake_gl_video_decode_engine.cc', | |
| 49 'gpu/media/fake_gl_video_decode_engine.h', | |
| 50 'gpu/media/fake_gl_video_device.cc', | |
| 51 'gpu/media/fake_gl_video_device.h', | |
| 52 ], | 34 ], |
| 53 'include_dirs': [ | 35 'include_dirs': [ |
| 54 '..', | 36 '..', |
| 55 ], | 37 ], |
| 56 'conditions': [ | 38 'conditions': [ |
| 57 ['OS=="win"', { | 39 ['OS=="win"', { |
| 58 'include_dirs': [ | 40 'include_dirs': [ |
| 59 '<(DEPTH)/third_party/angle/include', | 41 '<(DEPTH)/third_party/angle/include', |
| 60 '<(DEPTH)/third_party/angle/src', | 42 '<(DEPTH)/third_party/angle/src', |
| 61 '<(DEPTH)/third_party/wtl/include', | 43 '<(DEPTH)/third_party/wtl/include', |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 ], | 84 ], |
| 103 'action': [ | 85 'action': [ |
| 104 'python', | 86 'python', |
| 105 '../build/extract_from_cab.py', | 87 '../build/extract_from_cab.py', |
| 106 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', | 88 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', |
| 107 '<(output)', | 89 '<(output)', |
| 108 '<(PRODUCT_DIR)', | 90 '<(PRODUCT_DIR)', |
| 109 ], | 91 ], |
| 110 }, | 92 }, |
| 111 ], | 93 ], |
| 112 'sources': [ | |
| 113 'gpu/media/mft_angle_video_device.cc', | |
| 114 'gpu/media/mft_angle_video_device.h', | |
| 115 ], | |
| 116 }], | |
| 117 ['OS=="linux" and target_arch!="arm"', { | |
| 118 'sources': [ | |
| 119 'gpu/x_util.cc', | |
| 120 'gpu/x_util.h', | |
| 121 ], | |
| 122 }], | |
| 123 ['enable_gpu==1', { | |
| 124 'dependencies': [ | |
| 125 '../gpu/gpu.gyp:command_buffer_service', | |
| 126 ], | |
| 127 }], | 94 }], |
| 128 ], | 95 ], |
| 129 }, | 96 }, |
| 130 ], | 97 ], |
| 131 } | 98 } |
| OLD | NEW |