void-packages/srcpkgs/chromium/patches/last-commit-position.patch
2016-11-28 16:51:19 +01:00

26 lines
728 B
Diff

--- tools/gn/gn_main.cc.orig 2015-11-12 11:49:56.260549036 +0000
+++ tools/gn/gn_main.cc 2015-11-12 11:50:14.780931485 +0000
@@ -11,13 +11,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 {
--- tools/gn/BUILD.gn.orig 2015-11-12 11:50:43.513524769 +0000
+++ tools/gn/BUILD.gn 2015-11-12 11:50:57.697817632 +0000
@@ -227,7 +227,6 @@
deps = [
":gn_lib",
- ":last_commit_position",
"//base",
"//build/config/sanitizers:deps",
]