OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |