@@ -374,7 +374,7 @@ def get_webrtc(source_dir, patch_dir, version, target,
374374 cmd (['git' , 'branch' ])
375375 cmd (['git' , 'checkout' , '-f' , version ])
376376 cmd (['git' , 'clean' , '-df' ])
377- cmd (['gclient' , 'sync' , '-D' , '--force' , '--reset' , '--no-history' , '--jobs=8' ])
377+ cmd (['gclient' , 'sync' , '-D' , '--force' , '--reset' , '--revision' , version , '-- no-history' , '--jobs=8' ])
378378 for patch in PATCHES [target ]:
379379 depth , dirs = PATCH_INFO .get (patch , (1 , ['.' ]))
380380 dir = os .path .join (src_dir , * dirs )
@@ -752,7 +752,8 @@ def build_webrtc(
752752 f'target_cpu="{ target_cpus [target ]} "' ,
753753 "use_custom_libcxx=false" ,
754754 "use_custom_libcxx_for_host=false" ,
755- "is_clang=true"
755+ "is_clang=true" ,
756+ 'use_lld=false' ,
756757 ]
757758 elif target in ('macos_x86_64' , 'macos_arm64' ):
758759 gn_args += [
@@ -1218,7 +1219,7 @@ def main():
12181219 commit = version_info .webrtc_commit
12191220 if args .commit :
12201221 commit = args .commit
1221-
1222+
12221223 print ("Building for commit: " , commit )
12231224
12241225 # ソース取得
0 commit comments