| 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 mojom("interfaces") { | 7 mojom("interfaces") { |
| 8 sources = [ | 8 sources = [ |
| 9 "audio_decoder.mojom", | 9 "audio_decoder.mojom", |
| 10 "audio_output_stream.mojom", | 10 "audio_output_stream.mojom", |
| 11 "audio_parameters.mojom", | 11 "audio_parameters.mojom", |
| 12 "content_decryption_module.mojom", | 12 "content_decryption_module.mojom", |
| 13 "decryptor.mojom", | 13 "decryptor.mojom", |
| 14 "demuxer_stream.mojom", | 14 "demuxer_stream.mojom", |
| 15 "interface_factory.mojom", | 15 "interface_factory.mojom", |
| 16 "media_service.mojom", | 16 "media_service.mojom", |
| 17 "media_types.mojom", | 17 "media_types.mojom", |
| 18 "output_protection.mojom", | 18 "output_protection.mojom", |
| 19 "provision_fetcher.mojom", | 19 "provision_fetcher.mojom", |
| 20 "renderer.mojom", | 20 "renderer.mojom", |
| 21 "video_decoder.mojom", | 21 "video_decoder.mojom", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 if (is_android) { |
| 25 sources += [ "media_drm_storage.mojom" ] |
| 26 } |
| 27 |
| 24 if (is_chromeos) { | 28 if (is_chromeos) { |
| 25 sources += [ "platform_verification.mojom" ] | 29 sources += [ "platform_verification.mojom" ] |
| 26 } | 30 } |
| 27 | 31 |
| 28 if (is_android) { | 32 if (is_android) { |
| 29 sources += [ "android_overlay.mojom" ] | 33 sources += [ "android_overlay.mojom" ] |
| 30 } | 34 } |
| 31 | 35 |
| 32 public_deps = [ | 36 public_deps = [ |
| 33 "//gpu/ipc/common:interfaces", | 37 "//gpu/ipc/common:interfaces", |
| 34 "//mojo/common:common_custom_types", | 38 "//mojo/common:common_custom_types", |
| 35 "//services/service_manager/public/interfaces", | 39 "//services/service_manager/public/interfaces", |
| 36 "//ui/gfx/geometry/mojo", | 40 "//ui/gfx/geometry/mojo", |
| 37 "//url/mojo:url_mojom_gurl", | 41 "//url/mojo:url_mojom_gurl", |
| 42 "//url/mojo:url_mojom_origin", |
| 38 ] | 43 ] |
| 39 } | 44 } |
| 40 | 45 |
| 41 mojom("remoting") { | 46 mojom("remoting") { |
| 42 sources = [ | 47 sources = [ |
| 43 "remoting.mojom", | 48 "remoting.mojom", |
| 44 ] | 49 ] |
| 45 } | 50 } |
| OLD | NEW |