diff options
author | rockot <rockot@chromium.org> | 2016-02-23 01:20:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-23 09:20:58 +0000 |
commit | 05b616cfea71b208b2aea4ebc025793272e2f2ff (patch) | |
tree | 6f634ff5e60adcbf19500f49e3f3ac98a9c57ba3 /mojo/mojo_edk_tests.gyp | |
parent | 11efbc5592132de8ad0f2e5ef158ecaf91cb8861 (diff) | |
download | chromium_src-05b616cfea71b208b2aea4ebc025793272e2f2ff.zip chromium_src-05b616cfea71b208b2aea4ebc025793272e2f2ff.tar.gz chromium_src-05b616cfea71b208b2aea4ebc025793272e2f2ff.tar.bz2 |
Mojo bindings: Add string support to StructTraits
This CL enables string-typed fields in structs to be
serialized and deserialized via StructTraits using
base::StringPiece as an intermediate interface between
the native type and the message buffer.
BUG=577686
R=yzshen@chromium.org
Review URL: https://codereview.chromium.org/1719183002
Cr-Commit-Position: refs/heads/master@{#376952}
Diffstat (limited to 'mojo/mojo_edk_tests.gyp')
-rw-r--r-- | mojo/mojo_edk_tests.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mojo/mojo_edk_tests.gyp b/mojo/mojo_edk_tests.gyp index 71489d6..e55389c 100644 --- a/mojo/mojo_edk_tests.gyp +++ b/mojo/mojo_edk_tests.gyp @@ -56,6 +56,7 @@ 'mojo_public.gyp:mojo_public_test_interfaces', 'mojo_public.gyp:mojo_public_test_interfaces_blink', 'mojo_public.gyp:mojo_public_test_interfaces_chromium', + 'mojo_public.gyp:mojo_public_test_interfaces_struct_traits', 'mojo_public.gyp:mojo_public_test_utils', 'mojo_public.gyp:mojo_utility', ], @@ -94,6 +95,8 @@ 'public/cpp/bindings/tests/string_unittest.cc', 'public/cpp/bindings/tests/struct_traits_unittest.cc', 'public/cpp/bindings/tests/struct_unittest.cc', + 'public/cpp/bindings/tests/struct_with_traits_impl.cc', + 'public/cpp/bindings/tests/struct_with_traits_impl.h', 'public/cpp/bindings/tests/sync_method_unittest.cc', 'public/cpp/bindings/tests/type_conversion_unittest.cc', 'public/cpp/bindings/tests/union_unittest.cc', |