OLD | NEW |
| (Empty) |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'mac_deployment_target': '10.9', | |
8 'mac_sdk_min': '10.9', | |
9 }, | |
10 'targets': [ | |
11 { | |
12 # GN version //third_party/class-dump(//build/toolchain/mac:clang_x64) | |
13 'target_name': 'class-dump', | |
14 'toolsets': ['host'], | |
15 'type': 'executable', | |
16 'sources': [ | |
17 'src/class-dump.m', | |
18 'src/Source/CDBalanceFormatter.h', | |
19 'src/Source/CDBalanceFormatter.m', | |
20 'src/Source/CDClassDump.h', | |
21 'src/Source/CDClassDump.m', | |
22 'src/Source/CDClassDumpVisitor.h', | |
23 'src/Source/CDClassDumpVisitor.m', | |
24 'src/Source/CDClassFrameworkVisitor.h', | |
25 'src/Source/CDClassFrameworkVisitor.m', | |
26 'src/Source/CDDataCursor.h', | |
27 'src/Source/CDDataCursor.m', | |
28 'src/Source/CDExtensions.h', | |
29 'src/Source/CDFatArch.h', | |
30 'src/Source/CDFatArch.m', | |
31 'src/Source/CDFatFile.h', | |
32 'src/Source/CDFatFile.m', | |
33 'src/Source/CDFile.h', | |
34 'src/Source/CDFile.m', | |
35 'src/Source/CDFindMethodVisitor.h', | |
36 'src/Source/CDFindMethodVisitor.m', | |
37 'src/Source/CDLCDataInCode.h', | |
38 'src/Source/CDLCDataInCode.m', | |
39 'src/Source/CDLCDyldInfo.h', | |
40 'src/Source/CDLCDyldInfo.m', | |
41 'src/Source/CDLCDylib.h', | |
42 'src/Source/CDLCDylib.m', | |
43 'src/Source/CDLCDylinker.h', | |
44 'src/Source/CDLCDylinker.m', | |
45 'src/Source/CDLCDynamicSymbolTable.h', | |
46 'src/Source/CDLCDynamicSymbolTable.m', | |
47 'src/Source/CDLCEncryptionInfo.h', | |
48 'src/Source/CDLCEncryptionInfo.m', | |
49 'src/Source/CDLCFunctionStarts.h', | |
50 'src/Source/CDLCFunctionStarts.m', | |
51 'src/Source/CDLCLinkeditData.h', | |
52 'src/Source/CDLCLinkeditData.m', | |
53 'src/Source/CDLCMain.h', | |
54 'src/Source/CDLCMain.m', | |
55 'src/Source/CDLCPrebindChecksum.h', | |
56 'src/Source/CDLCPrebindChecksum.m', | |
57 'src/Source/CDLCPreboundDylib.h', | |
58 'src/Source/CDLCPreboundDylib.m', | |
59 'src/Source/CDLCRoutines32.h', | |
60 'src/Source/CDLCRoutines32.m', | |
61 'src/Source/CDLCRoutines64.h', | |
62 'src/Source/CDLCRoutines64.m', | |
63 'src/Source/CDLCRunPath.h', | |
64 'src/Source/CDLCRunPath.m', | |
65 'src/Source/CDLCSegment.h', | |
66 'src/Source/CDLCSegment.m', | |
67 'src/Source/CDLCSourceVersion.h', | |
68 'src/Source/CDLCSourceVersion.m', | |
69 'src/Source/CDLCSubClient.h', | |
70 'src/Source/CDLCSubClient.m', | |
71 'src/Source/CDLCSubFramework.h', | |
72 'src/Source/CDLCSubFramework.m', | |
73 'src/Source/CDLCSubLibrary.h', | |
74 'src/Source/CDLCSubLibrary.m', | |
75 'src/Source/CDLCSubUmbrella.h', | |
76 'src/Source/CDLCSubUmbrella.m', | |
77 'src/Source/CDLCSymbolTable.h', | |
78 'src/Source/CDLCSymbolTable.m', | |
79 'src/Source/CDLCTwoLevelHints.h', | |
80 'src/Source/CDLCTwoLevelHints.m', | |
81 'src/Source/CDLCUnixThread.h', | |
82 'src/Source/CDLCUnixThread.m', | |
83 'src/Source/CDLCUnknown.h', | |
84 'src/Source/CDLCUnknown.m', | |
85 'src/Source/CDLCUUID.h', | |
86 'src/Source/CDLCUUID.m', | |
87 'src/Source/CDLCVersionMinimum.h', | |
88 'src/Source/CDLCVersionMinimum.m', | |
89 'src/Source/CDLoadCommand.h', | |
90 'src/Source/CDLoadCommand.m', | |
91 'src/Source/CDMachOFile.h', | |
92 'src/Source/CDMachOFile.m', | |
93 'src/Source/CDMachOFileDataCursor.h', | |
94 'src/Source/CDMachOFileDataCursor.m', | |
95 'src/Source/CDMethodType.h', | |
96 'src/Source/CDMethodType.m', | |
97 'src/Source/CDMultiFileVisitor.h', | |
98 'src/Source/CDMultiFileVisitor.m', | |
99 'src/Source/CDObjectiveC1Processor.h', | |
100 'src/Source/CDObjectiveC1Processor.m', | |
101 'src/Source/CDObjectiveC2Processor.h', | |
102 'src/Source/CDObjectiveC2Processor.m', | |
103 'src/Source/CDObjectiveCProcessor.h', | |
104 'src/Source/CDObjectiveCProcessor.m', | |
105 'src/Source/CDOCCategory.h', | |
106 'src/Source/CDOCCategory.m', | |
107 'src/Source/CDOCClass.h', | |
108 'src/Source/CDOCClass.m', | |
109 'src/Source/CDOCClassReference.h', | |
110 'src/Source/CDOCClassReference.m', | |
111 'src/Source/CDOCInstanceVariable.h', | |
112 'src/Source/CDOCInstanceVariable.m', | |
113 'src/Source/CDOCMethod.h', | |
114 'src/Source/CDOCMethod.m', | |
115 'src/Source/CDOCModule.h', | |
116 'src/Source/CDOCModule.m', | |
117 'src/Source/CDOCProperty.h', | |
118 'src/Source/CDOCProperty.m', | |
119 'src/Source/CDOCProtocol.h', | |
120 'src/Source/CDOCProtocol.m', | |
121 'src/Source/CDOCSymtab.h', | |
122 'src/Source/CDOCSymtab.m', | |
123 'src/Source/CDProtocolUniquer.h', | |
124 'src/Source/CDProtocolUniquer.m', | |
125 'src/Source/CDRelocationInfo.h', | |
126 'src/Source/CDRelocationInfo.m', | |
127 'src/Source/CDSearchPathState.h', | |
128 'src/Source/CDSearchPathState.m', | |
129 'src/Source/CDSection.h', | |
130 'src/Source/CDSection.m', | |
131 'src/Source/CDStructureInfo.h', | |
132 'src/Source/CDStructureInfo.m', | |
133 'src/Source/CDStructureTable.h', | |
134 'src/Source/CDStructureTable.m', | |
135 'src/Source/CDSymbol.h', | |
136 'src/Source/CDSymbol.m', | |
137 'src/Source/CDTextClassDumpVisitor.h', | |
138 'src/Source/CDTextClassDumpVisitor.m', | |
139 'src/Source/CDTopologicalSortProtocol.h', | |
140 'src/Source/CDTopoSortNode.h', | |
141 'src/Source/CDTopoSortNode.m', | |
142 'src/Source/CDType.h', | |
143 'src/Source/CDType.m', | |
144 'src/Source/CDTypeController.h', | |
145 'src/Source/CDTypeController.m', | |
146 'src/Source/CDTypeFormatter.h', | |
147 'src/Source/CDTypeFormatter.m', | |
148 'src/Source/CDTypeLexer.h', | |
149 'src/Source/CDTypeLexer.m', | |
150 'src/Source/CDTypeName.h', | |
151 'src/Source/CDTypeName.m', | |
152 'src/Source/CDTypeParser.h', | |
153 'src/Source/CDTypeParser.m', | |
154 'src/Source/CDVisitor.h', | |
155 'src/Source/CDVisitor.m', | |
156 'src/Source/CDVisitorPropertyState.h', | |
157 'src/Source/CDVisitorPropertyState.m', | |
158 'src/Source/NSArray-CDExtensions.h', | |
159 'src/Source/NSArray-CDExtensions.m', | |
160 'src/Source/NSData-CDExtensions.h', | |
161 'src/Source/NSData-CDExtensions.m', | |
162 'src/Source/NSError-CDExtensions.h', | |
163 'src/Source/NSError-CDExtensions.m', | |
164 'src/Source/NSScanner-CDExtensions.h', | |
165 'src/Source/NSScanner-CDExtensions.m', | |
166 'src/Source/NSString-CDExtensions.h', | |
167 'src/Source/NSString-CDExtensions.m', | |
168 'src/Source/ULEB128.h', | |
169 'src/Source/ULEB128.m', | |
170 'src/Source/cd_objc2.h', | |
171 ], | |
172 'variables': { | |
173 'clang_warning_flags': [ | |
174 # hundreds of technically incorrect calls to stringWithFormat | |
175 '-Wno-format', | |
176 # e.g. CDRebaseTypeDescription in CDLCDyldInfo.m | |
177 '-Wno-unused-function', | |
178 ], | |
179 }, | |
180 'link_settings': { | |
181 'libraries': [ | |
182 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
183 ], | |
184 }, | |
185 'include_dirs': [ | |
186 'src/Source', | |
187 ], | |
188 'xcode_settings': { | |
189 'GCC_PREFIX_HEADER': 'src/class-dump-Prefix.pch', | |
190 'CLANG_ENABLE_OBJC_ARC': 'YES', | |
191 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', | |
192 }, | |
193 }, | |
194 ], # targets | |
195 } | |
OLD | NEW |