summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-25 02:32:11 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-25 02:32:11 +0000
commit694a591967a3318ecbc09b9ba8b895a64d564462 (patch)
tree34901d70eb337cd0b3b2f0f5085069ec0995deb6 /base/base.gypi
parentc9572e193b5065a7c9f680826c5daf039344ec70 (diff)
downloadchromium_src-694a591967a3318ecbc09b9ba8b895a64d564462.zip
chromium_src-694a591967a3318ecbc09b9ba8b895a64d564462.tar.gz
chromium_src-694a591967a3318ecbc09b9ba8b895a64d564462.tar.bz2
Remove all uncessary files for build_nexe.py on Windows.
On Windows, cmd.exe crops the command-line string for build_nexe.py and build_nexe.py does not get all base files now. This change removes all files not needed by build_nexe.py on Windows to prevent cmd.exe from cropping the command-line string to build_nexe.py. BUG=138687 TEST=build Chromium without errors. Review URL: https://chromiumcodereview.appspot.com/10806082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 5fdbe97..4bd83bd 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -655,6 +655,11 @@
['exclude', '^chromeos/'],
],
}],
+ # Remove all unnecessary files for build_nexe.py to avoid exceeding
+ # command-line-string limitation when building NaCl on Windows.
+ ['OS == "win" and >(nacl_untrusted_build)==1', {
+ 'sources/': [ ['exclude', '\\.h$'] ],
+ }],
],
}],
],