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 'player_x11_renderer%': 'x11', | 8 'player_x11_renderer%': 'x11', |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 '..', | 199 '..', |
200 ], | 200 ], |
201 }, | 201 }, |
202 'conditions': [ | 202 'conditions': [ |
203 ['OS=="win"', { | 203 ['OS=="win"', { |
204 'sources': [ | 204 'sources': [ |
205 'video/mft_h264_decode_engine.cc', | 205 'video/mft_h264_decode_engine.cc', |
206 'video/mft_h264_decode_engine.h', | 206 'video/mft_h264_decode_engine.h', |
207 ], | 207 ], |
208 }], | 208 }], |
209 ['OS=="linux" or OS=="freebsd"', { | 209 ['OS == "linux" or OS == "freebsd" or OS == "solaris"', { |
210 'link_settings': { | 210 'link_settings': { |
211 'libraries': [ | 211 'libraries': [ |
212 '-lasound', | 212 '-lasound', |
213 ], | 213 ], |
214 }, | 214 }, |
215 }], | 215 }], |
216 ['OS=="openbsd"', { | 216 ['OS=="openbsd"', { |
217 'sources/': [ ['exclude', 'alsa_' ], | 217 'sources/': [ ['exclude', 'alsa_' ], |
218 ['exclude', 'audio_manager_linux' ], | 218 ['exclude', 'audio_manager_linux' ], |
219 ['exclude', '\\.mm?$' ] ], | 219 ['exclude', '\\.mm?$' ] ], |
220 'link_settings': { | 220 'link_settings': { |
221 'libraries': [ | 221 'libraries': [ |
222 ], | 222 ], |
223 }, | 223 }, |
224 }], | 224 }], |
225 ['OS!="openbsd"', { | 225 ['OS!="openbsd"', { |
226 'sources!': [ | 226 'sources!': [ |
227 'audio/openbsd/audio_manager_openbsd.cc', | 227 'audio/openbsd/audio_manager_openbsd.cc', |
228 'audio/openbsd/audio_manager_openbsd.h', | 228 'audio/openbsd/audio_manager_openbsd.h', |
229 ], | 229 ], |
230 }], | 230 }], |
231 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 231 ['os_posix == 1 and OS != "mac"', { |
232 'sources': [ | 232 'sources': [ |
233 'filters/omx_video_decoder.cc', | 233 'filters/omx_video_decoder.cc', |
234 'filters/omx_video_decoder.h', | 234 'filters/omx_video_decoder.h', |
235 ], | 235 ], |
236 'dependencies': [ | 236 'dependencies': [ |
237 'omx_wrapper', | 237 'omx_wrapper', |
238 ] | 238 ] |
239 }], | 239 }], |
240 ['OS=="linux"', { | 240 ['os_posix == 1 and OS != "mac"', { |
241 'sources!': [ | 241 'sources!': [ |
242 'video/capture/video_capture_device_dummy.cc', | 242 'video/capture/video_capture_device_dummy.cc', |
243 'video/capture/video_capture_device_dummy.h', | 243 'video/capture/video_capture_device_dummy.h', |
244 ], | 244 ], |
245 }], | 245 }], |
246 ['OS=="mac"', { | 246 ['OS=="mac"', { |
247 'link_settings': { | 247 'link_settings': { |
248 'libraries': [ | 248 'libraries': [ |
249 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', | 249 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', |
250 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 250 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 'base/yuv_row.h', | 303 'base/yuv_row.h', |
304 ], | 304 ], |
305 }, | 305 }, |
306 { | 306 { |
307 'target_name': 'yuv_convert_sse2', | 307 'target_name': 'yuv_convert_sse2', |
308 'type': 'static_library', | 308 'type': 'static_library', |
309 'include_dirs': [ | 309 'include_dirs': [ |
310 '..', | 310 '..', |
311 ], | 311 ], |
312 'conditions': [ | 312 'conditions': [ |
313 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { | 313 [ 'os_posix == 1 and OS != "mac"', { |
314 'cflags': [ | 314 'cflags': [ |
315 '-msse2', | 315 '-msse2', |
316 ], | 316 ], |
317 }], | 317 }], |
318 ], | 318 ], |
319 'sources': [ | 319 'sources': [ |
320 'base/yuv_convert_sse2.cc', | 320 'base/yuv_convert_sse2.cc', |
321 ], | 321 ], |
322 }, | 322 }, |
323 { | 323 { |
324 'target_name': 'ffmpeg_unittests', | 324 'target_name': 'ffmpeg_unittests', |
325 'type': 'executable', | 325 'type': 'executable', |
326 'dependencies': [ | 326 'dependencies': [ |
327 'media', | 327 'media', |
328 'media_test_support', | 328 'media_test_support', |
329 '../base/base.gyp:base', | 329 '../base/base.gyp:base', |
330 '../base/base.gyp:base_i18n', | 330 '../base/base.gyp:base_i18n', |
331 '../base/base.gyp:test_support_base', | 331 '../base/base.gyp:test_support_base', |
332 '../base/base.gyp:test_support_perf', | 332 '../base/base.gyp:test_support_perf', |
333 '../testing/gtest.gyp:gtest', | 333 '../testing/gtest.gyp:gtest', |
334 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 334 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
335 ], | 335 ], |
336 'sources': [ | 336 'sources': [ |
337 'ffmpeg/ffmpeg_unittest.cc', | 337 'ffmpeg/ffmpeg_unittest.cc', |
338 ], | 338 ], |
339 'conditions': [ | 339 'conditions': [ |
340 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 340 ['toolkit_uses_gtk == 1', { |
341 'dependencies': [ | 341 'dependencies': [ |
342 # Needed for the following #include chain: | 342 # Needed for the following #include chain: |
343 # base/run_all_unittests.cc | 343 # base/run_all_unittests.cc |
344 # ../base/test_suite.h | 344 # ../base/test_suite.h |
345 # gtk/gtk.h | 345 # gtk/gtk.h |
346 '../build/linux/system.gyp:gtk', | 346 '../build/linux/system.gyp:gtk', |
347 ], | 347 ], |
348 'conditions': [ | 348 'conditions': [ |
349 ['linux_use_tcmalloc==1', { | 349 ['linux_use_tcmalloc==1', { |
350 'dependencies': [ | 350 'dependencies': [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 'filters/ffmpeg_h264_bitstream_converter_unittest.cc', | 415 'filters/ffmpeg_h264_bitstream_converter_unittest.cc', |
416 'filters/ffmpeg_video_decoder_unittest.cc', | 416 'filters/ffmpeg_video_decoder_unittest.cc', |
417 'filters/file_data_source_unittest.cc', | 417 'filters/file_data_source_unittest.cc', |
418 'filters/rtc_video_decoder_unittest.cc', | 418 'filters/rtc_video_decoder_unittest.cc', |
419 'filters/video_renderer_base_unittest.cc', | 419 'filters/video_renderer_base_unittest.cc', |
420 'omx/mock_omx.cc', | 420 'omx/mock_omx.cc', |
421 'omx/mock_omx.h', | 421 'omx/mock_omx.h', |
422 'video/ffmpeg_video_decode_engine_unittest.cc', | 422 'video/ffmpeg_video_decode_engine_unittest.cc', |
423 ], | 423 ], |
424 'conditions': [ | 424 'conditions': [ |
425 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 425 ['toolkit_uses_gtk == 1', { |
426 'dependencies': [ | 426 'dependencies': [ |
427 # Needed for the following #include chain: | 427 # Needed for the following #include chain: |
428 # base/run_all_unittests.cc | 428 # base/run_all_unittests.cc |
429 # ../base/test_suite.h | 429 # ../base/test_suite.h |
430 # gtk/gtk.h | 430 # gtk/gtk.h |
431 '../build/linux/system.gyp:gtk', | 431 '../build/linux/system.gyp:gtk', |
432 ], | 432 ], |
433 'sources': [ | 433 'sources': [ |
434 'omx/omx_codec_unittest.cc', | 434 'omx/omx_codec_unittest.cc', |
435 ], | 435 ], |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 'tools/shader_bench/gpu_color_painter_exp.cc', | 618 'tools/shader_bench/gpu_color_painter_exp.cc', |
619 'tools/shader_bench/gpu_color_painter_exp.h', | 619 'tools/shader_bench/gpu_color_painter_exp.h', |
620 'tools/shader_bench/gpu_painter.cc', | 620 'tools/shader_bench/gpu_painter.cc', |
621 'tools/shader_bench/gpu_painter.h', | 621 'tools/shader_bench/gpu_painter.h', |
622 'tools/shader_bench/painter.cc', | 622 'tools/shader_bench/painter.cc', |
623 'tools/shader_bench/painter.h', | 623 'tools/shader_bench/painter.h', |
624 'tools/shader_bench/window.cc', | 624 'tools/shader_bench/window.cc', |
625 'tools/shader_bench/window.h', | 625 'tools/shader_bench/window.h', |
626 ], | 626 ], |
627 'conditions': [ | 627 'conditions': [ |
628 ['OS=="linux"', { | 628 ['toolkit_uses_gtk == 1', { |
629 'dependencies': [ | 629 'dependencies': [ |
630 '../build/linux/system.gyp:gtk', | 630 '../build/linux/system.gyp:gtk', |
631 ], | 631 ], |
632 'sources': [ | 632 'sources': [ |
633 'tools/shader_bench/window_linux.cc', | 633 'tools/shader_bench/window_linux.cc', |
634 ], | 634 ], |
635 }], | 635 }], |
636 ['OS=="win"', { | 636 ['OS=="win"', { |
637 'dependencies': [ | 637 'dependencies': [ |
638 '../third_party/angle/src/build_angle.gyp:libEGL', | 638 '../third_party/angle/src/build_angle.gyp:libEGL', |
(...skipping 19 matching lines...) Expand all Loading... |
658 'libraries': [ | 658 'libraries': [ |
659 '-lGL', | 659 '-lGL', |
660 '-ldl', | 660 '-ldl', |
661 ], | 661 ], |
662 'sources': [ | 662 'sources': [ |
663 'tools/tile_render_bench/tile_render_bench.cc', | 663 'tools/tile_render_bench/tile_render_bench.cc', |
664 ], | 664 ], |
665 }, | 665 }, |
666 ], | 666 ], |
667 }], | 667 }], |
668 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 668 ['os_posix == 1 and OS != "mac"', { |
669 'targets': [ | 669 'targets': [ |
670 { | 670 { |
671 'target_name': 'omx_test', | 671 'target_name': 'omx_test', |
672 'type': 'executable', | 672 'type': 'executable', |
673 'dependencies': [ | 673 'dependencies': [ |
674 'media', | 674 'media', |
675 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 675 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
676 '../third_party/openmax/openmax.gyp:il', | 676 '../third_party/openmax/openmax.gyp:il', |
677 ], | 677 ], |
678 'sources': [ | 678 'sources': [ |
(...skipping 11 matching lines...) Expand all Loading... |
690 'type': 'executable', | 690 'type': 'executable', |
691 'dependencies': [ | 691 'dependencies': [ |
692 'media', | 692 'media', |
693 'omx_wrapper', | 693 'omx_wrapper', |
694 '../base/base.gyp:base', | 694 '../base/base.gyp:base', |
695 '../base/base.gyp:base_i18n', | 695 '../base/base.gyp:base_i18n', |
696 '../base/base.gyp:test_support_base', | 696 '../base/base.gyp:test_support_base', |
697 '../testing/gtest.gyp:gtest', | 697 '../testing/gtest.gyp:gtest', |
698 ], | 698 ], |
699 'conditions': [ | 699 'conditions': [ |
700 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 700 ['toolkit_uses_gtk == 1', { |
701 'dependencies': [ | 701 'dependencies': [ |
702 '../build/linux/system.gyp:gtk', | 702 '../build/linux/system.gyp:gtk', |
703 ], | 703 ], |
704 }], | 704 }], |
705 ], | 705 ], |
706 'sources': [ | 706 'sources': [ |
707 'omx/omx_unittest.cc', | 707 'omx/omx_unittest.cc', |
708 'omx/run_all_unittests.cc', | 708 'omx/run_all_unittests.cc', |
709 ], | 709 ], |
710 }, | 710 }, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 ], | 786 ], |
787 }], | 787 }], |
788 ], | 788 ], |
789 } | 789 } |
790 | 790 |
791 # Local Variables: | 791 # Local Variables: |
792 # tab-width:2 | 792 # tab-width:2 |
793 # indent-tabs-mode:nil | 793 # indent-tabs-mode:nil |
794 # End: | 794 # End: |
795 # vim: set expandtab tabstop=2 shiftwidth=2: | 795 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |