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

Unified Diff: mojo/mojo_base.gyp

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 | « mojo/common/typemaps.gni ('k') | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo_base.gyp
diff --git a/mojo/mojo_base.gyp b/mojo/mojo_base.gyp
index d209a4db864d706d62f1964d78104740e5375d22..414d6efdaf7c2841e0f4185fece175e11e2731e2 100644
--- a/mojo/mojo_base.gyp
+++ b/mojo/mojo_base.gyp
@@ -59,6 +59,23 @@
],
},
{
+ # GN version: //mojo/common:common_custom_types
+ 'target_name': 'mojo_common_custom_types',
+ 'type': 'static_library',
+ 'variables': {
+ 'mojom_typemaps': [
+ 'common/common_custom_types.typemap',
+ ],
+ },
+ 'sources': [
+ 'common/common_custom_types.mojom',
+ ],
+ 'dependencies': [
+ '../ipc/ipc.gyp:ipc',
+ ],
+ 'includes': [ 'mojom_bindings_generator.gypi' ],
+ },
+ {
# GN version: //mojo/common:url_type_converters
'target_name': 'mojo_url_type_converters',
'type': 'static_library',
@@ -95,6 +112,23 @@
],
},
{
+ # GN version: //mojo/common:test_common_custom_types
+ 'target_name': 'mojo_test_common_custom_types',
+ 'type': 'static_library',
+ 'variables': {
+ 'mojom_typemaps': [
+ 'common/common_custom_types.typemap',
+ ],
+ },
+ 'sources': [
+ 'common/test_common_custom_types.mojom',
+ ],
+ 'dependencies': [
+ 'mojo_common_custom_types',
+ ],
+ 'includes': [ 'mojom_bindings_generator.gypi' ],
+ },
+ {
# GN version: //mojo/common:mojo_common_unittests
'target_name': 'mojo_common_unittests',
'type': 'executable',
@@ -104,7 +138,9 @@
'../base/base.gyp:base_message_loop_tests',
'../testing/gtest.gyp:gtest',
'../url/url.gyp:url_lib',
+ 'mojo_common_custom_types',
'mojo_common_lib',
+ 'mojo_test_common_custom_types',
'mojo_edk.gyp:mojo_system_impl',
'mojo_edk.gyp:mojo_common_test_support',
'mojo_edk.gyp:mojo_run_all_unittests',
@@ -114,6 +150,7 @@
'mojo_url_type_converters',
],
'sources': [
+ 'common/common_custom_types_unittest.cc',
'common/common_type_converters_unittest.cc',
'message_pump/handle_watcher_unittest.cc',
'message_pump/message_pump_mojo_unittest.cc',
« no previous file with comments | « mojo/common/typemaps.gni ('k') | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698