| # 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", |
| ] |
| } |