naiveproxy/components/cronet/ios/test/BUILD.gn

45 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ios/rules.gni")
import("//testing/test.gni")
test("cronet_test") {
testonly = true
sources = [
"../cronet_metrics.h", # used for unit testing of private interface
"cronet_acceptlang_test.mm",
"cronet_http_test.mm",
"cronet_metrics_test.mm",
"cronet_netlog_test.mm",
"cronet_performance_test.mm",
"cronet_pkp_test.mm",
"cronet_prefs_test.mm",
"cronet_quic_test.mm",
"cronet_test_base.mm",
"cronet_test_runner.mm",
"get_stream_engine.mm",
"start_cronet.h",
"start_cronet.mm",
"test_server.cc",
"test_server.h",
]
deps = [
"//base",
"//base:i18n",
"//components/cronet/ios:cronet_framework+link",
"//components/cronet/native:cronet_native_impl_tests",
"//components/grpc_support:bidirectional_stream_unittest",
"//components/grpc_support/test:quic_test_server",
"//net",
"//net:simple_quic_tools",
"//net:test_support",
"//third_party/icu",
]
bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ]
configs += [ "//build/config/compiler:enable_arc" ]
}