diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 20:12:38 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 20:12:38 +0000 |
commit | 20b57b6126b428dbeb87f005a623cae6870d2d96 (patch) | |
tree | 74aed27922075878f88c1dbd3c453d2972e28eb3 /chrome/tools | |
parent | 1dcb73dfcc490bf9cbe015773f02febe89851494 (diff) | |
download | chromium_src-20b57b6126b428dbeb87f005a623cae6870d2d96.zip chromium_src-20b57b6126b428dbeb87f005a623cae6870d2d96.tar.gz chromium_src-20b57b6126b428dbeb87f005a623cae6870d2d96.tar.bz2 |
Stop failing the build if a dependency has been removed.
Review URL: http://codereview.chromium.org/7350
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3412 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rw-r--r-- | chrome/tools/build/win/dependencies.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/tools/build/win/dependencies.py b/chrome/tools/build/win/dependencies.py index 5e026a5..c06f9f3 100644 --- a/chrome/tools/build/win/dependencies.py +++ b/chrome/tools/build/win/dependencies.py @@ -127,7 +127,10 @@ def Diff(name, type, current, expected, deps_file): print name.upper() + " DEPENDENCIES MISMATCH\n" if len(only_in_expected): - found_extra = 1 + # Setting found_extra to 1 causes the build to fail. In some case, some + # dependencies are stripped out on optimized build; don't break anything + # just for that. + found_extra = 0 print "%s is no longer dependent on these %s: %s." % (name, type, ' '.join(only_in_expected)) |