| 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 '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 }, | 10 }, |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 'Debug': { | 373 'Debug': { |
| 374 'xcode_settings': { | 374 'xcode_settings': { |
| 375 # gcc on the mac builds horribly unoptimized sse code in debug | 375 # gcc on the mac builds horribly unoptimized sse code in debug |
| 376 # mode. Since this is rarely going to be debugged, run with full | 376 # mode. Since this is rarely going to be debugged, run with full |
| 377 # optimizations in Debug as well as Release. | 377 # optimizations in Debug as well as Release. |
| 378 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 | 378 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 |
| 379 }, | 379 }, |
| 380 }, | 380 }, |
| 381 }, | 381 }, |
| 382 }], | 382 }], |
| 383 [ 'target_arch=="ia32" or target_arch=="x64"', { |
| 384 'sources': [ |
| 385 'base/simd/convert_rgb_to_yuv_ssse3.asm', |
| 386 ], |
| 387 }], |
| 388 [ 'OS=="win"', { |
| 389 'variables': { |
| 390 'yasm_flags': [ |
| 391 '-DWIN32', |
| 392 '-DMSVC', |
| 393 '-DCHROMIUM', |
| 394 '-Isimd', |
| 395 ], |
| 396 }, |
| 397 }], |
| 398 [ 'OS=="mac"', { |
| 399 'variables': { |
| 400 'yasm_flags': [ |
| 401 '-DPREFIX', |
| 402 '-DMACHO', |
| 403 '-DCHROMIUM', |
| 404 '-Isimd', |
| 405 ], |
| 406 }, |
| 407 }], |
| 408 [ 'OS=="linux"', { |
| 409 'variables': { |
| 410 'conditions': [ |
| 411 [ 'target_arch=="ia32"', { |
| 412 'yasm_flags': [ |
| 413 '-DX86_32', |
| 414 '-DELF', |
| 415 '-DCHROMIUM', |
| 416 '-Isimd', |
| 417 ], |
| 418 }, { |
| 419 'yasm_flags': [ |
| 420 '-DARCH_X86_64', |
| 421 '-DELF', |
| 422 '-DPIC', |
| 423 '-DCHROMIUM', |
| 424 '-Isimd', |
| 425 ], |
| 426 }], |
| 427 ], |
| 428 }, |
| 429 }], |
| 383 ], | 430 ], |
| 384 'sources': [ | 431 'sources': [ |
| 385 'base/yuv_convert_sse2.cc', | 432 'base/yuv_convert_sse2.cc', |
| 433 'base/simd/convert_rgb_to_yuv.cc', |
| 434 ], |
| 435 'variables': { |
| 436 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/media', |
| 437 }, |
| 438 'includes': [ |
| 439 '../third_party/yasm/yasm_compile.gypi', |
| 386 ], | 440 ], |
| 387 }, | 441 }, |
| 388 { | 442 { |
| 389 'target_name': 'ffmpeg_unittests', | 443 'target_name': 'ffmpeg_unittests', |
| 390 'type': 'executable', | 444 'type': 'executable', |
| 391 'dependencies': [ | 445 'dependencies': [ |
| 392 'media', | 446 'media', |
| 393 'media_test_support', | 447 'media_test_support', |
| 394 '../base/base.gyp:base', | 448 '../base/base.gyp:base', |
| 395 '../base/base.gyp:base_i18n', | 449 '../base/base.gyp:base_i18n', |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 'base/filter_collection_unittest.cc', | 507 'base/filter_collection_unittest.cc', |
| 454 'base/h264_bitstream_converter_unittest.cc', | 508 'base/h264_bitstream_converter_unittest.cc', |
| 455 'base/mock_reader.h', | 509 'base/mock_reader.h', |
| 456 'base/mock_task.cc', | 510 'base/mock_task.cc', |
| 457 'base/mock_task.h', | 511 'base/mock_task.h', |
| 458 'base/pipeline_impl_unittest.cc', | 512 'base/pipeline_impl_unittest.cc', |
| 459 'base/pts_heap_unittest.cc', | 513 'base/pts_heap_unittest.cc', |
| 460 'base/pts_stream_unittest.cc', | 514 'base/pts_stream_unittest.cc', |
| 461 'base/run_all_unittests.cc', | 515 'base/run_all_unittests.cc', |
| 462 'base/seekable_buffer_unittest.cc', | 516 'base/seekable_buffer_unittest.cc', |
| 517 'base/simd/convert_rgb_to_yuv_unittest.cc', |
| 463 'base/state_matrix_unittest.cc', | 518 'base/state_matrix_unittest.cc', |
| 464 'base/test_data_util.cc', | 519 'base/test_data_util.cc', |
| 465 'base/test_data_util.h', | 520 'base/test_data_util.h', |
| 466 'base/video_frame_unittest.cc', | 521 'base/video_frame_unittest.cc', |
| 467 'base/video_util_unittest.cc', | 522 'base/video_util_unittest.cc', |
| 468 'base/yuv_convert_unittest.cc', | 523 'base/yuv_convert_unittest.cc', |
| 469 'ffmpeg/ffmpeg_common_unittest.cc', | 524 'ffmpeg/ffmpeg_common_unittest.cc', |
| 470 'filters/adaptive_demuxer_unittest.cc', | 525 'filters/adaptive_demuxer_unittest.cc', |
| 471 'filters/audio_renderer_algorithm_ola_unittest.cc', | 526 'filters/audio_renderer_algorithm_ola_unittest.cc', |
| 472 'filters/audio_renderer_base_unittest.cc', | 527 'filters/audio_renderer_base_unittest.cc', |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 'tools/player_x11/gl_video_renderer.h', | 801 'tools/player_x11/gl_video_renderer.h', |
| 747 'tools/player_x11/player_x11.cc', | 802 'tools/player_x11/player_x11.cc', |
| 748 'tools/player_x11/x11_video_renderer.cc', | 803 'tools/player_x11/x11_video_renderer.cc', |
| 749 'tools/player_x11/x11_video_renderer.h', | 804 'tools/player_x11/x11_video_renderer.h', |
| 750 ], | 805 ], |
| 751 }, | 806 }, |
| 752 ], | 807 ], |
| 753 }], | 808 }], |
| 754 ], | 809 ], |
| 755 } | 810 } |
| OLD | NEW |