fix args.gn

This commit is contained in:
Alexander Frick 2023-03-29 08:15:10 -05:00
parent fc048b32a7
commit 9d27771cb8
13 changed files with 100 additions and 34 deletions

View file

@ -57,12 +57,12 @@ use_vaapi = true
enable_library_cdms = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true

View file

@ -993,11 +993,8 @@ config("compiler_cpu_abi") {
# CPU architecture. We may or may not be doing a cross compile now, so for
# simplicity we always explicitly set the architecture.
if (current_cpu == "x64") {
cflags += [
"-m64",
"-msse3",
]
ldflags += [ "-m64" ]
cflags += []
ldflags += []
} else if (current_cpu == "x86") {
cflags += [ "-m32" ]
ldflags += [ "-m32" ]
@ -2037,16 +2034,16 @@ if (is_win) {
# TODO(thakis): Add LTO/PGO clang flags eventually, https://crbug.com/598772
}
} else {
common_optimize_on_cflags = []
common_optimize_on_ldflags = []
common_optimize_on_cflags += [
"-O3",
]
common_optimize_on_ldflags += [
"-Wl,-O3",
]
common_optimize_on_cflags = [ "-O3", ]
common_optimize_on_ldflags = [ "-Wl,-O3", ]
if (current_cpu == "arm64") {
common_optimize_on_cflags += [ "-march=armv8-a+simd", "-mtune=cortex-a72", "-mfloat-abi=hard", "-mfpu=neon-vfpv4", ]
common_optimize_on_ldflags += [ "-march=armv8-a+simd", ]
if (is_linux) {
common_optimize_on_cflags += [ "-Wno-unused-command-line-argument", ]
}
}
if (is_android) {
# TODO(jdduke) Re-enable on mips after resolving linking

View file

@ -63,11 +63,12 @@ use_vaapi = true
enable_library_cdms = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true

View file

@ -48,16 +48,17 @@ use_webaudio_pffft = true
# enable_dav1d_decoder = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
# enable_media_foundation_widevine_cdm = true
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true
rtc_build_with_neon = true
rtc_build_with_neon = false
rtc_build_examples = false
rtc_enable_avx2 = false
enable_vr = true

View file

@ -51,13 +51,13 @@ use_webaudio_pffft = true
enable_library_cdms = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
# enable_media_foundation_widevine_cdm = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true

View file

@ -46,7 +46,7 @@ use_webaudio_pffft = true
# enable_dav1d_decoder = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
# enable_media_foundation_widevine_cdm = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false

View file

@ -58,12 +58,12 @@ use_webaudio_pffft = false
enable_library_cdms = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true

View file

@ -51,12 +51,12 @@ use_webaudio_pffft = false
enable_library_cdms = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true

View file

@ -57,12 +57,12 @@ use_vaapi = true
enable_library_cdms = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true

View file

@ -47,13 +47,13 @@ use_webaudio_pffft = true
enable_library_cdms = true
enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
# enable_media_foundation_widevine_cdm = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true

68
pak_src/.gitignore vendored Normal file
View file

@ -0,0 +1,68 @@
# Prerequisites
*.d
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf
# pak file
*.pak
# pak unpacked files
tests/*
# builds
build_*/*
# codeblocks
bin/*
obj/*
*.cbp
*.depend
*.layout

View file

@ -98,7 +98,6 @@ void printHelp() {
if (ptr != NULL)
strcpy(selfName, ptr + 1);
printf(HELP_TEXT, selfName, selfName);
}

0
pak_src/test.sh Normal file → Executable file
View file