Chromium Code Reviews| 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 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 646 'AdditionalOptions': ['/we4389'], | 646 'AdditionalOptions': ['/we4389'], |
| 647 }, | 647 }, |
| 648 }, | 648 }, |
| 649 }], | 649 }], |
| 650 ['chromeos!=1', { | 650 ['chromeos!=1', { |
| 651 'sources/': [ ['exclude', '_chromeos\\.cc$'] ] | 651 'sources/': [ ['exclude', '_chromeos\\.cc$'] ] |
| 652 }], | 652 }], |
| 653 ['toolkit_views==0', { | 653 ['toolkit_views==0', { |
| 654 'sources/': [ ['exclude', '_views\\.cc$'] ] | 654 'sources/': [ ['exclude', '_views\\.cc$'] ] |
| 655 }], | 655 }], |
| 656 ['use_openssl==1', { | |
| 657 'sources/': [ | |
| 658 ['exclude', '_nss\\.(cc|c)$'], | |
|
wtc
2010/11/12 14:47:50
These patterns, except '/nss/', don't match the .h
joth
2010/11/12 14:56:38
I agree -- reason I didn't is none of the ones abo
wtc
2010/11/12 15:06:40
I see. We should request the help of a GYP expert
| |
| 659 ['exclude', '/nss/'], | |
| 660 ['exclude', '(/|_|^)nss_[^/]*\\.(cc|c)$'], | |
|
wtc
2010/11/12 14:47:50
What's the [^/] part for? To disallow '/'?
(I am
joth
2010/11/12 14:56:38
exactly. So this matches nss_util.cc and foo_nss_u
| |
| 661 ], | |
| 662 }, { | |
| 663 'sources/': [ | |
| 664 ['exclude', '_openssl\\.cc$'], | |
| 665 ['exclude', '(/|_|^)openssl_[^/]*\\.cc$'], | |
| 666 ], | |
| 667 }], | |
| 656 ], | 668 ], |
| 657 }], | 669 }], |
| 658 ], # target_conditions for 'target_defaults' | 670 ], # target_conditions for 'target_defaults' |
| 659 'default_configuration': 'Debug', | 671 'default_configuration': 'Debug', |
| 660 'configurations': { | 672 'configurations': { |
| 661 # VCLinkerTool LinkIncremental values below: | 673 # VCLinkerTool LinkIncremental values below: |
| 662 # 0 == default | 674 # 0 == default |
| 663 # 1 == /INCREMENTAL:NO | 675 # 1 == /INCREMENTAL:NO |
| 664 # 2 == /INCREMENTAL | 676 # 2 == /INCREMENTAL |
| 665 # Debug links incremental, Release does not. | 677 # Debug links incremental, Release does not. |
| (...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1530 # and therefore SYMROOT, needs to be set at the project level. | 1542 # and therefore SYMROOT, needs to be set at the project level. |
| 1531 'SYMROOT': '<(DEPTH)/xcodebuild', | 1543 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1532 }, | 1544 }, |
| 1533 } | 1545 } |
| 1534 | 1546 |
| 1535 # Local Variables: | 1547 # Local Variables: |
| 1536 # tab-width:2 | 1548 # tab-width:2 |
| 1537 # indent-tabs-mode:nil | 1549 # indent-tabs-mode:nil |
| 1538 # End: | 1550 # End: |
| 1539 # vim: set expandtab tabstop=2 shiftwidth=2: | 1551 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |