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

Unified Diff: build/filename_rules.gypi

Issue 10389196: Adding base_untrusted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 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 side-by-side diff with in-line comments
Download patch
« base/base.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/filename_rules.gypi
diff --git a/build/filename_rules.gypi b/build/filename_rules.gypi
index c6dceeadc11c3e4430f29d4c84708a0db0e73c23..ec3426454dbb4b3de4e9af5f3cc58828f21a9f1b 100644
--- a/build/filename_rules.gypi
+++ b/build/filename_rules.gypi
@@ -7,13 +7,13 @@
# included by common.gypi for chromium_code.
{
- 'conditions': [
- ['OS!="win"', {
+ 'target_conditions': [
+ ['OS!="win" or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_win(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)win/'],
['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ],
}],
- ['OS!="mac"', {
+ ['OS!="mac" or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)(cocoa|mac)/'],
['exclude', '\\.mm?$' ] ],
@@ -23,13 +23,13 @@
# In case a file is not needed, it is going to be excluded later on.
# TODO(evan): the above is not correct; we shouldn't build _linux
# files on non-linux.
- ['OS!="linux" and OS!="openbsd" and OS!="freebsd"', {
+ ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)==1', {
'sources/': [
['exclude', '_linux(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)linux/'],
],
}],
- ['OS!="android" and OS!="linux" and OS!="openbsd" and OS!="freebsd"', {
+ ['OS!="android" and OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)==1', {
'sources/': [
['exclude', '_linuxish(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)linuxish/'],
@@ -41,51 +41,48 @@
['exclude', '(^|/)android/'],
],
}],
- ['OS=="win"', {
+ ['OS=="win" or >(nacl_untrusted_build)==1', {
'sources/': [
['exclude', '_posix(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)posix/'],
],
-
}],
- ['chromeos!=1', {
+ ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ]
}],
- ['OS!="linux" and OS!="openbsd" and OS!="freebsd"', {
+ ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)==1', {
'sources/': [
['exclude', '_xdg(_unittest)?\\.(h|cc)$'],
],
}],
-
-
- ['use_x11!=1', {
+ ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', {
'sources/': [
['exclude', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'],
],
}],
- ['toolkit_uses_gtk!=1', {
+ ['<(toolkit_uses_gtk)!=1 or >(nacl_untrusted_build)==1', {
'sources/': [
['exclude', '_gtk(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)gtk/'],
['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'],
],
}],
- ['toolkit_views==0', {
+ ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_views\\.(h|cc)$'] ]
}],
- ['use_aura==0', {
+ ['<(use_aura)==0 or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_aura(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)aura/'],
]
}],
- ['use_aura==0 or use_x11==0', {
+ ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_aurax11\\.(h|cc)$'] ]
}],
- ['use_aura==0 or OS!="win"', {
+ ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ]
}],
- ['use_ash==0', {
+ ['<(use_ash)==0 or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_ash(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)ash/'],
]
« base/base.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698