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

Side by Side Diff: pkg/BUILD.gn

Issue 2567213002: Make list_files.py and list_dart_files.py return absolute paths for GN (Closed)
Patch Set: Comments and checking in scripts Created 4 years 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 | « create_sdk.gyp ('k') | pkg/pkg_files.gyp » ('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)) {
11 path = invoker.path 11 path = invoker.path
12 } 12 }
13 id = invoker.id 13 id = invoker.id
14 create_timestamp_file(target_name) { 14 create_timestamp_file(target_name) {
15 if (defined(invoker.pattern)) { 15 if (defined(invoker.pattern)) {
16 pattern = invoker.pattern 16 pattern = invoker.pattern
17 } 17 }
18 path = path 18 path = path
19 new_base = "//"
20 output = "$target_gen_dir/third_party_pkg_files_$id.stamp" 19 output = "$target_gen_dir/third_party_pkg_files_$id.stamp"
21 } 20 }
22 } 21 }
23 22
24 make_third_party_pkg_files_stamp("make_third_party_pkg_files_0_stamp") { 23 make_third_party_pkg_files_stamp("make_third_party_pkg_files_0_stamp") {
25 path = rebase_path(".") 24 path = rebase_path(".")
26 id = "0" 25 id = "0"
27 } 26 }
28 27
29 make_third_party_pkg_files_stamp("make_third_party_pkg_files_1_stamp") { 28 make_third_party_pkg_files_stamp("make_third_party_pkg_files_1_stamp") {
(...skipping 26 matching lines...) Expand all
56 55
57 inputs = stamp0_outputs + stamp1_outputs + stamp2_outputs + stamp3_outputs 56 inputs = stamp0_outputs + stamp1_outputs + stamp2_outputs + stamp3_outputs
58 57
59 outputs = [ 58 outputs = [
60 "$root_gen_dir/pkg_files.stamp", 59 "$root_gen_dir/pkg_files.stamp",
61 ] 60 ]
62 61
63 script = "../tools/create_timestamp_file.py" 62 script = "../tools/create_timestamp_file.py"
64 args = [ rebase_path("$root_gen_dir/pkg_files.stamp") ] 63 args = [ rebase_path("$root_gen_dir/pkg_files.stamp") ]
65 } 64 }
OLDNEW
« no previous file with comments | « create_sdk.gyp ('k') | pkg/pkg_files.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698