OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//testing/test.gni") |
| 6 |
| 7 component("blimp_net") { |
| 8 sources = [ |
| 9 "blimp_message_dispatcher.cc", |
| 10 "blimp_message_dispatcher.h", |
| 11 "blimp_message_receiver.h", |
| 12 "blimp_net_export.h", |
| 13 ] |
| 14 |
| 15 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] |
| 16 |
| 17 deps = [ |
| 18 "//base", |
| 19 "//blimp/common/proto", |
| 20 "//net", |
| 21 ] |
| 22 } |
| 23 |
| 24 test("blimp_net_tests") { |
| 25 sources = [ |
| 26 "blimp_message_dispatcher_unittest.cc", |
| 27 ] |
| 28 |
| 29 deps = [ |
| 30 ":blimp_net", |
| 31 "//base", |
| 32 "//base/test:run_all_unittests", |
| 33 "//base/test:test_support", |
| 34 "//blimp/common/proto", |
| 35 "//net:test_support", |
| 36 "//testing/gmock", |
| 37 "//testing/gtest", |
| 38 ] |
| 39 } |
| 40 |
| 41 # TODO(GYP): Delete this after we've converted everything to GN. |
| 42 # # The _run targets exist only for compatibility w/ GYP. |
| 43 group("blimp_net_tests_run") { |
| 44 testonly = true |
| 45 deps = [ |
| 46 ":blimp_net_tests", |
| 47 ] |
| 48 } |
OLD | NEW |