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

Unified Diff: ios/web_view/internal/BUILD.gn

Issue 2679003002: Initialize CRIWVWebView with Configuration object instead of browserState. (Closed)
Patch Set: Rebase. Respond to comments. Fix duplicate unique_ptr. Created 3 years, 10 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 | « no previous file | ios/web_view/internal/criwv.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/BUILD.gn
diff --git a/ios/web_view/internal/BUILD.gn b/ios/web_view/internal/BUILD.gn
index 496def8e8c552235f808c96e6b8443c0463a6721..d5f4c6cb1827fd4d9260cb49ee24b78b776a546b 100644
--- a/ios/web_view/internal/BUILD.gn
+++ b/ios/web_view/internal/BUILD.gn
@@ -2,6 +2,26 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+source_set("internal_arc") {
+ visibility = [
+ "//ios/web_view",
+ "//ios/web_view/internal/*",
+ ]
+
+ sources = [
+ "criwv_web_view_configuration.mm",
+ "criwv_website_data_store.mm",
+ "criwv_website_data_store_internal.h",
+ ]
+
+ deps = [
+ "//ios/web/public/app",
+ "//ios/web_view/public",
+ ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+}
+
source_set("internal") {
visibility = [
"//ios/web_view",
@@ -23,7 +43,6 @@ source_set("internal") {
"criwv_web_main_parts.h",
"criwv_web_main_parts.mm",
"criwv_web_view.mm",
- "criwv_web_view_internal.h",
"pref_names.cc",
"pref_names.h",
]
@@ -44,5 +63,13 @@ source_set("internal") {
"//ui/base",
"//url",
]
- allow_circular_includes_from = [ "//ios/web_view/internal/translate" ]
+
+ public_deps = [
+ ":internal_arc",
+ ]
+
+ allow_circular_includes_from = [
+ ":internal_arc",
+ "//ios/web_view/internal/translate",
+ ]
}
« no previous file with comments | « no previous file | ios/web_view/internal/criwv.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698