Commit 1b1006ac authored by tfarina's avatar tfarina Committed by Commit bot

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}
parent 5971c873
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment