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

Unified Diff: ios/net/BUILD.gn

Issue 1388983003: [iOS][GN] Port ios_net_unittests to build with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « build/config/mac/BUILD.gn ('k') | ios/net/ios_net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/BUILD.gn
diff --git a/ios/net/BUILD.gn b/ios/net/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..25403883f68f628a66642c5e283a251b1dc377fc
--- /dev/null
+++ b/ios/net/BUILD.gn
@@ -0,0 +1,76 @@
+# Copyright 2015 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("//testing/test.gni")
+
+source_set("net") {
+ deps = [
+ "//base",
+ "//net",
+ ]
+
+ sources = [
+ "clients/crn_forwarding_network_client.h",
+ "clients/crn_forwarding_network_client.mm",
+ "clients/crn_forwarding_network_client_factory.h",
+ "clients/crn_forwarding_network_client_factory.mm",
+ "clients/crn_network_client_protocol.h",
+ "clients/crn_simple_network_client_factory.h",
+ "clients/crn_simple_network_client_factory.mm",
+ "cookies/cookie_cache.cc",
+ "cookies/cookie_cache.h",
+ "cookies/cookie_creation_time_manager.h",
+ "cookies/cookie_creation_time_manager.mm",
+ "cookies/cookie_store_ios.h",
+ "cookies/cookie_store_ios.mm",
+ "cookies/cookie_store_ios_client.h",
+ "cookies/cookie_store_ios_client.mm",
+ "cookies/system_cookie_util.h",
+ "cookies/system_cookie_util.mm",
+ "crn_http_protocol_handler.h",
+ "crn_http_protocol_handler.mm",
+ "crn_http_protocol_handler_proxy.h",
+ "crn_http_protocol_handler_proxy_with_client_thread.h",
+ "crn_http_protocol_handler_proxy_with_client_thread.mm",
+ "crn_http_url_response.h",
+ "crn_http_url_response.mm",
+ "empty_nsurlcache.h",
+ "empty_nsurlcache.mm",
+ "http_protocol_logging.h",
+ "http_protocol_logging.mm",
+ "http_response_headers_util.h",
+ "http_response_headers_util.mm",
+ "nsurlrequest_util.h",
+ "nsurlrequest_util.mm",
+ "protocol_handler_util.h",
+ "protocol_handler_util.mm",
+ "request_tracker.h",
+ "request_tracker.mm",
+ "url_scheme_util.h",
+ "url_scheme_util.mm",
+ ]
+}
+
+test("ios_net_unittests") {
+ deps = [
+ "//base",
+ "//base/test:run_all_unittests",
+ "//net:test_support",
+ "//testing/gtest",
+ "//url",
+ ":net",
+ ]
+
+ sources = [
+ "clients/crn_forwarding_network_client_factory_unittest.mm",
+ "cookies/cookie_cache_unittest.cc",
+ "cookies/cookie_creation_time_manager_unittest.mm",
+ "cookies/cookie_store_ios_unittest.mm",
+ "cookies/system_cookie_util_unittest.mm",
+ "http_response_headers_util_unittest.mm",
+ "nsurlrequest_util_unittest.mm",
+ "protocol_handler_util_unittest.mm",
+ "url_scheme_util_unittest.mm",
+ ]
+}
« no previous file with comments | « build/config/mac/BUILD.gn ('k') | ios/net/ios_net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698