summaryrefslogtreecommitdiff
path: root/chromium/ios/web_view/shell/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ios/web_view/shell/BUILD.gn')
-rw-r--r--chromium/ios/web_view/shell/BUILD.gn23
1 files changed, 10 insertions, 13 deletions
diff --git a/chromium/ios/web_view/shell/BUILD.gn b/chromium/ios/web_view/shell/BUILD.gn
index 70bb0f1199e..3920690e072 100644
--- a/chromium/ios/web_view/shell/BUILD.gn
+++ b/chromium/ios/web_view/shell/BUILD.gn
@@ -3,7 +3,6 @@
# found in the LICENSE file.
import("//build/config/ios/rules.gni")
-import("//ios/third_party/features.gni")
declare_args() {
# Authorization service implementation used in ios_web_view_shell. Uses a fake
@@ -40,18 +39,16 @@ ios_app_bundle("ios_web_view_shell") {
]
entitlements_path = ios_web_view_shell_entitlements_path
- if (ios_third_party_material_components_built_as_framework) {
- if (ios_web_view_shell_links_with_material_components_framework) {
- deps += [
- "//ios/third_party/material_components_ios:material_components_ios+bundle",
- "//ios/third_party/material_components_ios:material_components_ios+link",
- ]
- } else {
- assert_no_deps = [
- "//ios/third_party/material_components_ios:material_components_ios+bundle",
- "//ios/third_party/material_components_ios:material_components_ios+link",
- ]
- }
+ if (ios_web_view_shell_links_with_material_components_framework) {
+ deps += [
+ "//ios/third_party/material_components_ios:material_components_ios+bundle",
+ "//ios/third_party/material_components_ios:material_components_ios+link",
+ ]
+ } else {
+ assert_no_deps = [
+ "//ios/third_party/material_components_ios:material_components_ios+bundle",
+ "//ios/third_party/material_components_ios:material_components_ios+link",
+ ]
}
configs += [ "//build/config/compiler:enable_arc" ]