| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("../mojo_sdk.gni") | 5 import("../mojo_sdk.gni") |
| 6 import("rules.gni") | 6 import("rules.gni") |
| 7 | 7 |
| 8 dart_mojo_sdk_entrypoints = [ | 8 dart_mojo_sdk_entrypoints = [ |
| 9 "lib/application.dart", | 9 "lib/application.dart", |
| 10 "lib/bindings.dart", | 10 "lib/bindings.dart", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 "lib/src/message.dart", | 24 "lib/src/message.dart", |
| 25 "lib/src/message_pipe.dart", | 25 "lib/src/message_pipe.dart", |
| 26 "lib/src/proxy.dart", | 26 "lib/src/proxy.dart", |
| 27 "lib/src/struct.dart", | 27 "lib/src/struct.dart", |
| 28 "lib/src/stub.dart", | 28 "lib/src/stub.dart", |
| 29 "lib/src/types.dart", | 29 "lib/src/types.dart", |
| 30 "lib/src/union.dart", | 30 "lib/src/union.dart", |
| 31 "lib/src/utils.dart", | 31 "lib/src/utils.dart", |
| 32 ] | 32 ] |
| 33 | 33 |
| 34 dartzip_package("dart_dartzip") { | 34 dart_pkg("dart") { |
| 35 sources = dart_mojo_sdk_entrypoints + dart_mojo_sdk_sources + [ | |
| 36 "pubspec.yaml", | |
| 37 "CHANGELOG.md", | |
| 38 "README.md", | |
| 39 ] | |
| 40 uses_pub = true | |
| 41 package_name_override = "mojo" | |
| 42 deps = [ | |
| 43 "../interfaces/application", | |
| 44 "../interfaces/bindings", | |
| 45 "../interfaces/network", | |
| 46 ] | |
| 47 } | |
| 48 | |
| 49 dart_pkg("dart_pkg") { | |
| 50 libs = dart_mojo_sdk_entrypoints | 35 libs = dart_mojo_sdk_entrypoints |
| 51 sources = dart_mojo_sdk_sources + [ | 36 sources = dart_mojo_sdk_sources + [ |
| 52 "lib/_sdkext", | 37 "lib/_sdkext", |
| 53 "pubspec.yaml", | 38 "pubspec.yaml", |
| 54 "CHANGELOG.md", | 39 "CHANGELOG.md", |
| 55 "README.md", | 40 "README.md", |
| 56 ] | 41 ] |
| 57 | 42 |
| 58 sdk_ext_directory = "sdk_ext" | 43 sdk_ext_directory = "sdk_ext" |
| 59 | 44 |
| 60 # List of mojom targets that the mojo pkg exports | 45 # List of mojom targets that the mojo pkg exports |
| 61 deps = [ | 46 deps = [ |
| 62 "../interfaces", | 47 "../interfaces", |
| 63 ] | 48 ] |
| 64 } | 49 } |
| 65 | |
| 66 group("dart") { | |
| 67 deps = [ | |
| 68 ":dart_dartzip", | |
| 69 ":dart_pkg", | |
| 70 ] | |
| 71 } | |
| OLD | NEW |