| 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': [ |
| 11 { | 11 { |
| 12 'target_name': 'media', | 12 'target_name': 'media', |
| 13 'type': '<(library)', | 13 'type': 'static_library', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 'yuv_convert', | 15 'yuv_convert', |
| 16 '../base/base.gyp:base', | 16 '../base/base.gyp:base', |
| 17 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 17 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 18 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 18 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 19 '../build/temp_gyp/googleurl.gyp:googleurl', | 19 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 20 ], | 20 ], |
| 21 'include_dirs': [ | 21 'include_dirs': [ |
| 22 '..', | 22 '..', |
| 23 ], | 23 ], |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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', |
| 251 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', | 251 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', |
| 252 ], | 252 ], |
| 253 }, | 253 }, |
| 254 }], | 254 }], |
| 255 ], | 255 ], |
| 256 }, | 256 }, |
| 257 { | 257 { |
| 258 'target_name': 'cpu_features', | 258 'target_name': 'cpu_features', |
| 259 'type': '<(library)', | 259 'type': 'static_library', |
| 260 'include_dirs': [ | 260 'include_dirs': [ |
| 261 '..', | 261 '..', |
| 262 ], | 262 ], |
| 263 'conditions': [ | 263 'conditions': [ |
| 264 [ 'target_arch == "ia32" or target_arch == "x64"', { | 264 [ 'target_arch == "ia32" or target_arch == "x64"', { |
| 265 'sources': [ | 265 'sources': [ |
| 266 'base/cpu_features_x86.cc', | 266 'base/cpu_features_x86.cc', |
| 267 ], | 267 ], |
| 268 }], | 268 }], |
| 269 [ 'target_arch == "arm"', { | 269 [ 'target_arch == "arm"', { |
| 270 'sources': [ | 270 'sources': [ |
| 271 'base/cpu_features_arm.cc', | 271 'base/cpu_features_arm.cc', |
| 272 ], | 272 ], |
| 273 }], | 273 }], |
| 274 ], | 274 ], |
| 275 'sources': [ | 275 'sources': [ |
| 276 'base/cpu_features.h', | 276 'base/cpu_features.h', |
| 277 ], | 277 ], |
| 278 }, | 278 }, |
| 279 { | 279 { |
| 280 'target_name': 'yuv_convert', | 280 'target_name': 'yuv_convert', |
| 281 'type': '<(library)', | 281 'type': 'static_library', |
| 282 'include_dirs': [ | 282 'include_dirs': [ |
| 283 '..', | 283 '..', |
| 284 ], | 284 ], |
| 285 'dependencies': [ | 285 'dependencies': [ |
| 286 'cpu_features', | 286 'cpu_features', |
| 287 ], | 287 ], |
| 288 'conditions': [ | 288 'conditions': [ |
| 289 [ 'target_arch == "ia32" or target_arch == "x64"', { | 289 [ 'target_arch == "ia32" or target_arch == "x64"', { |
| 290 'dependencies': [ | 290 'dependencies': [ |
| 291 'yuv_convert_sse2', | 291 'yuv_convert_sse2', |
| 292 ], | 292 ], |
| 293 }], | 293 }], |
| 294 ], | 294 ], |
| 295 'sources': [ | 295 'sources': [ |
| 296 'base/yuv_convert.cc', | 296 'base/yuv_convert.cc', |
| 297 'base/yuv_convert.h', | 297 'base/yuv_convert.h', |
| 298 'base/yuv_convert_internal.h', | 298 'base/yuv_convert_internal.h', |
| 299 'base/yuv_convert_c.cc', | 299 'base/yuv_convert_c.cc', |
| 300 'base/yuv_row_win.cc', | 300 'base/yuv_row_win.cc', |
| 301 'base/yuv_row_posix.cc', | 301 'base/yuv_row_posix.cc', |
| 302 'base/yuv_row_table.cc', | 302 'base/yuv_row_table.cc', |
| 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': '<(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 == "linux" or OS == "freebsd" or OS == "openbsd"', { |
| 314 'cflags': [ | 314 'cflags': [ |
| 315 '-msse2', | 315 '-msse2', |
| 316 ], | 316 ], |
| 317 }], | 317 }], |
| 318 ], | 318 ], |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 'dependencies': [ | 438 'dependencies': [ |
| 439 '../base/allocator/allocator.gyp:allocator', | 439 '../base/allocator/allocator.gyp:allocator', |
| 440 ], | 440 ], |
| 441 }], | 441 }], |
| 442 ], | 442 ], |
| 443 }], | 443 }], |
| 444 ], | 444 ], |
| 445 }, | 445 }, |
| 446 { | 446 { |
| 447 'target_name': 'media_test_support', | 447 'target_name': 'media_test_support', |
| 448 'type': '<(library)', | 448 'type': 'static_library', |
| 449 'dependencies': [ | 449 'dependencies': [ |
| 450 'media', | 450 'media', |
| 451 '../base/base.gyp:base', | 451 '../base/base.gyp:base', |
| 452 '../testing/gmock.gyp:gmock', | 452 '../testing/gmock.gyp:gmock', |
| 453 '../testing/gtest.gyp:gtest', | 453 '../testing/gtest.gyp:gtest', |
| 454 ], | 454 ], |
| 455 'sources': [ | 455 'sources': [ |
| 456 'audio/test_audio_input_controller_factory.cc', | 456 'audio/test_audio_input_controller_factory.cc', |
| 457 'audio/test_audio_input_controller_factory.h', | 457 'audio/test_audio_input_controller_factory.h', |
| 458 'base/mock_callback.cc', | 458 'base/mock_callback.cc', |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 }, |
| 711 { | 711 { |
| 712 'target_name': 'omx_wrapper', | 712 'target_name': 'omx_wrapper', |
| 713 'type': '<(library)', | 713 'type': 'static_library', |
| 714 'dependencies': [ | 714 'dependencies': [ |
| 715 '../base/base.gyp:base', | 715 '../base/base.gyp:base', |
| 716 '../third_party/openmax/openmax.gyp:il', | 716 '../third_party/openmax/openmax.gyp:il', |
| 717 # TODO(wjia): remove ffmpeg | 717 # TODO(wjia): remove ffmpeg |
| 718 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 718 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 719 ], | 719 ], |
| 720 'sources': [ | 720 'sources': [ |
| 721 'omx/omx_configurator.cc', | 721 'omx/omx_configurator.cc', |
| 722 'omx/omx_configurator.h', | 722 'omx/omx_configurator.h', |
| 723 'video/omx_video_decode_engine.cc', | 723 'video/omx_video_decode_engine.cc', |
| (...skipping 62 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 |