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

Side by Side Diff: runtime/BUILD.gn

Issue 884523003: Add support for ignoring the svn revision when getting the version, use this for gn build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/make_version.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 config("dart_config") { 5 config("dart_config") {
6 defines = [] 6 defines = []
7 if (is_debug) { 7 if (is_debug) {
8 defines += ["DEBUG"] 8 defines += ["DEBUG"]
9 } else { 9 } else {
10 defines += ["NDEBUG"] 10 defines += ["NDEBUG"]
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "vm/version_in.cc", 69 "vm/version_in.cc",
70 ] 70 ]
71 output = "$target_gen_dir/version.cc" 71 output = "$target_gen_dir/version.cc"
72 outputs = [ output, ] 72 outputs = [ output, ]
73 73
74 script = "../tools/make_version.py" 74 script = "../tools/make_version.py"
75 args = [ 75 args = [
76 "--quiet", 76 "--quiet",
77 "--output", rebase_path(output, root_build_dir), 77 "--output", rebase_path(output, root_build_dir),
78 "--input", rebase_path("vm/version_in.cc", root_build_dir), 78 "--input", rebase_path("vm/version_in.cc", root_build_dir),
79 "--ignore_svn_revision",
79 ] 80 ]
80 } 81 }
81 82
82 83
83 executable("libdart_dependency_helper") { 84 executable("libdart_dependency_helper") {
84 deps = [ 85 deps = [
85 "vm:libdart_lib_withcore", 86 "vm:libdart_lib_withcore",
86 "vm:libdart_lib", 87 "vm:libdart_lib",
87 "vm:libdart_vm", 88 "vm:libdart_vm",
88 "vm:libdart_platform", 89 "vm:libdart_platform",
89 "third_party/jscre:libjscre", 90 "third_party/jscre:libjscre",
90 "third_party/double-conversion/src:libdouble_conversion", 91 "third_party/double-conversion/src:libdouble_conversion",
91 ] 92 ]
92 sources = [ 93 sources = [
93 "vm/libdart_dependency_helper.cc", 94 "vm/libdart_dependency_helper.cc",
94 ] 95 ]
95 } 96 }
OLDNEW
« no previous file with comments | « no previous file | tools/make_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698