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

Unified Diff: third_party/getopt/getopt.gyp

Issue 1119783005: win: get tools/crashpad_database_util mostly working (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: roll 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 side-by-side diff with in-line comments
Download patch
Index: third_party/getopt/getopt.gyp
diff --git a/build/crashpad.gypi b/third_party/getopt/getopt.gyp
similarity index 63%
copy from build/crashpad.gypi
copy to third_party/getopt/getopt.gyp
index 0dad63ca136f312eebecfad4cf2179c905ce5326..dad86ed9171ecebb20ddfca41368d358b1b53e82 100644
--- a/build/crashpad.gypi
+++ b/third_party/getopt/getopt.gyp
@@ -13,11 +13,23 @@
# limitations under the License.
{
- 'variables': {
- # When building as a part of Chromium, this variable sets up the build to
- # treat Crashpad as Chromium code. This enables warnings at an appropriate
- # level and applies Chromium’s build/filename_rules.gypi. In a standalone
- # build, this variable has no effect.
- 'chromium_code': 1,
- },
+ 'includes': [
+ '../../build/crashpad.gypi',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'targets': [
+ {
+ 'target_name': 'crashpad_getopt',
Mark Mentovai 2015/05/05 22:19:49 getopt is OK (matching the directory name) since i
scottmg 2015/05/05 23:03:37 Done.
+ 'type': 'static_library',
+ 'sources': [
+ 'getopt.c',
+ 'getopt.h',
+ ],
+ },
+ ],
+ }, {
+ 'targets': []
+ }]
+ ],
}

Powered by Google App Engine
This is Rietveld 408576698