| 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 mojom("interfaces") { | 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 |
| 9 # //ash/public/cpp, and //ash/public/cpp needs to depend on this for generated |
| 10 # code (such as enums and constants). |
| 11 mojom("interfaces_internal") { |
| 12 visibility = [ "//ash/public/cpp:ash_public_cpp" ] |
| 13 |
| 8 sources = [ | 14 sources = [ |
| 9 "accelerator_controller.mojom", | 15 "accelerator_controller.mojom", |
| 10 "cast_config.mojom", | 16 "cast_config.mojom", |
| 11 "constants.mojom", | 17 "constants.mojom", |
| 12 "locale.mojom", | 18 "locale.mojom", |
| 13 "media.mojom", | 19 "media.mojom", |
| 14 "new_window.mojom", | 20 "new_window.mojom", |
| 15 "session_controller.mojom", | 21 "session_controller.mojom", |
| 16 "shelf.mojom", | 22 "shelf.mojom", |
| 17 "shutdown.mojom", | 23 "shutdown.mojom", |
| 18 "system_tray.mojom", | 24 "system_tray.mojom", |
| 19 "touch_view.mojom", | 25 "touch_view.mojom", |
| 20 "update.mojom", | 26 "update.mojom", |
| 21 "volume.mojom", | 27 "volume.mojom", |
| 22 "vpn_list.mojom", | 28 "vpn_list.mojom", |
| 23 "wallpaper.mojom", | 29 "wallpaper.mojom", |
| 24 ] | 30 ] |
| 25 | 31 |
| 26 public_deps = [ | 32 public_deps = [ |
| 27 "//components/signin/public/interfaces", | 33 "//components/signin/public/interfaces", |
| 28 "//skia/public/interfaces", | 34 "//skia/public/interfaces", |
| 29 ] | 35 ] |
| 36 |
| 37 export_class_attribute = "ASH_PUBLIC_EXPORT" |
| 38 export_define = "ASH_PUBLIC_IMPLEMENTATION=1" |
| 39 export_header = "ash/public/cpp/ash_public_export.h" |
| 30 } | 40 } |
| OLD | NEW |