Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 config("google_toolbox_for_mac_config") { | 5 config("google_toolbox_for_mac_config") { |
| 6 include_dirs = [ | 6 include_dirs = [ |
| 7 ".", | 7 ".", |
| 8 "src", | 8 "src", |
| 9 "src/AppKit", | 9 "src/AppKit", |
| 10 "src/DebugUtils", | 10 "src/DebugUtils", |
| 11 "src/Foundation", | 11 "src/Foundation", |
| 12 ] | 12 ] |
| 13 | |
| 14 # TODO(crbug.com/569158): Suppresses warnings that are treated as errors | |
| 15 # when minimum iOS version support is increased to iOS 9 and up. | |
| 16 # This should be removed once all deprecation violations have been fixed. | |
| 17 cflags = [ "-Wno-deprecated-declarations" ] | |
|
Nico
2016/06/22 22:53:33
so this config is a public_config below and this h
| |
| 13 } | 18 } |
| 14 | 19 |
| 15 component("google_toolbox_for_mac") { | 20 component("google_toolbox_for_mac") { |
| 16 sources = [ | 21 sources = [ |
| 17 "src/DebugUtils/GTMMethodCheck.h", | 22 "src/DebugUtils/GTMMethodCheck.h", |
| 18 "src/DebugUtils/GTMMethodCheck.m", | 23 "src/DebugUtils/GTMMethodCheck.m", |
| 19 "src/Foundation/GTMLightweightProxy.h", | 24 "src/Foundation/GTMLightweightProxy.h", |
| 20 "src/Foundation/GTMLightweightProxy.m", | 25 "src/Foundation/GTMLightweightProxy.m", |
| 21 "src/Foundation/GTMNSDictionary+URLArguments.h", | 26 "src/Foundation/GTMNSDictionary+URLArguments.h", |
| 22 "src/Foundation/GTMNSDictionary+URLArguments.m", | 27 "src/Foundation/GTMNSDictionary+URLArguments.m", |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 194 if (is_component_build) { | 199 if (is_component_build) { |
| 195 # GTM is third-party code, so we don't want to add _EXPORT | 200 # GTM is third-party code, so we don't want to add _EXPORT |
| 196 # annotations to it, so build it without -fvisibility=hidden | 201 # annotations to it, so build it without -fvisibility=hidden |
| 197 # (else the interface class symbols will be hidden in a 64bit | 202 # (else the interface class symbols will be hidden in a 64bit |
| 198 # build). Only do this in a component build, so that the shipping | 203 # build). Only do this in a component build, so that the shipping |
| 199 # chrome binary doesn't end up with unnecessarily exported | 204 # chrome binary doesn't end up with unnecessarily exported |
| 200 # symbols. | 205 # symbols. |
| 201 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] | 206 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
| 202 } | 207 } |
| 203 } | 208 } |
| OLD | NEW |