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

Side by Side Diff: tools/tools.gyp

Issue 990553003: Set product_name on many targets to use a crashpad_ prefix (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Use target_name instead of product_name Created 5 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 | « snapshot/snapshot.gyp ('k') | util/test/executable_path_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Crashpad Authors. All rights reserved. 1 # Copyright 2014 The Crashpad Authors. All rights reserved.
2 # 2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); 3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License. 4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at 5 # You may obtain a copy of the License at
6 # 6 #
7 # http://www.apache.org/licenses/LICENSE-2.0 7 # http://www.apache.org/licenses/LICENSE-2.0
8 # 8 #
9 # Unless required by applicable law or agreed to in writing, software 9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, 10 # distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 26 matching lines...) Expand all
37 'sectaskaccess_info_plist': 37 'sectaskaccess_info_plist':
38 '../../tools/mac/sectaskaccess_info.plist', 38 '../../tools/mac/sectaskaccess_info.plist',
39 }, { # else: GENERATOR!="ninja" 39 }, { # else: GENERATOR!="ninja"
40 'sectaskaccess_info_plist': 'mac/sectaskaccess_info.plist', 40 'sectaskaccess_info_plist': 'mac/sectaskaccess_info.plist',
41 }], 41 }],
42 ], 42 ],
43 }, 43 },
44 44
45 'targets': [ 45 'targets': [
46 { 46 {
47 'target_name': 'tool_support', 47 'target_name': 'crashpad_tool_support',
48 'type': 'static_library', 48 'type': 'static_library',
49 'dependencies': [ 49 'dependencies': [
50 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', 50 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base',
51 ], 51 ],
52 'include_dirs': [ 52 'include_dirs': [
53 '..', 53 '..',
54 ], 54 ],
55 'sources': [ 55 'sources': [
56 'tool_support.cc', 56 'tool_support.cc',
57 'tool_support.h', 57 'tool_support.h',
58 ], 58 ],
59 }, 59 },
60 { 60 {
61 'target_name': 'catch_exception_tool', 61 'target_name': 'catch_exception_tool',
62 'type': 'executable', 62 'type': 'executable',
63 'dependencies': [ 63 'dependencies': [
64 'tool_support', 64 'crashpad_tool_support',
65 '../compat/compat.gyp:compat', 65 '../compat/compat.gyp:crashpad_compat',
66 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', 66 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base',
67 '../util/util.gyp:util', 67 '../util/util.gyp:crashpad_util',
68 ], 68 ],
69 'include_dirs': [ 69 'include_dirs': [
70 '..', 70 '..',
71 ], 71 ],
72 'sources': [ 72 'sources': [
73 'mac/catch_exception_tool.cc', 73 'mac/catch_exception_tool.cc',
74 ], 74 ],
75 }, 75 },
76 { 76 {
77 'target_name': 'exception_port_tool', 77 'target_name': 'exception_port_tool',
78 'type': 'executable', 78 'type': 'executable',
79 'dependencies': [ 79 'dependencies': [
80 'tool_support', 80 'crashpad_tool_support',
81 '../compat/compat.gyp:compat', 81 '../compat/compat.gyp:crashpad_compat',
82 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', 82 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base',
83 '../util/util.gyp:util', 83 '../util/util.gyp:crashpad_util',
84 ], 84 ],
85 'include_dirs': [ 85 'include_dirs': [
86 '..', 86 '..',
87 ], 87 ],
88 'sources': [ 88 'sources': [
89 'mac/exception_port_tool.cc', 89 'mac/exception_port_tool.cc',
90 ], 90 ],
91 'xcode_settings': { 91 'xcode_settings': {
92 'OTHER_LDFLAGS': [ 92 'OTHER_LDFLAGS': [
93 '-sectcreate', 93 '-sectcreate',
94 '__TEXT', 94 '__TEXT',
95 '__info_plist', 95 '__info_plist',
96 '<(sectaskaccess_info_plist)' 96 '<(sectaskaccess_info_plist)'
97 ], 97 ],
98 }, 98 },
99 }, 99 },
100 { 100 {
101 'target_name': 'generate_dump', 101 'target_name': 'generate_dump',
102 'type': 'executable', 102 'type': 'executable',
103 'dependencies': [ 103 'dependencies': [
104 'tool_support', 104 'crashpad_tool_support',
105 '../compat/compat.gyp:compat', 105 '../compat/compat.gyp:crashpad_compat',
106 '../minidump/minidump.gyp:minidump', 106 '../minidump/minidump.gyp:crashpad_minidump',
107 '../snapshot/snapshot.gyp:snapshot', 107 '../snapshot/snapshot.gyp:crashpad_snapshot',
108 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', 108 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base',
109 '../util/util.gyp:util', 109 '../util/util.gyp:crashpad_util',
110 ], 110 ],
111 'include_dirs': [ 111 'include_dirs': [
112 '..', 112 '..',
113 ], 113 ],
114 'sources': [ 114 'sources': [
115 'generate_dump.cc', 115 'generate_dump.cc',
116 ], 116 ],
117 'xcode_settings': { 117 'xcode_settings': {
118 'OTHER_LDFLAGS': [ 118 'OTHER_LDFLAGS': [
119 '-sectcreate', 119 '-sectcreate',
120 '__TEXT', 120 '__TEXT',
121 '__info_plist', 121 '__info_plist',
122 '<(sectaskaccess_info_plist)' 122 '<(sectaskaccess_info_plist)'
123 ], 123 ],
124 }, 124 },
125 }, 125 },
126 { 126 {
127 'target_name': 'on_demand_service_tool', 127 'target_name': 'on_demand_service_tool',
128 'type': 'executable', 128 'type': 'executable',
129 'dependencies': [ 129 'dependencies': [
130 'tool_support', 130 'crashpad_tool_support',
131 '../compat/compat.gyp:compat', 131 '../compat/compat.gyp:crashpad_compat',
132 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', 132 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base',
133 '../util/util.gyp:util', 133 '../util/util.gyp:crashpad_util',
134 ], 134 ],
135 'include_dirs': [ 135 'include_dirs': [
136 '..', 136 '..',
137 ], 137 ],
138 'link_settings': { 138 'link_settings': {
139 'libraries': [ 139 'libraries': [
140 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', 140 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
141 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 141 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
142 ], 142 ],
143 }, 143 },
144 'sources': [ 144 'sources': [
145 'mac/on_demand_service_tool.mm', 145 'mac/on_demand_service_tool.mm',
146 ], 146 ],
147 }, 147 },
148 { 148 {
149 'target_name': 'run_with_crashpad', 149 'target_name': 'run_with_crashpad',
150 'type': 'executable', 150 'type': 'executable',
151 'dependencies': [ 151 'dependencies': [
152 'tool_support', 152 'crashpad_tool_support',
153 '../client/client.gyp:client', 153 '../client/client.gyp:crashpad_client',
154 '../compat/compat.gyp:compat', 154 '../compat/compat.gyp:crashpad_compat',
155 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', 155 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base',
156 ], 156 ],
157 'include_dirs': [ 157 'include_dirs': [
158 '..', 158 '..',
159 ], 159 ],
160 'sources': [ 160 'sources': [
161 'mac/run_with_crashpad.cc', 161 'mac/run_with_crashpad.cc',
162 ], 162 ],
163 }, 163 },
164 ], 164 ],
165 }, { 165 }, {
166 'targets': [], 166 'targets': [],
167 }], 167 }],
168 ], 168 ],
169 } 169 }
OLDNEW
« no previous file with comments | « snapshot/snapshot.gyp ('k') | util/test/executable_path_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698