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

Side by Side Diff: pkg/BUILD.gn

Issue 2023703002: Beginning work on GN build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Really add //build. Add dart_bootstrap rule. Created 4 years, 6 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
« no previous file with comments | « build/toolchain/win/setup_toolchain.py ('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
(Empty)
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
3 # BSD-style license that can be found in the LICENSE file.
4
5 action("pkg") {
6 list_script = "../tools/list_pkg_directories.py"
7 pkg_list = exec_script(list_script, [rebase_path(".")], "list lines")
8 third_party_pkg_list = exec_script(
9 list_script, [rebase_path("../third_party/pkg")], "list lines")
10 third_party_pkg_tested_list = exec_script(
11 list_script, [rebase_path("../third_party/pkg_tested")], "list lines")
12 runtime_list = exec_script(
13 list_script, [rebase_path("../runtime")], "list lines")
14
15 inputs = pkg_list +
16 third_party_pkg_list +
17 third_party_pkg_tested_list +
18 runtime_list +
19 [rebase_path("../sdk/lib/_internal/js_runtime/lib"),
20 rebase_path("../sdk/lib/_internal/sdk_library_metadata/lib"),
21 rebase_path("../site/try"),]
22
23 timestamp_file = "$target_gen_dir/packages.stamp"
24 outputs = [
25 timestamp_file,
26 ]
27
28 script = "../tools/make_links.py"
29 args = [
30 "--timestamp_file",
31 rebase_path(timestamp_file),
32 rebase_path("$root_out_dir/packages"),] +
33 inputs +
34 # Pub imports dart2js as compiler_unsupported so it can work outside
35 # the SDK. Map that to the compiler package.
36 [rebase_path("compiler/lib") + ":compiler_unsupported",]
37 }
OLDNEW
« no previous file with comments | « build/toolchain/win/setup_toolchain.py ('k') | runtime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698