Update documentation links in docs/native-code/development/index.md

Bug: webrtc:14917
Change-Id: I32af7aa103331e043095b10596646a950632dadb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/294290
Auto-Submit: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39353}
diff --git a/docs/native-code/development/index.md b/docs/native-code/development/index.md
index d969c76..7bb290c 100644
--- a/docs/native-code/development/index.md
+++ b/docs/native-code/development/index.md
@@ -275,9 +275,9 @@
 
 
 [ninja]: https://ninja-build.org/
-[ninja-build-rules]: https://gn.googlesource.com/gn/+/master/docs/reference.md#the-all-and-default-rules
-[gn]: https://gn.googlesource.com/gn/+/master/README.md
-[gn-doc]: https://gn.googlesource.com/gn/+/master/docs/reference.md#IDE-options
+[ninja-build-rules]: https://gn.googlesource.com/gn/+/main/docs/reference.md#the-all-and-default-rules
+[gn]: https://gn.googlesource.com/gn/+/main/README.md
+[gn-doc]: https://gn.googlesource.com/gn/+/main/docs/reference.md#IDE-options
 [webrtc-android-development]: https://webrtc.googlesource.com/src/+/main/docs/native-code/android/index.md
 [webrtc-ios-development]: https://webrtc.googlesource.com/src/+/main/docs/native-code/ios/index.md
 [chromium-work-branches]: https://www.chromium.org/developers/how-tos/get-the-code/working-with-branches