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

Side by Side Diff: build/common.gypi

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
« no previous file with comments | « no previous file | media/BUILD.gn » ('j') | media/filters/ffmpeg_demuxer.cc » ('J')
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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 1465
1466 # IPC fuzzer is disabled by default. 1466 # IPC fuzzer is disabled by default.
1467 'enable_ipc_fuzzer%': 0, 1467 'enable_ipc_fuzzer%': 0,
1468 1468
1469 # Force disable libstdc++ debug mode. 1469 # Force disable libstdc++ debug mode.
1470 'disable_glibcxx_debug%': 0, 1470 'disable_glibcxx_debug%': 0,
1471 1471
1472 # Set to 1 to compile with MSE support for MPEG2 TS 1472 # Set to 1 to compile with MSE support for MPEG2 TS
1473 'enable_mpeg2ts_stream_parser%': 0, 1473 'enable_mpeg2ts_stream_parser%': 0,
1474 1474
1475 # HEVC/H265 demuxing support. For HEVC demuxing support in MediaSource/MSE
1476 # changing this flag is sufficient. But when using FFmpegDemuxer, e.g. when
1477 # using direct HEVC stream URL for HTMLMediaElement/<video> playback,
1478 # src/third_party/ffmpeg needs to be configured and built with
1479 # --enable-demuxer=hevc and --enable-parser=hevc, see
1480 # third_party/ffmpeg/chromium/scripts/build_ffmpeg.py
1481 'enable_hevc_demuxing%': 0,
1482
1475 # Support ChromeOS touchpad gestures with ozone. 1483 # Support ChromeOS touchpad gestures with ozone.
1476 'use_evdev_gestures%': 0, 1484 'use_evdev_gestures%': 0,
1477 1485
1478 # Default ozone platform (if no --ozone-platform flag). 1486 # Default ozone platform (if no --ozone-platform flag).
1479 'ozone_platform%': "", 1487 'ozone_platform%': "",
1480 1488
1481 # Ozone platforms to include in the build. 1489 # Ozone platforms to include in the build.
1482 'ozone_platform_caca%': 0, 1490 'ozone_platform_caca%': 0,
1483 'ozone_platform_dri%': 0, 1491 'ozone_platform_dri%': 0,
1484 'ozone_platform_egltest%': 0, 1492 'ozone_platform_egltest%': 0,
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 1807
1800 # Default android linker script for shared library exports. 1808 # Default android linker script for shared library exports.
1801 'android_linker_script%': '<(SHARED_INTERMEDIATE_DIR)/android_exports.ls t', 1809 'android_linker_script%': '<(SHARED_INTERMEDIATE_DIR)/android_exports.ls t',
1802 }], # OS=="android" 1810 }], # OS=="android"
1803 ['embedded==1', { 1811 ['embedded==1', {
1804 'use_system_fontconfig%': 0, 1812 'use_system_fontconfig%': 0,
1805 }, { 1813 }, {
1806 'use_system_fontconfig%': 1, 1814 'use_system_fontconfig%': 1,
1807 }], 1815 }],
1808 ['chromecast==1', { 1816 ['chromecast==1', {
1817 'enable_hevc_demuxing%': 1,
1809 'enable_mpeg2ts_stream_parser%': 1, 1818 'enable_mpeg2ts_stream_parser%': 1,
1810 'ffmpeg_branding%': 'ChromeOS', 1819 'ffmpeg_branding%': 'ChromeOS',
1811 'ozone_platform_ozonex%': 1, 1820 'ozone_platform_ozonex%': 1,
1812 'use_playready%': 0, 1821 'use_playready%': 0,
1813 'conditions': [ 1822 'conditions': [
1814 ['target_arch=="arm"', { 1823 ['target_arch=="arm"', {
1815 'arm_arch%': '', 1824 'arm_arch%': '',
1816 'arm_tune%': 'cortex-a9', 1825 'arm_tune%': 'cortex-a9',
1817 'arm_thumb%': 1, 1826 'arm_thumb%': 1,
1818 'video_hole%': 1, 1827 'video_hole%': 1,
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
2644 }], 2653 }],
2645 ['enable_webrtc==1', { 2654 ['enable_webrtc==1', {
2646 'defines': ['ENABLE_WEBRTC=1'], 2655 'defines': ['ENABLE_WEBRTC=1'],
2647 }], 2656 }],
2648 ['proprietary_codecs==1', { 2657 ['proprietary_codecs==1', {
2649 'defines': ['USE_PROPRIETARY_CODECS'], 2658 'defines': ['USE_PROPRIETARY_CODECS'],
2650 'conditions': [ 2659 'conditions': [
2651 ['enable_mpeg2ts_stream_parser==1', { 2660 ['enable_mpeg2ts_stream_parser==1', {
2652 'defines': ['ENABLE_MPEG2TS_STREAM_PARSER'], 2661 'defines': ['ENABLE_MPEG2TS_STREAM_PARSER'],
2653 }], 2662 }],
2663 ['enable_hevc_demuxing==1', {
2664 'defines': ['ENABLE_HEVC_DEMUXING'],
2665 }],
2654 ], 2666 ],
2655 }], 2667 }],
2656 ['enable_viewport==1', { 2668 ['enable_viewport==1', {
2657 'defines': ['ENABLE_VIEWPORT'], 2669 'defines': ['ENABLE_VIEWPORT'],
2658 }], 2670 }],
2659 ['enable_pepper_cdms==1', { 2671 ['enable_pepper_cdms==1', {
2660 'defines': ['ENABLE_PEPPER_CDMS'], 2672 'defines': ['ENABLE_PEPPER_CDMS'],
2661 }], 2673 }],
2662 ['enable_browser_cdms==1', { 2674 ['enable_browser_cdms==1', {
2663 'defines': ['ENABLE_BROWSER_CDMS'], 2675 'defines': ['ENABLE_BROWSER_CDMS'],
(...skipping 3225 matching lines...) Expand 10 before | Expand all | Expand 10 after
5889 # settings in target dicts. SYMROOT is a special case, because many other 5901 # settings in target dicts. SYMROOT is a special case, because many other
5890 # Xcode variables depend on it, including variables such as 5902 # Xcode variables depend on it, including variables such as
5891 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5903 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5892 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5904 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5893 # files to appear (when present) in the UI as actual files and not red 5905 # files to appear (when present) in the UI as actual files and not red
5894 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5906 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5895 # and therefore SYMROOT, needs to be set at the project level. 5907 # and therefore SYMROOT, needs to be set at the project level.
5896 'SYMROOT': '<(DEPTH)/xcodebuild', 5908 'SYMROOT': '<(DEPTH)/xcodebuild',
5897 }, 5909 },
5898 } 5910 }
OLDNEW
« no previous file with comments | « no previous file | media/BUILD.gn » ('j') | media/filters/ffmpeg_demuxer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698