Wrap empty_main with not is_clang.

This target is only needed by the GCC bot anyway. I hope this will
green up the clang ToT bots.

[email protected]

Bug: chromium:811764
Change-Id: Icd1d12f52387adc9b1b81d50f4cb75dc3f3b8694
Reviewed-on: https://chromium-review.googlesource.com/918441
Reviewed-by: Patrik Höglund <[email protected]>
Reviewed-by: Hans Wennborg <[email protected]>
Commit-Queue: Patrik Höglund <[email protected]>
Cr-Commit-Position: refs/heads/master@{#536689}
diff --git a/BUILD.gn b/BUILD.gn
index d488d53..74e66305 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -394,9 +394,12 @@
       "//net:quic_server",
       "//sandbox/linux:chrome_sandbox",
       "//sandbox/linux:sandbox_linux_unittests",
-      "//testing:empty_main",
     ]
 
+    if (!is_clang) {
+      deps += [ "//testing:empty_main" ]
+    }
+
     if (use_dbus) {
       deps += [
         "//dbus:dbus_test_server",