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("//build/config/features.gni") |
5 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
6 | 7 |
7 mojom("interfaces") { | 8 mojom("interfaces") { |
8 sources = [ | 9 sources = [ |
9 "content_decryption_module.mojom", | 10 "content_decryption_module.mojom", |
10 "decryptor.mojom", | 11 "decryptor.mojom", |
11 "demuxer_stream.mojom", | 12 "demuxer_stream.mojom", |
12 "media_types.mojom", | 13 "media_types.mojom", |
13 "renderer.mojom", | 14 "renderer.mojom", |
14 "service_factory.mojom", | 15 "service_factory.mojom", |
15 ] | 16 ] |
16 | 17 |
17 if (is_chromeos) { | 18 if (use_cros_fe) { |
18 sources += [ "platform_verification.mojom" ] | 19 sources += [ "platform_verification.mojom" ] |
19 } | 20 } |
20 | 21 |
21 deps = [ | 22 deps = [ |
22 "//ui/mojo/geometry:interfaces", | 23 "//ui/mojo/geometry:interfaces", |
23 ] | 24 ] |
24 } | 25 } |
OLD | NEW |