From 6387aff0a543070a5bbeb78e24113b111dcf690f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 27 May 2014 17:15:56 -0700 Subject: Fix licenses in headers to pass Chromium's checklicenses tool. BUG=chromium:374943 R=jam@chromium.org Review URL: https://codereview.chromium.org/303723004 --- core/include/thirdparties/freetype/foxitnames.h | 6 ++ .../freetype/freetype/config/ftmodule.h | 17 +++ .../thirdparties/freetype/freetype/ftchapters.h | 120 --------------------- core/include/thirdparties/libjpeg/jconfig.h | 6 ++ .../fx_libopenjpeg/libopenjpeg20/opj_config.h | 6 ++ .../libopenjpeg20/opj_config_private.h | 6 ++ core/src/fxcodec/fx_zlib/zlib_v128/trees.h | 1 + core/src/fxcodec/libjpeg/jconfig.h | 6 ++ .../fx_freetype/fxft2.5.01/include/foxitnames.h | 6 ++ .../fxft2.5.01/include/freetype/config/ftmodule.h | 17 +++ .../fxft2.5.01/include/freetype/ftchapters.h | 120 --------------------- 11 files changed, 71 insertions(+), 240 deletions(-) delete mode 100644 core/include/thirdparties/freetype/freetype/ftchapters.h delete mode 100644 core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftchapters.h diff --git a/core/include/thirdparties/freetype/foxitnames.h b/core/include/thirdparties/freetype/foxitnames.h index e163fb86f0..1ef8394b01 100644 --- a/core/include/thirdparties/freetype/foxitnames.h +++ b/core/include/thirdparties/freetype/foxitnames.h @@ -1,3 +1,9 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + #ifndef _FX_FREETYPE_DONT_RENAME_ // To avoid any possible linking confliction, we rename all FreeType exported names diff --git a/core/include/thirdparties/freetype/freetype/config/ftmodule.h b/core/include/thirdparties/freetype/freetype/config/ftmodule.h index 0d31ce6932..fb255743a7 100644 --- a/core/include/thirdparties/freetype/freetype/config/ftmodule.h +++ b/core/include/thirdparties/freetype/freetype/config/ftmodule.h @@ -1,3 +1,20 @@ +/***************************************************************************/ +/* */ +/* ftmodule.h */ +/* */ +/* FreeType modules public interface (specification). */ +/* */ +/* Copyright 1996-2001, 2002, 2003 by */ +/* David Turner, Robert Wilhelm, and Werner Lemberg. */ +/* */ +/* This file is part of the FreeType project, and may only be used, */ +/* modified, and distributed under the terms of the FreeType project */ +/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ +/* this file you indicate that you have read the license and */ +/* understand and accept it fully. */ +/* */ +/***************************************************************************/ + /* * This file registers the FreeType modules compiled into the library. * diff --git a/core/include/thirdparties/freetype/freetype/ftchapters.h b/core/include/thirdparties/freetype/freetype/ftchapters.h deleted file mode 100644 index c55670d1d2..0000000000 --- a/core/include/thirdparties/freetype/freetype/ftchapters.h +++ /dev/null @@ -1,120 +0,0 @@ -/***************************************************************************/ -/* */ -/* This file defines the structure of the FreeType reference. */ -/* It is used by the python script which generates the HTML files. */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* */ -/* general_remarks */ -/* */ -/* */ -/* General Remarks */ -/* */ -/* <Sections> */ -/* user_allocation */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* core_api */ -/* */ -/* <Title> */ -/* Core API */ -/* */ -/* <Sections> */ -/* version */ -/* basic_types */ -/* base_interface */ -/* glyph_variants */ -/* glyph_management */ -/* mac_specific */ -/* sizes_management */ -/* header_file_macros */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* format_specific */ -/* */ -/* <Title> */ -/* Format-Specific API */ -/* */ -/* <Sections> */ -/* multiple_masters */ -/* truetype_tables */ -/* type1_tables */ -/* sfnt_names */ -/* bdf_fonts */ -/* cid_fonts */ -/* pfr_fonts */ -/* winfnt_fonts */ -/* font_formats */ -/* gasp_table */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* module_specific */ -/* */ -/* <Title> */ -/* Controlling FreeType Modules */ -/* */ -/* <Sections> */ -/* auto_hinter */ -/* cff_driver */ -/* tt_driver */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* cache_subsystem */ -/* */ -/* <Title> */ -/* Cache Sub-System */ -/* */ -/* <Sections> */ -/* cache_subsystem */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* support_api */ -/* */ -/* <Title> */ -/* Support API */ -/* */ -/* <Sections> */ -/* computations */ -/* list_processing */ -/* outline_processing */ -/* quick_advance */ -/* bitmap_handling */ -/* raster */ -/* glyph_stroker */ -/* system_interface */ -/* module_management */ -/* gzip */ -/* lzw */ -/* bzip2 */ -/* lcd_filtering */ -/* */ -/***************************************************************************/ diff --git a/core/include/thirdparties/libjpeg/jconfig.h b/core/include/thirdparties/libjpeg/jconfig.h index 7e291c75bd..ea3c397799 100644 --- a/core/include/thirdparties/libjpeg/jconfig.h +++ b/core/include/thirdparties/libjpeg/jconfig.h @@ -1,3 +1,9 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */ /* see jconfig.doc for explanations */ diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h index 2f91e850a1..0ee74192dd 100644 --- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h +++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h @@ -1,2 +1,8 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + /* create opj_config.h for CMake */ #define OPJ_HAVE_STDINT_H 1 diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h index 37077fc961..b0d3a351bb 100644 --- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h +++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h @@ -1,3 +1,9 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + /* create opj_config_private.h for CMake */ /* #undef OPJ_HAVE_INTTYPES_H */ diff --git a/core/src/fxcodec/fx_zlib/zlib_v128/trees.h b/core/src/fxcodec/fx_zlib/zlib_v128/trees.h index d35639d82a..8a09b5803a 100644 --- a/core/src/fxcodec/fx_zlib/zlib_v128/trees.h +++ b/core/src/fxcodec/fx_zlib/zlib_v128/trees.h @@ -1,3 +1,4 @@ +/* GENERATED FILE */ /* header created automatically with -DGEN_TREES_H */ local const ct_data static_ltree[L_CODES+2] = { diff --git a/core/src/fxcodec/libjpeg/jconfig.h b/core/src/fxcodec/libjpeg/jconfig.h index 7e291c75bd..ea3c397799 100644 --- a/core/src/fxcodec/libjpeg/jconfig.h +++ b/core/src/fxcodec/libjpeg/jconfig.h @@ -1,3 +1,9 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */ /* see jconfig.doc for explanations */ diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h b/core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h index c5ccbaf64a..76217fc0ce 100644 --- a/core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h +++ b/core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h @@ -1,3 +1,9 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + #ifndef _FX_FREETYPE_DONT_RENAME_ #ifdef _MSC_VER diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h b/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h index 0d31ce6932..fb255743a7 100644 --- a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h +++ b/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h @@ -1,3 +1,20 @@ +/***************************************************************************/ +/* */ +/* ftmodule.h */ +/* */ +/* FreeType modules public interface (specification). */ +/* */ +/* Copyright 1996-2001, 2002, 2003 by */ +/* David Turner, Robert Wilhelm, and Werner Lemberg. */ +/* */ +/* This file is part of the FreeType project, and may only be used, */ +/* modified, and distributed under the terms of the FreeType project */ +/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ +/* this file you indicate that you have read the license and */ +/* understand and accept it fully. */ +/* */ +/***************************************************************************/ + /* * This file registers the FreeType modules compiled into the library. * diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftchapters.h b/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftchapters.h deleted file mode 100644 index c55670d1d2..0000000000 --- a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftchapters.h +++ /dev/null @@ -1,120 +0,0 @@ -/***************************************************************************/ -/* */ -/* This file defines the structure of the FreeType reference. */ -/* It is used by the python script which generates the HTML files. */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* general_remarks */ -/* */ -/* <Title> */ -/* General Remarks */ -/* */ -/* <Sections> */ -/* user_allocation */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* core_api */ -/* */ -/* <Title> */ -/* Core API */ -/* */ -/* <Sections> */ -/* version */ -/* basic_types */ -/* base_interface */ -/* glyph_variants */ -/* glyph_management */ -/* mac_specific */ -/* sizes_management */ -/* header_file_macros */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* format_specific */ -/* */ -/* <Title> */ -/* Format-Specific API */ -/* */ -/* <Sections> */ -/* multiple_masters */ -/* truetype_tables */ -/* type1_tables */ -/* sfnt_names */ -/* bdf_fonts */ -/* cid_fonts */ -/* pfr_fonts */ -/* winfnt_fonts */ -/* font_formats */ -/* gasp_table */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* module_specific */ -/* */ -/* <Title> */ -/* Controlling FreeType Modules */ -/* */ -/* <Sections> */ -/* auto_hinter */ -/* cff_driver */ -/* tt_driver */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* cache_subsystem */ -/* */ -/* <Title> */ -/* Cache Sub-System */ -/* */ -/* <Sections> */ -/* cache_subsystem */ -/* */ -/***************************************************************************/ - - -/***************************************************************************/ -/* */ -/* <Chapter> */ -/* support_api */ -/* */ -/* <Title> */ -/* Support API */ -/* */ -/* <Sections> */ -/* computations */ -/* list_processing */ -/* outline_processing */ -/* quick_advance */ -/* bitmap_handling */ -/* raster */ -/* glyph_stroker */ -/* system_interface */ -/* module_management */ -/* gzip */ -/* lzw */ -/* bzip2 */ -/* lcd_filtering */ -/* */ -/***************************************************************************/ -- cgit v1.2.3