File chromium-last-commit-position-r0.patch of Package chromium.openSUSE_Leap_42.3_Update

Index: chromium-60.0.3107.4/tools/gn/gn_main.cc
===================================================================
--- chromium-60.0.3107.4.orig/tools/gn/gn_main.cc
+++ chromium-60.0.3107.4/tools/gn/gn_main.cc
@@ -12,13 +12,7 @@
 #include "tools/gn/standard_out.h"
 #include "tools/gn/switches.h"
 
-// Only the GN-generated build makes this header for now.
-// TODO(brettw) consider adding this if we need it in GYP.
-#if defined(GN_BUILD)
-#include "tools/gn/last_commit_position.h"
-#else
 #define LAST_COMMIT_POSITION "UNKNOWN"
-#endif
 
 namespace {
 
Index: chromium-60.0.3107.4/tools/gn/BUILD.gn
===================================================================
--- chromium-60.0.3107.4.orig/tools/gn/BUILD.gn
+++ chromium-60.0.3107.4/tools/gn/BUILD.gn
@@ -268,7 +268,6 @@ executable("gn") {
 
   deps = [
     ":gn_lib",
-    ":last_commit_position",
     "//base",
     "//build/config:exe_and_shlib_deps",
     "//build/win:default_exe_manifest",
openSUSE Build Service is sponsored by