diff options
author | jam <jam@chromium.org> | 2016-03-03 15:11:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-03 23:13:21 +0000 |
commit | baaeb815d807659fc7fe9b8cba2cc3b4d20018bf (patch) | |
tree | 5763d074a5369c6c4d2d25dc935fb07bacdc5fc3 /url/BUILD.gn | |
parent | fd4a7725b4762877ef29c50bf2e0095e8d26fe39 (diff) | |
download | chromium_src-baaeb815d807659fc7fe9b8cba2cc3b4d20018bf.zip chromium_src-baaeb815d807659fc7fe9b8cba2cc3b4d20018bf.tar.gz chromium_src-baaeb815d807659fc7fe9b8cba2cc3b4d20018bf.tar.bz2 |
Add mojo struct traits for GURL so that it can be sent over mojoms.
The motivation for adding a structtraits for GURL, as opposed to using paramtraits, is that most probably we'll be passing urls to languages other than C++.
BUG=586194
Review URL: https://codereview.chromium.org/1760643004
Cr-Commit-Position: refs/heads/master@{#379128}
Diffstat (limited to 'url/BUILD.gn')
-rw-r--r-- | url/BUILD.gn | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/url/BUILD.gn b/url/BUILD.gn index 6924784..94efa01 100644 --- a/url/BUILD.gn +++ b/url/BUILD.gn @@ -118,7 +118,9 @@ if (!is_android) { test("url_unittests") { sources = [ "gurl_unittest.cc", + "mojo/url_gurl_struct_traits_unittest.cc", "origin_unittest.cc", + "run_all_unittests.cc", "scheme_host_port_unittest.cc", "url_canon_icu_unittest.cc", "url_canon_unittest.cc", @@ -133,9 +135,12 @@ if (!is_android) { deps = [ ":url", "//base", - "//base/test:run_all_unittests", + "//base/test:test_support", + "//mojo/edk/system", + "//mojo/edk/test:test_support", "//testing/gtest", "//third_party/icu:icuuc", + "//url/mojo:test_url_mojom_gurl", ] } } |