forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add material-foundation dependencies.
These are third party libraries used by Chrome for iOS. BUG=none Review-Url: https://codereview.chromium.org/2551963004 Cr-Commit-Position: refs/heads/master@{#438189}
- Loading branch information
Showing
13 changed files
with
158 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright 2016 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
config("material_font_disk_loader_ios_config") { | ||
include_dirs = [ "src/src" ] | ||
visibility = [ ":material_font_disk_loader_ios" ] | ||
} | ||
|
||
source_set("material_font_disk_loader_ios") { | ||
sources = [ | ||
"src/src/MDFFontDiskLoader.h", | ||
"src/src/MDFFontDiskLoader.m", | ||
"src/src/MaterialFontDiskLoader.h", | ||
] | ||
public_configs = [ ":material_font_disk_loader_ios_config" ] | ||
configs -= [ "//build/config/compiler:chromium_code" ] | ||
configs += [ | ||
":material_font_disk_loader_ios_config", | ||
"//build/config/compiler:enable_arc", | ||
"//build/config/compiler:no_chromium_code", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
lpromero@chromium.org | ||
rohitrao@chromium.org |
13 changes: 13 additions & 0 deletions
13
ios/third_party/material_font_disk_loader_ios/README.chromium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Name: Material Font Disk Loader iOS | ||
URL: https://github.com/material-foundation/material-font-disk-loader-ios | ||
Version: 0 | ||
Revision: 20c8fe37329cb18826f90159ce4ee445079e2e46 | ||
License: Apache 2.0 | ||
License File: src/LICENSE | ||
Security Critical: yes | ||
|
||
Description: | ||
Registers a single custom font asset from disk. | ||
|
||
Local Modifications: | ||
None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright 2016 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
config("material_roboto_font_loader_ios_config") { | ||
include_dirs = [ "src/src" ] | ||
visibility = [ ":material_roboto_font_loader_ios" ] | ||
} | ||
|
||
source_set("material_roboto_font_loader_ios") { | ||
sources = [ | ||
"src/src/MDFRobotoFontLoader.h", | ||
"src/src/MDFRobotoFontLoader.m", | ||
"src/src/MaterialRobotoFontLoader.h", | ||
] | ||
deps = [ | ||
":material_roboto_font_loader_bundle", | ||
"//ios/third_party/material_font_disk_loader_ios", | ||
] | ||
public_configs = [ ":material_roboto_font_loader_ios_config" ] | ||
configs -= [ "//build/config/compiler:chromium_code" ] | ||
configs += [ | ||
":material_roboto_font_loader_ios_config", | ||
"//build/config/compiler:enable_arc", | ||
"//build/config/compiler:no_chromium_code", | ||
] | ||
} | ||
|
||
bundle_data("material_roboto_font_loader_bundle") { | ||
visibility = [ ":material_roboto_font_loader_ios" ] | ||
sources = [ | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-Black.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-BlackItalic.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-Bold.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-BoldItalic.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-Italic.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-Light.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-LightItalic.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-Medium.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-MediumItalic.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-Regular.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-Thin.ttf", | ||
"src/src/MaterialRobotoFontLoader.bundle/Roboto-ThinItalic.ttf", | ||
] | ||
outputs = [ | ||
"{{bundle_resources_dir}}/MaterialRobotoFontLoader.bundle/{{source_file_part}}", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
lpromero@chromium.org | ||
rohitrao@chromium.org |
13 changes: 13 additions & 0 deletions
13
ios/third_party/material_roboto_font_loader_ios/README.chromium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Name: Material Roboto Font Loader iOS | ||
URL: https://github.com/material-foundation/material-roboto-font-loader-ios | ||
Version: 0 | ||
Revision: 2e83b0fdbbd9b12782aa886695dd29b077bad430 | ||
License: Apache 2.0 | ||
License File: src/LICENSE | ||
Security Critical: yes | ||
|
||
Description: | ||
The Roboto Font Loader lazy loads the Roboto font. | ||
|
||
Local Modifications: | ||
None |
23 changes: 23 additions & 0 deletions
23
ios/third_party/material_sprited_animation_view_ios/BUILD.gn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright 2016 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
config("material_sprited_animation_view_ios_config") { | ||
include_dirs = [ "src/src" ] | ||
visibility = [ ":material_sprited_animation_view_ios" ] | ||
} | ||
|
||
source_set("material_sprited_animation_view_ios") { | ||
sources = [ | ||
"src/src/MDFSpritedAnimationView.h", | ||
"src/src/MDFSpritedAnimationView.m", | ||
"src/src/MaterialSpritedAnimationView.h", | ||
] | ||
public_configs = [ ":material_sprited_animation_view_ios_config" ] | ||
configs -= [ "//build/config/compiler:chromium_code" ] | ||
configs += [ | ||
":material_sprited_animation_view_ios_config", | ||
"//build/config/compiler:enable_arc", | ||
"//build/config/compiler:no_chromium_code", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
lpromero@chromium.org | ||
rohitrao@chromium.org |
15 changes: 15 additions & 0 deletions
15
ios/third_party/material_sprited_animation_view_ios/README.chromium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Name: Material Sprited Animation View | ||
URL: https://github.com/material-foundation/material-sprited-animation-view-ios | ||
Version: 0 | ||
Revision: e240cdcd4538f0763ca5bd8c5afc2991eb482f1a | ||
License: Apache 2.0 | ||
License File: src/LICENSE | ||
Security Critical: yes | ||
|
||
Description: | ||
This control provides an alternative to animating an array of images with an | ||
UIImageView. Only a single image composed of individual sprite frames is used, | ||
and animation simply consists of updating the layer contentsRect. | ||
|
||
Local Modifications: | ||
None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
ios/third_party/material_text_accessibility_ios/README.chromium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters