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

Side by Side Diff: third_party/class-dump/BUILD.gn

Issue 1806523002: Add BUILD.gn rules to compile third_party/class-dump. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compiler
Patch Set: Use ${host_toolchain} instead of //build/toolchain/mac:clang_x64 Created 4 years, 9 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
« no previous file with comments | « testing/iossim/redirect-stdout.sh ('k') | third_party/class-dump/class-dump.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 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 config("config") {
6 visibility = [ ":class-dump" ]
7 libs = [
8 "Foundation.framework",
9 "crypto",
10 ]
11
12 # TODO(crbug.com/595295): Building class-dump tools requires OS X SDK
13 # version 10.9 or higher. Remove this override once the global version
14 # of the SDK is raised.
15 common_flags = [ "-mmacosx-version-min=10.9" ]
16 ldflags = common_flags
17 cflags_objc = common_flags
18
19 cflags_objc += [
20 "-Wno-semicolon-before-method-body",
21 "-Wno-unused-function",
22 ]
23
24 precompiled_header = "src/class-dump-Prefix.pch"
25 precompiled_source = "src/class-dump-Prefix.pch"
26 }
27
28 executable("class-dump") {
29 include_dirs = [ "src/Source" ]
30 sources = [
31 "src/Source/CDBalanceFormatter.h",
32 "src/Source/CDBalanceFormatter.m",
33 "src/Source/CDClassDump.h",
34 "src/Source/CDClassDump.m",
35 "src/Source/CDClassDumpVisitor.h",
36 "src/Source/CDClassDumpVisitor.m",
37 "src/Source/CDClassFrameworkVisitor.h",
38 "src/Source/CDClassFrameworkVisitor.m",
39 "src/Source/CDDataCursor.h",
40 "src/Source/CDDataCursor.m",
41 "src/Source/CDExtensions.h",
42 "src/Source/CDFatArch.h",
43 "src/Source/CDFatArch.m",
44 "src/Source/CDFatFile.h",
45 "src/Source/CDFatFile.m",
46 "src/Source/CDFile.h",
47 "src/Source/CDFile.m",
48 "src/Source/CDFindMethodVisitor.h",
49 "src/Source/CDFindMethodVisitor.m",
50 "src/Source/CDLCDataInCode.h",
51 "src/Source/CDLCDataInCode.m",
52 "src/Source/CDLCDyldInfo.h",
53 "src/Source/CDLCDyldInfo.m",
54 "src/Source/CDLCDylib.h",
55 "src/Source/CDLCDylib.m",
56 "src/Source/CDLCDylinker.h",
57 "src/Source/CDLCDylinker.m",
58 "src/Source/CDLCDynamicSymbolTable.h",
59 "src/Source/CDLCDynamicSymbolTable.m",
60 "src/Source/CDLCEncryptionInfo.h",
61 "src/Source/CDLCEncryptionInfo.m",
62 "src/Source/CDLCFunctionStarts.h",
63 "src/Source/CDLCFunctionStarts.m",
64 "src/Source/CDLCLinkeditData.h",
65 "src/Source/CDLCLinkeditData.m",
66 "src/Source/CDLCMain.h",
67 "src/Source/CDLCMain.m",
68 "src/Source/CDLCPrebindChecksum.h",
69 "src/Source/CDLCPrebindChecksum.m",
70 "src/Source/CDLCPreboundDylib.h",
71 "src/Source/CDLCPreboundDylib.m",
72 "src/Source/CDLCRoutines32.h",
73 "src/Source/CDLCRoutines32.m",
74 "src/Source/CDLCRoutines64.h",
75 "src/Source/CDLCRoutines64.m",
76 "src/Source/CDLCRunPath.h",
77 "src/Source/CDLCRunPath.m",
78 "src/Source/CDLCSegment.h",
79 "src/Source/CDLCSegment.m",
80 "src/Source/CDLCSourceVersion.h",
81 "src/Source/CDLCSourceVersion.m",
82 "src/Source/CDLCSubClient.h",
83 "src/Source/CDLCSubClient.m",
84 "src/Source/CDLCSubFramework.h",
85 "src/Source/CDLCSubFramework.m",
86 "src/Source/CDLCSubLibrary.h",
87 "src/Source/CDLCSubLibrary.m",
88 "src/Source/CDLCSubUmbrella.h",
89 "src/Source/CDLCSubUmbrella.m",
90 "src/Source/CDLCSymbolTable.h",
91 "src/Source/CDLCSymbolTable.m",
92 "src/Source/CDLCTwoLevelHints.h",
93 "src/Source/CDLCTwoLevelHints.m",
94 "src/Source/CDLCUUID.h",
95 "src/Source/CDLCUUID.m",
96 "src/Source/CDLCUnixThread.h",
97 "src/Source/CDLCUnixThread.m",
98 "src/Source/CDLCUnknown.h",
99 "src/Source/CDLCUnknown.m",
100 "src/Source/CDLCVersionMinimum.h",
101 "src/Source/CDLCVersionMinimum.m",
102 "src/Source/CDLoadCommand.h",
103 "src/Source/CDLoadCommand.m",
104 "src/Source/CDMachOFile.h",
105 "src/Source/CDMachOFile.m",
106 "src/Source/CDMachOFileDataCursor.h",
107 "src/Source/CDMachOFileDataCursor.m",
108 "src/Source/CDMethodType.h",
109 "src/Source/CDMethodType.m",
110 "src/Source/CDMultiFileVisitor.h",
111 "src/Source/CDMultiFileVisitor.m",
112 "src/Source/CDOCCategory.h",
113 "src/Source/CDOCCategory.m",
114 "src/Source/CDOCClass.h",
115 "src/Source/CDOCClass.m",
116 "src/Source/CDOCClassReference.h",
117 "src/Source/CDOCClassReference.m",
118 "src/Source/CDOCInstanceVariable.h",
119 "src/Source/CDOCInstanceVariable.m",
120 "src/Source/CDOCMethod.h",
121 "src/Source/CDOCMethod.m",
122 "src/Source/CDOCModule.h",
123 "src/Source/CDOCModule.m",
124 "src/Source/CDOCProperty.h",
125 "src/Source/CDOCProperty.m",
126 "src/Source/CDOCProtocol.h",
127 "src/Source/CDOCProtocol.m",
128 "src/Source/CDOCSymtab.h",
129 "src/Source/CDOCSymtab.m",
130 "src/Source/CDObjectiveC1Processor.h",
131 "src/Source/CDObjectiveC1Processor.m",
132 "src/Source/CDObjectiveC2Processor.h",
133 "src/Source/CDObjectiveC2Processor.m",
134 "src/Source/CDObjectiveCProcessor.h",
135 "src/Source/CDObjectiveCProcessor.m",
136 "src/Source/CDProtocolUniquer.h",
137 "src/Source/CDProtocolUniquer.m",
138 "src/Source/CDRelocationInfo.h",
139 "src/Source/CDRelocationInfo.m",
140 "src/Source/CDSearchPathState.h",
141 "src/Source/CDSearchPathState.m",
142 "src/Source/CDSection.h",
143 "src/Source/CDSection.m",
144 "src/Source/CDStructureInfo.h",
145 "src/Source/CDStructureInfo.m",
146 "src/Source/CDStructureTable.h",
147 "src/Source/CDStructureTable.m",
148 "src/Source/CDSymbol.h",
149 "src/Source/CDSymbol.m",
150 "src/Source/CDTextClassDumpVisitor.h",
151 "src/Source/CDTextClassDumpVisitor.m",
152 "src/Source/CDTopoSortNode.h",
153 "src/Source/CDTopoSortNode.m",
154 "src/Source/CDTopologicalSortProtocol.h",
155 "src/Source/CDType.h",
156 "src/Source/CDType.m",
157 "src/Source/CDTypeController.h",
158 "src/Source/CDTypeController.m",
159 "src/Source/CDTypeFormatter.h",
160 "src/Source/CDTypeFormatter.m",
161 "src/Source/CDTypeLexer.h",
162 "src/Source/CDTypeLexer.m",
163 "src/Source/CDTypeName.h",
164 "src/Source/CDTypeName.m",
165 "src/Source/CDTypeParser.h",
166 "src/Source/CDTypeParser.m",
167 "src/Source/CDVisitor.h",
168 "src/Source/CDVisitor.m",
169 "src/Source/CDVisitorPropertyState.h",
170 "src/Source/CDVisitorPropertyState.m",
171 "src/Source/NSArray-CDExtensions.h",
172 "src/Source/NSArray-CDExtensions.m",
173 "src/Source/NSData-CDExtensions.h",
174 "src/Source/NSData-CDExtensions.m",
175 "src/Source/NSError-CDExtensions.h",
176 "src/Source/NSError-CDExtensions.m",
177 "src/Source/NSScanner-CDExtensions.h",
178 "src/Source/NSScanner-CDExtensions.m",
179 "src/Source/NSString-CDExtensions.h",
180 "src/Source/NSString-CDExtensions.m",
181 "src/Source/ULEB128.h",
182 "src/Source/ULEB128.m",
183 "src/Source/cd_objc2.h",
184 "src/class-dump.m",
185 ]
186
187 configs += [
188 ":config",
189 "//build/config/compiler:enable_arc",
190 "//build/config/compiler:no_chromium_code",
191 ]
192
193 # TODO(crbug.com/595295): Building class-dump tools requires OS X SDK
194 # version 10.9 or higher. To prevent mixing code using different value
195 # of minimum SDK supported, forbids dependencies on any Chromium target.
196 assert_no_deps = [ "//base/*" ]
197 }
OLDNEW
« no previous file with comments | « testing/iossim/redirect-stdout.sh ('k') | third_party/class-dump/class-dump.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698