summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/actions-bare/gyptest-bare.py4
-rw-r--r--test/actions-bare/src/bare.gyp4
-rw-r--r--test/actions-bare/src/bare.py4
-rw-r--r--test/actions-subdir/gyptest-action.py4
-rw-r--r--test/actions-subdir/src/make-file.py4
-rw-r--r--test/actions-subdir/src/none.gyp4
-rw-r--r--test/actions-subdir/src/subdir/make-subdir-file.py4
-rw-r--r--test/actions-subdir/src/subdir/subdir.gyp4
-rw-r--r--test/actions/gyptest-all.py4
-rw-r--r--test/actions/gyptest-default.py4
-rw-r--r--test/actions/gyptest-errors.py4
-rw-r--r--test/actions/src/action_missing_name.gyp4
-rw-r--r--test/actions/src/actions.gyp4
-rw-r--r--test/actions/src/subdir1/executable.gyp4
-rw-r--r--test/actions/src/subdir1/make-prog1.py5
-rw-r--r--test/actions/src/subdir1/make-prog2.py5
-rw-r--r--test/actions/src/subdir2/make-file.py4
-rw-r--r--test/actions/src/subdir2/none.gyp4
-rw-r--r--test/actions/src/subdir3/generate_main.py4
-rw-r--r--test/actions/src/subdir3/null_input.gyp4
-rw-r--r--test/additional-targets/gyptest-additional.py4
-rw-r--r--test/additional-targets/src/all.gyp4
-rw-r--r--test/additional-targets/src/dir1/actions.gyp4
-rw-r--r--test/additional-targets/src/dir1/emit.py4
-rw-r--r--test/assembly/gyptest-assembly.py4
-rw-r--r--test/assembly/src/assembly.gyp4
-rw-r--r--test/builddir/gyptest-all.py4
-rw-r--r--test/builddir/gyptest-default.py4
-rw-r--r--test/builddir/src/builddir.gypi4
-rw-r--r--test/builddir/src/prog1.gyp4
-rw-r--r--test/builddir/src/subdir2/prog2.gyp4
-rw-r--r--test/builddir/src/subdir2/subdir3/prog3.gyp4
-rw-r--r--test/builddir/src/subdir2/subdir3/subdir4/prog4.gyp4
-rw-r--r--test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.gyp4
-rw-r--r--test/compilable/gyptest-headers.py4
-rw-r--r--test/compilable/src/headers.gyp4
-rw-r--r--test/configurations/configurations.gyp4
-rw-r--r--test/configurations/gyptest-configurations.py4
-rw-r--r--test/copies-link/gyptest-copies-link.py4
-rw-r--r--test/copies-link/src/copies-link.gyp4
-rw-r--r--test/copies-link/src/copy.py4
-rw-r--r--test/copies/gyptest-all.py4
-rw-r--r--test/copies/gyptest-default.py4
-rw-r--r--test/copies/src/copies.gyp4
-rw-r--r--test/defines/defines-env.gyp4
-rw-r--r--test/defines/defines.gyp4
-rw-r--r--test/defines/gyptest-defines-env-regyp.py4
-rw-r--r--test/defines/gyptest-defines-env.py4
-rw-r--r--test/defines/gyptest-defines.py4
-rwxr-xr-xtest/dependencies/b/b.gyp4
-rw-r--r--test/dependencies/c/c.gyp4
-rw-r--r--test/dependencies/extra_targets.gyp4
-rw-r--r--test/dependencies/gyptest-extra-targets.py4
-rwxr-xr-xtest/dependencies/gyptest-lib-only.py4
-rwxr-xr-xtest/dependencies/lib_only.gyp4
-rw-r--r--test/dependency-copy/gyptest-copy.py4
-rw-r--r--test/dependency-copy/src/copies.gyp4
-rw-r--r--test/generator-output/actions/actions.gyp4
-rw-r--r--test/generator-output/actions/subdir1/executable.gyp4
-rw-r--r--test/generator-output/actions/subdir1/make-prog1.py5
-rw-r--r--test/generator-output/actions/subdir1/make-prog2.py5
-rw-r--r--test/generator-output/actions/subdir2/make-file.py4
-rw-r--r--test/generator-output/actions/subdir2/none.gyp4
-rw-r--r--test/generator-output/copies/copies.gyp4
-rw-r--r--test/generator-output/copies/subdir/subdir.gyp4
-rw-r--r--test/generator-output/gyptest-actions.py4
-rw-r--r--test/generator-output/gyptest-copies.py4
-rw-r--r--test/generator-output/gyptest-relocate.py4
-rw-r--r--test/generator-output/gyptest-rules.py4
-rw-r--r--test/generator-output/gyptest-subdir2-deep.py4
-rw-r--r--test/generator-output/gyptest-top-all.py4
-rw-r--r--test/generator-output/rules/copy-file.py5
-rw-r--r--test/generator-output/rules/rules.gyp4
-rw-r--r--test/generator-output/rules/subdir1/executable.gyp4
-rw-r--r--test/generator-output/rules/subdir2/none.gyp4
-rw-r--r--test/generator-output/src/prog1.gyp4
-rw-r--r--test/generator-output/src/subdir2/deeper/deeper.gyp4
-rw-r--r--test/generator-output/src/subdir2/prog2.gyp4
-rw-r--r--test/generator-output/src/subdir3/prog3.gyp4
-rw-r--r--test/generator-output/src/symroot.gypi4
-rw-r--r--test/hello/gyptest-all.py4
-rw-r--r--test/hello/gyptest-default.py4
-rw-r--r--test/hello/gyptest-disable-regyp.py4
-rw-r--r--test/hello/gyptest-regyp.py4
-rwxr-xr-xtest/hello/gyptest-target.py4
-rw-r--r--test/hello/hello.gyp4
-rw-r--r--test/hello/hello2.gyp4
-rw-r--r--test/include_dirs/gyptest-all.py4
-rw-r--r--test/include_dirs/gyptest-default.py4
-rw-r--r--test/include_dirs/src/includes.gyp4
-rw-r--r--test/include_dirs/src/subdir/subdir_includes.gyp4
-rw-r--r--test/lib/TestGyp.py4
-rw-r--r--test/library/gyptest-shared.py4
-rw-r--r--test/library/gyptest-static.py4
-rw-r--r--test/library/src/library.gyp4
-rw-r--r--test/module/gyptest-default.py4
-rw-r--r--test/module/src/module.gyp4
-rw-r--r--test/multiple-targets/gyptest-all.py4
-rw-r--r--test/multiple-targets/gyptest-default.py4
-rw-r--r--test/multiple-targets/src/multiple.gyp4
-rw-r--r--test/no-output/gyptest-no-output.py4
-rw-r--r--test/no-output/src/nooutput.gyp4
-rw-r--r--test/rules/gyptest-all.py4
-rw-r--r--test/rules/gyptest-default.py4
-rw-r--r--test/rules/src/actions.gyp4
-rw-r--r--test/rules/src/copy-file.py4
-rw-r--r--test/rules/src/subdir1/executable.gyp4
-rw-r--r--test/rules/src/subdir2/none.gyp4
-rw-r--r--test/same-name/gyptest-all.py4
-rw-r--r--test/same-name/gyptest-default.py4
-rw-r--r--test/same-name/src/all.gyp4
-rwxr-xr-xtest/scons_tools/gyptest-tools.py4
-rw-r--r--test/scons_tools/site_scons/site_tools/this_tool.py4
-rw-r--r--test/scons_tools/tools.gyp4
-rw-r--r--test/sibling/gyptest-all.py4
-rw-r--r--test/sibling/gyptest-relocate.py4
-rw-r--r--test/sibling/src/build/all.gyp4
-rw-r--r--test/sibling/src/prog1/prog1.gyp4
-rw-r--r--test/sibling/src/prog2/prog2.gyp4
-rw-r--r--test/subdirectory/gyptest-SYMROOT-all.py4
-rw-r--r--test/subdirectory/gyptest-SYMROOT-default.py4
-rw-r--r--test/subdirectory/gyptest-subdir-all.py4
-rw-r--r--test/subdirectory/gyptest-subdir-default.py4
-rw-r--r--test/subdirectory/gyptest-subdir2-deep.py4
-rw-r--r--test/subdirectory/gyptest-top-all.py4
-rw-r--r--test/subdirectory/gyptest-top-default.py4
-rw-r--r--test/subdirectory/src/prog1.gyp4
-rw-r--r--test/subdirectory/src/subdir/prog2.gyp4
-rw-r--r--test/subdirectory/src/subdir/subdir2/prog3.gyp4
-rw-r--r--test/subdirectory/src/symroot.gypi4
-rw-r--r--test/toolsets/gyptest-toolsets.py4
-rw-r--r--test/toolsets/toolsets.gyp4
-rw-r--r--test/variables/commands.gyp4
-rw-r--r--test/variables/commands.gypi4
-rw-r--r--test/variables/gyptest-commands-ignore-env.py4
-rw-r--r--test/variables/gyptest-commands.py4
-rw-r--r--test/variants/gyptest-variants.py4
-rw-r--r--test/variants/src/variants.gyp4
138 files changed, 557 insertions, 0 deletions
diff --git a/test/actions-bare/gyptest-bare.py b/test/actions-bare/gyptest-bare.py
index a8c441c2..13b79f54 100644
--- a/test/actions-bare/gyptest-bare.py
+++ b/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.
"""
diff --git a/test/actions-bare/src/bare.gyp b/test/actions-bare/src/bare.gyp
index c36956a3..3d28f099 100644
--- a/test/actions-bare/src/bare.gyp
+++ b/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': [
{
diff --git a/test/actions-bare/src/bare.py b/test/actions-bare/src/bare.py
index bc5d5c63..970450ea 100644
--- a/test/actions-bare/src/bare.py
+++ b/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')
diff --git a/test/actions-subdir/gyptest-action.py b/test/actions-subdir/gyptest-action.py
index 92f86775..defcd78f 100644
--- a/test/actions-subdir/gyptest-action.py
+++ b/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.
"""
diff --git a/test/actions-subdir/src/make-file.py b/test/actions-subdir/src/make-file.py
index fa42d6a3..74e55811 100644
--- a/test/actions-subdir/src/make-file.py
+++ b/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'
diff --git a/test/actions-subdir/src/none.gyp b/test/actions-subdir/src/none.gyp
index cd164713..23f8d25a 100644
--- a/test/actions-subdir/src/none.gyp
+++ b/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': [
{
diff --git a/test/actions-subdir/src/subdir/make-subdir-file.py b/test/actions-subdir/src/subdir/make-subdir-file.py
index 28ba3156..80ce19ae 100644
--- a/test/actions-subdir/src/subdir/make-subdir-file.py
+++ b/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'
diff --git a/test/actions-subdir/src/subdir/subdir.gyp b/test/actions-subdir/src/subdir/subdir.gyp
index 54ef8e53..0315d4eb 100644
--- a/test/actions-subdir/src/subdir/subdir.gyp
+++ b/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': [
{
diff --git a/test/actions/gyptest-all.py b/test/actions/gyptest-all.py
index 6452e026..da0f68ae 100644
--- a/test/actions/gyptest-all.py
+++ b/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'.
"""
diff --git a/test/actions/gyptest-default.py b/test/actions/gyptest-default.py
index 5ef8ec52..8842ab49 100644
--- a/test/actions/gyptest-default.py
+++ b/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.
"""
diff --git a/test/actions/gyptest-errors.py b/test/actions/gyptest-errors.py
index 1ba648fa..ca41487b 100644
--- a/test/actions/gyptest-errors.py
+++ b/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:
diff --git a/test/actions/src/action_missing_name.gyp b/test/actions/src/action_missing_name.gyp
index a09941cc..00424c35 100644
--- a/test/actions/src/action_missing_name.gyp
+++ b/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': [
{
diff --git a/test/actions/src/actions.gyp b/test/actions/src/actions.gyp
index 54418360..9e3fd141 100644
--- a/test/actions/src/actions.gyp
+++ b/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': [
{
diff --git a/test/actions/src/subdir1/executable.gyp b/test/actions/src/subdir1/executable.gyp
index ad84aec5..6bdd60a1 100644
--- a/test/actions/src/subdir1/executable.gyp
+++ b/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': [
{
diff --git a/test/actions/src/subdir1/make-prog1.py b/test/actions/src/subdir1/make-prog1.py
index 7e209512..7ea1d8a2 100644
--- a/test/actions/src/subdir1/make-prog1.py
+++ b/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"""
diff --git a/test/actions/src/subdir1/make-prog2.py b/test/actions/src/subdir1/make-prog2.py
index b4d5273e..0bfe4973 100644
--- a/test/actions/src/subdir1/make-prog2.py
+++ b/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"""
diff --git a/test/actions/src/subdir2/make-file.py b/test/actions/src/subdir2/make-file.py
index aa410ebb..fff06531 100644
--- a/test/actions/src/subdir2/make-file.py
+++ b/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"
diff --git a/test/actions/src/subdir2/none.gyp b/test/actions/src/subdir2/none.gyp
index 2acc6608..fbf8ff47 100644
--- a/test/actions/src/subdir2/none.gyp
+++ b/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': [
{
diff --git a/test/actions/src/subdir3/generate_main.py b/test/actions/src/subdir3/generate_main.py
index 7fc20842..b90b3aa6 100644
--- a/test/actions/src/subdir3/generate_main.py
+++ b/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 = """
diff --git a/test/actions/src/subdir3/null_input.gyp b/test/actions/src/subdir3/null_input.gyp
index 0f28ffea..bae2c845 100644
--- a/test/actions/src/subdir3/null_input.gyp
+++ b/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': [
{
diff --git a/test/additional-targets/gyptest-additional.py b/test/additional-targets/gyptest-additional.py
index 3864bb51..c9b09c0e 100644
--- a/test/additional-targets/gyptest-additional.py
+++ b/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'.
"""
diff --git a/test/additional-targets/src/all.gyp b/test/additional-targets/src/all.gyp
index 179f76c3..21c83080 100644
--- a/test/additional-targets/src/all.gyp
+++ b/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': [
{
diff --git a/test/additional-targets/src/dir1/actions.gyp b/test/additional-targets/src/dir1/actions.gyp
index 2c2eaeac..b67c1c48 100644
--- a/test/additional-targets/src/dir1/actions.gyp
+++ b/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': [
{
diff --git a/test/additional-targets/src/dir1/emit.py b/test/additional-targets/src/dir1/emit.py
index e36ebfd3..5638c43b 100644
--- a/test/additional-targets/src/dir1/emit.py
+++ b/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')
diff --git a/test/assembly/gyptest-assembly.py b/test/assembly/gyptest-assembly.py
index 4ab518c7..40d0a062 100644
--- a/test/assembly/gyptest-assembly.py
+++ b/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.
diff --git a/test/assembly/src/assembly.gyp b/test/assembly/src/assembly.gyp
index 04de16ae..872dd5ec 100644
--- a/test/assembly/src/assembly.gyp
+++ b/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': [
diff --git a/test/builddir/gyptest-all.py b/test/builddir/gyptest-all.py
index f6b4d69b..324d7fc7 100644
--- a/test/builddir/gyptest-all.py
+++ b/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
diff --git a/test/builddir/gyptest-default.py b/test/builddir/gyptest-default.py
index 3c8b730f..6171d159 100644
--- a/test/builddir/gyptest-default.py
+++ b/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
diff --git a/test/builddir/src/builddir.gypi b/test/builddir/src/builddir.gypi
index 744e6301..e3c61475 100644
--- a/test/builddir/src/builddir.gypi
+++ b/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': {
diff --git a/test/builddir/src/prog1.gyp b/test/builddir/src/prog1.gyp
index 57f4dc48..5b96f035 100644
--- a/test/builddir/src/prog1.gyp
+++ b/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',
diff --git a/test/builddir/src/subdir2/prog2.gyp b/test/builddir/src/subdir2/prog2.gyp
index c83c48e9..96299b64 100644
--- a/test/builddir/src/subdir2/prog2.gyp
+++ b/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',
diff --git a/test/builddir/src/subdir2/subdir3/prog3.gyp b/test/builddir/src/subdir2/subdir3/prog3.gyp
index 42a7ef1d..d7df43c7 100644
--- a/test/builddir/src/subdir2/subdir3/prog3.gyp
+++ b/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',
diff --git a/test/builddir/src/subdir2/subdir3/subdir4/prog4.gyp b/test/builddir/src/subdir2/subdir3/subdir4/prog4.gyp
index b1836bff..862a8a18 100644
--- a/test/builddir/src/subdir2/subdir3/subdir4/prog4.gyp
+++ b/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',
diff --git a/test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.gyp b/test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.gyp
index 460c5896..fe1c9cbf 100644
--- a/test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.gyp
+++ b/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',
diff --git a/test/compilable/gyptest-headers.py b/test/compilable/gyptest-headers.py
index 5d494507..91760216 100644
--- a/test/compilable/gyptest-headers.py
+++ b/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.
diff --git a/test/compilable/src/headers.gyp b/test/compilable/src/headers.gyp
index 1f3242b6..b6c2a885 100644
--- a/test/compilable/src/headers.gyp
+++ b/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': [
{
diff --git a/test/configurations/configurations.gyp b/test/configurations/configurations.gyp
index f1fdb5f6..93f1d8d5 100644
--- a/test/configurations/configurations.gyp
+++ b/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': [
{
diff --git a/test/configurations/gyptest-configurations.py b/test/configurations/gyptest-configurations.py
index 68532c4e..27cd2e87 100644
--- a/test/configurations/gyptest-configurations.py
+++ b/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.
"""
diff --git a/test/copies-link/gyptest-copies-link.py b/test/copies-link/gyptest-copies-link.py
index 55c2b57f..fe7b6025 100644
--- a/test/copies-link/gyptest-copies-link.py
+++ b/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.
"""
diff --git a/test/copies-link/src/copies-link.gyp b/test/copies-link/src/copies-link.gyp
index 4d7ab51f..9d2530a6 100644
--- a/test/copies-link/src/copies-link.gyp
+++ b/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': [
{
diff --git a/test/copies-link/src/copy.py b/test/copies-link/src/copy.py
index 5e01cef9..a1dd8718 100644
--- a/test/copies-link/src/copy.py
+++ b/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
diff --git a/test/copies/gyptest-all.py b/test/copies/gyptest-all.py
index 8c29b19c..06617eed 100644
--- a/test/copies/gyptest-all.py
+++ b/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'.
"""
diff --git a/test/copies/gyptest-default.py b/test/copies/gyptest-default.py
index 2c396177..4eb8ce11 100644
--- a/test/copies/gyptest-default.py
+++ b/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.
"""
diff --git a/test/copies/src/copies.gyp b/test/copies/src/copies.gyp
index 3111c13c..b66d3b45 100644
--- a/test/copies/src/copies.gyp
+++ b/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': [
{
diff --git a/test/defines/defines-env.gyp b/test/defines/defines-env.gyp
index 7f39f64b..1781546a 100644
--- a/test/defines/defines-env.gyp
+++ b/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',
diff --git a/test/defines/defines.gyp b/test/defines/defines.gyp
index 891db8cf..b88f4fa7 100644
--- a/test/defines/defines.gyp
+++ b/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': [
{
diff --git a/test/defines/gyptest-defines-env-regyp.py b/test/defines/gyptest-defines-env-regyp.py
index 08616a48..70c9ba78 100644
--- a/test/defines/gyptest-defines-env-regyp.py
+++ b/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.
diff --git a/test/defines/gyptest-defines-env.py b/test/defines/gyptest-defines-env.py
index a5152af3..6b4e7175 100644
--- a/test/defines/gyptest-defines-env.py
+++ b/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.
"""
diff --git a/test/defines/gyptest-defines.py b/test/defines/gyptest-defines.py
index b896690d..a21a6176 100644
--- a/test/defines/gyptest-defines.py
+++ b/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.
"""
diff --git a/test/dependencies/b/b.gyp b/test/dependencies/b/b.gyp
index 4b510179..f09e1ff1 100755
--- a/test/dependencies/b/b.gyp
+++ b/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': [
{
diff --git a/test/dependencies/c/c.gyp b/test/dependencies/c/c.gyp
index d28cda0e..eabebea9 100644
--- a/test/dependencies/c/c.gyp
+++ b/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': [
{
diff --git a/test/dependencies/extra_targets.gyp b/test/dependencies/extra_targets.gyp
index 1cbebffb..c1a26de4 100644
--- a/test/dependencies/extra_targets.gyp
+++ b/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': [
{
diff --git a/test/dependencies/gyptest-extra-targets.py b/test/dependencies/gyptest-extra-targets.py
index 0c8ac17c..3752f744 100644
--- a/test/dependencies/gyptest-extra-targets.py
+++ b/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.
"""
diff --git a/test/dependencies/gyptest-lib-only.py b/test/dependencies/gyptest-lib-only.py
index 235eee22..be6d0939 100755
--- a/test/dependencies/gyptest-lib-only.py
+++ b/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.
diff --git a/test/dependencies/lib_only.gyp b/test/dependencies/lib_only.gyp
index 907ecd35..f6c84dea 100755
--- a/test/dependencies/lib_only.gyp
+++ b/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': [
{
diff --git a/test/dependency-copy/gyptest-copy.py b/test/dependency-copy/gyptest-copy.py
index 6fb0492f..5ba7c73d 100644
--- a/test/dependency-copy/gyptest-copy.py
+++ b/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.
"""
diff --git a/test/dependency-copy/src/copies.gyp b/test/dependency-copy/src/copies.gyp
index 020dd8c1..4176b187 100644
--- a/test/dependency-copy/src/copies.gyp
+++ b/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': [
{
diff --git a/test/generator-output/actions/actions.gyp b/test/generator-output/actions/actions.gyp
index 9099aeee..dded59af 100644
--- a/test/generator-output/actions/actions.gyp
+++ b/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': [
{
diff --git a/test/generator-output/actions/subdir1/executable.gyp b/test/generator-output/actions/subdir1/executable.gyp
index ad84aec5..6bdd60a1 100644
--- a/test/generator-output/actions/subdir1/executable.gyp
+++ b/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': [
{
diff --git a/test/generator-output/actions/subdir1/make-prog1.py b/test/generator-output/actions/subdir1/make-prog1.py
index 7e209512..7ea1d8a2 100644
--- a/test/generator-output/actions/subdir1/make-prog1.py
+++ b/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"""
diff --git a/test/generator-output/actions/subdir1/make-prog2.py b/test/generator-output/actions/subdir1/make-prog2.py
index b4d5273e..0bfe4973 100644
--- a/test/generator-output/actions/subdir1/make-prog2.py
+++ b/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"""
diff --git a/test/generator-output/actions/subdir2/make-file.py b/test/generator-output/actions/subdir2/make-file.py
index aa410ebb..fff06531 100644
--- a/test/generator-output/actions/subdir2/make-file.py
+++ b/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"
diff --git a/test/generator-output/actions/subdir2/none.gyp b/test/generator-output/actions/subdir2/none.gyp
index 4bf7e3ac..f98f5275 100644
--- a/test/generator-output/actions/subdir2/none.gyp
+++ b/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': [
{
diff --git a/test/generator-output/copies/copies.gyp b/test/generator-output/copies/copies.gyp
index 48452573..479a3d9b 100644
--- a/test/generator-output/copies/copies.gyp
+++ b/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': [
{
diff --git a/test/generator-output/copies/subdir/subdir.gyp b/test/generator-output/copies/subdir/subdir.gyp
index 6f4314a1..af031d28 100644
--- a/test/generator-output/copies/subdir/subdir.gyp
+++ b/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': [
{
diff --git a/test/generator-output/gyptest-actions.py b/test/generator-output/gyptest-actions.py
index 54294c12..73ac5ae9 100644
--- a/test/generator-output/gyptest-actions.py
+++ b/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.
"""
diff --git a/test/generator-output/gyptest-copies.py b/test/generator-output/gyptest-copies.py
index 6eac773f..414b7c37 100644
--- a/test/generator-output/gyptest-copies.py
+++ b/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'.
"""
diff --git a/test/generator-output/gyptest-relocate.py b/test/generator-output/gyptest-relocate.py
index b394021d..dd1c2bd6 100644
--- a/test/generator-output/gyptest-relocate.py
+++ b/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.
diff --git a/test/generator-output/gyptest-rules.py b/test/generator-output/gyptest-rules.py
index 9261d757..05b674ff 100644
--- a/test/generator-output/gyptest-rules.py
+++ b/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.
"""
diff --git a/test/generator-output/gyptest-subdir2-deep.py b/test/generator-output/gyptest-subdir2-deep.py
index 35c43111..ea1b472e 100644
--- a/test/generator-output/gyptest-subdir2-deep.py
+++ b/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
diff --git a/test/generator-output/gyptest-top-all.py b/test/generator-output/gyptest-top-all.py
index 767db142..902ceb27 100644
--- a/test/generator-output/gyptest-top-all.py
+++ b/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
diff --git a/test/generator-output/rules/copy-file.py b/test/generator-output/rules/copy-file.py
index 2ef667c7..938c336a 100644
--- a/test/generator-output/rules/copy-file.py
+++ b/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()
diff --git a/test/generator-output/rules/rules.gyp b/test/generator-output/rules/rules.gyp
index 9099aeee..dded59af 100644
--- a/test/generator-output/rules/rules.gyp
+++ b/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': [
{
diff --git a/test/generator-output/rules/subdir1/executable.gyp b/test/generator-output/rules/subdir1/executable.gyp
index 0c69a0a7..2fd89a0d 100644
--- a/test/generator-output/rules/subdir1/executable.gyp
+++ b/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': [
{
diff --git a/test/generator-output/rules/subdir2/none.gyp b/test/generator-output/rules/subdir2/none.gyp
index 831a1a3c..664cbd9c 100644
--- a/test/generator-output/rules/subdir2/none.gyp
+++ b/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': [
{
diff --git a/test/generator-output/src/prog1.gyp b/test/generator-output/src/prog1.gyp
index 1c715416..d50e6fb0 100644
--- a/test/generator-output/src/prog1.gyp
+++ b/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',
diff --git a/test/generator-output/src/subdir2/deeper/deeper.gyp b/test/generator-output/src/subdir2/deeper/deeper.gyp
index 31630ce6..86487708 100644
--- a/test/generator-output/src/subdir2/deeper/deeper.gyp
+++ b/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',
diff --git a/test/generator-output/src/subdir2/prog2.gyp b/test/generator-output/src/subdir2/prog2.gyp
index 18ea0c59..7176ed8b 100644
--- a/test/generator-output/src/subdir2/prog2.gyp
+++ b/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',
diff --git a/test/generator-output/src/subdir3/prog3.gyp b/test/generator-output/src/subdir3/prog3.gyp
index 76c235b2..46c5e000 100644
--- a/test/generator-output/src/subdir3/prog3.gyp
+++ b/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',
diff --git a/test/generator-output/src/symroot.gypi b/test/generator-output/src/symroot.gypi
index 9e71c599..51991642 100644
--- a/test/generator-output/src/symroot.gypi
+++ b/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,
diff --git a/test/hello/gyptest-all.py b/test/hello/gyptest-all.py
index 8da808f2..9ecff556 100644
--- a/test/hello/gyptest-all.py
+++ b/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'.
diff --git a/test/hello/gyptest-default.py b/test/hello/gyptest-default.py
index 5e77a809..76fffb3e 100644
--- a/test/hello/gyptest-default.py
+++ b/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.
diff --git a/test/hello/gyptest-disable-regyp.py b/test/hello/gyptest-disable-regyp.py
index 8114ef40..1e4b3066 100644
--- a/test/hello/gyptest-disable-regyp.py
+++ b/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.
diff --git a/test/hello/gyptest-regyp.py b/test/hello/gyptest-regyp.py
index 6d16ac57..827c7235 100644
--- a/test/hello/gyptest-regyp.py
+++ b/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.
"""
diff --git a/test/hello/gyptest-target.py b/test/hello/gyptest-target.py
index ffb67277..2f0a2a33 100755
--- a/test/hello/gyptest-target.py
+++ b/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'.
diff --git a/test/hello/hello.gyp b/test/hello/hello.gyp
index b8b3cb79..1974d51c 100644
--- a/test/hello/hello.gyp
+++ b/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': [
{
diff --git a/test/hello/hello2.gyp b/test/hello/hello2.gyp
index 4df2a75f..25b08caf 100644
--- a/test/hello/hello2.gyp
+++ b/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': [
{
diff --git a/test/include_dirs/gyptest-all.py b/test/include_dirs/gyptest-all.py
index 52f307eb..74966008 100644
--- a/test/include_dirs/gyptest-all.py
+++ b/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'.
"""
diff --git a/test/include_dirs/gyptest-default.py b/test/include_dirs/gyptest-default.py
index d70dbb88..467f58d7 100644
--- a/test/include_dirs/gyptest-default.py
+++ b/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.
"""
diff --git a/test/include_dirs/src/includes.gyp b/test/include_dirs/src/includes.gyp
index 7e350c8d..a2a55cc0 100644
--- a/test/include_dirs/src/includes.gyp
+++ b/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': [
{
diff --git a/test/include_dirs/src/subdir/subdir_includes.gyp b/test/include_dirs/src/subdir/subdir_includes.gyp
index 2f8864f2..257d052c 100644
--- a/test/include_dirs/src/subdir/subdir_includes.gyp
+++ b/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': [
{
diff --git a/test/lib/TestGyp.py b/test/lib/TestGyp.py
index b29db9e9..460e68a7 100644
--- a/test/lib/TestGyp.py
+++ b/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.
"""
diff --git a/test/library/gyptest-shared.py b/test/library/gyptest-shared.py
index 107c4dce..a1d2985d 100644
--- a/test/library/gyptest-shared.py
+++ b/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
diff --git a/test/library/gyptest-static.py b/test/library/gyptest-static.py
index e5c5117b..4bc71c49 100644
--- a/test/library/gyptest-static.py
+++ b/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
diff --git a/test/library/src/library.gyp b/test/library/src/library.gyp
index 97a34e24..6abc2fa1 100644
--- a/test/library/src/library.gyp
+++ b/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,
diff --git a/test/module/gyptest-default.py b/test/module/gyptest-default.py
index 988c5b18..6b1c9b6a 100644
--- a/test/module/gyptest-default.py
+++ b/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
diff --git a/test/module/src/module.gyp b/test/module/src/module.gyp
index ff2fd88a..75114a38 100644
--- a/test/module/src/module.gyp
+++ b/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': [
diff --git a/test/multiple-targets/gyptest-all.py b/test/multiple-targets/gyptest-all.py
index 2da237d7..9f157c4f 100644
--- a/test/multiple-targets/gyptest-all.py
+++ b/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.
+
"""
"""
diff --git a/test/multiple-targets/gyptest-default.py b/test/multiple-targets/gyptest-default.py
index 433fea22..8d5072d2 100644
--- a/test/multiple-targets/gyptest-default.py
+++ b/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.
+
"""
"""
diff --git a/test/multiple-targets/src/multiple.gyp b/test/multiple-targets/src/multiple.gyp
index 4d2a3d13..3db4ea30 100644
--- a/test/multiple-targets/src/multiple.gyp
+++ b/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': [
{
diff --git a/test/no-output/gyptest-no-output.py b/test/no-output/gyptest-no-output.py
index b06f7a49..8431241c 100644
--- a/test/no-output/gyptest-no-output.py
+++ b/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.
"""
diff --git a/test/no-output/src/nooutput.gyp b/test/no-output/src/nooutput.gyp
index c0bd3980..c40124ef 100644
--- a/test/no-output/src/nooutput.gyp
+++ b/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': [
{
diff --git a/test/rules/gyptest-all.py b/test/rules/gyptest-all.py
index ee6b0404..8659fcbb 100644
--- a/test/rules/gyptest-all.py
+++ b/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'.
"""
diff --git a/test/rules/gyptest-default.py b/test/rules/gyptest-default.py
index 714b4e88..df4358e4 100644
--- a/test/rules/gyptest-default.py
+++ b/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'.
"""
diff --git a/test/rules/src/actions.gyp b/test/rules/src/actions.gyp
index 9099aeee..dded59af 100644
--- a/test/rules/src/actions.gyp
+++ b/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': [
{
diff --git a/test/rules/src/copy-file.py b/test/rules/src/copy-file.py
index 2ef667c7..5a5feae1 100644
--- a/test/rules/src/copy-file.py
+++ b/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()
diff --git a/test/rules/src/subdir1/executable.gyp b/test/rules/src/subdir1/executable.gyp
index 1f9bcf5f..30285778 100644
--- a/test/rules/src/subdir1/executable.gyp
+++ b/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': [
{
diff --git a/test/rules/src/subdir2/none.gyp b/test/rules/src/subdir2/none.gyp
index faa31f90..38bcdabd 100644
--- a/test/rules/src/subdir2/none.gyp
+++ b/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': [
{
diff --git a/test/same-name/gyptest-all.py b/test/same-name/gyptest-all.py
index ce96e92d..4c215027 100644
--- a/test/same-name/gyptest-all.py
+++ b/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.
"""
diff --git a/test/same-name/gyptest-default.py b/test/same-name/gyptest-default.py
index 581fe93b..98757c26 100644
--- a/test/same-name/gyptest-default.py
+++ b/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.
"""
diff --git a/test/same-name/src/all.gyp b/test/same-name/src/all.gyp
index 527cfe1e..44e10498 100644
--- a/test/same-name/src/all.gyp
+++ b/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': [
{
diff --git a/test/scons_tools/gyptest-tools.py b/test/scons_tools/gyptest-tools.py
index 255d3177..e97f5e63 100755
--- a/test/scons_tools/gyptest-tools.py
+++ b/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.
diff --git a/test/scons_tools/site_scons/site_tools/this_tool.py b/test/scons_tools/site_scons/site_tools/this_tool.py
index c06d0c05..10c89476 100644
--- a/test/scons_tools/site_scons/site_tools/this_tool.py
+++ b/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']
diff --git a/test/scons_tools/tools.gyp b/test/scons_tools/tools.gyp
index 7cba824c..736ba3f2 100644
--- a/test/scons_tools/tools.gyp
+++ b/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': [
{
diff --git a/test/sibling/gyptest-all.py b/test/sibling/gyptest-all.py
index e0d19629..a73c8e54 100644
--- a/test/sibling/gyptest-all.py
+++ b/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.
+
"""
"""
diff --git a/test/sibling/gyptest-relocate.py b/test/sibling/gyptest-relocate.py
index 9e741552..1528c23f 100644
--- a/test/sibling/gyptest-relocate.py
+++ b/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.
+
"""
"""
diff --git a/test/sibling/src/build/all.gyp b/test/sibling/src/build/all.gyp
index ffcaee5d..6eafdf99 100644
--- a/test/sibling/src/build/all.gyp
+++ b/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': [
{
diff --git a/test/sibling/src/prog1/prog1.gyp b/test/sibling/src/prog1/prog1.gyp
index 755de319..fbe38b97 100644
--- a/test/sibling/src/prog1/prog1.gyp
+++ b/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': [
{
diff --git a/test/sibling/src/prog2/prog2.gyp b/test/sibling/src/prog2/prog2.gyp
index 867ddccc..59345483 100644
--- a/test/sibling/src/prog2/prog2.gyp
+++ b/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': [
{
diff --git a/test/subdirectory/gyptest-SYMROOT-all.py b/test/subdirectory/gyptest-SYMROOT-all.py
index 3194220e..b7509041 100644
--- a/test/subdirectory/gyptest-SYMROOT-all.py
+++ b/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
diff --git a/test/subdirectory/gyptest-SYMROOT-default.py b/test/subdirectory/gyptest-SYMROOT-default.py
index 453c5a16..c64ae7da 100644
--- a/test/subdirectory/gyptest-SYMROOT-default.py
+++ b/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
diff --git a/test/subdirectory/gyptest-subdir-all.py b/test/subdirectory/gyptest-subdir-all.py
index 8e62ae62..d9bd9612 100644
--- a/test/subdirectory/gyptest-subdir-all.py
+++ b/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,
diff --git a/test/subdirectory/gyptest-subdir-default.py b/test/subdirectory/gyptest-subdir-default.py
index 9f1556e6..9d710d21 100644
--- a/test/subdirectory/gyptest-subdir-default.py
+++ b/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,
diff --git a/test/subdirectory/gyptest-subdir2-deep.py b/test/subdirectory/gyptest-subdir2-deep.py
index 9c738db8..48548982 100644
--- a/test/subdirectory/gyptest-subdir2-deep.py
+++ b/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.
"""
diff --git a/test/subdirectory/gyptest-top-all.py b/test/subdirectory/gyptest-top-all.py
index 4bab1e49..a29a41b4 100644
--- a/test/subdirectory/gyptest-top-all.py
+++ b/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
diff --git a/test/subdirectory/gyptest-top-default.py b/test/subdirectory/gyptest-top-default.py
index 170537ed..ac5f60db 100644
--- a/test/subdirectory/gyptest-top-default.py
+++ b/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
diff --git a/test/subdirectory/src/prog1.gyp b/test/subdirectory/src/prog1.gyp
index a860cb77..2aa66ce7 100644
--- a/test/subdirectory/src/prog1.gyp
+++ b/test/subdirectory/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',
diff --git a/test/subdirectory/src/subdir/prog2.gyp b/test/subdirectory/src/subdir/prog2.gyp
index 718b7102..c6cd35f7 100644
--- a/test/subdirectory/src/subdir/prog2.gyp
+++ b/test/subdirectory/src/subdir/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',
diff --git a/test/subdirectory/src/subdir/subdir2/prog3.gyp b/test/subdirectory/src/subdir/subdir2/prog3.gyp
index 22279edd..b49fb591 100644
--- a/test/subdirectory/src/subdir/subdir2/prog3.gyp
+++ b/test/subdirectory/src/subdir/subdir2/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',
diff --git a/test/subdirectory/src/symroot.gypi b/test/subdirectory/src/symroot.gypi
index 9e71c599..51991642 100644
--- a/test/subdirectory/src/symroot.gypi
+++ b/test/subdirectory/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,
diff --git a/test/toolsets/gyptest-toolsets.py b/test/toolsets/gyptest-toolsets.py
index 56010cf3..19737f83 100644
--- a/test/toolsets/gyptest-toolsets.py
+++ b/test/toolsets/gyptest-toolsets.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 toolsets are correctly applied
"""
diff --git a/test/toolsets/toolsets.gyp b/test/toolsets/toolsets.gyp
index c709fb10..e41b928d 100644
--- a/test/toolsets/toolsets.gyp
+++ b/test/toolsets/toolsets.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': {
'target_conditions': [
diff --git a/test/variables/commands.gyp b/test/variables/commands.gyp
index 92ac2694..113e4a27 100644
--- a/test/variables/commands.gyp
+++ b/test/variables/commands.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.
+
# This is a simple test file to make sure that variable substitution
# happens correctly. Run "run_tests.py" using python to generate the
# output from this gyp file.
diff --git a/test/variables/commands.gypi b/test/variables/commands.gypi
index eefe174c..6b224971 100644
--- a/test/variables/commands.gypi
+++ b/test/variables/commands.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.
+
# This file is included from commands.gyp to test evaluation order of includes.
{
'variables': {
diff --git a/test/variables/gyptest-commands-ignore-env.py b/test/variables/gyptest-commands-ignore-env.py
index c91b9d23..68227326 100644
--- a/test/variables/gyptest-commands-ignore-env.py
+++ b/test/variables/gyptest-commands-ignore-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.
+
"""
Test that environment variables are ignored when --ignore-environment is
specified.
diff --git a/test/variables/gyptest-commands.py b/test/variables/gyptest-commands.py
index fb3b622d..91ad6a0b 100644
--- a/test/variables/gyptest-commands.py
+++ b/test/variables/gyptest-commands.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 variable expansion of '<!()' syntax commands.
"""
diff --git a/test/variants/gyptest-variants.py b/test/variants/gyptest-variants.py
index f5c5ddf4..ce2455f6 100644
--- a/test/variants/gyptest-variants.py
+++ b/test/variants/gyptest-variants.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 handling of build variants.
diff --git a/test/variants/src/variants.gyp b/test/variants/src/variants.gyp
index 056af888..0305ca74 100644
--- a/test/variants/src/variants.gyp
+++ b/test/variants/src/variants.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': [
{