| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 "src/Foundation/GTMTransientRootProxy.h", | 165 "src/Foundation/GTMTransientRootProxy.h", |
| 166 "src/Foundation/GTMTransientRootProxy.m", | 166 "src/Foundation/GTMTransientRootProxy.m", |
| 167 "src/Foundation/GTMURITemplate.h", | 167 "src/Foundation/GTMURITemplate.h", |
| 168 "src/Foundation/GTMURITemplate.m", | 168 "src/Foundation/GTMURITemplate.m", |
| 169 "src/Foundation/GTMValidatingContainers.h", | 169 "src/Foundation/GTMValidatingContainers.h", |
| 170 "src/Foundation/GTMValidatingContainers.m", | 170 "src/Foundation/GTMValidatingContainers.m", |
| 171 "src/GTMDefines.h", | 171 "src/GTMDefines.h", |
| 172 ] | 172 ] |
| 173 | 173 |
| 174 libs = [ | 174 libs = [ |
| 175 "AddressBook", | 175 "AddressBook.framework", |
| 176 "AppKit", | 176 "AppKit.framework", |
| 177 "Carbon", | 177 "Carbon.framework", |
| 178 "Cocoa", | 178 "Cocoa.framework", |
| 179 "QuartzCore", | 179 "QuartzCore.framework", |
| 180 ] | 180 ] |
| 181 } else { # is_ios | 181 } else { # is_ios |
| 182 sources += [ | 182 sources += [ |
| 183 "src/iPhone/GTMFadeTruncatingLabel.h", | 183 "src/iPhone/GTMFadeTruncatingLabel.h", |
| 184 "src/iPhone/GTMFadeTruncatingLabel.m", | 184 "src/iPhone/GTMFadeTruncatingLabel.m", |
| 185 "src/iPhone/GTMRoundedRectPath.h", | 185 "src/iPhone/GTMRoundedRectPath.h", |
| 186 "src/iPhone/GTMRoundedRectPath.m", | 186 "src/iPhone/GTMRoundedRectPath.m", |
| 187 "src/iPhone/GTMUIImage+Resize.h", | 187 "src/iPhone/GTMUIImage+Resize.h", |
| 188 "src/iPhone/GTMUIImage+Resize.m", | 188 "src/iPhone/GTMUIImage+Resize.m", |
| 189 "src/iPhone/GTMUILocalizer.h", | 189 "src/iPhone/GTMUILocalizer.h", |
| 190 "src/iPhone/GTMUILocalizer.m", | 190 "src/iPhone/GTMUILocalizer.m", |
| 191 ] | 191 ] |
| 192 } | 192 } |
| 193 | 193 |
| 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 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
| 202 } | 202 } |
| 203 } | 203 } |
| OLD | NEW |