Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit df8224662e615bd36cf8bebae8e58c017201f998 1 parent a2942fc
sgk@chromium.org authored
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
5 AUTHORS
@@ -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
4 gyp.bat
@@ -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
13 gyptest.py
@@ -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
4 pylib/gyp/MSVSNew.py
@@ -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
4 pylib/gyp/MSVSProject.py
@@ -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
View
4 pylib/gyp/MSVSToolFile.py
@@ -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
View
4 pylib/gyp/MSVSUserFile.py
@@ -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
4 pylib/gyp/MSVSVersion.py
@@ -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
4 pylib/gyp/SCons.py
@@ -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
4 pylib/gyp/__init__.py
@@ -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
4 pylib/gyp/common.py
@@ -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
View
4 pylib/gyp/generator/gypd.py
@@ -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
View
4 pylib/gyp/generator/gypsh.py
@@ -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
View
4 pylib/gyp/generator/make.py
@@ -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
View
4 pylib/gyp/generator/msvs.py
@@ -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
View
3  pylib/gyp/generator/scons.py
@@ -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
View
4 pylib/gyp/generator/xcode.py
@@ -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
4 pylib/gyp/input.py
@@ -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
View
4 pylib/gyp/xcodeproj_file.py
@@ -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
3  samples/samples
@@ -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
4 samples/samples.bat
@@ -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 %*
View
4 test/actions-bare/gyptest-bare.py
@@ -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.
"""
View
4 test/actions-bare/src/bare.gyp
@@ -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': [
{
View
4 test/actions-bare/src/bare.py
@@ -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')
View
4 test/actions-subdir/gyptest-action.py
@@ -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.
"""
View
4 test/actions-subdir/src/make-file.py
@@ -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'
View
4 test/actions-subdir/src/none.gyp
@@ -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': [
{
View
4 test/actions-subdir/src/subdir/make-subdir-file.py
@@ -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'
View
4 test/actions-subdir/src/subdir/subdir.gyp
@@ -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': [
{
View
4 test/actions/gyptest-all.py
@@ -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'.
"""
View
4 test/actions/gyptest-default.py
@@ -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.
"""
View
4 test/actions/gyptest-errors.py
@@ -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:
View
4 test/actions/src/action_missing_name.gyp
@@ -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': [
{
View
4 test/actions/src/actions.gyp
@@ -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': [
{
View
4 test/actions/src/subdir1/executable.gyp
@@ -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': [
{
View
5 test/actions/src/subdir1/make-prog1.py
@@ -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"""
View
5 test/actions/src/subdir1/make-prog2.py
@@ -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"""
View
4 test/actions/src/subdir2/make-file.py
@@ -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"
View
4 test/actions/src/subdir2/none.gyp
@@ -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': [
{
View
4 test/actions/src/subdir3/generate_main.py
@@ -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 = """
View
4 test/actions/src/subdir3/null_input.gyp
@@ -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': [
{
View
4 test/additional-targets/gyptest-additional.py
@@ -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'.
"""
View
4 test/additional-targets/src/all.gyp
@@ -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': [
{
View
4 test/additional-targets/src/dir1/actions.gyp
@@ -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': [
{
View
4 test/additional-targets/src/dir1/emit.py
@@ -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')
View
4 test/assembly/gyptest-assembly.py
@@ -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 that .hpp files are ignored when included in the source list on all
platforms.
View
4 test/assembly/src/assembly.gyp
@@ -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.
+
{
'target_defaults': {
'conditions': [
View
4 test/builddir/gyptest-all.py
@@ -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.
+
"""
Verify the settings that cause a set of programs to be created in
a specific build directory, and that no intermediate built files
View
4 test/builddir/gyptest-default.py
@@ -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.
+
"""
Verify the settings that cause a set of programs to be created in
a specific build directory, and that no intermediate built files
View
4 test/builddir/src/builddir.gypi
@@ -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.
+
{
'target_defaults': {
'configurations': {
View
4 test/builddir/src/prog1.gyp
@@ -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.
+
{
'includes': [
'builddir.gypi',
View
4 test/builddir/src/subdir2/prog2.gyp
@@ -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.
+
{
'includes': [
'../builddir.gypi',
View
4 test/builddir/src/subdir2/subdir3/prog3.gyp
@@ -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.
+
{
'includes': [
'../../builddir.gypi',
View
4 test/builddir/src/subdir2/subdir3/subdir4/prog4.gyp
@@ -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.
+
{
'includes': [
'../../../builddir.gypi',
View
4 test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.gyp
@@ -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.
+
{
'includes': [
'../../../../builddir.gypi',
View
4 test/compilable/gyptest-headers.py
@@ -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 that .hpp files are ignored when included in the source list on all
platforms.
View
4 test/compilable/src/headers.gyp
@@ -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': [
{
View
4 test/configurations/configurations.gyp
@@ -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': [
{
View
4 test/configurations/gyptest-configurations.py
@@ -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 build of an executable in three different configurations.
"""
View
4 test/copies-link/gyptest-copies-link.py
@@ -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 file copies using the build tool default.
"""
View
4 test/copies-link/src/copies-link.gyp
@@ -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': [
{
View
4 test/copies-link/src/copy.py
@@ -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 shutil
import sys
View
4 test/copies/gyptest-all.py
@@ -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 file copies using an explicit build target of 'all'.
"""
View
4 test/copies/gyptest-default.py
@@ -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 file copies using the build tool default.
"""
View
4 test/copies/src/copies.gyp
@@ -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': [
{
View
4 test/defines/defines-env.gyp
@@ -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.
+
{
'variables': {
'value%': '5',
View
4 test/defines/defines.gyp
@@ -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': [
{
View
4 test/defines/gyptest-defines-env-regyp.py
@@ -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 build of an executable with C++ define specified by a gyp define, and
the use of the environment during regeneration when the gyp file changes.
View
4 test/defines/gyptest-defines-env.py
@@ -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 build of an executable with C++ define specified by a gyp define.
"""
View
4 test/defines/gyptest-defines.py
@@ -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 build of an executable with C++ defines.
"""
View
4 test/dependencies/b/b.gyp
@@ -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': [
{
View
4 test/dependencies/c/c.gyp
@@ -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': [
{
View
4 test/dependencies/extra_targets.gyp
@@ -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': [
{
View
4 test/dependencies/gyptest-extra-targets.py
@@ -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.
+
"""
Verify that dependencies don't pull unused targets into the build.
"""
View
4 test/dependencies/gyptest-lib-only.py
@@ -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.
+
"""
Verify that a link time only dependency will get pulled into the set of built
targets, even if no executable uses it.
View
4 test/dependencies/lib_only.gyp
@@ -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': [
{
View
4 test/dependency-copy/gyptest-copy.py
@@ -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 dependencies do the copy step.
"""
View
4 test/dependency-copy/src/copies.gyp
@@ -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': [
{
View
4 test/generator-output/actions/actions.gyp
@@ -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': [
{
View
4 test/generator-output/actions/subdir1/executable.gyp
@@ -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': [
{
View
5 test/generator-output/actions/subdir1/make-prog1.py
@@ -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"""
View
5 test/generator-output/actions/subdir1/make-prog2.py
@@ -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"""
View
4 test/generator-output/actions/subdir2/make-file.py
@@ -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"
View
4 test/generator-output/actions/subdir2/none.gyp
@@ -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': [
{
View
4 test/generator-output/copies/copies.gyp
@@ -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': [
{
View
4 test/generator-output/copies/subdir/subdir.gyp
@@ -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': [
{
View
4 test/generator-output/gyptest-actions.py
@@ -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 --generator-output= behavior when using actions.
"""
View
4 test/generator-output/gyptest-copies.py
@@ -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 file copies using an explicit build target of 'all'.
"""
View
4 test/generator-output/gyptest-relocate.py
@@ -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 that a project hierarchy created with the --generator-output=
option can be built even when it's relocated to a different path.
View
4 test/generator-output/gyptest-rules.py
@@ -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 --generator-output= behavior when using rules.
"""
View
4 test/generator-output/gyptest-subdir2-deep.py
@@ -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 building a target from a .gyp file a few subdirectories
deep when the --generator-output= option is used to put the build
View
4 test/generator-output/gyptest-top-all.py
@@ -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 building a project hierarchy created when the --generator-output=
option is used to put the build configuration files in a separate
View
5 test/generator-output/rules/copy-file.py
@@ -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 = open(sys.argv[1], 'r').read()
View
4 test/generator-output/rules/rules.gyp
@@ -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': [
{
View
4 test/generator-output/rules/subdir1/executable.gyp
@@ -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': [
{
View
4 test/generator-output/rules/subdir2/none.gyp
@@ -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': [
{
View
4 test/generator-output/src/prog1.gyp
@@ -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.
+
{
'includes': [
'symroot.gypi',
View
4 test/generator-output/src/subdir2/deeper/deeper.gyp
@@ -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.
+
{
'includes': [
'../../symroot.gypi',
View
4 test/generator-output/src/subdir2/prog2.gyp
@@ -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.
+
{
'includes': [
'../symroot.gypi',
View
4 test/generator-output/src/subdir3/prog3.gyp
@@ -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.
+
{
'includes': [
'../symroot.gypi',
View
4 test/generator-output/src/symroot.gypi
@@ -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.
+
{
'variables': {
'set_symroot%': 0,
View
4 test/hello/gyptest-all.py
@@ -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 simplest-possible build of a "Hello, world!" program
using an explicit build target of 'all'.
View
4 test/hello/gyptest-default.py
@@ -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 simplest-possible build of a "Hello, world!" program
using the default build target.
View
4 test/hello/gyptest-disable-regyp.py
@@ -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 that Makefiles don't get rebuilt when a source gyp file changes and
the disable_regeneration generator flag is set.
View
4 test/hello/gyptest-regyp.py
@@ -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 that Makefiles get rebuilt when a source gyp file changes.
"""
View
4 test/hello/gyptest-target.py
@@ -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 simplest-possible build of a "Hello, world!" program
using an explicit build target of 'hello'.
View
4 test/hello/hello.gyp
@@ -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': [
{
View
4 test/hello/hello2.gyp
@@ -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': [
{
View
4 test/include_dirs/gyptest-all.py
@@ -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 use of include_dirs when using an explicit build target of 'all'.
"""
View
4 test/include_dirs/gyptest-default.py
@@ -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 use of include_dirs when using the default build target.
"""
View
4 test/include_dirs/src/includes.gyp
@@ -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': [
{
View
4 test/include_dirs/src/subdir/subdir_includes.gyp
@@ -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': [
{
View
4 test/lib/TestGyp.py
@@ -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.
+
"""
TestGyp.py: a testing framework for GYP integration tests.
"""
View
4 test/library/gyptest-shared.py
@@ -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 build of a "Hello, world!" program with shared libraries,
including verifying that libraries are rebuilt correctly when functions
View
4 test/library/gyptest-static.py
@@ -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 build of a "Hello, world!" program with static libraries,
including verifying that libraries are rebuilt correctly when functions
View
4 test/library/src/library.gyp
@@ -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.
+
{
'variables': {
'moveable_function%': 0,
View
4 test/module/gyptest-default.py
@@ -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 build of a "Hello, world!" program with loadable modules. The
default for all platforms should be to output the loadable modules to the same
View
4 test/module/src/module.gyp
@@ -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.
+
{
'target_defaults': {
'conditions': [
View
4 test/multiple-targets/gyptest-all.py
@@ -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.
+
"""
"""
View
4 test/multiple-targets/gyptest-default.py
@@ -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.
+
"""
"""
View
4 test/multiple-targets/src/multiple.gyp
@@ -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': [
{
View
4 test/no-output/gyptest-no-output.py
@@ -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.
+
"""
Verified things don't explode when there are targets without outputs.
"""
View
4 test/no-output/src/nooutput.gyp
@@ -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': [
{
View
4 test/rules/gyptest-all.py
@@ -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 rules when using an explicit build target of 'all'.
"""
View
4 test/rules/gyptest-default.py
@@ -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 rules when using an explicit build target of 'all'.
"""
View
4 test/rules/src/actions.gyp
@@ -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': [
{
View
4 test/rules/src/copy-file.py
@@ -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.
import sys
contents = open(sys.argv[1], 'r').read()
View
4 test/rules/src/subdir1/executable.gyp
@@ -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': [
{
View
4 test/rules/src/subdir2/none.gyp
@@ -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': [
{
View
4 test/same-name/gyptest-all.py
@@ -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.
+
"""
Build a .gyp with two targets that share a common .c source file.
"""
View
4 test/same-name/gyptest-default.py
@@ -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.
+
"""
Build a .gyp with two targets that share a common .c source file.
"""
View
4 test/same-name/src/all.gyp
@@ -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': [
{
View
4 test/scons_tools/gyptest-tools.py
@@ -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 that a scons build picks up tools modules specified
via 'scons_tools' in the 'scons_settings' dictionary.
View
4 test/scons_tools/site_scons/site_tools/this_tool.py
@@ -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.
+
# SCons "tool" module that simply sets a -D value.
def generate(env):
env['CPPDEFINES'] = ['THIS_TOOL']
View
4 test/scons_tools/tools.gyp
@@ -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': [
{
View
4 test/sibling/gyptest-all.py
@@ -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.
+
"""
"""
View
4 test/sibling/gyptest-relocate.py
@@ -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.
+
"""
"""
View
4 test/sibling/src/build/all.gyp
@@ -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': [
{
View
4 test/sibling/src/prog1/prog1.gyp
@@ -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': [
{
View
4 test/sibling/src/prog2/prog2.gyp
@@ -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': [
{
View
4 test/subdirectory/gyptest-SYMROOT-all.py
@@ -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 building a target and a subsidiary dependent target from a
.gyp file in a subdirectory, without specifying an explicit output build
View
4 test/subdirectory/gyptest-SYMROOT-default.py
@@ -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 building a target and a subsidiary dependent target from a
.gyp file in a subdirectory, without specifying an explicit output build
View
4 test/subdirectory/gyptest-subdir-all.py
@@ -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 building a subsidiary dependent target from a .gyp file in a
subdirectory, without specifying an explicit output build directory,
View
4 test/subdirectory/gyptest-subdir-default.py
@@ -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 building a subsidiary dependent target from a .gyp file in a
subdirectory, without specifying an explicit output build directory,
View
4 test/subdirectory/gyptest-subdir2-deep.py
@@ -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 building a project rooted several layers under src_dir works.
"""
View
4 test/subdirectory/gyptest-top-all.py
@@ -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 building a target and a subsidiary dependent target from a
.gyp file in a subdirectory, without specifying an explicit output build
View
4 test/subdirectory/gyptest-top-default.py
@@ -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 building a target and a subsidiary dependent target from a
.gyp file in a subdirectory, without specifying an explicit output build
View
4 test/subdirectory/src/prog1.gyp
@@ -1,3 +1,7 @@
+# Copyright (c) 2009 Google Inc. All rights reserved.