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

Side by Side Diff: mojo/public/dart/BUILD.gn

Issue 674383002: Initial work on Dart bindings for Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Merge. Work on templates. Created 6 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 | « mojo/public/BUILD.gn ('k') | mojo/public/dart/bindings/lib/bindings.dart » ('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 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 group("dart") {
6 deps = [
7 ":system",
8 ":bindings",
9 ]
10 }
11
12 group("system") {
13 deps = [
14 ":mojo_dart_system",
15 ":copy_system",
16 ]
17 }
18
19 shared_library("mojo_dart_system") {
20 dart_flags = "//mojo/dart/tools/find_api_include_path.py"
21 include_dirs = exec_script(dart_flags, [], "list lines")
22 defines = ["DART_SHARED_LIB"]
23 sources = [
24 "system/lib/src/mojo_dart_system.cc",
25 ]
26 deps = [
27 "//mojo/public/c/environment",
28 "//mojo/public/c/system:for_shared_library",
29 "//mojo/public/cpp/environment:standalone",
30 "//mojo/public/cpp/system",
31 "//mojo/public/cpp/utility",
32 "//mojo/public/cpp/bindings:callback",
33 ]
34 }
35
36 copy("copy_system") {
37 sources = [
38 "$root_out_dir/libmojo_dart_system.so",
39 ]
40 outputs = [
41 "$root_out_dir/gen/mojo/public/dart/system/lib/src/libmojo_dart_system.so"
42 ]
43 deps =[
44 ":mojo_dart_system"
45 ]
46 }
47
48 copy("bindings") {
49 sources = [
50 "bindings/lib/bindings.dart",
51 "bindings/lib/src/interface.dart",
52 "bindings/lib/src/client.dart",
53 "bindings/lib/src/codec.dart",
54 "bindings/test/codec_test.dart",
55 "system/lib/embedder.dart",
56 "system/lib/src/handle.dart",
57 "system/lib/src/types.dart",
58 "system/lib/src/buffer.dart",
59 "system/lib/src/handle_watcher.dart",
60 "system/lib/src/data_pipe.dart",
61 "system/lib/src/message_pipe.dart",
62 "system/lib/core.dart",
63 "system/tests/event_handler_test.dart",
64 "system/tests/core_test.dart",
65 "tests/echo_test.dart",
66 "tests/bindings_generation_test.dart",
67 "utils/lib/expect.dart",
68 ]
69 outputs = [
70 "{{source_gen_dir}}/{{source_file_part}}"
71 ]
72 }
OLDNEW
« no previous file with comments | « mojo/public/BUILD.gn ('k') | mojo/public/dart/bindings/lib/bindings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698