| 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 ":event", |
| 12 ] | 13 ] |
| 13 } | 14 } |
| 14 | 15 |
| 15 mojom("common_custom_types") { | 16 mojom("common_custom_types") { |
| 16 sources = [ | 17 sources = [ |
| 17 "common_custom_types.mojom", | 18 "common_custom_types.mojom", |
| 18 ] | 19 ] |
| 19 } | 20 } |
| 20 | 21 |
| 22 mojom("event") { |
| 23 sources = [ |
| 24 "event.mojom", |
| 25 ] |
| 26 } |
| 27 |
| 21 component("common_base") { | 28 component("common_base") { |
| 22 output_name = "mojo_common_lib" | 29 output_name = "mojo_common_lib" |
| 23 | 30 |
| 24 sources = [ | 31 sources = [ |
| 25 "common_type_converters.cc", | 32 "common_type_converters.cc", |
| 26 "common_type_converters.h", | 33 "common_type_converters.h", |
| 27 "data_pipe_drainer.cc", | 34 "data_pipe_drainer.cc", |
| 28 "data_pipe_drainer.h", | 35 "data_pipe_drainer.h", |
| 29 "data_pipe_file_utils.cc", | 36 "data_pipe_file_utils.cc", |
| 30 "data_pipe_utils.cc", | 37 "data_pipe_utils.cc", |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 source_set("struct_traits") { | 96 source_set("struct_traits") { |
| 90 sources = [ | 97 sources = [ |
| 91 "common_custom_types_struct_traits.cc", | 98 "common_custom_types_struct_traits.cc", |
| 92 "common_custom_types_struct_traits.h", | 99 "common_custom_types_struct_traits.h", |
| 93 ] | 100 ] |
| 94 deps = [ | 101 deps = [ |
| 95 ":common_custom_types_shared_cpp_sources", | 102 ":common_custom_types_shared_cpp_sources", |
| 96 "//base:base", | 103 "//base:base", |
| 97 ] | 104 ] |
| 98 } | 105 } |
| OLD | NEW |