Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/google_toolbox_for_mac/BUILD.gn

Issue 2173873002: iOS: Re-add bits of GTM we actually use. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix google_toolbox_for_mac.gyp Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_public_config") { 5 config("google_toolbox_for_mac_public_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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 libs = [ 54 libs = [
55 "AddressBook.framework", 55 "AddressBook.framework",
56 "AppKit.framework", 56 "AppKit.framework",
57 "Carbon.framework", 57 "Carbon.framework",
58 "Cocoa.framework", 58 "Cocoa.framework",
59 "QuartzCore.framework", 59 "QuartzCore.framework",
60 ] 60 ]
61 } else { # is_ios 61 } else { # is_ios
62 sources += [ 62 sources += [
63 "src/DebugUtils/GTMMethodCheck.h",
64 "src/DebugUtils/GTMMethodCheck.m",
63 "src/Foundation/GTMLightweightProxy.h", 65 "src/Foundation/GTMLightweightProxy.h",
64 "src/Foundation/GTMLightweightProxy.m", 66 "src/Foundation/GTMLightweightProxy.m",
65 67
66 # GTMLogger is used by breakpad, which is still used on iOS. 68 # GTMLogger is used by breakpad, which is still used on iOS.
67 "src/Foundation/GTMLogger.h", 69 "src/Foundation/GTMLogger.h",
68 "src/Foundation/GTMLogger.m", 70 "src/Foundation/GTMLogger.m",
71 "src/Foundation/GTMNSDictionary+URLArguments.h",
72 "src/Foundation/GTMNSDictionary+URLArguments.m",
69 "src/Foundation/GTMNSString+URLArguments.h", 73 "src/Foundation/GTMNSString+URLArguments.h",
70 "src/Foundation/GTMNSString+URLArguments.m", 74 "src/Foundation/GTMNSString+URLArguments.m",
71 "src/iPhone/GTMFadeTruncatingLabel.h", 75 "src/iPhone/GTMFadeTruncatingLabel.h",
72 "src/iPhone/GTMFadeTruncatingLabel.m", 76 "src/iPhone/GTMFadeTruncatingLabel.m",
73 "src/iPhone/GTMRoundedRectPath.h", 77 "src/iPhone/GTMRoundedRectPath.h",
74 "src/iPhone/GTMRoundedRectPath.m", 78 "src/iPhone/GTMRoundedRectPath.m",
75 "src/iPhone/GTMUIImage+Resize.h", 79 "src/iPhone/GTMUIImage+Resize.h",
76 "src/iPhone/GTMUIImage+Resize.m", 80 "src/iPhone/GTMUIImage+Resize.m",
77 "src/iPhone/GTMUILocalizer.h", 81 "src/iPhone/GTMUILocalizer.h",
78 "src/iPhone/GTMUILocalizer.m", 82 "src/iPhone/GTMUILocalizer.m",
79 ] 83 ]
80 84
81 # TODO(crbug.com/569158): Suppresses warnings that are treated as errors 85 # TODO(crbug.com/569158): Suppresses warnings that are treated as errors
82 # when minimum iOS version support is increased to iOS 9 and up. 86 # when minimum iOS version support is increased to iOS 9 and up.
83 # This should be removed once all deprecation violations have been fixed. 87 # This should be removed once all deprecation violations have been fixed.
84 cflags = [ "-Wno-deprecated-declarations" ] 88 cflags = [ "-Wno-deprecated-declarations" ]
85 } 89 }
86 90
87 if (is_component_build) { 91 if (is_component_build) {
88 # GTM is third-party code, so we don't want to add _EXPORT 92 # GTM is third-party code, so we don't want to add _EXPORT
89 # annotations to it, so build it without -fvisibility=hidden 93 # annotations to it, so build it without -fvisibility=hidden
90 # (else the interface class symbols will be hidden in a 64bit 94 # (else the interface class symbols will be hidden in a 64bit
91 # build). Only do this in a component build, so that the shipping 95 # build). Only do this in a component build, so that the shipping
92 # chrome binary doesn't end up with unnecessarily exported 96 # chrome binary doesn't end up with unnecessarily exported
93 # symbols. 97 # symbols.
94 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] 98 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
95 configs += [ "//build/config/gcc:symbol_visibility_default" ] 99 configs += [ "//build/config/gcc:symbol_visibility_default" ]
96 } 100 }
97 } 101 }
OLDNEW
« no previous file with comments | « ios/chrome/test/google_toolbox_unittest.mm ('k') | third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698