| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 group("common") { | 8 group("common") { |
| 9 public_deps = [ | 9 public_deps = [ |
| 10 ":common_base", | 10 ":common_base", |
| 11 ":common_custom_types", | 11 ":common_custom_types", |
| 12 ] | 12 ] |
| 13 } | 13 } |
| 14 | 14 |
| 15 mojom("common_custom_types") { | 15 mojom("common_custom_types") { |
| 16 sources = [ | 16 sources = [ |
| 17 "common_custom_types.mojom", | 17 "file.mojom", |
| 18 "file_path.mojom", |
| 19 "string16.mojom", |
| 20 "time.mojom", |
| 21 "unguessable_token.mojom", |
| 22 "values.mojom", |
| 23 "version.mojom", |
| 18 ] | 24 ] |
| 19 } | 25 } |
| 20 | 26 |
| 21 component("common_base") { | 27 component("common_base") { |
| 22 output_name = "mojo_common_lib" | 28 output_name = "mojo_common_lib" |
| 23 | 29 |
| 24 sources = [ | 30 sources = [ |
| 25 "common_type_converters.cc", | 31 "common_type_converters.cc", |
| 26 "common_type_converters.h", | 32 "common_type_converters.h", |
| 27 "data_pipe_drainer.cc", | 33 "data_pipe_drainer.cc", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 sources = [ | 96 sources = [ |
| 91 "common_custom_types_struct_traits.cc", | 97 "common_custom_types_struct_traits.cc", |
| 92 "common_custom_types_struct_traits.h", | 98 "common_custom_types_struct_traits.h", |
| 93 ] | 99 ] |
| 94 deps = [ | 100 deps = [ |
| 95 ":common_custom_types_shared_cpp_sources", | 101 ":common_custom_types_shared_cpp_sources", |
| 96 "//base:base", | 102 "//base:base", |
| 97 "//mojo/public/cpp/system", | 103 "//mojo/public/cpp/system", |
| 98 ] | 104 ] |
| 99 } | 105 } |
| OLD | NEW |