diff --git a/dom/media/webrtc/third_party_build/elm_rebase.sh b/dom/media/webrtc/third_party_build/elm_rebase.sh index 270167dea365..7c0bdb9ef700 100644 --- a/dom/media/webrtc/third_party_build/elm_rebase.sh +++ b/dom/media/webrtc/third_party_build/elm_rebase.sh @@ -273,7 +273,7 @@ for commit in $COMMITS; do echo "MODIFIED_BUILD_RELATED_FILE_CNT: $MODIFIED_BUILD_RELATED_FILE_CNT" if [ "x$MODIFIED_BUILD_RELATED_FILE_CNT" != "x0" ]; then echo "Regenerate build files" - ./mach python python/mozbuild/mozbuild/gn_processor.py \ + ./mach python build/gn_processor.py \ dom/media/webrtc/third_party_build/gn-configs/webrtc.json || \ ( echo "$GENERATION_ERROR" ; exit 1 ) diff --git a/dom/media/webrtc/third_party_build/gn-configs/README.md b/dom/media/webrtc/third_party_build/gn-configs/README.md index 111d2d022e63..2d376a1b047c 100644 --- a/dom/media/webrtc/third_party_build/gn-configs/README.md +++ b/dom/media/webrtc/third_party_build/gn-configs/README.md @@ -6,11 +6,11 @@ the script under [WSL](https://docs.microsoft.com/en-us/windows/wsl/install). 1. The script should be run from the top directory of our firefox tree. ``` - ./mach python python/mozbuild/mozbuild/gn_processor.py dom/media/webrtc/third_party_build/gn-configs/webrtc.json + ./mach python build/gn_processor.py dom/media/webrtc/third_party_build/gn-configs/webrtc.json ``` 2. Checkin all the generated/modified files and try your build! # Adding new configurations to the build -Edit the `main` function in the `python/mozbuild/mozbuild/gn_processor.py` file. +Edit the `main` function in the `build/gn_processor.py` file. diff --git a/dom/media/webrtc/third_party_build/loop-ff.sh b/dom/media/webrtc/third_party_build/loop-ff.sh index ac182cf0a1bb..90b0052926aa 100644 --- a/dom/media/webrtc/third_party_build/loop-ff.sh +++ b/dom/media/webrtc/third_party_build/loop-ff.sh @@ -183,7 +183,7 @@ remain for this commit: --state-path $STATE_DIR \\ --target-branch-head $MOZ_TARGET_UPSTREAM_BRANCH_HEAD # generate moz.build files (may not be necessary) - ./mach python python/mozbuild/mozbuild/gn_processor.py \\ + ./mach python build/gn_processor.py \\ $SCRIPT_DIR/gn-configs/webrtc.json # commit the updated moz.build files with the appropriate commit msg bash $SCRIPT_DIR/commit-build-file-changes.sh @@ -222,7 +222,7 @@ BUILD.gn files are required. Commit those changes following the instructions in https://wiki.mozilla.org/Media/WebRTC/libwebrtc_Update_Process#Operational_notes Then complete these steps: # generate moz.build files (may not be necessary) - ./mach python python/mozbuild/mozbuild/gn_processor.py \\ + ./mach python build/gn_processor.py \\ $SCRIPT_DIR/gn-configs/webrtc.json # commit the updated moz.build files with the appropriate commit msg bash $SCRIPT_DIR/commit-build-file-changes.sh @@ -236,7 +236,7 @@ echo_log "Modified .gn, **/BUILD.gn, or **/*.gni files: $MODIFIED_BUILD_RELATED_ MOZ_BUILD_CHANGE_CNT=0 if [ "x$MODIFIED_BUILD_RELATED_FILE_CNT" != "x0" ]; then echo_log "Regenerate build files" - ./mach python python/mozbuild/mozbuild/gn_processor.py \ + ./mach python build/gn_processor.py \ $SCRIPT_DIR/gn-configs/webrtc.json 2>&1| tee -a $LOOP_OUTPUT_LOG MOZ_BUILD_CHANGE_CNT=`hg status third_party/libwebrtc \ diff --git a/third_party/abseil-cpp/README.mozilla b/third_party/abseil-cpp/README.mozilla index da25a75d7c98..8207fa7ae4b8 100644 --- a/third_party/abseil-cpp/README.mozilla +++ b/third_party/abseil-cpp/README.mozilla @@ -78,7 +78,7 @@ hg status -nu | xargs hg add # to regenerate moz.build files -./mach python python/mozbuild/mozbuild/gn_processor.py \ +./mach python build/gn_processor.py \ dom/media/webrtc/third_party_build/gn-configs/abseil.json hg status -nd | xargs hg rm hg status -nu | xargs hg add