| 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 "file.mojom", | 17 "file.mojom", |
| 18 "file_path.mojom", | 18 "file_path.mojom", |
| 19 "process_id.mojom", | 19 "process_id.mojom", |
| 20 "string16.mojom", | 20 "string16.mojom", |
| 21 "text_direction.mojom", | 21 "text_direction.mojom", |
| 22 "time.mojom", | 22 "time.mojom", |
| 23 "unguessable_token.mojom", | 23 "unguessable_token.mojom", |
| 24 "values.mojom", | 24 "values.mojom", |
| 25 "version.mojom", | 25 "version.mojom", |
| 26 ] | 26 ] |
| 27 |
| 28 # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| 29 use_new_js_bindings = false |
| 27 } | 30 } |
| 28 | 31 |
| 29 component("common_base") { | 32 component("common_base") { |
| 30 output_name = "mojo_common_lib" | 33 output_name = "mojo_common_lib" |
| 31 | 34 |
| 32 sources = [ | 35 sources = [ |
| 33 "data_pipe_drainer.cc", | 36 "data_pipe_drainer.cc", |
| 34 "data_pipe_drainer.h", | 37 "data_pipe_drainer.h", |
| 35 "data_pipe_utils.cc", | 38 "data_pipe_utils.cc", |
| 36 "data_pipe_utils.h", | 39 "data_pipe_utils.h", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 ] | 91 ] |
| 89 deps = [ | 92 deps = [ |
| 90 ":common_custom_types_shared_cpp_sources", | 93 ":common_custom_types_shared_cpp_sources", |
| 91 "//base:base", | 94 "//base:base", |
| 92 "//mojo/public/cpp/system", | 95 "//mojo/public/cpp/system", |
| 93 ] | 96 ] |
| 94 public_deps = [ | 97 public_deps = [ |
| 95 "//base:i18n", | 98 "//base:i18n", |
| 96 ] | 99 ] |
| 97 } | 100 } |
| OLD | NEW |