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

Side by Side Diff: build/common.gypi

Issue 5028001: Remove .h files from platforms where they are not relevant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 }], 608 }],
609 ], 609 ],
610 }, { 610 }, {
611 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the 611 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the
612 # C99 macros on Mac and Linux. 612 # C99 macros on Mac and Linux.
613 'defines': [ 613 'defines': [
614 '__STDC_FORMAT_MACROS', 614 '__STDC_FORMAT_MACROS',
615 ], 615 ],
616 'conditions': [ 616 'conditions': [
617 ['OS!="win"', { 617 ['OS!="win"', {
618 'sources/': [ ['exclude', '_win(_unittest)?\\.cc$'], 618 'sources/': [ ['exclude', '_win(_unittest)?\\.(h|cc)$'],
619 ['exclude', '(^|/)win/'], 619 ['exclude', '(^|/)win/'],
620 ['exclude', '(^|/)win_[^/]*\\.cc$'] ], 620 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ],
621 }], 621 }],
622 ['OS!="mac"', { 622 ['OS!="mac"', {
623 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.cc$'], 623 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc)$'],
624 ['exclude', '(^|/)(cocoa|mac)/'], 624 ['exclude', '(^|/)(cocoa|mac)/'],
625 ['exclude', '\\.mm?$' ] ], 625 ['exclude', '\\.mm?$' ] ],
626 }], 626 }],
627 ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', { 627 ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
628 'sources/': [ 628 'sources/': [
629 ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.cc$'], 629 ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'],
630 ['exclude', '(^|/)gtk/'], 630 ['exclude', '(^|/)gtk/'],
631 ['exclude', '(^|/)(gtk|x11)_[^/]*\\.cc$'], 631 ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'],
632 ], 632 ],
633 }], 633 }],
634 ['OS!="linux"', { 634 ['OS!="linux"', {
635 'sources/': [ 635 'sources/': [
636 ['exclude', '_linux(_unittest)?\\.cc$'], 636 ['exclude', '_linux(_unittest)?\\.(h|cc)$'],
637 ['exclude', '(^|/)linux/'], 637 ['exclude', '(^|/)linux/'],
638 ], 638 ],
639 }], 639 }],
640 # We use "POSIX" to refer to all non-Windows operating systems. 640 # We use "POSIX" to refer to all non-Windows operating systems.
641 ['OS=="win"', { 641 ['OS=="win"', {
642 'sources/': [ ['exclude', '_posix\\.cc$'] ], 642 'sources/': [ ['exclude', '_posix\\.(h|cc)$'] ],
643 # turn on warnings for signed/unsigned mismatch on chromium code. 643 # turn on warnings for signed/unsigned mismatch on chromium code.
644 'msvs_settings': { 644 'msvs_settings': {
645 'VCCLCompilerTool': { 645 'VCCLCompilerTool': {
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\\.(h|cc)$'] ]
652 }], 652 }],
653 ['toolkit_views==0', { 653 ['toolkit_views==0', {
654 'sources/': [ ['exclude', '_views\\.cc$'] ] 654 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ]
655 }], 655 }],
656 ], 656 ],
657 }], 657 }],
658 ], # target_conditions for 'target_defaults' 658 ], # target_conditions for 'target_defaults'
659 'default_configuration': 'Debug', 659 'default_configuration': 'Debug',
660 'configurations': { 660 'configurations': {
661 # VCLinkerTool LinkIncremental values below: 661 # VCLinkerTool LinkIncremental values below:
662 # 0 == default 662 # 0 == default
663 # 1 == /INCREMENTAL:NO 663 # 1 == /INCREMENTAL:NO
664 # 2 == /INCREMENTAL 664 # 2 == /INCREMENTAL
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 # and therefore SYMROOT, needs to be set at the project level. 1530 # and therefore SYMROOT, needs to be set at the project level.
1531 'SYMROOT': '<(DEPTH)/xcodebuild', 1531 'SYMROOT': '<(DEPTH)/xcodebuild',
1532 }, 1532 },
1533 } 1533 }
1534 1534
1535 # Local Variables: 1535 # Local Variables:
1536 # tab-width:2 1536 # tab-width:2
1537 # indent-tabs-mode:nil 1537 # indent-tabs-mode:nil
1538 # End: 1538 # End:
1539 # vim: set expandtab tabstop=2 shiftwidth=2: 1539 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698