Permalink
Browse files

Add AUTHORS and LICENSE files, and copyright headers to relevant sour…

…ce files.

BUG=62
TEST=none
Review URL: http://codereview.chromium.org/306051

git-svn-id: http://gyp.googlecode.com/svn/trunk@721 78cadc50-ecff-11dd-a971-7dbc132099af
  • Loading branch information...
1 parent a2942fc commit df8224662e615bd36cf8bebae8e58c017201f998 sgk@chromium.org committed Oct 22, 2009
Showing with 675 additions and 5 deletions.
  1. +5 −0 AUTHORS
  2. +27 −0 LICENSE
  3. +4 −0 gyp
  4. +4 −0 gyp.bat
  5. +8 −5 gyptest.py
  6. +4 −0 pylib/gyp/MSVSNew.py
  7. +4 −0 pylib/gyp/MSVSProject.py
  8. +4 −0 pylib/gyp/MSVSToolFile.py
  9. +4 −0 pylib/gyp/MSVSUserFile.py
  10. +4 −0 pylib/gyp/MSVSVersion.py
  11. +4 −0 pylib/gyp/SCons.py
  12. +4 −0 pylib/gyp/__init__.py
  13. +4 −0 pylib/gyp/common.py
  14. +4 −0 pylib/gyp/generator/gypd.py
  15. +4 −0 pylib/gyp/generator/gypsh.py
  16. +4 −0 pylib/gyp/generator/make.py
  17. +4 −0 pylib/gyp/generator/msvs.py
  18. +3 −0 pylib/gyp/generator/scons.py
  19. +4 −0 pylib/gyp/generator/xcode.py
  20. +4 −0 pylib/gyp/input.py
  21. +4 −0 pylib/gyp/xcodeproj_file.py
  22. +3 −0 samples/samples
  23. +4 −0 samples/samples.bat
  24. +4 −0 test/actions-bare/gyptest-bare.py
  25. +4 −0 test/actions-bare/src/bare.gyp
  26. +4 −0 test/actions-bare/src/bare.py
  27. +4 −0 test/actions-subdir/gyptest-action.py
  28. +4 −0 test/actions-subdir/src/make-file.py
  29. +4 −0 test/actions-subdir/src/none.gyp
  30. +4 −0 test/actions-subdir/src/subdir/make-subdir-file.py
  31. +4 −0 test/actions-subdir/src/subdir/subdir.gyp
  32. +4 −0 test/actions/gyptest-all.py
  33. +4 −0 test/actions/gyptest-default.py
  34. +4 −0 test/actions/gyptest-errors.py
  35. +4 −0 test/actions/src/action_missing_name.gyp
  36. +4 −0 test/actions/src/actions.gyp
  37. +4 −0 test/actions/src/subdir1/executable.gyp
  38. +5 −0 test/actions/src/subdir1/make-prog1.py
  39. +5 −0 test/actions/src/subdir1/make-prog2.py
  40. +4 −0 test/actions/src/subdir2/make-file.py
  41. +4 −0 test/actions/src/subdir2/none.gyp
  42. +4 −0 test/actions/src/subdir3/generate_main.py
  43. +4 −0 test/actions/src/subdir3/null_input.gyp
  44. +4 −0 test/additional-targets/gyptest-additional.py
  45. +4 −0 test/additional-targets/src/all.gyp
  46. +4 −0 test/additional-targets/src/dir1/actions.gyp
  47. +4 −0 test/additional-targets/src/dir1/emit.py
  48. +4 −0 test/assembly/gyptest-assembly.py
  49. +4 −0 test/assembly/src/assembly.gyp
  50. +4 −0 test/builddir/gyptest-all.py
  51. +4 −0 test/builddir/gyptest-default.py
  52. +4 −0 test/builddir/src/builddir.gypi
  53. +4 −0 test/builddir/src/prog1.gyp
  54. +4 −0 test/builddir/src/subdir2/prog2.gyp
  55. +4 −0 test/builddir/src/subdir2/subdir3/prog3.gyp
  56. +4 −0 test/builddir/src/subdir2/subdir3/subdir4/prog4.gyp
  57. +4 −0 test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.gyp
  58. +4 −0 test/compilable/gyptest-headers.py
  59. +4 −0 test/compilable/src/headers.gyp
  60. +4 −0 test/configurations/configurations.gyp
  61. +4 −0 test/configurations/gyptest-configurations.py
  62. +4 −0 test/copies-link/gyptest-copies-link.py
  63. +4 −0 test/copies-link/src/copies-link.gyp
  64. +4 −0 test/copies-link/src/copy.py
  65. +4 −0 test/copies/gyptest-all.py
  66. +4 −0 test/copies/gyptest-default.py
  67. +4 −0 test/copies/src/copies.gyp
  68. +4 −0 test/defines/defines-env.gyp
  69. +4 −0 test/defines/defines.gyp
  70. +4 −0 test/defines/gyptest-defines-env-regyp.py
  71. +4 −0 test/defines/gyptest-defines-env.py
  72. +4 −0 test/defines/gyptest-defines.py
  73. +4 −0 test/dependencies/b/b.gyp
  74. +4 −0 test/dependencies/c/c.gyp
  75. +4 −0 test/dependencies/extra_targets.gyp
  76. +4 −0 test/dependencies/gyptest-extra-targets.py
  77. +4 −0 test/dependencies/gyptest-lib-only.py
  78. +4 −0 test/dependencies/lib_only.gyp
  79. +4 −0 test/dependency-copy/gyptest-copy.py
  80. +4 −0 test/dependency-copy/src/copies.gyp
  81. +4 −0 test/generator-output/actions/actions.gyp
  82. +4 −0 test/generator-output/actions/subdir1/executable.gyp
  83. +5 −0 test/generator-output/actions/subdir1/make-prog1.py
  84. +5 −0 test/generator-output/actions/subdir1/make-prog2.py
  85. +4 −0 test/generator-output/actions/subdir2/make-file.py
  86. +4 −0 test/generator-output/actions/subdir2/none.gyp
  87. +4 −0 test/generator-output/copies/copies.gyp
  88. +4 −0 test/generator-output/copies/subdir/subdir.gyp
  89. +4 −0 test/generator-output/gyptest-actions.py
  90. +4 −0 test/generator-output/gyptest-copies.py
  91. +4 −0 test/generator-output/gyptest-relocate.py
  92. +4 −0 test/generator-output/gyptest-rules.py
  93. +4 −0 test/generator-output/gyptest-subdir2-deep.py
  94. +4 −0 test/generator-output/gyptest-top-all.py
  95. +5 −0 test/generator-output/rules/copy-file.py
  96. +4 −0 test/generator-output/rules/rules.gyp
  97. +4 −0 test/generator-output/rules/subdir1/executable.gyp
  98. +4 −0 test/generator-output/rules/subdir2/none.gyp
  99. +4 −0 test/generator-output/src/prog1.gyp
  100. +4 −0 test/generator-output/src/subdir2/deeper/deeper.gyp
  101. +4 −0 test/generator-output/src/subdir2/prog2.gyp
  102. +4 −0 test/generator-output/src/subdir3/prog3.gyp
  103. +4 −0 test/generator-output/src/symroot.gypi
  104. +4 −0 test/hello/gyptest-all.py
  105. +4 −0 test/hello/gyptest-default.py
  106. +4 −0 test/hello/gyptest-disable-regyp.py
  107. +4 −0 test/hello/gyptest-regyp.py
  108. +4 −0 test/hello/gyptest-target.py
  109. +4 −0 test/hello/hello.gyp
  110. +4 −0 test/hello/hello2.gyp
  111. +4 −0 test/include_dirs/gyptest-all.py
  112. +4 −0 test/include_dirs/gyptest-default.py
  113. +4 −0 test/include_dirs/src/includes.gyp
  114. +4 −0 test/include_dirs/src/subdir/subdir_includes.gyp
  115. +4 −0 test/lib/TestGyp.py
  116. +4 −0 test/library/gyptest-shared.py
  117. +4 −0 test/library/gyptest-static.py
  118. +4 −0 test/library/src/library.gyp
  119. +4 −0 test/module/gyptest-default.py
  120. +4 −0 test/module/src/module.gyp
  121. +4 −0 test/multiple-targets/gyptest-all.py
  122. +4 −0 test/multiple-targets/gyptest-default.py
  123. +4 −0 test/multiple-targets/src/multiple.gyp
  124. +4 −0 test/no-output/gyptest-no-output.py
  125. +4 −0 test/no-output/src/nooutput.gyp
  126. +4 −0 test/rules/gyptest-all.py
  127. +4 −0 test/rules/gyptest-default.py
  128. +4 −0 test/rules/src/actions.gyp
  129. +4 −0 test/rules/src/copy-file.py
  130. +4 −0 test/rules/src/subdir1/executable.gyp
  131. +4 −0 test/rules/src/subdir2/none.gyp
  132. +4 −0 test/same-name/gyptest-all.py
  133. +4 −0 test/same-name/gyptest-default.py
  134. +4 −0 test/same-name/src/all.gyp
  135. +4 −0 test/scons_tools/gyptest-tools.py
  136. +4 −0 test/scons_tools/site_scons/site_tools/this_tool.py
  137. +4 −0 test/scons_tools/tools.gyp
  138. +4 −0 test/sibling/gyptest-all.py
  139. +4 −0 test/sibling/gyptest-relocate.py
  140. +4 −0 test/sibling/src/build/all.gyp
  141. +4 −0 test/sibling/src/prog1/prog1.gyp
  142. +4 −0 test/sibling/src/prog2/prog2.gyp
  143. +4 −0 test/subdirectory/gyptest-SYMROOT-all.py
  144. +4 −0 test/subdirectory/gyptest-SYMROOT-default.py
  145. +4 −0 test/subdirectory/gyptest-subdir-all.py
  146. +4 −0 test/subdirectory/gyptest-subdir-default.py
  147. +4 −0 test/subdirectory/gyptest-subdir2-deep.py
  148. +4 −0 test/subdirectory/gyptest-top-all.py
  149. +4 −0 test/subdirectory/gyptest-top-default.py
  150. +4 −0 test/subdirectory/src/prog1.gyp
  151. +4 −0 test/subdirectory/src/subdir/prog2.gyp
  152. +4 −0 test/subdirectory/src/subdir/subdir2/prog3.gyp
  153. +4 −0 test/subdirectory/src/symroot.gypi
  154. +4 −0 test/toolsets/gyptest-toolsets.py
  155. +4 −0 test/toolsets/toolsets.gyp
  156. +4 −0 test/variables/commands.gyp
  157. +4 −0 test/variables/commands.gypi
  158. +4 −0 test/variables/gyptest-commands-ignore-env.py
  159. +4 −0 test/variables/gyptest-commands.py
  160. +4 −0 test/variants/gyptest-variants.py
  161. +4 −0 test/variants/src/variants.gyp
View
@@ -0,0 +1,5 @@
+# Names should be added to this file like so:
+# Name or Organization <email address>
+
+Google Inc.
+Steven Knight <knight@baldmt.com>
View
27 LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2009 Google Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
4 gyp
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import sys
# TODO(mark): sys.path manipulation is some temporary testing stuff.
View
@@ -1 +1,5 @@
+@rem Copyright (c) 2009 Google Inc. All rights reserved.
+@rem Use of this source code is governed by a BSD-style license that can be
+@rem found in the LICENSE file.
+
@python "%~dp0/gyp" %*
View
@@ -1,9 +1,12 @@
#!/usr/bin/env python
-#
-# XXX Python script template
-#
-# XXX Describe what the script does here.
-#
+
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+__doc__ = """
+gyptest.py -- test runner for GYP tests.
+"""
import os
import optparse
View
@@ -1,5 +1,9 @@
#!/usr/bin/python2.4
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""New implementation of Visual Studio project generation for SCons."""
import common
View
@@ -1,5 +1,9 @@
#!/usr/bin/python2.4
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""Visual Studio project reader/writer."""
import common
@@ -1,5 +1,9 @@
#!/usr/bin/python2.4
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""Visual Studio project reader/writer."""
import common
@@ -1,5 +1,9 @@
#!/usr/bin/python2.4
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""Visual Studio user preferences file writer."""
import common
View
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""Handle version information related to Visual Stuio."""
import os
View
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""
SCons generator.
View
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import copy
import gyp.input
import optparse
View
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import errno
import filecmp
import os.path
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""gypd output module
This module produces gyp input as its output. Output files are given the
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""gypsh output module
gypsh is a GYP shell. It's not really a generator per se. All it does is
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
# Notes:
#
# This is all roughly based on the Makefile system used by the Linux
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import os
import re
import subprocess
@@ -1,5 +1,8 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
import gyp
import gyp.common
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import filecmp
import gyp.common
import gyp.xcodeproj_file
View
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
from compiler.ast import Const
from compiler.ast import Dict
from compiler.ast import Discard
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""Xcode project file generator.
This module is both an Xcode project file generator and a documentation of the
View
@@ -1,5 +1,8 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
import os.path
import shutil
View
@@ -1 +1,5 @@
+@rem Copyright (c) 2009 Google Inc. All rights reserved.
+@rem Use of this source code is governed by a BSD-style license that can be
+@rem found in the LICENSE file.
+
@python %~dp0/samples %*
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""
Verifies actions which are not depended on by other targets get executed.
"""
@@ -1,3 +1,7 @@
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
{
'targets': [
{
@@ -1,5 +1,9 @@
#!/usr/bin/python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import sys
f = open(sys.argv[1], 'wb')
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""
Test actions that output to PRODUCT_DIR.
"""
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import sys
contents = 'Hello from make-file.py\n'
@@ -1,3 +1,7 @@
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
{
'targets': [
{
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import sys
contents = 'Hello from make-subdir-file.py\n'
@@ -1,3 +1,7 @@
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
{
'targets': [
{
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""
Verifies simple actions when using an explicit build target of 'all'.
"""
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""
Verifies simple actions when using the default build target.
"""
@@ -1,4 +1,8 @@
#!/usr/bin/env python
+
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
"""
Verifies behavior for different action configuration errors:
@@ -1,3 +1,7 @@
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
{
'targets': [
{
@@ -1,3 +1,7 @@
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
{
'targets': [
{
@@ -1,3 +1,7 @@
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
{
'targets': [
{
@@ -1,4 +1,9 @@
#!/usr/bin/env python
+
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import sys
contents = r"""
@@ -1,4 +1,9 @@
#!/usr/bin/env python
+
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import sys
contents = r"""
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright (c) 2009 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import sys
contents = "Hello from make-file.py\n"
Oops, something went wrong.

0 comments on commit df82246

Please sign in to comment.