From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: deepak1556 <hop2deep@gmail.com>
Date: Fri, 10 Apr 2020 17:47:18 -0700
Subject: ui_gtk_public_header.patch

Allow electron to depend on gtk_util.h and gtk_ui.h from //ui/gtk/

diff --git a/ui/gtk/BUILD.gn b/ui/gtk/BUILD.gn
index 4093df78da0bbb1d8df743942f364cf728ad3414..2f7c404307bfebb0e2890148cf9b0d6d9c68094f 100644
--- a/ui/gtk/BUILD.gn
+++ b/ui/gtk/BUILD.gn
@@ -69,7 +69,11 @@ generate_stubs("gtk_stubs") {
 }
 
 component("gtk") {
-  public = [ "gtk_ui_factory.h" ]
+  public = [
+    "gtk_ui.h",
+    "gtk_ui_factory.h",
+    "gtk_util.h",
+  ]
 
   sources = [
     "gtk_color_mixers.cc",
@@ -79,13 +83,11 @@ component("gtk") {
     "gtk_key_bindings_handler.cc",
     "gtk_key_bindings_handler.h",
     "gtk_ui.cc",
-    "gtk_ui.h",
     "gtk_ui_factory.cc",
     "gtk_ui_platform.h",
     "gtk_ui_platform_stub.cc",
     "gtk_ui_platform_stub.h",
     "gtk_util.cc",
-    "gtk_util.h",
     "input_method_context_impl_gtk.cc",
     "input_method_context_impl_gtk.h",
     "native_theme_gtk.cc",
