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