OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 mojom = "//mojo/common/values.mojom" | 5 mojom = "//mojo/common/values.mojom" |
6 public_headers = [ "//base/values.h" ] | 6 public_headers = [ "//base/values.h" ] |
7 traits_headers = [ | 7 traits_headers = [ |
8 "//ipc/ipc_message_utils.h", | 8 "//ipc/ipc_message_utils.h", |
9 "//mojo/common/values_struct_traits.h", | 9 "//mojo/common/values_struct_traits.h", |
10 ] | 10 ] |
11 public_deps = [ | 11 public_deps = [ |
12 "//base", | 12 "//base", |
13 "//ipc", | 13 "//ipc", |
14 ] | 14 ] |
15 sources = [ | 15 sources = [ |
16 "values_struct_traits.cc", | 16 "values_struct_traits.cc", |
17 "values_struct_traits.h", | 17 "values_struct_traits.h", |
18 ] | 18 ] |
19 | 19 |
20 type_mappings = [ | 20 type_mappings = [ |
21 "mojo.common.mojom.DictionaryValue=std::unique_ptr<base::DictionaryValue>[move
_only,nullable_is_same_type]", | 21 "mojo.common.mojom.DictionaryValue=std::unique_ptr<base::DictionaryValue>[move
_only,nullable_is_same_type]", |
22 "mojo.common.mojom.LegacyListValue=base::ListValue", | 22 "mojo.common.mojom.LegacyListValue=base::ListValue[non_copyable_non_movable]", |
23 "mojo.common.mojom.ListValue=std::unique_ptr<base::ListValue>[move_only,nullab
le_is_same_type]", | 23 "mojo.common.mojom.ListValue=std::unique_ptr<base::ListValue>[move_only,nullab
le_is_same_type]", |
24 "mojo.common.mojom.Value=std::unique_ptr<base::Value>[move_only,nullable_is_sa
me_type]", | 24 "mojo.common.mojom.Value=std::unique_ptr<base::Value>[move_only,nullable_is_sa
me_type]", |
25 ] | 25 ] |
OLD | NEW |