OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 }, | 522 }, |
523 'VCCLCompilerTool': { | 523 'VCCLCompilerTool': { |
524 # /Z7, not /Zi, so coverage is happyb | 524 # /Z7, not /Zi, so coverage is happyb |
525 'DebugInformationFormat': '1', | 525 'DebugInformationFormat': '1', |
526 'AdditionalOptions': ['/Yd'], | 526 'AdditionalOptions': ['/Yd'], |
527 } | 527 } |
528 } | 528 } |
529 }], # OS==win | 529 }], # OS==win |
530 ], # conditions for coverage | 530 ], # conditions for coverage |
531 }], # coverage!=0 | 531 }], # coverage!=0 |
| 532 ['OS=="win"', { |
| 533 'defines': [ |
| 534 '__STD_C', |
| 535 '_CRT_SECURE_NO_DEPRECATE', |
| 536 '_SCL_SECURE_NO_DEPRECATE', |
| 537 ], |
| 538 'include_dirs': [ |
| 539 '<(DEPTH)/third_party/wtl/include', |
| 540 ], |
| 541 }], # OS==win |
532 ], # conditions for 'target_defaults' | 542 ], # conditions for 'target_defaults' |
533 'target_conditions': [ | 543 'target_conditions': [ |
534 ['chromium_code==0', { | 544 ['chromium_code==0', { |
535 'conditions': [ | 545 'conditions': [ |
536 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 546 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
537 'cflags!': [ | 547 'cflags!': [ |
538 '-Wall', | 548 '-Wall', |
539 '-Wextra', | 549 '-Wextra', |
540 '-Werror', | 550 '-Werror', |
541 ], | 551 ], |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1435 # and therefore SYMROOT, needs to be set at the project level. | 1445 # and therefore SYMROOT, needs to be set at the project level. |
1436 'SYMROOT': '<(DEPTH)/xcodebuild', | 1446 'SYMROOT': '<(DEPTH)/xcodebuild', |
1437 }, | 1447 }, |
1438 } | 1448 } |
1439 | 1449 |
1440 # Local Variables: | 1450 # Local Variables: |
1441 # tab-width:2 | 1451 # tab-width:2 |
1442 # indent-tabs-mode:nil | 1452 # indent-tabs-mode:nil |
1443 # End: | 1453 # End: |
1444 # vim: set expandtab tabstop=2 shiftwidth=2: | 1454 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |