diff options
author | tfarina <tfarina@chromium.org> | 2015-02-19 06:46:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-19 14:47:05 +0000 |
commit | 1b1006ac316595d0a849a167816d46e8fb01177b (patch) | |
tree | 7bdfac392a7364b89f94be9dfca2aaa3d35feb6f /jingle | |
parent | 5971c87325a442f284eaedbd21a59bec155b7230 (diff) | |
download | chromium_src-1b1006ac316595d0a849a167816d46e8fb01177b.zip chromium_src-1b1006ac316595d0a849a167816d46e8fb01177b.tar.gz chromium_src-1b1006ac316595d0a849a167816d46e8fb01177b.tar.bz2 |
Change jingle_unittests target to a test executable.
Everything seems to link now.
Tested with the following command lines:
$ gn gen out-gn
$ ninja -C out-gn/ jingle_unittests
$ out-gn/jingle_unittests
This fixes one more TODO(GYP).
BUG=None
TEST=see above
R=sergeyu@chromium.org
Review URL: https://codereview.chromium.org/929433006
Cr-Commit-Position: refs/heads/master@{#317045}
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/BUILD.gn | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jingle/BUILD.gn b/jingle/BUILD.gn index ce66666..2a1a35f 100644 --- a/jingle/BUILD.gn +++ b/jingle/BUILD.gn @@ -3,6 +3,7 @@ # found in the LICENSE file. import("//build/config/features.gni") +import("//testing/test.gni") if (enable_webrtc || !is_android) { jingle_includes = exec_script("//build/gypi_to_gn.py", @@ -110,9 +111,7 @@ if (enable_webrtc || !is_android) { } # GYP version: jingle/jingle.gyp:jingle_unittests - # TODO(GYP): Convert to executable when its dependencies are linkable. - source_set("jingle_unittests") { - testonly = true + test("jingle_unittests") { sources = [ "glue/channel_socket_adapter_unittest.cc", "glue/chrome_async_socket_unittest.cc", |