| # Copyright 2023 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/features.gni") |
| |
| assert(use_blink, "Content is only supported in Blink builds.") |
| |
| source_set("content") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "content_browser_context.h", |
| "content_browser_context.mm", |
| "js_messaging/content_web_frame.h", |
| "js_messaging/content_web_frame.mm", |
| "js_messaging/content_web_frames_manager.h", |
| "js_messaging/content_web_frames_manager.mm", |
| "navigation/content_navigation_context.h", |
| "navigation/content_navigation_context.mm", |
| "navigation/content_navigation_item.h", |
| "navigation/content_navigation_item.mm", |
| "navigation/content_navigation_manager.h", |
| "navigation/content_navigation_manager.mm", |
| "web_state/content_web_state.h", |
| "web_state/content_web_state.mm", |
| "web_state/content_web_state_builder.h", |
| "web_state/content_web_state_builder.mm", |
| "web_state/crc_web_view_proxy_impl.h", |
| "web_state/crc_web_view_proxy_impl.mm", |
| ] |
| deps = [ |
| "//base", |
| "//build:blink_buildflags", |
| "//content/public/browser", |
| "//ios/web/common:user_agent", |
| "//ios/web/find_in_page:find_in_page", |
| "//ios/web/js_messaging", |
| "//ios/web/navigation:core", |
| "//ios/web/public", |
| "//ios/web/public/favicon", |
| "//ios/web/public/js_messaging", |
| "//ios/web/public/security:security", |
| "//ios/web/public/session:session", |
| "//ios/web/text_fragments:text_fragments", |
| ] |
| } |
| |
| source_set("threads") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "content_thread_impl.cc", |
| "content_thread_impl.h", |
| ] |
| deps = [ |
| "//base", |
| "//content/public/browser", |
| "//ios/web/public/thread", |
| ] |
| } |