Skip to content

Commit

Permalink
update branch name
Browse files Browse the repository at this point in the history
Signed-off-by: Yuji Ito <llamerada.jp@gmail.com>
  • Loading branch information
llamerada-jp committed Jan 8, 2023
1 parent 4552ec0 commit 11a62f0
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 54 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This program automatically uses the latest stable version of WebRTC's source cod
At amd64 linux environment.

```sh
sudo dpkg --add-architecture i386
go run . build
go run . test
```
Expand Down
8 changes: 3 additions & 5 deletions configs/linux_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BuildDepsOpts:
- '--no-chromeos-fonts'
- '--no-nacl'
GnOpts:
- 'enable_libaom=false'
- 'libyuv_disable_jpeg=true'
- 'rtc_build_opus=false'
- 'rtc_enable_protobuf=false'
Expand All @@ -15,7 +16,6 @@ GnOpts:
- 'rtc_include_opus=false'
- 'rtc_include_pulse_audio=false'
- 'rtc_use_dummy_audio_file_devices=true'
- 'rtc_use_gtk=false'
- 'rtc_use_x11=false'
- 'target_cpu="x64"'
- 'target_os="linux"'
Expand All @@ -38,10 +38,8 @@ Headers:
- 'modules/audio_coding/include'
- 'modules/audio_device/include'
- 'modules/audio_processing/include'
# - 'modules/bitrate_controller/include'
- 'modules/congestion_controller/include'
- 'modules/include'
- 'modules/remote_bitrate_estimator/include'
- 'modules/rtp_rtcp/include'
- 'modules/rtp_rtcp/source'
- 'modules/utility/include'
Expand All @@ -50,21 +48,21 @@ Headers:
- 'modules/video_coding/codecs/vp9/include'
- 'modules/video_coding/include'
- 'pc'
# - 'rtc_base'
- 'system_wrappers/include'
# add by myself
- '.'
- 'call'
- 'common_video'
- 'common_video/include'
- 'common_video/generic_frame_descriptor'
- 'logging/rtc_event_log'
- 'logging/rtc_event_log/events'
- 'logging/rtc_event_log/encoder'
- 'modules/async_audio_processing'
- 'modules/rtp_rtcp/source/rtcp_packet'
- 'modules/video_coding'
- 'modules/video_coding/codecs/interface'
- 'p2p/base'
- 'video/config'
HeadersWithSubdir:
- 'api'
# add by myself
Expand Down
11 changes: 6 additions & 5 deletions configs/linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ BuildDepsOpts:
- '--no-nacl'
SysrootArch: arm64
GnOpts:
- 'enable_libaom=false'
- 'libyuv_disable_jpeg=true'
- 'rtc_build_opus=false'
- 'rtc_enable_protobuf=false'
Expand All @@ -16,12 +17,14 @@ GnOpts:
- 'rtc_include_opus=false'
- 'rtc_include_pulse_audio=false'
- 'rtc_use_dummy_audio_file_devices=true'
- 'rtc_use_gtk=false'
- 'rtc_use_x11=false'
- 'target_cpu="arm64"'
- 'target_os="linux"'
# avoid build error caused by using std::is_pod
- 'treat_warnings_as_errors=false'
- 'use_custom_libcxx=false'
- 'use_libjpeg_turbo=false'
- 'use_gtk=false'
- 'use_rtti=true'
- 'use_system_libjpeg=true'
BuildTargets:
Expand All @@ -39,10 +42,8 @@ Headers:
- 'modules/audio_coding/include'
- 'modules/audio_device/include'
- 'modules/audio_processing/include'
# - 'modules/bitrate_controller/include'
- 'modules/congestion_controller/include'
- 'modules/include'
- 'modules/remote_bitrate_estimator/include'
- 'modules/rtp_rtcp/include'
- 'modules/rtp_rtcp/source'
- 'modules/utility/include'
Expand All @@ -51,21 +52,21 @@ Headers:
- 'modules/video_coding/codecs/vp9/include'
- 'modules/video_coding/include'
- 'pc'
# - 'rtc_base'
- 'system_wrappers/include'
# add by myself
- '.'
- 'call'
- 'common_video'
- 'common_video/include'
- 'common_video/generic_frame_descriptor'
- 'logging/rtc_event_log'
- 'logging/rtc_event_log/events'
- 'logging/rtc_event_log/encoder'
- 'modules/async_audio_processing'
- 'modules/rtp_rtcp/source/rtcp_packet'
- 'modules/video_coding'
- 'modules/video_coding/codecs/interface'
- 'p2p/base'
- 'video/config'
HeadersWithSubdir:
- 'api'
# add by myself
Expand Down
11 changes: 6 additions & 5 deletions configs/linux_armhf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ BuildDepsOpts:
SysrootArch: arm
GnOpts:
- 'arm_float_abi="hard"'
- 'enable_libaom=false'
- 'libyuv_disable_jpeg=true'
- 'rtc_build_opus=false'
- 'rtc_enable_protobuf=false'
Expand All @@ -17,12 +18,14 @@ GnOpts:
- 'rtc_include_opus=false'
- 'rtc_include_pulse_audio=false'
- 'rtc_use_dummy_audio_file_devices=true'
- 'rtc_use_gtk=false'
- 'rtc_use_x11=false'
- 'target_cpu="arm"'
- 'target_os="linux"'
# avoid build error caused by using std::is_pod
- 'treat_warnings_as_errors=false'
- 'use_custom_libcxx=false'
- 'use_libjpeg_turbo=false'
- 'use_gtk=false'
- 'use_rtti=true'
- 'use_system_libjpeg=true'
BuildTargets:
Expand All @@ -40,10 +43,8 @@ Headers:
- 'modules/audio_coding/include'
- 'modules/audio_device/include'
- 'modules/audio_processing/include'
# - 'modules/bitrate_controller/include'
- 'modules/congestion_controller/include'
- 'modules/include'
- 'modules/remote_bitrate_estimator/include'
- 'modules/rtp_rtcp/include'
- 'modules/rtp_rtcp/source'
- 'modules/utility/include'
Expand All @@ -52,21 +53,21 @@ Headers:
- 'modules/video_coding/codecs/vp9/include'
- 'modules/video_coding/include'
- 'pc'
# - 'rtc_base'
- 'system_wrappers/include'
# add by myself
- '.'
- 'call'
- 'common_video'
- 'common_video/include'
- 'common_video/generic_frame_descriptor'
- 'logging/rtc_event_log'
- 'logging/rtc_event_log/events'
- 'logging/rtc_event_log/encoder'
- 'modules/async_audio_processing'
- 'modules/rtp_rtcp/source/rtcp_packet'
- 'modules/video_coding'
- 'modules/video_coding/codecs/interface'
- 'p2p/base'
- 'video/config'
HeadersWithSubdir:
- 'api'
# add by myself
Expand Down
11 changes: 6 additions & 5 deletions configs/linux_i386.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ BuildDepsOpts:
- '--no-nacl'
SysrootArch: x86
GnOpts:
- 'enable_libaom=false'
- 'libyuv_disable_jpeg=true'
- 'rtc_build_opus=false'
- 'rtc_enable_protobuf=false'
Expand All @@ -16,12 +17,14 @@ GnOpts:
- 'rtc_include_opus=false'
- 'rtc_include_pulse_audio=false'
- 'rtc_use_dummy_audio_file_devices=true'
- 'rtc_use_gtk=false'
- 'rtc_use_x11=false'
- 'target_cpu="x86"'
- 'target_os="linux"'
# avoid build error caused by using std::is_pod
- 'treat_warnings_as_errors=false'
- 'use_custom_libcxx=false'
- 'use_libjpeg_turbo=false'
- 'use_gtk=false'
- 'use_rtti=true'
- 'use_system_libjpeg=true'
BuildTargets:
Expand All @@ -39,10 +42,8 @@ Headers:
- 'modules/audio_coding/include'
- 'modules/audio_device/include'
- 'modules/audio_processing/include'
# - 'modules/bitrate_controller/include'
- 'modules/congestion_controller/include'
- 'modules/include'
- 'modules/remote_bitrate_estimator/include'
- 'modules/rtp_rtcp/include'
- 'modules/rtp_rtcp/source'
- 'modules/utility/include'
Expand All @@ -51,21 +52,21 @@ Headers:
- 'modules/video_coding/codecs/vp9/include'
- 'modules/video_coding/include'
- 'pc'
# - 'rtc_base'
- 'system_wrappers/include'
# add by myself
- '.'
- 'call'
- 'common_video'
- 'common_video/include'
- 'common_video/generic_frame_descriptor'
- 'logging/rtc_event_log'
- 'logging/rtc_event_log/events'
- 'logging/rtc_event_log/encoder'
- 'modules/async_audio_processing'
- 'modules/rtp_rtcp/source/rtcp_packet'
- 'modules/video_coding'
- 'modules/video_coding/codecs/interface'
- 'p2p/base'
- 'video/config'
HeadersWithSubdir:
- 'api'
# add by myself
Expand Down
6 changes: 2 additions & 4 deletions configs/macos_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ Headers:
- 'modules/audio_coding/include'
- 'modules/audio_device/include'
- 'modules/audio_processing/include'
# - 'modules/bitrate_controller/include'
- 'modules/congestion_controller/include'
- 'modules/include'
- 'modules/remote_bitrate_estimator/include'
- 'modules/rtp_rtcp/include'
- 'modules/rtp_rtcp/source'
- 'modules/utility/include'
Expand All @@ -44,21 +42,21 @@ Headers:
- 'modules/video_coding/codecs/vp9/include'
- 'modules/video_coding/include'
- 'pc'
# - 'rtc_base'
- 'system_wrappers/include'
# add by myself
- '.'
- 'call'
- 'common_video'
- 'common_video/include'
- 'common_video/generic_frame_descriptor'
- 'logging/rtc_event_log'
- 'logging/rtc_event_log/events'
- 'logging/rtc_event_log/encoder'
- 'modules/async_audio_processing'
- 'modules/rtp_rtcp/source/rtcp_packet'
- 'modules/video_coding'
- 'modules/video_coding/codecs/interface'
- 'p2p/base'
- 'video/config'
HeadersWithSubdir:
- 'api'
# add by myself
Expand Down
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ifeq ($(ARCH),arm64)
endif

# build option
CXX_FLAGS := $(CXX_FLAGS) -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden
CXX_FLAGS := $(CXX_FLAGS) -std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden

# build option by OS
ifeq ($(shell uname),Linux)
Expand Down
Loading

0 comments on commit 11a62f0

Please sign in to comment.