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

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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/getopt/getopt.c ('k') | tools/crashpad_database_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/getopt/getopt.gyp
diff --git a/build/crashpad.gypi b/third_party/getopt/getopt.gyp
similarity index 64%
copy from build/crashpad.gypi
copy to third_party/getopt/getopt.gyp
index 0dad63ca136f312eebecfad4cf2179c905ce5326..b7a2326902916959ffc1da43bfc8e7840a2e5da0 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': 'getopt',
+ 'type': 'static_library',
+ 'sources': [
+ 'getopt.c',
+ 'getopt.h',
+ ],
+ },
+ ],
+ }, {
+ 'targets': []
+ }]
+ ],
}
« no previous file with comments | « third_party/getopt/getopt.c ('k') | tools/crashpad_database_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698