File: google_toolbox_for_mac.gyp

package info (click to toggle)
qtwebengine-opensource-src 5.7.1+dfsg-6.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,028,096 kB
  • ctags: 1,436,736
  • sloc: cpp: 5,960,176; ansic: 3,477,727; asm: 395,492; python: 320,633; sh: 96,504; perl: 69,449; xml: 42,977; makefile: 28,408; objc: 9,962; yacc: 9,847; tcl: 5,430; lex: 2,259; ruby: 1,053; lisp: 522; awk: 497; pascal: 310; cs: 249; sed: 53
file content (232 lines) | stat: -rw-r--r-- 10,123 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'google_toolbox_for_mac',
      'type': '<(component)',
      'include_dirs': [
        '.',
        'src',
        'src/AppKit',
        'src/DebugUtils',
        'src/Foundation',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '.',
          'src',
          'src/AppKit',
          'src/DebugUtils',
          'src/Foundation',
        ],
      },
      'sources': [
        'src/AddressBook/GTMABAddressBook.h',
        'src/AddressBook/GTMABAddressBook.m',
        'src/AppKit/GTMCarbonEvent.h',
        'src/AppKit/GTMCarbonEvent.m',
        'src/AppKit/GTMDelegatingTableColumn.h',
        'src/AppKit/GTMDelegatingTableColumn.m',
        'src/AppKit/GTMFadeTruncatingTextFieldCell.h',
        'src/AppKit/GTMFadeTruncatingTextFieldCell.m',
        'src/AppKit/GTMGetURLHandler.m',
        'src/AppKit/GTMGoogleSearch.h',
        'src/AppKit/GTMGoogleSearch.m',
        'src/AppKit/GTMHotKeyTextField.h',
        'src/AppKit/GTMHotKeyTextField.m',
        'src/AppKit/GTMIBArray.h',
        'src/AppKit/GTMIBArray.m',
        'src/AppKit/GTMKeyValueAnimation.h',
        'src/AppKit/GTMKeyValueAnimation.m',
        'src/AppKit/GTMLargeTypeWindow.h',
        'src/AppKit/GTMLargeTypeWindow.m',
        'src/AppKit/GTMLinearRGBShading.h',
        'src/AppKit/GTMLinearRGBShading.m',
        'src/AppKit/GTMLoginItems.h',
        'src/AppKit/GTMLoginItems.m',
        'src/AppKit/GTMNSAnimatablePropertyContainer.h',
        'src/AppKit/GTMNSAnimatablePropertyContainer.m',
        'src/AppKit/GTMNSAnimation+Duration.h',
        'src/AppKit/GTMNSAnimation+Duration.m',
        'src/AppKit/GTMNSBezierPath+CGPath.h',
        'src/AppKit/GTMNSBezierPath+CGPath.m',
        'src/AppKit/GTMNSBezierPath+RoundRect.h',
        'src/AppKit/GTMNSBezierPath+RoundRect.m',
        'src/AppKit/GTMNSBezierPath+Shading.h',
        'src/AppKit/GTMNSBezierPath+Shading.m',
        'src/AppKit/GTMNSColor+Luminance.h',
        'src/AppKit/GTMNSColor+Luminance.m',
        'src/AppKit/GTMNSImage+Scaling.h',
        'src/AppKit/GTMNSImage+Scaling.m',
        'src/AppKit/GTMNSImage+SearchCache.h',
        'src/AppKit/GTMNSImage+SearchCache.m',
        'src/AppKit/GTMNSWorkspace+Running.h',
        'src/AppKit/GTMNSWorkspace+Running.m',
        'src/AppKit/GTMShading.h',
        'src/AppKit/GTMUILocalizer.h',
        'src/AppKit/GTMUILocalizer.m',
        'src/AppKit/GTMUILocalizerAndLayoutTweaker.h',
        'src/AppKit/GTMUILocalizerAndLayoutTweaker.m',
        'src/AppKit/GTMWindowSheetController.h',
        'src/AppKit/GTMWindowSheetController.m',
        'src/DebugUtils/GTMDebugSelectorValidation.h',
        'src/DebugUtils/GTMDebugThreadValidation.h',
        'src/DebugUtils/GTMDebugThreadValidation.m',
        'src/DebugUtils/GTMMethodCheck.h',
        'src/DebugUtils/GTMMethodCheck.m',
        'src/DebugUtils/GTMTypeCasting.h',
        'src/Foundation/GTMAbstractDOListener.h',
        'src/Foundation/GTMAbstractDOListener.m',
        'src/Foundation/GTMCalculatedRange.h',
        'src/Foundation/GTMCalculatedRange.m',
        'src/Foundation/GTMExceptionalInlines.h',
        'src/Foundation/GTMExceptionalInlines.m',
        'src/Foundation/GTMFileSystemKQueue.h',
        'src/Foundation/GTMFileSystemKQueue.m',
        'src/Foundation/GTMFourCharCode.h',
        'src/Foundation/GTMFourCharCode.m',
        'src/Foundation/GTMGarbageCollection.h',
        'src/Foundation/GTMGeometryUtils.h',
        'src/Foundation/GTMGeometryUtils.m',
        'src/Foundation/GTMLightweightProxy.h',
        'src/Foundation/GTMLightweightProxy.m',
        'src/Foundation/GTMLocalizedString.h',
        'src/Foundation/GTMLogger+ASL.h',
        'src/Foundation/GTMLogger+ASL.m',
        'src/Foundation/GTMLogger.h',
        'src/Foundation/GTMLogger.m',
        'src/Foundation/GTMLoggerRingBufferWriter.h',
        'src/Foundation/GTMLoggerRingBufferWriter.m',
        'src/Foundation/GTMNSAppleEventDescriptor+Foundation.h',
        'src/Foundation/GTMNSAppleEventDescriptor+Foundation.m',
        'src/Foundation/GTMNSAppleEventDescriptor+Handler.h',
        'src/Foundation/GTMNSAppleEventDescriptor+Handler.m',
        'src/Foundation/GTMNSAppleScript+Handler.h',
        'src/Foundation/GTMNSAppleScript+Handler.m',
        'src/Foundation/GTMNSArray+Merge.h',
        'src/Foundation/GTMNSArray+Merge.m',
        'src/Foundation/GTMNSDictionary+CaseInsensitive.h',
        'src/Foundation/GTMNSDictionary+CaseInsensitive.m',
        'src/Foundation/GTMNSDictionary+URLArguments.h',
        'src/Foundation/GTMNSDictionary+URLArguments.m',
        'src/Foundation/GTMNSEnumerator+Filter.h',
        'src/Foundation/GTMNSEnumerator+Filter.m',
        'src/Foundation/GTMNSFileHandle+UniqueName.h',
        'src/Foundation/GTMNSFileHandle+UniqueName.m',
        'src/Foundation/GTMNSFileManager+Carbon.h',
        'src/Foundation/GTMNSFileManager+Carbon.m',
        'src/Foundation/GTMNSFileManager+Path.h',
        'src/Foundation/GTMNSFileManager+Path.m',
        'src/Foundation/GTMNSNumber+64Bit.h',
        'src/Foundation/GTMNSNumber+64Bit.m',
        'src/Foundation/GTMNSObject+KeyValueObserving.h',
        'src/Foundation/GTMNSObject+KeyValueObserving.m',
        'src/Foundation/GTMNSScanner+JSON.h',
        'src/Foundation/GTMNSScanner+JSON.m',
        'src/Foundation/GTMNSScanner+Unsigned.h',
        'src/Foundation/GTMNSScanner+Unsigned.m',
        'src/Foundation/GTMNSString+FindFolder.h',
        'src/Foundation/GTMNSString+FindFolder.m',
        'src/Foundation/GTMNSString+HTML.h',
        'src/Foundation/GTMNSString+HTML.m',
        'src/Foundation/GTMNSString+Replace.h',
        'src/Foundation/GTMNSString+Replace.m',
        'src/Foundation/GTMNSString+URLArguments.h',
        'src/Foundation/GTMNSString+URLArguments.m',
        'src/Foundation/GTMNSString+XML.h',
        'src/Foundation/GTMNSString+XML.m',
        'src/Foundation/GTMNSThread+Blocks.h',
        'src/Foundation/GTMNSThread+Blocks.m',
        'src/Foundation/GTMObjC2Runtime.h',
        'src/Foundation/GTMObjC2Runtime.m',
        'src/Foundation/GTMObjectSingleton.h',
        'src/Foundation/GTMPath.h',
        'src/Foundation/GTMPath.m',
        'src/Foundation/GTMRegex.h',
        'src/Foundation/GTMRegex.m',
        'src/Foundation/GTMScriptRunner.h',
        'src/Foundation/GTMScriptRunner.m',
        'src/Foundation/GTMServiceManagement.c',
        'src/Foundation/GTMServiceManagement.h',
        'src/Foundation/GTMSignalHandler.h',
        'src/Foundation/GTMSignalHandler.m',
        'src/Foundation/GTMStackTrace.h',
        'src/Foundation/GTMStackTrace.m',
        'src/Foundation/GTMStringEncoding.h',
        'src/Foundation/GTMStringEncoding.m',
        'src/Foundation/GTMSystemVersion.h',
        'src/Foundation/GTMSystemVersion.m',
        'src/Foundation/GTMTransientRootPortProxy.h',
        'src/Foundation/GTMTransientRootPortProxy.m',
        'src/Foundation/GTMTransientRootProxy.h',
        'src/Foundation/GTMTransientRootProxy.m',
        'src/Foundation/GTMURITemplate.h',
        'src/Foundation/GTMURITemplate.m',
        'src/Foundation/GTMValidatingContainers.h',
        'src/Foundation/GTMValidatingContainers.m',
        'src/GTMDefines.h',
        'src/iPhone/GTMFadeTruncatingLabel.h',
        'src/iPhone/GTMFadeTruncatingLabel.m',
        'src/iPhone/GTMRoundedRectPath.h',
        'src/iPhone/GTMRoundedRectPath.m',
        'src/iPhone/GTMUIImage+Resize.h',
        'src/iPhone/GTMUIImage+Resize.m',
        'src/iPhone/GTMUILocalizer.h',
        'src/iPhone/GTMUILocalizer.m',
      ],
      'conditions': [
        ['component=="shared_library"',
          {
            # GTM is third-party code, so we don't want to add _EXPORT
            # annotations to it, so build it without -fvisibility=hidden
            # (else the interface class symbols will be hidden in a 64bit
            # build). Only do this in a component build, so that the shipping
            # chrome binary doesn't end up with unnecessarily exported
            # symbols.
            'xcode_settings': {
              'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
            },
          }
        ],
        ['OS!="ios"', {
          'sources/': [
            ['exclude', '^src/iPhone/'],
          ],
          'link_settings': {
            'libraries': [
              '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework',
              '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
              '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
              '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
              '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
            ],
          },
        }, {  # OS=="ios"
          'sources/': [
            # Exclude everything except what's needed for iOS.
            ['exclude', '\\.(c|m)$'],
            ['include', '^src/DebugUtils/GTMMethodCheck\\.m$'],
            ['include', '^src/Foundation/GTMLightweightProxy\\.m$'],
            ['include', '^src/Foundation/GTMLogger\\.m$'],
            ['include', '^src/Foundation/GTMNSDictionary\\+URLArguments\\.m$'],
            ['include', '^src/Foundation/GTMNSObject\\+KeyValueObserving\\.m$'],
            ['include', '^src/Foundation/GTMNSString\\+HTML\\.m$'],
            ['include', '^src/Foundation/GTMNSString\\+URLArguments\\.m$'],
            ['include', '^src/Foundation/GTMRegex\\.m$'],
            ['include', '^src/Foundation/GTMStringEncoding\\.m$'],
            ['include', '^src/iPhone/'],
          ],
          # TODO(crbug.com/569158): Suppresses warnings that are treated as
          # errors when minimum iOS version support is increased to iOS 9. This
          # should be removed once all deprecation violations have been fixed.
          'xcode_settings': {
            'WARNING_CFLAGS': ['-Wno-deprecated-declarations'],
          },
        }],
      ],
    },
  ],
}