OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 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("//build/config/ios/rules.gni") |
| 6 import("//testing/test.gni") |
| 7 |
| 8 bundle_data("cronet_test_bundle_data") { |
| 9 testonly = true |
| 10 sources = [ |
| 11 "//net/data/ssl/certificates/quic_test.example.com.crt", |
| 12 "//net/data/ssl/certificates/quic_test.example.com.key", |
| 13 "//net/data/ssl/certificates/quic_test.example.com.key.pkcs8", |
| 14 "//net/data/ssl/certificates/quic_test.example.com.key.sct", |
| 15 ] |
| 16 outputs = [ |
| 17 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 18 ] |
| 19 } |
| 20 |
| 21 test("cronet_test") { |
| 22 testonly = true |
| 23 sources = [ |
| 24 "cronet_bidirectional_stream_test.mm", |
| 25 "cronet_http_test.mm", |
| 26 "cronet_test_runner.mm", |
| 27 "quic_test_server.cc", |
| 28 "quic_test_server.h", |
| 29 "test_server.cc", |
| 30 "test_server.h", |
| 31 ] |
| 32 |
| 33 deps = [ |
| 34 ":cronet_test_bundle_data", |
| 35 "//base", |
| 36 "//base:i18n", |
| 37 "//components/cronet/ios:cronet_framework+link", |
| 38 "//net", |
| 39 "//net:simple_quic_tools", |
| 40 "//net:test_support", |
| 41 "//third_party/icu", |
| 42 ] |
| 43 |
| 44 bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ] |
| 45 } |
OLD | NEW |