| # Copyright 2017 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/chrome_build.gni") |
| import("//build/config/ios/rules.gni") |
| import("//remoting/build/config/remoting_build.gni") |
| |
| source_set("mdc") { |
| sources = [ |
| "MDCActionImageView.h", |
| "MDCActionImageView.m", |
| ] |
| |
| frameworks = [ "UIKit.framework" ] |
| |
| deps = [ "//ios/third_party/material_components_ios" ] |
| |
| configs += [ |
| ":disable_deprecated_declarations", |
| "//build/config/compiler:enable_arc", |
| ] |
| } |
| |
| # TODO(crbug.com/1344830): Migrate away from deprecated MDC APIs. |
| config("disable_deprecated_declarations") { |
| cflags = [ "-Wno-deprecated-declarations" ] |
| } |