OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 mojom = "//media/mojo/interfaces/media_types.mojom" |
| 6 |
| 7 # Additional headers required by any code which would depend on the mojom |
| 8 # definition of media.mojom.VideoFrame now that the typemap is applied. Any |
| 9 # headers required for the native target type definition should be listed here. |
| 10 public_headers = [ |
| 11 "//base/memory/ref_counted.h", |
| 12 "//media/base/video_frame.h", |
| 13 ] |
| 14 |
| 15 # Headers which contain the relevant StructTraits specialization(s) for any |
| 16 # type mappings described by this file. |
| 17 traits_headers = [ "//media/mojo/interfaces/video_frame_struct_traits.h" ] |
| 18 |
| 19 sources = [ |
| 20 "video_frame_struct_traits.cc", |
| 21 ] |
| 22 |
| 23 # Target dependencies exposed by the public_headers and traits_headers. |
| 24 public_deps = [ |
| 25 "//base", |
| 26 "//media", |
| 27 ] |
| 28 |
| 29 deps = [ |
| 30 "//gpu/ipc/common:struct_traits", |
| 31 "//media/base/ipc", |
| 32 "//media/mojo/common:mojo_shared_buffer_video_frame", |
| 33 "//mojo/common:struct_traits", |
| 34 "//ui/gfx/geometry/mojo:struct_traits", |
| 35 ] |
| 36 |
| 37 type_mappings = [ "media.mojom.VideoFrame=scoped_refptr<media::VideoFrame>[nulla
ble_is_same_type]" ] |
OLD | NEW |