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", |
11 "src/components/ActivityIndicator/src", | 11 "src/components/ActivityIndicator/src", |
12 "src/components/ButtonBar/src", | 12 "src/components/ButtonBar/src", |
13 "src/components/Buttons/src", | 13 "src/components/Buttons/src", |
14 "src/components/CollectionCells/src", | 14 "src/components/CollectionCells/src", |
15 "src/components/CollectionLayoutAttributes/src", | 15 "src/components/CollectionLayoutAttributes/src", |
16 "src/components/Collections/src", | 16 "src/components/Collections/src", |
17 "src/components/Dialogs/src", | 17 "src/components/Dialogs/src", |
18 "src/components/FlexibleHeader/src", | 18 "src/components/FlexibleHeader/src", |
19 "src/components/HeaderStackView/src", | 19 "src/components/HeaderStackView/src", |
20 "src/components/Ink/src", | 20 "src/components/Ink/src", |
21 "src/components/NavigationBar/src", | 21 "src/components/NavigationBar/src", |
22 "src/components/OverlayWindow/src", | 22 "src/components/OverlayWindow/src", |
23 "src/components/Palettes/src", | 23 "src/components/Palettes/src", |
24 "src/components/ProgressView/src", | 24 "src/components/ProgressView/src", |
25 "src/components/ShadowElevations/src", | 25 "src/components/ShadowElevations/src", |
26 "src/components/ShadowLayer/src", | 26 "src/components/ShadowLayer/src", |
27 "src/components/Snackbar/src", | 27 "src/components/Snackbar/src", |
28 "src/components/Typography/src", | 28 "src/components/Typography/src", |
29 ] | 29 ] |
30 | |
31 cflags_objc = [ | |
32 # Do not consider use of deprecated API as errors when building third-party | |
33 # libraries. | |
34 "-Wno-error=deprecated-declarations", | |
35 ] | |
36 } | 30 } |
37 | 31 |
38 _icon_names = [ | 32 _icon_names = [ |
39 "ic_check", | 33 "ic_check", |
40 "ic_check_circle", | 34 "ic_check_circle", |
41 "ic_chevron_right", | 35 "ic_chevron_right", |
42 "ic_info", | 36 "ic_info", |
43 "ic_radio_button_unchecked", | 37 "ic_radio_button_unchecked", |
44 "ic_reorder", | 38 "ic_reorder", |
45 ] | 39 ] |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 ] | 359 ] |
366 } | 360 } |
367 } | 361 } |
368 | 362 |
369 foreach(icon_name, _icon_names) { | 363 foreach(icon_name, _icon_names) { |
370 material_component_icon_bundle("material_component_${icon_name}_bundle") { | 364 material_component_icon_bundle("material_component_${icon_name}_bundle") { |
371 visibility = [ ":material_components_ios" ] | 365 visibility = [ ":material_components_ios" ] |
372 icon_name = "$icon_name" | 366 icon_name = "$icon_name" |
373 } | 367 } |
374 } | 368 } |
OLD | NEW |