| # Copyright 2017 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. |
| |
| import("//build/config/compiler/compiler.gni") |
| |
| config("config") { |
| include_dirs = [ "forwarding_headers" ] |
| } |
| |
| config("private_config") { |
| include_dirs = [ "src/Sources" ] |
| visibility = [ ":material_internationalization_ios" ] |
| } |
| |
| source_set("material_internationalization_ios") { |
| sources = [ |
| "src/Sources/MDFInternationalization.h", |
| "src/Sources/MDFRTL.h", |
| "src/Sources/MDFRTL.m", |
| "src/Sources/UIImage+MaterialRTL.h", |
| "src/Sources/UIImage+MaterialRTL.m", |
| "src/Sources/UIView+MaterialRTL.h", |
| "src/Sources/UIView+MaterialRTL.m", |
| ] |
| public = [ |
| "src/Sources/MDFInternationalization.h", |
| "src/Sources/MDFRTL.h", |
| "src/Sources/UIImage+MaterialRTL.h", |
| "src/Sources/UIView+MaterialRTL.h", |
| ] |
| |
| libs = [ |
| "CoreImage.framework", |
| "UIKit.framework", |
| ] |
| public_configs = [ |
| ":config", |
| "//build/config/compiler:default_include_dirs", |
| ] |
| configs -= [ "//build/config/compiler:chromium_code" ] |
| configs += [ |
| ":private_config", |
| "//build/config/compiler:enable_arc", |
| "//build/config/compiler:no_chromium_code", |
| ] |
| } |