| 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 # GYP version: mojo/mojo_base.gyp:mojo_common_custom_types | 15 # GYP version: mojo/mojo_base.gyp:mojo_common_custom_types |
| 16 mojom("common_custom_types") { | 16 mojom("common_custom_types") { |
| 17 sources = [ | 17 sources = [ |
| 18 "common_custom_types.mojom", | 18 "common_custom_types.mojom", |
| 19 ] | 19 ] |
| 20 | |
| 21 use_new_wrapper_types = false | |
| 22 } | 20 } |
| 23 | 21 |
| 24 # GYP version: mojo/mojo_base.gyp:mojo_common_lib | 22 # GYP version: mojo/mojo_base.gyp:mojo_common_lib |
| 25 component("common_base") { | 23 component("common_base") { |
| 26 output_name = "mojo_common_lib" | 24 output_name = "mojo_common_lib" |
| 27 | 25 |
| 28 sources = [ | 26 sources = [ |
| 29 "common_type_converters.cc", | 27 "common_type_converters.cc", |
| 30 "common_type_converters.h", | 28 "common_type_converters.h", |
| 31 "data_pipe_drainer.cc", | 29 "data_pipe_drainer.cc", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 47 } | 45 } |
| 48 | 46 |
| 49 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types | 47 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types |
| 50 mojom("test_common_custom_types") { | 48 mojom("test_common_custom_types") { |
| 51 sources = [ | 49 sources = [ |
| 52 "test_common_custom_types.mojom", | 50 "test_common_custom_types.mojom", |
| 53 ] | 51 ] |
| 54 public_deps = [ | 52 public_deps = [ |
| 55 ":common_custom_types", | 53 ":common_custom_types", |
| 56 ] | 54 ] |
| 57 | |
| 58 use_new_wrapper_types = false | |
| 59 } | 55 } |
| 60 | 56 |
| 61 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests | 57 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests |
| 62 test("mojo_common_unittests") { | 58 test("mojo_common_unittests") { |
| 63 deps = [ | 59 deps = [ |
| 64 ":common", | 60 ":common", |
| 65 ":common_custom_types", | 61 ":common_custom_types", |
| 66 ":test_common_custom_types", | 62 ":test_common_custom_types", |
| 67 "//base", | 63 "//base", |
| 68 "//base:message_loop_tests", | 64 "//base:message_loop_tests", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 83 | 79 |
| 84 test("mojo_common_perftests") { | 80 test("mojo_common_perftests") { |
| 85 deps = [ | 81 deps = [ |
| 86 ":common", | 82 ":common", |
| 87 "//base", | 83 "//base", |
| 88 "//mojo/edk/test:run_all_perftests", | 84 "//mojo/edk/test:run_all_perftests", |
| 89 "//mojo/public/cpp/test_support:test_utils", | 85 "//mojo/public/cpp/test_support:test_utils", |
| 90 "//testing/gtest", | 86 "//testing/gtest", |
| 91 ] | 87 ] |
| 92 } | 88 } |
| OLD | NEW |