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

Side by Side Diff: sky/engine/bindings-dart/BUILD.gn

Issue 894613002: Dart: 2++ = 3 (Closed) Base URL: https://github.com/eseidel/skydart.git@master
Patch Set: sync 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
« no previous file with comments | « no previous file | sky/engine/bindings-dart/dart_master.h » ('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
2
3 source_set("bindings-dart") {
4 sources = [
5 "dart_master.h",
6 "dart_master.cpp"
eseidel 2015/02/02 05:30:54 Chromium is techincally .cc :p
rafaelw 2015/02/02 16:57:23 Fixed in follow-on patch.
7 ]
8 deps = [
9 ":dart_controller",
10 "//dart/runtime/bin:libdart_withcore",
11 "//base:base"
12 ]
13 }
14
15 action("generate_snapshot_bin") {
16 deps = [
17 "//dart/runtime/bin:gen_snapshot($host_toolchain)",
18 ]
19 inputs = [
20 "snapshot.dart",
21 "//dart/runtime/tools/create_snapshot_bin.py",
22 ]
23 output = "$target_gen_dir/snapshot_gen.bin"
24 outputs = [
25 output,
26 ]
27
28 gen_snapshot_dir = get_label_info(
29 "//dart/runtime/bin:gen_snapshot($host_toolchain)", "root_out_dir")
30 script = "//dart/runtime/tools/create_snapshot_bin.py"
31 args = [
32 "--executable", rebase_path("$gen_snapshot_dir/gen_snapshot"),
33 "--package_root", rebase_path("$root_gen_dir"),
34 "--script", rebase_path("snapshot.dart"),
35 "--output_bin", rebase_path(output, root_build_dir),
36 "--target_os", os,
37 ]
38 }
39
40 action("generate_snapshot_file") {
41 deps = [
42 ":generate_snapshot_bin",
43 ]
44 inputs = [
45 "//dart/runtime/tools/create_snapshot_file.py",
46 "snapshot.cc.tmpl",
47 "$target_gen_dir/snapshot_gen.bin",
48 ]
49 output = "$target_gen_dir/snapshot.cc"
50 outputs = [
51 output,
52 ]
53
54 script = "//dart/runtime/tools/create_snapshot_file.py"
55 args = [
56 "--input_bin", rebase_path("$target_gen_dir/snapshot_gen.bin"),
57 "--input_cc", rebase_path("snapshot.cc.tmpl"),
58 "--output", rebase_path(output),
59 ]
60 }
61
62 source_set("dart_controller") {
63 sources = [
64 "$target_gen_dir/snapshot.cc",
65 ]
66
67 deps = [
68 ":generate_snapshot_file"
69 ]
70 }
71
OLDNEW
« no previous file with comments | « no previous file | sky/engine/bindings-dart/dart_master.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698