Migrated GN target :g722_test

Migrated GN target :g722_test from
webrtc/modules/audio_coding/codecs/g722/g722.gypi

NOTRY=True

BUG=webrtc:6191

Review-Url: https://codereview.webrtc.org/2275463002
Cr-Commit-Position: refs/heads/master@{#13865}
diff --git a/.gn b/.gn
index 24ca3c1..6bbe648 100644
--- a/.gn
+++ b/.gn
@@ -25,6 +25,7 @@
   "//webrtc/modules/audio_coding:isac_fix_test",
   "//webrtc/modules/audio_mixer:audio_conference_mixer",
   "//webrtc/modules/audio_coding:g711_test",
+  "//webrtc/modules/audio_coding:g722_test",
 ]
 
 # These are the list of GN files that run exec_script. This whitelist exists
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index 8a224ca..5cd6a6d 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -1554,4 +1554,20 @@
       ":g711",
     ]
   }
+
+  executable("g722_test") {
+    testonly = true
+
+    sources = [
+      "codecs/g722/test/testG722.cc",
+    ]
+
+    configs += [ "../..:common_config" ]
+    public_configs = [ "../..:common_inherited_config" ]
+
+    deps = [
+      ":g722",
+      "../..:webrtc_common",
+    ]
+  }
 }
diff --git a/webrtc/modules/audio_coding/codecs/g722/g722.gypi b/webrtc/modules/audio_coding/codecs/g722/g722.gypi
index 756fabe..82b7b2e 100644
--- a/webrtc/modules/audio_coding/codecs/g722/g722.gypi
+++ b/webrtc/modules/audio_coding/codecs/g722/g722.gypi
@@ -34,6 +34,7 @@
           'type': 'executable',
           'dependencies': [
             'g722',
+            '<(webrtc_root)/common.gyp:webrtc_common'
           ],
           'sources': [
             'test/testG722.cc',