OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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("../../tools/bindings/mojom.gni") | 5 import("../../tools/bindings/mojom.gni") |
6 | 6 |
7 # GYP version: mojo/public/mojo_public.gyp:mojo_application_bindings | 7 # GYP version: mojo/public/mojo_public.gyp:mojo_application_bindings |
8 mojom("application") { | 8 mojom("application") { |
9 sources = [ | 9 sources = [ |
10 "application.mojom", | 10 "application.mojom", |
11 "service_provider.mojom", | 11 "service_provider.mojom", |
12 "shell.mojom", | 12 "shell.mojom", |
13 ] | 13 ] |
14 | 14 |
15 # This base dir ensures that Dart's Mojo SDK can be imported with, e.g., | 15 # The import_from ensures that Dart's Mojo SDK can be imported with, e.g., |
16 # import 'package:mojo/public/dart/core.dart' even when the Mojo SDK lives | 16 # import 'package:mojo/public/dart/core.dart' even when the Mojo SDK lives |
17 # somewhere else in the source tree. | 17 # somewhere else in the source tree. |
18 base_dir = mojo_root | 18 import_from = mojo_root |
19 } | 19 } |
OLD | NEW |