Use relative paths in GN files.

BUG=webrtc:7952
TBR=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2974863003
Cr-Commit-Position: refs/heads/master@{#18970}
diff --git a/webrtc/video/BUILD.gn b/webrtc/video/BUILD.gn
index 5faf280..e6f63f2 100644
--- a/webrtc/video/BUILD.gn
+++ b/webrtc/video/BUILD.gn
@@ -107,11 +107,11 @@
       "../modules/video_coding:webrtc_vp9",
       "../system_wrappers",
       "../test:test_common",
+      "../test:test_renderer",
       "../test:test_support",
+      "../test:video_test_common",
       "../voice_engine",
       "//testing/gtest",
-      "//webrtc/test:test_renderer",
-      "//webrtc/test:video_test_common",
     ]
     if (!build_with_chromium && is_clang) {
       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
@@ -126,7 +126,7 @@
     # gets additional generated targets which would require many lines here to
     # cover (which would be confusing to read and hard to maintain).
     if (!is_android && !is_ios) {
-      visibility = [ "//webrtc:webrtc_perf_tests" ]
+      visibility = [ "..:webrtc_perf_tests" ]
     }
     sources = [
       "full_stack_tests.cc",
@@ -135,9 +135,9 @@
       ":video_quality_test",
       "../modules/pacing:pacing",
       "../test:field_trial",
+      "../test:test_common",
       "../test:test_support",
       "//testing/gtest",
-      "//webrtc/test:test_common",
     ]
     if (!build_with_chromium && is_clang) {
       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
@@ -233,7 +233,7 @@
     # gets additional generated targets which would require many lines here to
     # cover (which would be confusing to read and hard to maintain).
     if (!is_android && !is_ios) {
-      visibility = [ "//webrtc:video_engine_tests" ]
+      visibility = [ "..:video_engine_tests" ]
     }
     defines = []
     sources = [