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

Side by Side Diff: build/filename_rules.gypi

Issue 17009011: Automatically exclude *_win_browsertest.* from non-Windows builds. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 months 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 | chrome/chrome_tests.gypi » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # This gypi file defines the patterns used for determining whether a 5 # This gypi file defines the patterns used for determining whether a
6 # file is excluded from the build on a given platform. It is 6 # file is excluded from the build on a given platform. It is
7 # included by common.gypi for chromium_code. 7 # included by common.gypi for chromium_code.
8 8
9 { 9 {
10 'target_conditions': [ 10 'target_conditions': [
11 ['OS!="win" or >(nacl_untrusted_build)==1', { 11 ['OS!="win" or >(nacl_untrusted_build)==1', {
12 'sources/': [ ['exclude', '_win(_unittest)?\\.(h|cc)$'], 12 'sources/': [ ['exclude', '_win(_browsertest|_unittest)?\\.(h|cc)$'],
13 ['exclude', '(^|/)win/'], 13 ['exclude', '(^|/)win/'],
14 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ], 14 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ],
15 }], 15 }],
16 ['OS!="mac" or >(nacl_untrusted_build)==1', { 16 ['OS!="mac" or >(nacl_untrusted_build)==1', {
17 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], 17 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
18 ['exclude', '(^|/)(cocoa|mac)/'] ], 18 ['exclude', '(^|/)(cocoa|mac)/'] ],
19 }], 19 }],
20 ['OS!="ios" or >(nacl_untrusted_build)==1', { 20 ['OS!="ios" or >(nacl_untrusted_build)==1', {
21 'sources/': [ ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], 21 'sources/': [ ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
22 ['exclude', '(^|/)ios/'] ], 22 ['exclude', '(^|/)ios/'] ],
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 'sources/': [ 74 'sources/': [
75 ['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'], 75 ['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'],
76 ['exclude', '(^|/)gtk/'], 76 ['exclude', '(^|/)gtk/'],
77 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], 77 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'],
78 ], 78 ],
79 }], 79 }],
80 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { 80 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', {
81 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] 81 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ]
82 }], 82 }],
83 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { 83 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', {
84 'sources/': [ ['exclude', '_aura(_unittest)?\\.(h|cc)$'], 84 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'],
85 ['exclude', '_aura(_browsertest)?\\.(h|cc)$'],
86 ['exclude', '(^|/)aura/'], 85 ['exclude', '(^|/)aura/'],
87 ] 86 ]
88 }], 87 }],
89 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { 88 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', {
90 'sources/': [ ['exclude', '_aurax11\\.(h|cc)$'] ] 89 'sources/': [ ['exclude', '_aurax11\\.(h|cc)$'] ]
91 }], 90 }],
92 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { 91 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', {
93 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] 92 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ]
94 }], 93 }],
95 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { 94 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', {
96 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], 95 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'],
97 ['exclude', '(^|/)ash/'], 96 ['exclude', '(^|/)ash/'],
98 ] 97 ]
99 }], 98 }],
100 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { 99 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', {
101 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'], 100 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'],
102 ['exclude', '(^|/)ozone/'], 101 ['exclude', '(^|/)ozone/'],
103 ] 102 ]
104 }], 103 }],
105 ] 104 ]
106 } 105 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698