chromium/ios/third_party/material_text_accessibility_ios/BUILD.gn

# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

config("config") {
  include_dirs = [ "forwarding_headers" ]
}

config("private_config") {
  include_dirs = [
    "src/src",
    "src/src/private",
  ]
  visibility = [ ":material_text_accessibility_ios" ]
}

source_set("material_text_accessibility_ios") {
  sources = [
    "src/src/MDFTextAccessibility-Bridging-Header.h",
    "src/src/MDFTextAccessibility.h",
    "src/src/MDFTextAccessibility.m",
    "src/src/private/MDFColorCalculations.h",
    "src/src/private/MDFColorCalculations.m",
    "src/src/private/NSArray+MDFUtils.h",
    "src/src/private/NSArray+MDFUtils.m",
  ]
  public_configs = [
    ":config",
    "//build/config/compiler:default_include_dirs",
  ]
  configs -= [
    "//build/config/compiler:chromium_code",
    "//build/config/gcc:symbol_visibility_hidden",
  ]
  configs += [
    ":private_config",
    "//build/config/compiler:no_chromium_code",
    "//build/config/gcc:symbol_visibility_default",
  ]
}