Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: media/media.gyp

Issue 14891002: Remove function level static initializers media library initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 cras (ChromeOS audio) library. 8 # Override to dynamically link the cras (ChromeOS audio) library.
9 'use_cras%': 0, 9 'use_cras%': 0,
10 # Option e.g. for Linux distributions to link pulseaudio directly 10 # Option e.g. for Linux distributions to link pulseaudio directly
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 'base/decrypt_config.cc', 252 'base/decrypt_config.cc',
253 'base/decrypt_config.h', 253 'base/decrypt_config.h',
254 'base/demuxer.cc', 254 'base/demuxer.cc',
255 'base/demuxer.h', 255 'base/demuxer.h',
256 'base/demuxer_stream.cc', 256 'base/demuxer_stream.cc',
257 'base/demuxer_stream.h', 257 'base/demuxer_stream.h',
258 'base/djb2.cc', 258 'base/djb2.cc',
259 'base/djb2.h', 259 'base/djb2.h',
260 'base/filter_collection.cc', 260 'base/filter_collection.cc',
261 'base/filter_collection.h', 261 'base/filter_collection.h',
262 'base/media.cc',
262 'base/media.h', 263 'base/media.h',
263 'base/media_log.cc', 264 'base/media_log.cc',
264 'base/media_log.h', 265 'base/media_log.h',
265 'base/media_log_event.h', 266 'base/media_log_event.h',
266 'base/media_posix.cc', 267 'base/media_posix.cc',
267 'base/media_switches.cc', 268 'base/media_switches.cc',
268 'base/media_switches.h', 269 'base/media_switches.h',
269 'base/media_win.cc', 270 'base/media_win.cc',
270 'base/multi_channel_resampler.cc', 271 'base/multi_channel_resampler.cc',
271 'base/multi_channel_resampler.h', 272 'base/multi_channel_resampler.h',
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 ['include', '^audio/audio_buffers_state\\.'], 554 ['include', '^audio/audio_buffers_state\\.'],
554 ['include', '^audio/audio_input_controller\\.'], 555 ['include', '^audio/audio_input_controller\\.'],
555 ['include', '^audio/audio_manager\\.'], 556 ['include', '^audio/audio_manager\\.'],
556 ['include', '^audio/audio_manager_base\\.'], 557 ['include', '^audio/audio_manager_base\\.'],
557 ['include', '^audio/audio_parameters\\.'], 558 ['include', '^audio/audio_parameters\\.'],
558 ['include', '^audio/fake_audio_consumer\\.'], 559 ['include', '^audio/fake_audio_consumer\\.'],
559 ['include', '^audio/fake_audio_input_stream\\.'], 560 ['include', '^audio/fake_audio_input_stream\\.'],
560 ['include', '^audio/fake_audio_output_stream\\.'], 561 ['include', '^audio/fake_audio_output_stream\\.'],
561 ['include', '^base/audio_bus\\.'], 562 ['include', '^base/audio_bus\\.'],
562 ['include', '^base/channel_layout\\.'], 563 ['include', '^base/channel_layout\\.'],
564 ['include', '^base/media\\.cc$'],
563 ['include', '^base/media_stub\\.cc$'], 565 ['include', '^base/media_stub\\.cc$'],
564 ['include', '^base/media_switches\\.'], 566 ['include', '^base/media_switches\\.'],
565 ['include', '^base/vector_math\\.'], 567 ['include', '^base/vector_math\\.'],
566 ], 568 ],
567 'link_settings': { 569 'link_settings': {
568 'libraries': [ 570 'libraries': [
569 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', 571 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
570 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', 572 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework',
571 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', 573 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
572 ], 574 ],
573 }, 575 },
574 }], 576 }],
575 ['OS == "android"', { 577 ['OS == "android"', {
576 'link_settings': { 578 'link_settings': {
577 'libraries': [ 579 'libraries': [
578 '-lOpenSLES', 580 '-lOpenSLES',
579 ], 581 ],
580 }, 582 },
581 'include_dirs': [ 583 'include_dirs': [
582 '<(SHARED_INTERMEDIATE_DIR)/media', 584 '<(SHARED_INTERMEDIATE_DIR)/media',
583 ], 585 ],
584 'dependencies': [ 586 'dependencies': [
585 'media_android_jni_headers', 587 'media_android_jni_headers',
586 'player_android', 588 'player_android',
587 'video_capture_android_jni_headers', 589 'video_capture_android_jni_headers',
588 ], 590 ],
591 'sources': [
592 'base/media.cc',
593 'base/media.h',
594 ],
589 'conditions': [ 595 'conditions': [
590 ['android_webview_build == 0', { 596 ['android_webview_build == 0', {
591 'dependencies': [ 597 'dependencies': [
592 'media_java', 598 'media_java',
593 ], 599 ],
594 }], 600 }],
595 ['use_openmax_dl_fft==1', { 601 ['use_openmax_dl_fft==1', {
596 # FFT library requires Neon support, so we enable 602 # FFT library requires Neon support, so we enable
597 # WebAudio only if Neon is detected at runtime. 603 # WebAudio only if Neon is detected at runtime.
598 'sources': [ 604 'sources': [
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 'base/simd/convert_rgb_to_yuv_sse2.cc', 1187 'base/simd/convert_rgb_to_yuv_sse2.cc',
1182 'base/simd/convert_rgb_to_yuv_ssse3.asm', 1188 'base/simd/convert_rgb_to_yuv_ssse3.asm',
1183 'base/simd/convert_rgb_to_yuv_ssse3.cc', 1189 'base/simd/convert_rgb_to_yuv_ssse3.cc',
1184 'base/simd/convert_rgb_to_yuv_ssse3.inc', 1190 'base/simd/convert_rgb_to_yuv_ssse3.inc',
1185 'base/simd/convert_yuv_to_rgb_c.cc', 1191 'base/simd/convert_yuv_to_rgb_c.cc',
1186 'base/simd/convert_yuv_to_rgb_mmx.asm', 1192 'base/simd/convert_yuv_to_rgb_mmx.asm',
1187 'base/simd/convert_yuv_to_rgb_mmx.inc', 1193 'base/simd/convert_yuv_to_rgb_mmx.inc',
1188 'base/simd/convert_yuv_to_rgb_sse.asm', 1194 'base/simd/convert_yuv_to_rgb_sse.asm',
1189 'base/simd/convert_yuv_to_rgb_x86.cc', 1195 'base/simd/convert_yuv_to_rgb_x86.cc',
1190 'base/simd/convert_yuva_to_argb_mmx.asm', 1196 'base/simd/convert_yuva_to_argb_mmx.asm',
1191 'base/simd/convert_yuva_to_argb_mmx.inc', 1197 'base/simd/convert_yuva_to_argb_mmx.inc',
1192 'base/simd/empty_register_state_mmx.asm', 1198 'base/simd/empty_register_state_mmx.asm',
1193 'base/simd/filter_yuv.h', 1199 'base/simd/filter_yuv.h',
1194 'base/simd/filter_yuv_c.cc', 1200 'base/simd/filter_yuv_c.cc',
1195 'base/simd/filter_yuv_sse2.cc', 1201 'base/simd/filter_yuv_sse2.cc',
1196 'base/simd/linear_scale_yuv_to_rgb_mmx.asm', 1202 'base/simd/linear_scale_yuv_to_rgb_mmx.asm',
1197 'base/simd/linear_scale_yuv_to_rgb_mmx.inc', 1203 'base/simd/linear_scale_yuv_to_rgb_mmx.inc',
1198 'base/simd/linear_scale_yuv_to_rgb_sse.asm', 1204 'base/simd/linear_scale_yuv_to_rgb_sse.asm',
1199 'base/simd/scale_yuv_to_rgb_mmx.asm', 1205 'base/simd/scale_yuv_to_rgb_mmx.asm',
1200 'base/simd/scale_yuv_to_rgb_mmx.inc', 1206 'base/simd/scale_yuv_to_rgb_mmx.inc',
1201 'base/simd/scale_yuv_to_rgb_sse.asm', 1207 'base/simd/scale_yuv_to_rgb_sse.asm',
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 ], 1729 ],
1724 'sources': [ 1730 'sources': [
1725 'base/simd/sinc_resampler_sse.cc', 1731 'base/simd/sinc_resampler_sse.cc',
1726 'base/simd/vector_math_sse.cc', 1732 'base/simd/vector_math_sse.cc',
1727 ], 1733 ],
1728 }, # end of target media_sse 1734 }, # end of target media_sse
1729 ], 1735 ],
1730 }], 1736 }],
1731 ], 1737 ],
1732 } 1738 }
OLDNEW
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698