| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Override to dynamically link the PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
| 9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
| 10 # Override to dynamically link the cras (ChromeOS audio) library. | 10 # Override to dynamically link the cras (ChromeOS audio) library. |
| 11 'use_cras%': 0, | 11 'use_cras%': 0, |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 ['OS == "android" or OS == "ios"', { | 13 ['OS == "Xandroid" or OS == "ios"', { |
| 14 # Android and iOS don't use ffmpeg. | 14 # Android and iOS don't use ffmpeg. |
| 15 'use_ffmpeg%': 0, | 15 'use_ffmpeg%': 0, |
| 16 }, { # 'OS != "android" and OS != "ios"' | 16 }, { # 'OS != "android" and OS != "ios"' |
| 17 'use_ffmpeg%': 1, | 17 'use_ffmpeg%': 1, |
| 18 }], | 18 }], |
| 19 ], | 19 ], |
| 20 }, | 20 }, |
| 21 'targets': [ | 21 'targets': [ |
| 22 { | 22 { |
| 23 'target_name': 'media', | 23 'target_name': 'media', |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 ], | 446 ], |
| 447 'link_settings': { | 447 'link_settings': { |
| 448 'libraries': [ | 448 'libraries': [ |
| 449 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 449 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
| 450 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', | 450 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', |
| 451 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', | 451 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', |
| 452 ], | 452 ], |
| 453 }, | 453 }, |
| 454 }], | 454 }], |
| 455 ['OS == "android"', { | 455 ['OS == "android"', { |
| 456 'sources': [ | 456 #'sources': [ |
| 457 'base/media_stub.cc', | 457 # 'base/media_stub.cc', |
| 458 ], | 458 #], |
| 459 'link_settings': { | 459 'link_settings': { |
| 460 'libraries': [ | 460 'libraries': [ |
| 461 '-lOpenSLES', | 461 '-lOpenSLES', |
| 462 ], | 462 ], |
| 463 }, | 463 }, |
| 464 }], | 464 }], |
| 465 # A simple WebM encoder for animated avatars on ChromeOS. | 465 # A simple WebM encoder for animated avatars on ChromeOS. |
| 466 ['chromeos==1', { | 466 ['chromeos==1', { |
| 467 'dependencies': [ | 467 'dependencies': [ |
| 468 '../third_party/libvpx/libvpx.gyp:libvpx', | 468 '../third_party/libvpx/libvpx.gyp:libvpx', |
| (...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1390 'media', | 1390 'media', |
| 1391 ], | 1391 ], |
| 1392 'sources': [ | 1392 'sources': [ |
| 1393 'tools/media_bench/media_bench.cc', | 1393 'tools/media_bench/media_bench.cc', |
| 1394 ], | 1394 ], |
| 1395 }, | 1395 }, |
| 1396 ], | 1396 ], |
| 1397 }] | 1397 }] |
| 1398 ], | 1398 ], |
| 1399 } | 1399 } |
| OLD | NEW |