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 '-ld3dx9.lib', |
| 337 '-ldxva2.lib', |
| 338 '-lstrmiids.lib', |
| 339 '-lmf.lib', |
| 340 '-lmfplat.lib', |
| 341 '-lmfuuid.lib', |
| 342 ], |
| 343 'msvs_settings': { |
| 344 'VCLinkerTool': { |
| 345 'DelayLoadDLLs': [ |
| 346 'd3d9.dll', |
| 347 'dxva2.dll', |
| 348 'mf.dll', |
| 349 'mfplat.dll', |
| 350 ], |
| 351 }, |
| 352 }, |
| 353 }, |
| 354 'sources': [ |
| 355 'common/gpu/media/dxva_video_decode_accelerator.cc', |
| 356 'common/gpu/media/dxva_video_decode_accelerator.h', |
| 357 ], |
| 358 'include_dirs': [ |
| 359 '<(DEPTH)/third_party/angle/include', |
| 360 ], |
| 361 }], |
327 ['OS=="win" and directxsdk_exists=="True"', { | 362 ['OS=="win" and directxsdk_exists=="True"', { |
328 'actions': [ | 363 'actions': [ |
329 { | 364 { |
330 'action_name': 'extract_xinput', | 365 'action_name': 'extract_xinput', |
331 'variables': { | 366 'variables': { |
332 'input': 'APR2007_xinput_x86.cab', | 367 'input': 'APR2007_xinput_x86.cab', |
333 'output': 'xinput1_3.dll', | 368 'output': 'xinput1_3.dll', |
334 }, | 369 }, |
335 'inputs': [ | 370 'inputs': [ |
336 '../third_party/directxsdk/files/Redist/<(input)', | 371 '../third_party/directxsdk/files/Redist/<(input)', |
337 ], | 372 ], |
338 'outputs': [ | 373 'outputs': [ |
339 '<(PRODUCT_DIR)/<(output)', | 374 '<(PRODUCT_DIR)/<(output)', |
340 ], | 375 ], |
341 'action': [ | 376 'action': [ |
342 'python', | 377 'python', |
343 '../build/extract_from_cab.py', | 378 '../build/extract_from_cab.py', |
344 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', | 379 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', |
345 '<(output)', | 380 '<(output)', |
346 '<(PRODUCT_DIR)', | 381 '<(PRODUCT_DIR)', |
347 ], | 382 ], |
348 }, | 383 }, |
349 ] | 384 ] |
350 }] | 385 }] |
351 ], | 386 ], |
352 } | 387 } |
OLD | NEW |