Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(888)

Unified Diff: ios/third_party/material_roboto_font_loader_ios/BUILD.gn

Issue 2551963004: Add material-foundation dependencies. (Closed)
Patch Set: Add MDFTextAccessibility URL Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/third_party/material_roboto_font_loader_ios/BUILD.gn
diff --git a/ios/third_party/material_roboto_font_loader_ios/BUILD.gn b/ios/third_party/material_roboto_font_loader_ios/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..b013f748c2d3935fef5d28ca19b214a1ad5e057b
--- /dev/null
+++ b/ios/third_party/material_roboto_font_loader_ios/BUILD.gn
@@ -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}}",
+ ]
+}
« no previous file with comments | « ios/third_party/material_font_disk_loader_ios/README.chromium ('k') | ios/third_party/material_roboto_font_loader_ios/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698