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", |
(...skipping 19 matching lines...) Expand all Loading... |
30 "src/Foundation/GTMRegex.m", | 30 "src/Foundation/GTMRegex.m", |
31 "src/Foundation/GTMStringEncoding.h", | 31 "src/Foundation/GTMStringEncoding.h", |
32 "src/Foundation/GTMStringEncoding.m", | 32 "src/Foundation/GTMStringEncoding.m", |
33 ] | 33 ] |
34 | 34 |
35 configs -= [ "//build/config/compiler:chromium_code" ] | 35 configs -= [ "//build/config/compiler:chromium_code" ] |
36 configs += [ | 36 configs += [ |
37 ":google_toolbox_for_mac_config", | 37 ":google_toolbox_for_mac_config", |
38 "//build/config/compiler:no_chromium_code", | 38 "//build/config/compiler:no_chromium_code", |
39 ] | 39 ] |
40 direct_dependent_configs = [ ":google_toolbox_for_mac_config" ] | 40 public_configs = [ ":google_toolbox_for_mac_config" ] |
41 | 41 |
42 if (!is_ios) { | 42 if (!is_ios) { |
43 sources += [ | 43 sources += [ |
44 "src/AddressBook/GTMABAddressBook.h", | 44 "src/AddressBook/GTMABAddressBook.h", |
45 "src/AddressBook/GTMABAddressBook.m", | 45 "src/AddressBook/GTMABAddressBook.m", |
46 "src/AppKit/GTMCarbonEvent.h", | 46 "src/AppKit/GTMCarbonEvent.h", |
47 "src/AppKit/GTMCarbonEvent.m", | 47 "src/AppKit/GTMCarbonEvent.m", |
48 "src/AppKit/GTMDelegatingTableColumn.h", | 48 "src/AppKit/GTMDelegatingTableColumn.h", |
49 "src/AppKit/GTMDelegatingTableColumn.m", | 49 "src/AppKit/GTMDelegatingTableColumn.m", |
50 "src/AppKit/GTMFadeTruncatingTextFieldCell.h", | 50 "src/AppKit/GTMFadeTruncatingTextFieldCell.h", |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 if (is_component_build) { | 194 if (is_component_build) { |
195 # GTM is third-party code, so we don't want to add _EXPORT | 195 # GTM is third-party code, so we don't want to add _EXPORT |
196 # annotations to it, so build it without -fvisibility=hidden | 196 # annotations to it, so build it without -fvisibility=hidden |
197 # (else the interface class symbols will be hidden in a 64bit | 197 # (else the interface class symbols will be hidden in a 64bit |
198 # build). Only do this in a component build, so that the shipping | 198 # build). Only do this in a component build, so that the shipping |
199 # chrome binary doesn't end up with unnecessarily exported | 199 # chrome binary doesn't end up with unnecessarily exported |
200 # symbols. | 200 # symbols. |
201 config -= [ "//build/config/gcc:symbol_visibility_hidden" ] | 201 config -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
202 } | 202 } |
203 } | 203 } |
OLD | NEW |