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

Side by Side Diff: pkg/BUILD.gn

Issue 2451613005: Format GN files and add a presubmit check that GN is properly formatted (Closed)
Patch Set: Fix gn args Created 4 years, 1 month 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
« no previous file with comments | « build/config/mac/BUILD.gn ('k') | runtime/BUILD.gn » ('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) 2016, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2016, 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 import("../utils/create_timestamp.gni") 5 import("../utils/create_timestamp.gni")
6 6
7 template("make_third_party_pkg_files_stamp") { 7 template("make_third_party_pkg_files_stamp") {
8 assert(defined(invoker.id), "Must define the stamp file id") 8 assert(defined(invoker.id), "Must define the stamp file id")
9 path = rebase_path("../third_party/pkg") 9 path = rebase_path("../third_party/pkg")
10 if (defined(invoker.path)) { 10 if (defined(invoker.path)) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 ":make_third_party_pkg_files_1_stamp", 47 ":make_third_party_pkg_files_1_stamp",
48 ":make_third_party_pkg_files_2_stamp", 48 ":make_third_party_pkg_files_2_stamp",
49 ":make_third_party_pkg_files_3_stamp", 49 ":make_third_party_pkg_files_3_stamp",
50 ] 50 ]
51 51
52 stamp0_outputs = get_target_outputs(":make_third_party_pkg_files_0_stamp") 52 stamp0_outputs = get_target_outputs(":make_third_party_pkg_files_0_stamp")
53 stamp1_outputs = get_target_outputs(":make_third_party_pkg_files_1_stamp") 53 stamp1_outputs = get_target_outputs(":make_third_party_pkg_files_1_stamp")
54 stamp2_outputs = get_target_outputs(":make_third_party_pkg_files_2_stamp") 54 stamp2_outputs = get_target_outputs(":make_third_party_pkg_files_2_stamp")
55 stamp3_outputs = get_target_outputs(":make_third_party_pkg_files_3_stamp") 55 stamp3_outputs = get_target_outputs(":make_third_party_pkg_files_3_stamp")
56 56
57 inputs = stamp0_outputs + 57 inputs = stamp0_outputs + stamp1_outputs + stamp2_outputs + stamp3_outputs
58 stamp1_outputs +
59 stamp2_outputs +
60 stamp3_outputs
61 58
62 outputs = [ 59 outputs = [
63 "$root_gen_dir/pkg_files.stamp" 60 "$root_gen_dir/pkg_files.stamp",
64 ] 61 ]
65 62
66 script = "../tools/create_timestamp_file.py" 63 script = "../tools/create_timestamp_file.py"
67 args = [ 64 args = [ rebase_path("$root_gen_dir/pkg_files.stamp") ]
68 rebase_path("$root_gen_dir/pkg_files.stamp"),
69 ]
70 } 65 }
OLDNEW
« no previous file with comments | « build/config/mac/BUILD.gn ('k') | runtime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698