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

Side by Side Diff: tools/tools.gyp

Issue 1119783005: win: get tools/crashpad_database_util mostly working (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes Created 5 years, 7 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 | « tools/tool_support.cc ('k') | no next file » | 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,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and 12 # See the License for the specific language governing permissions and
13 # limitations under the License. 13 # limitations under the License.
14 14
15 { 15 {
16 'includes': [ 16 'includes': [
17 '../build/crashpad.gypi', 17 '../build/crashpad.gypi',
18 ], 18 ],
19 'targets': [
20 {
21 'target_name': 'crashpad_tool_support',
22 'type': 'static_library',
23 'dependencies': [
24 '../third_party/mini_chromium/mini_chromium.gyp:base',
25 ],
26 'include_dirs': [
27 '..',
28 ],
29 'sources': [
30 'tool_support.cc',
31 'tool_support.h',
32 ],
33 },
34 {
35 'target_name': 'crashpad_database_util',
36 'type': 'executable',
37 'dependencies': [
38 'crashpad_tool_support',
39 '../client/client.gyp:crashpad_client',
40 '../compat/compat.gyp:crashpad_compat',
41 '../third_party/mini_chromium/mini_chromium.gyp:base',
42 '../util/util.gyp:crashpad_util',
43 ],
44 'include_dirs': [
45 '..',
46 ],
47 'sources': [
48 'crashpad_database_util.cc',
49 ],
50 },
51 ],
19 'conditions': [ 52 'conditions': [
20 ['OS=="mac"', { 53 ['OS=="mac"', {
21 'variables': { 54 'variables': {
22 # Programs that use task_for_pid() can indicate to taskgated(8) in their 55 # Programs that use task_for_pid() can indicate to taskgated(8) in their
23 # Info.plist that they are allowed to call that function. In order for 56 # Info.plist that they are allowed to call that function. In order for
24 # this to work, the programs in question must be signed by an authority 57 # this to work, the programs in question must be signed by an authority
25 # trusted by the system. Signing is beyond the scope of the build, but 58 # trusted by the system. Signing is beyond the scope of the build, but
26 # the key to make this work is placed in Info.plist to enable the 59 # the key to make this work is placed in Info.plist to enable the
27 # desired behavior once the tools that require this access are signed. 60 # desired behavior once the tools that require this access are signed.
28 # 61 #
(...skipping 10 matching lines...) Expand all
39 ['GENERATOR=="ninja"', { 72 ['GENERATOR=="ninja"', {
40 'sectaskaccess_info_plist': '<!(pwd)/mac/sectaskaccess_info.plist', 73 'sectaskaccess_info_plist': '<!(pwd)/mac/sectaskaccess_info.plist',
41 }, { # else: GENERATOR!="ninja" 74 }, { # else: GENERATOR!="ninja"
42 'sectaskaccess_info_plist': 'mac/sectaskaccess_info.plist', 75 'sectaskaccess_info_plist': 'mac/sectaskaccess_info.plist',
43 }], 76 }],
44 ], 77 ],
45 }, 78 },
46 79
47 'targets': [ 80 'targets': [
48 { 81 {
49 'target_name': 'crashpad_tool_support',
50 'type': 'static_library',
51 'dependencies': [
52 '../third_party/mini_chromium/mini_chromium.gyp:base',
53 ],
54 'include_dirs': [
55 '..',
56 ],
57 'sources': [
58 'tool_support.cc',
59 'tool_support.h',
60 ],
61 },
62 {
63 'target_name': 'crashpad_database_util',
64 'type': 'executable',
65 'dependencies': [
66 'crashpad_tool_support',
67 '../client/client.gyp:crashpad_client',
68 '../compat/compat.gyp:crashpad_compat',
69 '../third_party/mini_chromium/mini_chromium.gyp:base',
70 '../util/util.gyp:crashpad_util',
71 ],
72 'include_dirs': [
73 '..',
74 ],
75 'sources': [
76 'crashpad_database_util.cc',
77 ],
78 },
79 {
80 'target_name': 'catch_exception_tool', 82 'target_name': 'catch_exception_tool',
81 'type': 'executable', 83 'type': 'executable',
82 'dependencies': [ 84 'dependencies': [
83 'crashpad_tool_support', 85 'crashpad_tool_support',
84 '../compat/compat.gyp:crashpad_compat', 86 '../compat/compat.gyp:crashpad_compat',
85 '../third_party/mini_chromium/mini_chromium.gyp:base', 87 '../third_party/mini_chromium/mini_chromium.gyp:base',
86 '../util/util.gyp:crashpad_util', 88 '../util/util.gyp:crashpad_util',
87 ], 89 ],
88 'include_dirs': [ 90 'include_dirs': [
89 '..', 91 '..',
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 '../util/util.gyp:crashpad_util', 177 '../util/util.gyp:crashpad_util',
176 ], 178 ],
177 'include_dirs': [ 179 'include_dirs': [
178 '..', 180 '..',
179 ], 181 ],
180 'sources': [ 182 'sources': [
181 'mac/run_with_crashpad.cc', 183 'mac/run_with_crashpad.cc',
182 ], 184 ],
183 }, 185 },
184 ], 186 ],
185 }, {
186 'targets': [],
187 }], 187 }],
188 ], 188 ],
189 } 189 }
OLDNEW
« no previous file with comments | « tools/tool_support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698