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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 }], | 547 }], |
548 ['OS!="linux"', { | 548 ['OS!="linux"', { |
549 'sources/': [ | 549 'sources/': [ |
550 ['exclude', '_linux(_unittest)?\\.cc$'], | 550 ['exclude', '_linux(_unittest)?\\.cc$'], |
551 ['exclude', '/linux/'], | 551 ['exclude', '/linux/'], |
552 ], | 552 ], |
553 }], | 553 }], |
554 # We use "POSIX" to refer to all non-Windows operating systems. | 554 # We use "POSIX" to refer to all non-Windows operating systems. |
555 ['OS=="win"', { | 555 ['OS=="win"', { |
556 'sources/': [ ['exclude', '_posix\\.cc$'] ], | 556 'sources/': [ ['exclude', '_posix\\.cc$'] ], |
| 557 # turn on warnings for signed/unsigned mismatch on chromium code. |
| 558 'msvs_settings': { |
| 559 'VCCLCompilerTool': { |
| 560 'AdditionalOptions': ['/we4389'], |
| 561 }, |
| 562 }, |
557 }], | 563 }], |
558 # Though Skia is conceptually shared by Linux and Windows, | 564 # Though Skia is conceptually shared by Linux and Windows, |
559 # the only _skia files in our tree are Linux-specific. | 565 # the only _skia files in our tree are Linux-specific. |
560 ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', { | 566 ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', { |
561 'sources/': [ ['exclude', '_skia\\.cc$'] ], | 567 'sources/': [ ['exclude', '_skia\\.cc$'] ], |
562 }], | 568 }], |
563 ['chromeos!=1', { | 569 ['chromeos!=1', { |
564 'sources/': [ ['exclude', '_chromeos\\.cc$'] ] | 570 'sources/': [ ['exclude', '_chromeos\\.cc$'] ] |
565 }], | 571 }], |
566 ['toolkit_views==0', { | 572 ['toolkit_views==0', { |
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1364 # and therefore SYMROOT, needs to be set at the project level. | 1370 # and therefore SYMROOT, needs to be set at the project level. |
1365 'SYMROOT': '<(DEPTH)/xcodebuild', | 1371 'SYMROOT': '<(DEPTH)/xcodebuild', |
1366 }, | 1372 }, |
1367 } | 1373 } |
1368 | 1374 |
1369 # Local Variables: | 1375 # Local Variables: |
1370 # tab-width:2 | 1376 # tab-width:2 |
1371 # indent-tabs-mode:nil | 1377 # indent-tabs-mode:nil |
1372 # End: | 1378 # End: |
1373 # vim: set expandtab tabstop=2 shiftwidth=2: | 1379 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |