Consolidate all third party licenses in LICENSE_THIRD_PARTY.

* Add the full license to all third party files.
* Correct some entries in LICENSE_THIRD_PARTY which were missing the full
license.
* Relicense all Chromium-licensed files under WebRTC.
* Remove third_party_mods/, which is now redundant.

R=jan.linden@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1396004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3959 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/LICENSE_THIRD_PARTY b/LICENSE_THIRD_PARTY
index 8a9d0c6..8737257 100644
--- a/LICENSE_THIRD_PARTY
+++ b/LICENSE_THIRD_PARTY
@@ -1,82 +1,79 @@
-This source tree contains third party source code which is governed by third 
-party licenses. This file contains references to files which are under other 
-licenses than the one provided in the LICENSE file in the root of the source
-tree.
+This source tree contains third party source code which is governed by third
+party licenses. Paths to the files and associated licenses are collected here.
 
 Files governed by third party licenses:
 common_audio/signal_processing/spl_sqrt_floor.c
 common_audio/signal_processing/spl_sqrt_floor_arm.S
-modules/audio_coding/codecs/g711/main/source/g711.h
 modules/audio_coding/codecs/g711/main/source/g711.c
+modules/audio_coding/codecs/g711/main/source/g711.h
 modules/audio_coding/codecs/g722/main/source/g722_decode.c
 modules/audio_coding/codecs/g722/main/source/g722_enc_dec.h
 modules/audio_coding/codecs/g722/main/source/g722_encode.c
 modules/audio_coding/codecs/isac/main/source/fft.c
 modules/audio_device/mac/portaudio/pa_memorybarrier.h
-modules/audio_device/mac/portaudio/pa_ringbuffer.h
 modules/audio_device/mac/portaudio/pa_ringbuffer.c
-modules/audio_processing/utility/fft4g.c
+modules/audio_device/mac/portaudio/pa_ringbuffer.h
 modules/audio_processing/aec/aec_rdft.c
-system_wrappers/interface/fix_interlocked_exchange_pointer_win.h
+modules/audio_processing/utility/fft4g.c
 system_wrappers/interface/scoped_ptr.h
-system_wrappers/interface/scoped_refptr.h
 system_wrappers/source/condition_variable_event_win.cc
+system_wrappers/source/set_thread_name_win.h
 system_wrappers/source/spreadsortlib/constants.hpp
 system_wrappers/source/spreadsortlib/spreadsort.hpp
-system_wrappers/source/set_thread_name_win.h	
 
 Individual licenses for each file:
 -------------------------------------------------------------------------------
 Files:
 common_audio/signal_processing/spl_sqrt_floor.c
 common_audio/signal_processing/spl_sqrt_floor_arm.S
+
 License:
-The following email record is related to source files spl_sqrt_floor.c
-and spl_sqrt_floor.s in trunk/src/common_audio/signal_processing/.
-
-
-From: Wilco Dijkstra <Wilco.Dijkstra@ntlworld.com>
-Date: Fri, Jun 24, 2011 at 3:20 AM
-Subject: Re: sqrt routine
-To: Kevin Ma <kma@google.com>
-Hi Kevin,
-Thanks for asking. Those routines are public domain (originally posted to 
-comp.sys.arm a long time ago), so you can use them freely for any purpose.
-Cheers,
-Wilco
-
------ Original Message -----
-From: "Kevin Ma" <kma@google.com>
-To: <Wilco.Dijkstra@ntlworld.com>
-Sent: Thursday, June 23, 2011 11:44 PM
-Subject: Fwd: sqrt routine
-Hi Wilco,
-I saw your sqrt routine from several web sites, including
-http://www.finesse.demon.co.uk/steven/sqrt.html.
-Just wonder if there's any copyright information with your Successive
-approximation routines, or if I can freely use it for any purpose.
-Thanks.
-Kevin
+/*
+ * Written by Wilco Dijkstra, 1996. The following email exchange establishes the
+ * license.
+ *
+ * From: Wilco Dijkstra <Wilco.Dijkstra@ntlworld.com>
+ * Date: Fri, Jun 24, 2011 at 3:20 AM
+ * Subject: Re: sqrt routine
+ * To: Kevin Ma <kma@google.com>
+ * Hi Kevin,
+ * Thanks for asking. Those routines are public domain (originally posted to
+ * comp.sys.arm a long time ago), so you can use them freely for any purpose.
+ * Cheers,
+ * Wilco
+ *
+ * ----- Original Message -----
+ * From: "Kevin Ma" <kma@google.com>
+ * To: <Wilco.Dijkstra@ntlworld.com>
+ * Sent: Thursday, June 23, 2011 11:44 PM
+ * Subject: Fwd: sqrt routine
+ * Hi Wilco,
+ * I saw your sqrt routine from several web sites, including
+ * http://www.finesse.demon.co.uk/steven/sqrt.html.
+ * Just wonder if there's any copyright information with your Successive
+ * approximation routines, or if I can freely use it for any purpose.
+ * Thanks.
+ * Kevin
+ */
 -------------------------------------------------------------------------------
 Files:
-modules/audio_coding/codecs/g711/main/source/g711.h
 modules/audio_coding/codecs/g711/main/source/g711.c
+modules/audio_coding/codecs/g711/main/source/g711.h
 
 License:
 /*
  * SpanDSP - a series of DSP components for telephony
  *
- * g711.c - A-law and u-law transcoding routines
+ * g711.h - In line A-law and u-law conversion routines
  *
  * Written by Steve Underwood <steveu@coppice.org>
  *
- * Copyright (C) 2006 Steve Underwood
+ * Copyright (C) 2001 Steve Underwood
  *
  *  Despite my general liking of the GPL, I place this code in the
  *  public domain for the benefit of all mankind - even the slimy
  *  ones who might try to proprietize my work and use it to my
  *  detriment.
- *
  */
 -------------------------------------------------------------------------------
 Files:
@@ -94,7 +91,7 @@
  *
  * Copyright (C) 2005 Steve Underwood
  *
- *  Despite my general liking of the GPL, I place my own contributions 
+ *  Despite my general liking of the GPL, I place my own contributions
  *  to this code in the public domain for the benefit of all mankind -
  *  even the slimy ones who might try to proprietize my work and use it
  *  to my detriment.
@@ -104,14 +101,13 @@
  * Copyright (c) CMU 1993
  * Computer Science, Speech Group
  * Chengxiang Lu and Alex Hauptmann
- *
  */
 -------------------------------------------------------------------------------
 Files:
 modules/audio_coding/codecs/isac/main/source/fft.c
 
 License:
-*
+/*
  * Copyright(c)1995,97 Mark Olesen <olesen@me.QueensU.CA>
  *    Queen's Univ at Kingston (Canada)
  *
@@ -135,15 +131,14 @@
  * It is also implicitly understood that bug fixes and improvements
  * should make their way back to the general Internet community so
  * that everyone benefits.
- *
  */
 -------------------------------------------------------------------------------
 Files:
 modules/audio_device/mac/portaudio/pa_memorybarrier.h
-modules/audio_device/mac/portaudio/pa_ringbuffer.h
 modules/audio_device/mac/portaudio/pa_ringbuffer.c
+modules/audio_device/mac/portaudio/pa_ringbuffer.h
 
-Licenses:
+License:
 /*
  * $Id: pa_memorybarrier.h 1240 2007-07-17 13:05:07Z bjornroche $
  * Portable Audio I/O Library
@@ -176,13 +171,13 @@
  */
 
 /*
- * The text above constitutes the entire PortAudio license; however, 
+ * The text above constitutes the entire PortAudio license; however,
  * the PortAudio community also makes the following non-binding requests:
  *
  * Any person wishing to distribute modifications to the Software is
  * requested to send the modifications to the original developer so that
- * they can be incorporated into the canonical version. It is also 
- * requested that these non-binding requests be included along with the 
+ * they can be incorporated into the canonical version. It is also
+ * requested that these non-binding requests be included along with the
  * license above.
  */
 
@@ -195,7 +190,7 @@
  * modified for SMP safety on Mac OS X by Bjorn Roche
  * modified for SMP safety on Linux by Leland Lucius
  * also, allowed for const where possible
- * modified for multiple-byte-sized data elements by Sven Fischer 
+ * modified for multiple-byte-sized data elements by Sven Fischer
  *
  * Note that this is safe only for a single-thread reader and a
  * single-thread writer.
@@ -225,66 +220,20 @@
  */
 
 /*
- * The text above constitutes the entire PortAudio license; however, 
+ * The text above constitutes the entire PortAudio license; however,
  * the PortAudio community also makes the following non-binding requests:
  *
  * Any person wishing to distribute modifications to the Software is
  * requested to send the modifications to the original developer so that
- * they can be incorporated into the canonical version. It is also 
- * requested that these non-binding requests be included along with the 
- * license above.
- */
-/*
- * $Id: pa_ringbuffer.h 1421 2009-11-18 16:09:05Z bjornroche $
- * Portable Audio I/O Library
- * Ring Buffer utility.
- *
- * Author: Phil Burk, http://www.softsynth.com
- * modified for SMP safety on OS X by Bjorn Roche.
- * also allowed for const where possible.
- * modified for multiple-byte-sized data elements by Sven Fischer 
- *
- * Note that this is safe only for a single-thread reader
- * and a single-thread writer.
- *
- * This program is distributed with the PortAudio Portable Audio Library.
- * For more information see: http://www.portaudio.com
- * Copyright (c) 1999-2000 Ross Bencina and Phil Burk
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files
- * (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge,
- * publish, distribute, sublicense, and/or sell copies of the Software,
- * and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
- * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- */
-
-/*
- * The text above constitutes the entire PortAudio license; however, 
- * the PortAudio community also makes the following non-binding requests:
- *
- * Any person wishing to distribute modifications to the Software is
- * requested to send the modifications to the original developer so that
- * they can be incorporated into the canonical version. It is also 
- * requested that these non-binding requests be included along with the 
+ * they can be incorporated into the canonical version. It is also
+ * requested that these non-binding requests be included along with the
  * license above.
  */
 -------------------------------------------------------------------------------
 Files:
-modules/audio_processing/utility/fft4g.c
 modules/audio_processing/aec/aec_rdft.c
+modules/audio_processing/utility/fft4g.c
+
 License:
 /*
  * http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html
@@ -296,17 +245,6 @@
  */
 -------------------------------------------------------------------------------
 Files:
-system_wrappers/interface/fix_interlocked_exchange_pointer_win.h
-
-License:
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file under third_party_mods/chromium directory of
-// source tree or at
-// http://src.chromium.org/viewvc/chrome/trunk/src/LICENSE
-
--------------------------------------------------------------------------------
-Files:
 system_wrappers/interface/scoped_ptr.h
 
 License:
@@ -320,42 +258,152 @@
 //
 //  See http://www.boost.org/libs/smart_ptr/scoped_ptr.htm for documentation.
 //
-
-//  scoped_ptr mimics a built-in pointer except that it guarantees deletion
-//  of the object pointed to, either on destruction of the scoped_ptr or via
-//  an explicit reset(). scoped_ptr is a simple solution for simple needs;
-//  use shared_ptr or std::auto_ptr if your needs are more complex.
-
-//  scoped_ptr_malloc added in by Google.  When one of
-//  these goes out of scope, instead of doing a delete or delete[], it
-//  calls free().  scoped_ptr_malloc<char> is likely to see much more
-//  use than any other specializations.
-
-//  release() added in by Google. Use this to conditionally
-//  transfer ownership of a heap-allocated object to the caller, usually on
-//  method success.
--------------------------------------------------------------------------------
-Files:
-system_wrappers/interface/scoped_refptr.h
-
-License:
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file under third_party_mods/chromium or at:
-// http://src.chromium.org/svn/trunk/src/LICENSE
-
 -------------------------------------------------------------------------------
 Files:
 system_wrappers/source/condition_variable_event_win.cc
 
-License:
-/*
- *  Use of this source code is governed by the ACE copyright license which
- *  can be found in the LICENSE file in the third_party_mods/ace directory of
- *  the source tree or at http://www1.cse.wustl.edu/~schmidt/ACE-copying.html.
- */
-/*
+Source:
+http://www1.cse.wustl.edu/~schmidt/ACE-copying.html
 
+License:
+Copyright and Licensing Information for ACE(TM), TAO(TM), CIAO(TM), DAnCE(TM),
+and CoSMIC(TM)
+
+ACE(TM), TAO(TM), CIAO(TM), DAnCE>(TM), and CoSMIC(TM) (henceforth referred to
+as "DOC software") are copyrighted by Douglas C. Schmidt and his research
+group at Washington University, University of California, Irvine, and
+Vanderbilt University, Copyright (c) 1993-2009, all rights reserved. Since DOC
+software is open-source, freely available software, you are free to use,
+modify, copy, and distribute--perpetually and irrevocably--the DOC software
+source code and object code produced from the source, as well as copy and
+distribute modified versions of this software. You must, however, include this
+copyright statement along with any code built using DOC software that you
+release. No copyright statement needs to be provided if you just ship binary
+executables of your software products.
+You can use DOC software in commercial and/or binary software releases and are
+under no obligation to redistribute any of your source code that is built
+using DOC software. Note, however, that you may not misappropriate the DOC
+software code, such as copyrighting it yourself or claiming authorship of the
+DOC software code, in a way that will prevent DOC software from being
+distributed freely using an open-source development model. You needn't inform
+anyone that you're using DOC software in your software, though we encourage
+you to let us know so we can promote your project in the DOC software success
+stories.
+
+The ACE, TAO, CIAO, DAnCE, and CoSMIC web sites are maintained by the DOC
+Group at the Institute for Software Integrated Systems (ISIS) and the Center
+for Distributed Object Computing of Washington University, St. Louis for the
+development of open-source software as part of the open-source software
+community. Submissions are provided by the submitter ``as is'' with no
+warranties whatsoever, including any warranty of merchantability,
+noninfringement of third party intellectual property, or fitness for any
+particular purpose. In no event shall the submitter be liable for any direct,
+indirect, special, exemplary, punitive, or consequential damages, including
+without limitation, lost profits, even if advised of the possibility of such
+damages. Likewise, DOC software is provided as is with no warranties of any
+kind, including the warranties of design, merchantability, and fitness for a
+particular purpose, noninfringement, or arising from a course of dealing,
+usage or trade practice. Washington University, UC Irvine, Vanderbilt
+University, their employees, and students shall have no liability with respect
+to the infringement of copyrights, trade secrets or any patents by DOC
+software or any part thereof. Moreover, in no event will Washington
+University, UC Irvine, or Vanderbilt University, their employees, or students
+be liable for any lost revenue or profits or other special, indirect and
+consequential damages.
+
+DOC software is provided with no support and without any obligation on the
+part of Washington University, UC Irvine, Vanderbilt University, their
+employees, or students to assist in its use, correction, modification, or
+enhancement. A number of companies around the world provide commercial support
+for DOC software, however. DOC software is Y2K-compliant, as long as the
+underlying OS platform is Y2K-compliant. Likewise, DOC software is compliant
+with the new US daylight savings rule passed by Congress as "The Energy Policy
+Act of 2005," which established new daylight savings times (DST) rules for the
+United States that expand DST as of March 2007. Since DOC software obtains
+time/date and calendaring information from operating systems users will not be
+affected by the new DST rules as long as they upgrade their operating systems
+accordingly.
+
+The names ACE(TM), TAO(TM), CIAO(TM), DAnCE(TM), CoSMIC(TM), Washington
+University, UC Irvine, and Vanderbilt University, may not be used to endorse
+or promote products or services derived from this source without express
+written permission from Washington University, UC Irvine, or Vanderbilt
+University. This license grants no permission to call products or services
+derived from this source ACE(TM), TAO(TM), CIAO(TM), DAnCE(TM), or CoSMIC(TM),
+nor does it grant permission for the name Washington University, UC Irvine, or
+Vanderbilt University to appear in their names.
+-------------------------------------------------------------------------------
+Files:
+system_wrappers/source/set_thread_name_win.h
+
+Source:
+http://msdn.microsoft.com/en-us/cc300389.aspx#P
+
+License:
+This license governs use of code marked as “sample” or “example” available on
+this web site without a license agreement, as provided under the section above
+titled “NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE.” If you use
+such code (the “software”), you accept this license. If you do not accept the
+license, do not use the software.
+
+1. Definitions
+
+The terms “reproduce,” “reproduction,” “derivative works,” and “distribution”
+have the same meaning here as under U.S. copyright law.
+
+A “contribution” is the original software, or any additions or changes to the
+software.
+
+A “contributor” is any person that distributes its contribution under this
+license.
+
+“Licensed patents” are a contributor’s patent claims that read directly on its
+contribution.
+
+2. Grant of Rights
+
+(A) Copyright Grant - Subject to the terms of this license, including the
+license conditions and limitations in section 3, each contributor grants you a
+non-exclusive, worldwide, royalty-free copyright license to reproduce its
+contribution, prepare derivative works of its contribution, and distribute its
+contribution or any derivative works that you create.
+
+(B) Patent Grant - Subject to the terms of this license, including the license
+conditions and limitations in section 3, each contributor grants you a
+non-exclusive, worldwide, royalty-free license under its licensed patents to
+make, have made, use, sell, offer for sale, import, and/or otherwise dispose
+of its contribution in the software or derivative works of the contribution in
+the software.
+
+3. Conditions and Limitations
+
+(A) No Trademark License- This license does not grant you rights to use any
+contributors’ name, logo, or trademarks.
+
+(B) If you bring a patent claim against any contributor over patents that you
+claim are infringed by the software, your patent license from such contributor
+to the software ends automatically.
+
+(C) If you distribute any portion of the software, you must retain all
+copyright, patent, trademark, and attribution notices that are present in the
+software.
+
+(D) If you distribute any portion of the software in source code form, you may
+do so only under this license by including a complete copy of this license
+with your distribution. If you distribute any portion of the software in
+compiled or object code form, you may only do so under a license that complies
+with this license.
+
+(E) The software is licensed “as-is.” You bear the risk of using it. The
+contributors give no express warranties, guarantees or conditions. You may
+have additional consumer rights under your local laws which this license
+cannot change. To the extent permitted under your local laws, the contributors
+exclude the implied warranties of merchantability, fitness for a particular
+purpose and non-infringement.
+
+(F) Platform Limitation - The licenses granted in sections 2(A) and 2(B)
+extend only to the software or derivative works that you create that run on a
+Microsoft Windows operating system product.
 -------------------------------------------------------------------------------
 Files:
 system_wrappers/source/spreadsortlib/constants.hpp
@@ -385,78 +433,3 @@
 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.*/
--------------------------------------------------------------------------------
-Files:
-system_wrappers/source/set_thread_name_win.h	
-
-License:
-/*
- *  Use of this source code is governed by the MICROSOFT LIMITED PUBLIC LICENSE
- *  copyright license which can be found in the LICENSE file in the
- *  third_party_mods/mslpl directory of the source tree or at
- *  http://msdn.microsoft.com/en-us/cc300389.aspx#P.
- */
-This license governs use of code marked as “sample” or “example” available on 
-this web site without a license agreement, as provided under the section above 
-titled “NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE.” If you use 
-such code (the “software”), you accept this license. If you do not accept the 
-license, do not use the software.
-
-1. Definitions
-
-The terms “reproduce,” “reproduction,” “derivative works,” and “distribution” 
-have the same meaning here as under U.S. copyright law.
-
-A “contribution” is the original software, or any additions or changes to the 
-software.
-
-A “contributor” is any person that distributes its contribution under this 
-license.
-
-“Licensed patents” are a contributor’s patent claims that read directly on its 
-contribution.
-
-2. Grant of Rights
-
-(A) Copyright Grant - Subject to the terms of this license, including the 
-license conditions and limitations in section 3, each contributor grants you a 
-non-exclusive, worldwide, royalty-free copyright license to reproduce its 
-contribution, prepare derivative works of its contribution, and distribute its 
-contribution or any derivative works that you create.
-
-(B) Patent Grant - Subject to the terms of this license, including the license 
-conditions and limitations in section 3, each contributor grants you a 
-non-exclusive, worldwide, royalty-free license under its licensed patents to 
-make, have made, use, sell, offer for sale, import, and/or otherwise dispose 
-of its contribution in the software or derivative works of the contribution in 
-the software.
-
-3. Conditions and Limitations
-
-(A) No Trademark License- This license does not grant you rights to use any 
-contributors’ name, logo, or trademarks.
-
-(B) If you bring a patent claim against any contributor over patents that you 
-claim are infringed by the software, your patent license from such contributor 
-to the software ends automatically.
-
-(C) If you distribute any portion of the software, you must retain all 
-copyright, patent, trademark, and attribution notices that are present in the 
-software.
-
-(D) If you distribute any portion of the software in source code form, you may 
-do so only under this license by including a complete copy of this license 
-with your distribution. If you distribute any portion of the software in 
-compiled or object code form, you may only do so under a license that complies 
-with this license.
-
-(E) The software is licensed “as-is.” You bear the risk of using it. The 
-contributors give no express warranties, guarantees or conditions. You may 
-have additional consumer rights under your local laws which this license 
-cannot change. To the extent permitted under your local laws, the contributors 
-exclude the implied warranties of merchantability, fitness for a particular 
-purpose and non-infringement.
-
-(F) Platform Limitation - The licenses granted in sections 2(A) and 2(B) 
-extend only to the software or derivative works that you create that run on a 
-Microsoft Windows operating system product.
\ No newline at end of file