1*4882a593SmuzhiyunThis license applies to all parts of V8 that are not externally 2*4882a593Smuzhiyunmaintained libraries. The externally maintained libraries used by V8 3*4882a593Smuzhiyunare: 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun - PCRE test suite, located in 6*4882a593Smuzhiyun test/mjsunit/third_party/regexp-pcre/regexp-pcre.js. This is based on the 7*4882a593Smuzhiyun test suite from PCRE-7.3, which is copyrighted by the University 8*4882a593Smuzhiyun of Cambridge and Google, Inc. The copyright notice and license 9*4882a593Smuzhiyun are embedded in regexp-pcre.js. 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun - Layout tests, located in test/mjsunit/third_party/object-keys. These are 12*4882a593Smuzhiyun based on layout tests from webkit.org which are copyrighted by 13*4882a593Smuzhiyun Apple Computer, Inc. and released under a 3-clause BSD license. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun - Strongtalk assembler, the basis of the files assembler-arm-inl.h, 16*4882a593Smuzhiyun assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h, 17*4882a593Smuzhiyun assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h, 18*4882a593Smuzhiyun assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h, 19*4882a593Smuzhiyun assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h. 20*4882a593Smuzhiyun This code is copyrighted by Sun Microsystems Inc. and released 21*4882a593Smuzhiyun under a 3-clause BSD license. 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun - Valgrind client API header, located at src/third_party/valgrind/valgrind.h 24*4882a593Smuzhiyun This is released under the BSD license. 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun - The Wasm C/C++ API headers, located at third_party/wasm-api/wasm.{h,hh} 27*4882a593Smuzhiyun This is released under the Apache license. The API's upstream prototype 28*4882a593Smuzhiyun implementation also formed the basis of V8's implementation in 29*4882a593Smuzhiyun src/wasm/c-api.cc. 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunThese libraries have their own licenses; we recommend you read them, 32*4882a593Smuzhiyunas their terms may differ from the terms below. 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunFurther license information can be found in LICENSE files located in 35*4882a593Smuzhiyunsub-directories. 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunCopyright 2014, the V8 project authors. All rights reserved. 38*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without 39*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are 40*4882a593Smuzhiyunmet: 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun * Redistributions of source code must retain the above copyright 43*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer. 44*4882a593Smuzhiyun * Redistributions in binary form must reproduce the above 45*4882a593Smuzhiyun copyright notice, this list of conditions and the following 46*4882a593Smuzhiyun disclaimer in the documentation and/or other materials provided 47*4882a593Smuzhiyun with the distribution. 48*4882a593Smuzhiyun * Neither the name of Google Inc. nor the names of its 49*4882a593Smuzhiyun contributors may be used to endorse or promote products derived 50*4882a593Smuzhiyun from this software without specific prior written permission. 51*4882a593Smuzhiyun 52*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 53*4882a593Smuzhiyun"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 54*4882a593SmuzhiyunLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 55*4882a593SmuzhiyunA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 56*4882a593SmuzhiyunOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 57*4882a593SmuzhiyunSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 58*4882a593SmuzhiyunLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 59*4882a593SmuzhiyunDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 60*4882a593SmuzhiyunTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 61*4882a593Smuzhiyun(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 62*4882a593SmuzhiyunOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 63