Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1048)

Unified Diff: build/util/BUILD.gn

Issue 483403005: GN build improvemenst (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/gn/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/util/BUILD.gn
diff --git a/build/util/BUILD.gn b/build/util/BUILD.gn
index e8f21cfcf6b1be1b4b7b1a0fca30015ae8ae58a2..320c5ee2d38257237fee1364700a0c03d6d9f065 100644
--- a/build/util/BUILD.gn
+++ b/build/util/BUILD.gn
@@ -2,35 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# This target generates a "last_change.h" header file in the generated files
-# directory that contains a define of the last revision of the source tree
-# of the form:
-# #define LAST_CHANGE "123456"
-#
-# The version is a string rather than an integer for extra flexibility (for
-# example, we may require git hashes in the future).
-#
-# All you need to do is depend on this target, and then from your source code:
-# #include "build/util/last_change.h"
-action("last_change") {
- script = "lastchange.py"
-
- # Rerun the script any time this file changes.
- inputs = [ "//build/util/LASTCHANGE" ]
-
- output_header = "$target_gen_dir/last_change.h"
- outputs = [ output_header ]
-
- build_relative_src = rebase_path("//", root_build_dir)
- build_relative_outputs = rebase_path(output_header, root_build_dir)
-
- args = [
- "--source-dir=$build_relative_src",
- "--header=$build_relative_outputs",
- "--version-macro=LAST_CHANGE",
- ]
-}
-
action("webkit_version") {
script = "version.py"
« no previous file with comments | « no previous file | tools/gn/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698