OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/locales.gni") | 5 import("//build/config/locales.gni") |
6 | 6 |
7 config("config") { | 7 config("config") { |
8 visibility = [ ":material_components_ios" ] | 8 visibility = [ ":material_components_ios" ] |
9 include_dirs = [ | 9 include_dirs = [ |
10 "src/components/AppBar/src", | 10 "src/components/AppBar/src", |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 libs = [ | 261 libs = [ |
262 "CoreGraphics.framework", | 262 "CoreGraphics.framework", |
263 "CoreText.framework", | 263 "CoreText.framework", |
264 "QuartzCore.framework", | 264 "QuartzCore.framework", |
265 "UIKit.framework", | 265 "UIKit.framework", |
266 ] | 266 ] |
267 | 267 |
268 deps = [ | 268 deps = [ |
269 ":material_collections_bundle", | 269 ":material_collections_bundle", |
270 ":material_component_ic_arrow_back_bundle", | 270 ":material_component_ic_arrow_back_bundle", |
271 | |
272 # TODO(crbug.com/673904): remove when the migration to MDFRobotoFontLoader | |
273 # is complete. | |
274 "//ios/third_party/material_roboto_font_loader_ios", | |
275 "//ios/third_party/material_text_accessibility_ios", | 271 "//ios/third_party/material_text_accessibility_ios", |
276 ] | 272 ] |
277 | 273 |
278 foreach(icon_name, _icon_names) { | 274 foreach(icon_name, _icon_names) { |
279 deps += [ ":material_component_${icon_name}_bundle" ] | 275 deps += [ ":material_component_${icon_name}_bundle" ] |
280 } | 276 } |
281 | 277 |
282 public_configs = [ ":config" ] | 278 public_configs = [ ":config" ] |
283 | 279 |
284 configs -= [ "//build/config/compiler:chromium_code" ] | 280 configs -= [ "//build/config/compiler:chromium_code" ] |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 ] | 347 ] |
352 } | 348 } |
353 } | 349 } |
354 | 350 |
355 foreach(icon_name, _icon_names) { | 351 foreach(icon_name, _icon_names) { |
356 material_component_icon_bundle("material_component_${icon_name}_bundle") { | 352 material_component_icon_bundle("material_component_${icon_name}_bundle") { |
357 visibility = [ ":material_components_ios" ] | 353 visibility = [ ":material_components_ios" ] |
358 icon_name = "$icon_name" | 354 icon_name = "$icon_name" |
359 } | 355 } |
360 } | 356 } |
OLD | NEW |