diff options
author | yzshen <yzshen@chromium.org> | 2016-02-17 15:16:01 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-17 23:17:30 +0000 |
commit | 904b45f35fb925bab31d25e43732a947385460b6 (patch) | |
tree | f3665f99f1b7649aa7d9da219d53f05dcafcec79 /mojo/mojo_edk_tests.gyp | |
parent | d6c915826b08b862faad42f3e5c8edd5651fe235 (diff) | |
download | chromium_src-904b45f35fb925bab31d25e43732a947385460b6.zip chromium_src-904b45f35fb925bab31d25e43732a947385460b6.tar.gz chromium_src-904b45f35fb925bab31d25e43732a947385460b6.tar.bz2 |
Mojo C++ bindings: support sync methods - part 1.
This CL:
- adds support for [Sync] attribute;
- generates C++ sync method signatures;
- does the simplest thing to block and wait for results of sync calls. (Allows
any messages of the same interface ptr to re-enter; disallows any messages of
other message pipes to re-enter.)
The following will be in future CLs:
- Change the re-entrancy behavior.
- Support sync calls with associated interfaces.
BUG=577699
Review URL: https://codereview.chromium.org/1701423002
Cr-Commit-Position: refs/heads/master@{#376023}
Diffstat (limited to 'mojo/mojo_edk_tests.gyp')
-rw-r--r-- | mojo/mojo_edk_tests.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mojo/mojo_edk_tests.gyp b/mojo/mojo_edk_tests.gyp index 8879eb4..71489d6 100644 --- a/mojo/mojo_edk_tests.gyp +++ b/mojo/mojo_edk_tests.gyp @@ -94,6 +94,7 @@ '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/sync_method_unittest.cc', 'public/cpp/bindings/tests/type_conversion_unittest.cc', 'public/cpp/bindings/tests/union_unittest.cc', 'public/cpp/bindings/tests/validation_unittest.cc', |