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/public/dart/rules.gni") | 5 import("//mojo/public/dart/rules.gni") |
6 import("//mojo/services/mojo_services.gni") | 6 import("//mojo/services/mojo_services.gni") |
7 | 7 |
| 8 # TODO(johnmccutchan): Automate this. |
| 9 # for i in `find lib/|grep mojom.dart`;do echo \"$i\",;done |
| 10 bindings_sources = [ |
| 11 "lib/mojo/gpu.mojom.dart", |
| 12 "lib/mojo/clipboard.mojom.dart", |
| 13 "lib/mojo/view_manager_constants.mojom.dart", |
| 14 "lib/mojo/quads.mojom.dart", |
| 15 "lib/mojo/navigation.mojom.dart", |
| 16 "lib/mojo/display.mojom.dart", |
| 17 "lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart", |
| 18 "lib/mojo/window_manager_internal.mojom.dart", |
| 19 "lib/mojo/url_loader.mojom.dart", |
| 20 "lib/mojo/content_handler.mojom.dart", |
| 21 "lib/mojo/window_manager.mojom.dart", |
| 22 "lib/mojo/geocoder.mojom.dart", |
| 23 "lib/mojo/host_resolver.mojom.dart", |
| 24 "lib/mojo/command_buffer.mojom.dart", |
| 25 "lib/mojo/http_server.mojom.dart", |
| 26 "lib/mojo/files/file.mojom.dart", |
| 27 "lib/mojo/files/ioctl_terminal.mojom.dart", |
| 28 "lib/mojo/files/directory.mojom.dart", |
| 29 "lib/mojo/files/files.mojom.dart", |
| 30 "lib/mojo/files/types.mojom.dart", |
| 31 "lib/mojo/files/ioctl.mojom.dart", |
| 32 "lib/mojo/asset_bundle/asset_bundle.mojom.dart", |
| 33 "lib/mojo/net_address.mojom.dart", |
| 34 "lib/mojo/ui/view_provider.mojom.dart", |
| 35 "lib/mojo/ui/views.mojom.dart", |
| 36 "lib/mojo/ui/view_trees.mojom.dart", |
| 37 "lib/mojo/ui/layouts.mojom.dart", |
| 38 "lib/mojo/ui/view_manager.mojom.dart", |
| 39 "lib/mojo/web_socket.mojom.dart", |
| 40 "lib/mojo/url_loader_interceptor.mojom.dart", |
| 41 "lib/mojo/viewport_parameter_listener.mojom.dart", |
| 42 "lib/mojo/location.mojom.dart", |
| 43 "lib/mojo/service_registry.mojom.dart", |
| 44 "lib/mojo/network_service.mojom.dart", |
| 45 "lib/mojo/http_message.mojom.dart", |
| 46 "lib/mojo/cookie_store.mojom.dart", |
| 47 "lib/mojo/input_events.mojom.dart", |
| 48 "lib/mojo/udp_socket.mojom.dart", |
| 49 "lib/mojo/http_connection.mojom.dart", |
| 50 "lib/mojo/native_viewport.mojom.dart", |
| 51 "lib/mojo/tcp_connected_socket.mojom.dart", |
| 52 "lib/mojo/input_key_codes.mojom.dart", |
| 53 "lib/mojo/sharing.mojom.dart", |
| 54 "lib/mojo/gpu_capabilities.mojom.dart", |
| 55 "lib/mojo/context_provider.mojom.dart", |
| 56 "lib/mojo/animations.mojom.dart", |
| 57 "lib/mojo/surface_id.mojom.dart", |
| 58 "lib/mojo/tcp_server_socket.mojom.dart", |
| 59 "lib/mojo/view_manager.mojom.dart", |
| 60 "lib/mojo/url_response_disk_cache.mojom.dart", |
| 61 "lib/mojo/terminal/terminal.mojom.dart", |
| 62 "lib/mojo/terminal/terminal_client.mojom.dart", |
| 63 "lib/mojo/geometry.mojom.dart", |
| 64 "lib/mojo/tcp_bound_socket.mojom.dart", |
| 65 "lib/mojo/input_event_constants.mojom.dart", |
| 66 "lib/mojo/surfaces.mojom.dart", |
| 67 "lib/mojo/device_info.mojom.dart", |
| 68 "lib/mojo/camera.mojom.dart", |
| 69 "lib/mojo/location_service.mojom.dart", |
| 70 "lib/contacts/contacts.mojom.dart", |
| 71 "lib/authentication/authentication.mojom.dart", |
| 72 "lib/tracing/tracing.mojom.dart", |
| 73 "lib/input/input.mojom.dart", |
| 74 "lib/prediction/prediction.mojom.dart", |
| 75 "lib/nfc/nfc.mojom.dart", |
| 76 "lib/native_support/process.mojom.dart", |
| 77 "lib/speech_recognizer/speech_recognizer.mojom.dart", |
| 78 "lib/http_server/http_server.mojom.dart", |
| 79 "lib/http_server/http_request.mojom.dart", |
| 80 "lib/http_server/http_server_factory.mojom.dart", |
| 81 "lib/http_server/http_response.mojom.dart", |
| 82 "lib/keyboard/keyboard.mojom.dart", |
| 83 "lib/notifications/notifications.mojom.dart", |
| 84 "lib/icu_data/icu_data.mojom.dart", |
| 85 "lib/sensors/sensors.mojom.dart", |
| 86 ] |
| 87 |
8 dart_pkg("mojo_services") { | 88 dart_pkg("mojo_services") { |
9 sources = [ | 89 sources = [ |
10 "CHANGELOG.md", | 90 "CHANGELOG.md", |
11 "README.md", | 91 "README.md", |
12 "pubspec.yaml", | 92 "pubspec.yaml", |
13 ] | 93 ] + bindings_sources |
14 | 94 |
15 deps = [ | 95 deps = [ |
16 "//mojo/public/dart", | 96 "//mojo/public/dart", |
17 "//mojo/services", | 97 "//mojo/services", |
18 ] | 98 ] |
19 } | 99 } |
OLD | NEW |