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

Side by Side Diff: media/media.gyp

Issue 816353010: Implemented HEVC video demuxing and parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjusted inclusion of hevc source files in gyp/gn Created 5 years, 10 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
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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 ], 664 ],
665 'defines': [ 665 'defines': [
666 'MEDIA_DISABLE_FFMPEG', 666 'MEDIA_DISABLE_FFMPEG',
667 ], 667 ],
668 'direct_dependent_settings': { 668 'direct_dependent_settings': {
669 'defines': [ 669 'defines': [
670 'MEDIA_DISABLE_FFMPEG', 670 'MEDIA_DISABLE_FFMPEG',
671 ], 671 ],
672 }, 672 },
673 }], 673 }],
674 ['proprietary_codecs==1 and enable_hevc_demuxing==1', {
675 'sources': [
676 'filters/h265_parser.cc',
677 'filters/h265_parser.h',
678 'formats/mp4/hevc.cc',
679 'formats/mp4/hevc.h',
680 ],
681 }],
682 ['media_use_ffmpeg==1 and proprietary_codecs==1 and enable_hevc_demuxing ==1', {
683 'sources': [
684 'filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc',
685 'filters/ffmpeg_h265_to_annex_b_bitstream_converter.h',
686 ],
687 }],
674 ['media_use_libvpx==1', { 688 ['media_use_libvpx==1', {
675 'dependencies': [ 689 'dependencies': [
676 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx', 690 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
677 ], 691 ],
678 }, { # media_use_libvpx==0 692 }, { # media_use_libvpx==0
679 'defines': [ 693 'defines': [
680 'MEDIA_DISABLE_LIBVPX', 694 'MEDIA_DISABLE_LIBVPX',
681 ], 695 ],
682 'direct_dependent_settings': { 696 'direct_dependent_settings': {
683 'defines': [ 697 'defines': [
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 'include_dirs': [ 1284 'include_dirs': [
1271 # Needed by media_drm_bridge.cc. 1285 # Needed by media_drm_bridge.cc.
1272 '<(SHARED_INTERMEDIATE_DIR)', 1286 '<(SHARED_INTERMEDIATE_DIR)',
1273 ], 1287 ],
1274 'conditions': [ 1288 'conditions': [
1275 ['arm_neon==1', { 1289 ['arm_neon==1', {
1276 'defines': [ 1290 'defines': [
1277 'USE_NEON' 1291 'USE_NEON'
1278 ], 1292 ],
1279 }], 1293 }],
1294 ['proprietary_codecs==1 and enable_hevc_demuxing==1', {
1295 'sources': [
1296 'filters/h265_parser_unittest.cc',
1297 ],
1298 }],
1280 ['media_use_ffmpeg==1', { 1299 ['media_use_ffmpeg==1', {
1281 'dependencies': [ 1300 'dependencies': [
1282 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', 1301 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1283 ], 1302 ],
1284 }, { # media_use_ffmpeg== 0 1303 }, { # media_use_ffmpeg== 0
1285 'sources!': [ 1304 'sources!': [
1286 'base/audio_video_metadata_extractor_unittest.cc', 1305 'base/audio_video_metadata_extractor_unittest.cc',
1287 'base/container_names_unittest.cc', 1306 'base/container_names_unittest.cc',
1288 'base/media_file_checker_unittest.cc', 1307 'base/media_file_checker_unittest.cc',
1289 'ffmpeg/ffmpeg_common_unittest.cc', 1308 'ffmpeg/ffmpeg_common_unittest.cc',
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
1924 '../build/isolate.gypi', 1943 '../build/isolate.gypi',
1925 ], 1944 ],
1926 'sources': [ 1945 'sources': [
1927 'media_unittests.isolate', 1946 'media_unittests.isolate',
1928 ], 1947 ],
1929 }, 1948 },
1930 ], 1949 ],
1931 }], 1950 }],
1932 ], 1951 ],
1933 } 1952 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698