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

Unified Diff: ios/components/io_thread/BUILD.gn

Issue 2908613002: Move common functionality of IOSChromeIOThread to ios/components. (Closed)
Patch Set: Respond to comments. Created 3 years, 7 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: ios/components/io_thread/BUILD.gn
diff --git a/ios/components/io_thread/BUILD.gn b/ios/components/io_thread/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a02fef14ad1a6806dc6c6503db59c6e9e34c370d
--- /dev/null
+++ b/ios/components/io_thread/BUILD.gn
@@ -0,0 +1,48 @@
+# Copyright 2017 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.
+
+component("io_thread") {
+ configs += [ "//build/config/compiler:enable_arc" ]
+
+ deps = [
+ "//base",
+ "//components/net_log",
+ "//components/network_session_configurator",
+ "//components/prefs",
+ "//components/proxy_config",
+ "//components/proxy_config/ios",
+ "//components/ssl_config",
+ "//components/variations",
+ "//components/version_info",
+ "//ios/web",
+ "//ios/web:user_agent",
+ "//net",
+ ]
+
+ sources = [
+ "ios_io_thread.h",
+ "ios_io_thread.mm",
+ ]
+}
+
+source_set("unit_tests") {
+ configs += [ "//build/config/compiler:enable_arc" ]
+ testonly = true
+ sources = [
+ "ios_io_thread_unittest.mm",
+ ]
+ deps = [
+ ":io_thread",
+ "//base",
+ "//components/prefs",
+ "//components/prefs:test_support",
+ "//components/proxy_config",
+ "//components/ssl_config",
+ "//ios/web",
+ "//ios/web:test_support",
+ "//net",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698