last-commit-position.patch 1.3 KB

1234567891011121314151617181920212223242526272829
  1. diff -pruN qtwebengine-opensource-src-5.9.1.orig/src/3rdparty/chromium/tools/gn/BUILD.gn qtwebengine-opensource-src-5.9.1/src/3rdparty/chromium/tools/gn/BUILD.gn
  2. --- qtwebengine-opensource-src-5.9.1.orig/src/3rdparty/chromium/tools/gn/BUILD.gn 2017-08-06 08:14:54.775770614 +0000
  3. +++ qtwebengine-opensource-src-5.9.1/src/3rdparty/chromium/tools/gn/BUILD.gn 2017-08-06 08:17:54.230085298 +0000
  4. @@ -269,7 +269,6 @@ executable("gn") {
  5. deps = [
  6. ":gn_lib",
  7. - ":last_commit_position",
  8. "//base",
  9. "//build/config/sanitizers:deps",
  10. "//build/win:default_exe_manifest",
  11. diff -pruN qtwebengine-opensource-src-5.9.1.orig/src/3rdparty/chromium/tools/gn/gn_main.cc qtwebengine-opensource-src-5.9.1/src/3rdparty/chromium/tools/gn/gn_main.cc
  12. --- qtwebengine-opensource-src-5.9.1.orig/src/3rdparty/chromium/tools/gn/gn_main.cc 2017-08-06 08:14:54.746771855 +0000
  13. +++ qtwebengine-opensource-src-5.9.1/src/3rdparty/chromium/tools/gn/gn_main.cc 2017-08-06 08:18:53.627541541 +0000
  14. @@ -12,13 +12,7 @@
  15. #include "tools/gn/standard_out.h"
  16. #include "tools/gn/switches.h"
  17. -// Only the GN-generated build makes this header for now.
  18. -// TODO(brettw) consider adding this if we need it in GYP.
  19. -#if defined(GN_BUILD)
  20. -#include "tools/gn/last_commit_position.h"
  21. -#else
  22. #define LAST_COMMIT_POSITION "UNKNOWN"
  23. -#endif
  24. namespace {