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

Side by Side Diff: build/crashpad_in_chromium.gypi

Issue 986033002: Allow Crashpad to build in the Chromium tree (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Rewrap 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 | « no previous file | build/gyp_crashpad.py » ('j') | third_party/gmock/gmock.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Crashpad Authors. All rights reserved.
2 #
3 # Licensed under the Apache License, Version 2.0 (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
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 {
16 # Crashpad can build as a standalone project or as part of Chromium. When
17 # building as a standalone project, it uses mini_chromium to provide the base
18 # library, and uses its own copy of gtest in third_party. When building as
19 # part of Chromium, it uses Chromium’s base library and copy of gtest. In
20 # order for Crashpad’s .gyp files to reference the correct versions depending
21 # on whether building standalone or as a part of Chromium, include this .gypi
22 # file and reference the crashpad_in_chromium variable.
23
24 'variables': {
25 'variables': {
26 # When building as a standalone project, build/gyp_crashpad.py sets
27 # crashpad_standalone to 1, and this % assignment will not override it.
28 # The variable will not be set when building as part of Chromium, so in
29 # that case, this will define it with value 0.
30 'crashpad_standalone%': 0,
31 },
32
33 'conditions': [
34 ['crashpad_standalone!=0', {
35 'crashpad_in_chromium': 0,
36 }, {
37 'crashpad_in_chromium': 1,
38 }],
39 ],
40
41 'crashpad_in_chromium': '<(crashpad_in_chromium)',
42 },
43 }
OLDNEW
« no previous file with comments | « no previous file | build/gyp_crashpad.py » ('j') | third_party/gmock/gmock.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698