| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This target generates a "last_change.h" header file in the generated files | 5 # This target generates a "last_change.h" header file in the generated files |
| 6 # directory that contains a define of the last revision of the source tree | 6 # directory that contains a define of the last revision of the source tree |
| 7 # of the form: | 7 # of the form: |
| 8 # #define LAST_CHANGE "123456" | 8 # #define LAST_CHANGE "123456" |
| 9 # | 9 # |
| 10 # The version is a string rather than an integer for extra flexibility (for | 10 # The version is a string rather than an integer for extra flexibility (for |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 build_relative_src = rebase_path("//", ".", root_build_dir) | 27 build_relative_src = rebase_path("//", ".", root_build_dir) |
| 28 build_relative_outputs = rebase_path(output_header, ".", root_build_dir) | 28 build_relative_outputs = rebase_path(output_header, ".", root_build_dir) |
| 29 | 29 |
| 30 args = [ | 30 args = [ |
| 31 "--source-dir=$build_relative_src", | 31 "--source-dir=$build_relative_src", |
| 32 "--header=$build_relative_outputs", | 32 "--header=$build_relative_outputs", |
| 33 "--version-macro=LAST_CHANGE", | 33 "--version-macro=LAST_CHANGE", |
| 34 ] | 34 ] |
| 35 } | 35 } |
| OLD | NEW |