Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1445)

Unified Diff: mojo/common/BUILD.gn

Issue 1890643002: Mojo: add native type mapping for base::FilePath (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@25_typemap
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/common/common_custom_types.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/BUILD.gn
diff --git a/mojo/common/BUILD.gn b/mojo/common/BUILD.gn
index bffb6124ae54174f7deb55b73f458a9e5ddea1a5..cdf1f577ba55e1e28a072ffa4e7ceb8cdc454e96 100644
--- a/mojo/common/BUILD.gn
+++ b/mojo/common/BUILD.gn
@@ -2,15 +2,24 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
group("common") {
public_deps = [
":common_base",
+ ":common_custom_types",
":url_type_converters",
]
}
+# GYP version: mojo/mojo_base.gyp:mojo_common_custom_types
+mojom("common_custom_types") {
+ sources = [
+ "common_custom_types.mojom",
+ ]
+}
+
# GYP version: mojo/mojo_base.gyp:mojo_common_lib
component("common_base") {
output_name = "mojo_common_lib"
@@ -58,10 +67,22 @@ source_set("url_type_converters") {
]
}
+# GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types
+mojom("test_common_custom_types") {
+ sources = [
+ "test_common_custom_types.mojom",
+ ]
+ public_deps = [
+ ":common_custom_types",
+ ]
+}
+
# GYP version: mojo/mojo_base.gyp:mojo_common_unittests
test("mojo_common_unittests") {
deps = [
":common",
+ ":common_custom_types",
+ ":test_common_custom_types",
"//base",
"//base:message_loop_tests",
"//base/test:test_support",
@@ -79,6 +100,7 @@ test("mojo_common_unittests") {
# that we put them here.
"../message_pump/handle_watcher_unittest.cc",
"../message_pump/message_pump_mojo_unittest.cc",
+ "common_custom_types_unittest.cc",
"common_type_converters_unittest.cc",
]
« no previous file with comments | « no previous file | mojo/common/common_custom_types.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698