Skip to content

Commit

Permalink
fix: perfettoを無効にする
Browse files Browse the repository at this point in the history
Signed-off-by: Zenichi Amano <crow.misia@gmail.com>
  • Loading branch information
crow-misia committed Aug 5, 2024
1 parent 06894d5 commit e2ef1cf
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 37 deletions.
8 changes: 4 additions & 4 deletions build.windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@ Get-PSDrive

Push-Location $WEBRTC_DIR\src
# WebRTC Debugビルド x64
gn gen $BUILD_DIR\debug_x64 --args='is_debug=true treat_warnings_as_errors=false rtc_use_h264=false rtc_include_tests=false rtc_build_tools=false rtc_build_examples=false is_component_build=false use_rtti=true use_custom_libcxx=false'
gn gen $BUILD_DIR\debug_x64 --args='is_debug=true treat_warnings_as_errors=false rtc_use_h264=false rtc_include_tests=false rtc_build_tools=false rtc_build_examples=false rtc_use_perfetto=false is_component_build=false use_rtti=true use_custom_libcxx=false'
ninja -C "$BUILD_DIR\debug_x64"

# WebRTC Releaseビルド x64
gn gen $BUILD_DIR\release_x64 --args='is_debug=false treat_warnings_as_errors=false rtc_use_h264=false rtc_include_tests=false rtc_build_tools=false rtc_build_examples=false is_component_build=false use_rtti=true strip_debug_info=true symbol_level=0 use_custom_libcxx=false'
gn gen $BUILD_DIR\release_x64 --args='is_debug=false treat_warnings_as_errors=false rtc_use_h264=false rtc_include_tests=false rtc_build_tools=false rtc_build_examples=false rtc_use_perfetto=false is_component_build=false use_rtti=true strip_debug_info=true symbol_level=0 use_custom_libcxx=false'
ninja -C "$BUILD_DIR\release_x64"

# WebRTC Debugビルド x86
gn gen $BUILD_DIR\debug_x86 --args='target_os=\"win\" target_cpu=\"x86\" is_debug=true treat_warnings_as_errors=false rtc_use_h264=false rtc_include_tests=false rtc_build_tools=false rtc_build_examples=false is_component_build=false use_rtti=true use_custom_libcxx=false'
gn gen $BUILD_DIR\debug_x86 --args='target_os=\"win\" target_cpu=\"x86\" is_debug=true treat_warnings_as_errors=false rtc_use_h264=false rtc_include_tests=false rtc_build_tools=false rtc_build_examples=false rtc_use_perfetto=false is_component_build=false use_rtti=true use_custom_libcxx=false'
ninja -C "$BUILD_DIR\debug_x86"

# WebRTC Releaseビルド x86
gn gen $BUILD_DIR\release_x86 --args='target_os=\"win\" target_cpu=\"x86\" is_debug=false treat_warnings_as_errors=false rtc_use_h264=false rtc_include_tests=false rtc_build_tools=false rtc_build_examples=false is_component_build=false use_rtti=true strip_debug_info=true symbol_level=0 use_custom_libcxx=false'
gn gen $BUILD_DIR\release_x86 --args='target_os=\"win\" target_cpu=\"x86\" is_debug=false treat_warnings_as_errors=false rtc_use_h264=false rtc_include_tests=false rtc_build_tools=false rtc_build_examples=false rtc_use_perfetto=false is_component_build=false use_rtti=true strip_debug_info=true symbol_level=0 use_custom_libcxx=false'
ninja -C "$BUILD_DIR\release_x86"
Pop-Location

Expand Down
11 changes: 6 additions & 5 deletions build/android/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ include ../common.mk
EXTRA_GN_ARGS := \
is_debug=false \
is_java_debug=false \
$(RTC_USE_H264) \
rtc_build_tools=false \
rtc_build_examples=false \
rtc_include_tests=false \
is_clang=true \
is_component_build=false \
rtc_enable_protobuf=false \
$(RTC_USE_H264) \
rtc_build_examples=false \
rtc_build_json=true \
rtc_build_tools=false \
rtc_enable_protobuf=false \
rtc_include_tests=false \
rtc_use_perfetto=false \
use_rtti=true

.PHONY: all
Expand Down
8 changes: 5 additions & 3 deletions build/ios/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ TARGET_CPU =
include ../common.mk

EXTRA_GN_ARGS := \
use_rtti=true \
is_debug=false
$(RTC_USE_H264) \
rtc_libvpx_build_vp9=true \
rtc_include_tests=false \
rtc_build_tools=false \
rtc_build_examples=false \
rtc_use_h264=false
rtc_build_tools=false \
rtc_use_perfetto=false \
use_rtti=true

.PHONY: all
all: clean build package
Expand Down
9 changes: 5 additions & 4 deletions build/linux-arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ EXTRA_GN_ARGS := \
$(RTC_USE_H264) \
$(RTC_USE_X11) \
rtc_include_tests=false \
rtc_build_tools=false \
rtc_build_examples=false \
rtc_use_pipewire=false \
rtc_build_json=true \
use_rtti=true \
rtc_build_tools=false \
rtc_use_perfetto=false \
rtc_use_pipewire=false \
use_custom_libcxx=false \
use_custom_libcxx_for_host=false
use_custom_libcxx_for_host=false \
use_rtti=true

.PHONY: all
all: clean build package
Expand Down
11 changes: 6 additions & 5 deletions build/linux-arm64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ EXTRA_GN_ARGS := \
is_debug=false \
$(RTC_USE_H264) \
$(RTC_USE_X11) \
rtc_include_tests=false \
rtc_build_tools=false \
rtc_build_examples=false \
rtc_use_pipewire=false \
rtc_build_json=true \
use_rtti=true \
rtc_build_tools=false \
rtc_include_tests=false \
rtc_use_perfetto=false \
rtc_use_pipewire=false \
use_custom_libcxx=false \
use_custom_libcxx_for_host=false
use_custom_libcxx_for_host=false \
use_rtti=true

.PHONY: all
all: clean build package
Expand Down
11 changes: 6 additions & 5 deletions build/linux-x64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ EXTRA_GN_ARGS := \
is_debug=false \
$(RTC_USE_H264) \
$(RTC_USE_X11) \
rtc_include_tests=false \
rtc_build_tools=false \
rtc_build_examples=false \
rtc_use_pipewire=false \
rtc_build_json=true \
use_rtti=true \
rtc_build_tools=false \
rtc_include_tests=false \
rtc_use_perfetto=false \
rtc_use_pipewire=false \
use_custom_libcxx=false \
use_custom_libcxx_for_host=false
use_custom_libcxx_for_host=false \
use_rtti=true

.PHONY: all
all: clean build package
Expand Down
15 changes: 8 additions & 7 deletions build/macos-arm64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ EXTRA_GN_ARGS := \
enable_stripping=true \
enable_dsyms=true \
is_debug=false \
is_component_build=false \
treat_warnings_as_errors=false \
$(RTC_USE_H264) \
rtc_include_tests=false \
rtc_build_tools=false \
rtc_build_examples=false \
rtc_libvpx_build_vp9=true \
rtc_enable_symbol_export=true \
rtc_build_tools=false \
rtc_enable_objc_symbol_export=true \
is_component_build=false \
use_rtti=true \
rtc_enable_symbol_export=true \
rtc_include_tests=false \
rtc_libvpx_build_vp9=true \
rtc_use_perfetto=false \
use_custom_libcxx=false \
use_custom_libcxx_for_host=false
use_custom_libcxx_for_host=false \
use_rtti=true

.PHONY: all
all: clean build package
Expand Down
9 changes: 5 additions & 4 deletions build/macos-x64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ EXTRA_GN_ARGS := \
enable_stripping=true \
enable_dsyms=true \
is_debug=false \
is_component_build=false \
treat_warnings_as_errors=false \
$(RTC_USE_H264) \
rtc_include_tests=false \
rtc_build_tools=false \
rtc_build_examples=false \
rtc_libvpx_build_vp9=true \
rtc_enable_symbol_export=true \
rtc_enable_objc_symbol_export=true \
is_component_build=false \
use_rtti=true \
rtc_libvpx_build_vp9=true \
rtc_use_perfetto=false \
use_custom_libcxx=false \
use_custom_libcxx_for_host=false
use_custom_libcxx_for_host=false \
use_rtti=true

.PHONY: all
all: clean build package
Expand Down

0 comments on commit e2ef1cf

Please sign in to comment.