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 ":url_type_converters", | |
13 ] | 12 ] |
14 } | 13 } |
15 | 14 |
16 # GYP version: mojo/mojo_base.gyp:mojo_common_custom_types | 15 # GYP version: mojo/mojo_base.gyp:mojo_common_custom_types |
17 mojom("common_custom_types") { | 16 mojom("common_custom_types") { |
18 sources = [ | 17 sources = [ |
19 "common_custom_types.mojom", | 18 "common_custom_types.mojom", |
20 ] | 19 ] |
21 } | 20 } |
22 | 21 |
(...skipping 15 matching lines...) Expand all Loading... |
38 | 37 |
39 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] | 38 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] |
40 | 39 |
41 public_deps = [ | 40 public_deps = [ |
42 "//base", | 41 "//base", |
43 "//mojo/public/cpp/bindings", | 42 "//mojo/public/cpp/bindings", |
44 "//mojo/public/cpp/system", | 43 "//mojo/public/cpp/system", |
45 ] | 44 ] |
46 } | 45 } |
47 | 46 |
48 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters | |
49 source_set("url_type_converters") { | |
50 sources = [ | |
51 "url_type_converters.cc", | |
52 "url_type_converters.h", | |
53 ] | |
54 | |
55 public_deps = [ | |
56 "//mojo/public/cpp/bindings", | |
57 ] | |
58 | |
59 deps = [ | |
60 "//base", | |
61 "//url", | |
62 ] | |
63 } | |
64 | |
65 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types | 47 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types |
66 mojom("test_common_custom_types") { | 48 mojom("test_common_custom_types") { |
67 sources = [ | 49 sources = [ |
68 "test_common_custom_types.mojom", | 50 "test_common_custom_types.mojom", |
69 ] | 51 ] |
70 public_deps = [ | 52 public_deps = [ |
71 ":common_custom_types", | 53 ":common_custom_types", |
72 ] | 54 ] |
73 } | 55 } |
74 | 56 |
(...skipping 22 matching lines...) Expand all Loading... |
97 | 79 |
98 test("mojo_common_perftests") { | 80 test("mojo_common_perftests") { |
99 deps = [ | 81 deps = [ |
100 ":common", | 82 ":common", |
101 "//base", | 83 "//base", |
102 "//mojo/edk/test:run_all_perftests", | 84 "//mojo/edk/test:run_all_perftests", |
103 "//mojo/public/cpp/test_support:test_utils", | 85 "//mojo/public/cpp/test_support:test_utils", |
104 "//testing/gtest", | 86 "//testing/gtest", |
105 ] | 87 ] |
106 } | 88 } |
OLD | NEW |