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 'dependencies': [ | 6 'dependencies': [ |
7 '../base/base.gyp:base', | 7 '../base/base.gyp:base', |
8 '../build/temp_gyp/googleurl.gyp:googleurl', | 8 '../build/temp_gyp/googleurl.gyp:googleurl', |
9 '../gpu/gpu.gyp:gpu_ipc', | 9 '../gpu/gpu.gyp:gpu_ipc', |
10 '../ipc/ipc.gyp:ipc', | 10 '../ipc/ipc.gyp:ipc', |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 '<(DEPTH)/third_party/angle/include', | 317 '<(DEPTH)/third_party/angle/include', |
318 '<(DEPTH)/third_party/openmax/il', | 318 '<(DEPTH)/third_party/openmax/il', |
319 ], | 319 ], |
320 'link_settings': { | 320 'link_settings': { |
321 'libraries': [ | 321 'libraries': [ |
322 '-lEGL', | 322 '-lEGL', |
323 '-lGLESv2', | 323 '-lGLESv2', |
324 ], | 324 ], |
325 }, | 325 }, |
326 }], | 326 }], |
| 327 ['OS=="win"', { |
| 328 'dependencies': [ |
| 329 '../media/media.gyp:media', |
| 330 '../third_party/angle/src/build_angle.gyp:libEGL', |
| 331 '../third_party/angle/src/build_angle.gyp:libGLESv2', |
| 332 ], |
| 333 'link_settings': { |
| 334 'libraries': [ |
| 335 '-ld3d9.lib', |
| 336 '-ldxva2.lib', |
| 337 '-lmf.lib', |
| 338 '-lmfplat.lib', |
| 339 '-lmfuuid.lib', |
| 340 '-ld3dx9.lib', |
| 341 ], |
| 342 'msvs_settings': { |
| 343 'VCLinkerTool': { |
| 344 'DelayLoadDLLs': [ |
| 345 'd3d9.dll', |
| 346 'dxva2.dll', |
| 347 'mf.dll', |
| 348 'mfplat.dll', |
| 349 ], |
| 350 }, |
| 351 }, |
| 352 }, |
| 353 'sources': [ |
| 354 'common/gpu/media/dxva_video_decode_accelerator.cc', |
| 355 'common/gpu/media/dxva_video_decode_accelerator.h', |
| 356 ], |
| 357 'include_dirs': [ |
| 358 '<(DEPTH)/third_party/angle/include', |
| 359 ], |
| 360 }], |
327 ['OS=="win" and directxsdk_exists=="True"', { | 361 ['OS=="win" and directxsdk_exists=="True"', { |
328 'actions': [ | 362 'actions': [ |
329 { | 363 { |
330 'action_name': 'extract_xinput', | 364 'action_name': 'extract_xinput', |
331 'variables': { | 365 'variables': { |
332 'input': 'APR2007_xinput_x86.cab', | 366 'input': 'APR2007_xinput_x86.cab', |
333 'output': 'xinput1_3.dll', | 367 'output': 'xinput1_3.dll', |
334 }, | 368 }, |
335 'inputs': [ | 369 'inputs': [ |
336 '../third_party/directxsdk/files/Redist/<(input)', | 370 '../third_party/directxsdk/files/Redist/<(input)', |
337 ], | 371 ], |
338 'outputs': [ | 372 'outputs': [ |
339 '<(PRODUCT_DIR)/<(output)', | 373 '<(PRODUCT_DIR)/<(output)', |
340 ], | 374 ], |
341 'action': [ | 375 'action': [ |
342 'python', | 376 'python', |
343 '../build/extract_from_cab.py', | 377 '../build/extract_from_cab.py', |
344 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', | 378 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', |
345 '<(output)', | 379 '<(output)', |
346 '<(PRODUCT_DIR)', | 380 '<(PRODUCT_DIR)', |
347 ], | 381 ], |
348 }, | 382 }, |
349 ] | 383 ] |
350 }] | 384 }] |
351 ], | 385 ], |
352 } | 386 } |
OLD | NEW |