Chromium Code Reviews| 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': [] |
| + }] |
| + ], |
| } |