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/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 # Depend upon //ash/public/cpp:ash_public_cpp, which has a public_dep on this. | 7 # Depend upon //ash/public/cpp:ash_public_cpp, which has a public_dep on this. |
8 # The two targets must be bundled together as the typemaps depend upon | 8 # The two targets must be bundled together as the typemaps depend upon |
9 # //ash/public/cpp, and //ash/public/cpp needs to depend on this for generated | 9 # //ash/public/cpp, and //ash/public/cpp needs to depend on this for generated |
10 # code (such as enums and constants). | 10 # code (such as enums and constants). |
11 mojom("interfaces_internal") { | 11 mojom("interfaces_internal") { |
12 # TODO(crbug.com/702397): Eliminate ash/public/cpp:unit_tests deps on this. | 12 visibility = [ "//ash/public/cpp:ash_public_cpp" ] |
13 visibility = [ "//ash/public/cpp:*" ] | |
14 | 13 |
15 sources = [ | 14 sources = [ |
16 "accelerator_controller.mojom", | 15 "accelerator_controller.mojom", |
17 "cast_config.mojom", | 16 "cast_config.mojom", |
18 "constants.mojom", | 17 "constants.mojom", |
19 "locale.mojom", | 18 "locale.mojom", |
20 "media.mojom", | 19 "media.mojom", |
21 "new_window.mojom", | 20 "new_window.mojom", |
22 "session_controller.mojom", | 21 "session_controller.mojom", |
23 "shelf.mojom", | 22 "shelf.mojom", |
(...skipping 11 matching lines...) Expand all Loading... |
35 "//components/signin/public/interfaces", | 34 "//components/signin/public/interfaces", |
36 "//mojo/common:common_custom_types", | 35 "//mojo/common:common_custom_types", |
37 "//skia/public/interfaces", | 36 "//skia/public/interfaces", |
38 "//ui/events/mojo:interfaces", | 37 "//ui/events/mojo:interfaces", |
39 ] | 38 ] |
40 | 39 |
41 export_class_attribute = "ASH_PUBLIC_EXPORT" | 40 export_class_attribute = "ASH_PUBLIC_EXPORT" |
42 export_define = "ASH_PUBLIC_IMPLEMENTATION=1" | 41 export_define = "ASH_PUBLIC_IMPLEMENTATION=1" |
43 export_header = "ash/public/cpp/ash_public_export.h" | 42 export_header = "ash/public/cpp/ash_public_export.h" |
44 } | 43 } |
OLD | NEW |