Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: components/cronet/ios/test/BUILD.gn

Issue 2146643002: [Cronet] Integrate CrNet functionality into Cronet on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify TestServer. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cronet/ios/test/BUILD.gn
diff --git a/components/cronet/ios/test/BUILD.gn b/components/cronet/ios/test/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f9629bf9ef2a69175c5bde8ae1c3a3d1a5e87746
--- /dev/null
+++ b/components/cronet/ios/test/BUILD.gn
@@ -0,0 +1,45 @@
+# 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")
+
+bundle_data("cronet_test_bundle_data") {
+ testonly = true
+ sources = [
+ "//net/data/ssl/certificates/quic_test.example.com.crt",
+ "//net/data/ssl/certificates/quic_test.example.com.key",
+ "//net/data/ssl/certificates/quic_test.example.com.key.pkcs8",
+ "//net/data/ssl/certificates/quic_test.example.com.key.sct",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/{{source_file_part}}",
+ ]
+}
+
+test("cronet_test") {
+ testonly = true
+ sources = [
+ "cronet_bidirectional_stream_test.mm",
+ "cronet_http_test.mm",
+ "cronet_test_runner.mm",
+ "quic_test_server.cc",
+ "quic_test_server.h",
+ "test_server.cc",
+ "test_server.h",
+ ]
+
+ deps = [
+ ":cronet_test_bundle_data",
+ "//base",
+ "//base:i18n",
+ "//components/cronet/ios:cronet_framework+link",
+ "//net",
+ "//net:simple_quic_tools",
+ "//net:test_support",
+ "//third_party/icu",
+ ]
+
+ bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ]
+}

Powered by Google App Engine
This is Rietveld 408576698