diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-12-04 13:29:51 -0500 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2015-12-07 15:48:34 -0800 |
commit | d467ae6e7867044b8d7b466776fb37089292c52b (patch) | |
tree | 730ee0656e6bf9f0dff33346f07acd800e83ab25 /deps/gyp/test/copies/src | |
parent | 59ef8da69549cf6308078c6f656affba96e9439e (diff) | |
download | qtlocation-mapboxgl-d467ae6e7867044b8d7b466776fb37089292c52b.tar.gz |
[core] upgrade gyp to git commit 6fb8bd8
https://chromium.googlesource.com/external/gyp/+/6fb8bd829f0ca8fd432fd85ede788b6881c4f09f
Diffstat (limited to 'deps/gyp/test/copies/src')
-rw-r--r-- | deps/gyp/test/copies/src/copies-attribs.gyp | 20 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/copies-samedir.gyp | 37 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/copies-slash.gyp | 36 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/copies-updir.gyp | 21 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/copies.gyp | 70 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/directory/file3 | 1 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/directory/file4 | 1 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/directory/subdir/file5 | 1 | ||||
-rwxr-xr-x | deps/gyp/test/copies/src/executable-file.sh | 3 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/file1 | 1 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/file2 | 1 | ||||
-rw-r--r-- | deps/gyp/test/copies/src/parentdir/subdir/file6 | 1 |
12 files changed, 193 insertions, 0 deletions
diff --git a/deps/gyp/test/copies/src/copies-attribs.gyp b/deps/gyp/test/copies/src/copies-attribs.gyp new file mode 100644 index 0000000000..073e0d0cf6 --- /dev/null +++ b/deps/gyp/test/copies/src/copies-attribs.gyp @@ -0,0 +1,20 @@ +# Copyright (c) 2013 Google 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': [ + { + 'target_name': 'copies1', + 'type': 'none', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)', + 'files': [ + 'executable-file.sh', + ], + }, + ], + }, + ], +} diff --git a/deps/gyp/test/copies/src/copies-samedir.gyp b/deps/gyp/test/copies/src/copies-samedir.gyp new file mode 100644 index 0000000000..2919ce503e --- /dev/null +++ b/deps/gyp/test/copies/src/copies-samedir.gyp @@ -0,0 +1,37 @@ +# Copyright (c) 2013 Google 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': [ + { + 'target_name': 'copies_samedir', + 'type': 'none', + 'dependencies': [ + 'copies_samedir_dependency', + ], + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/copies-out-samedir', + 'files': [ + 'file1', + ], + }, + ], + }, + { + 'target_name': 'copies_samedir_dependency', + 'type': 'none', + 'direct_dependent_settings': { + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/copies-out-samedir', + 'files': [ + 'file2', + ], + }, + ], + }, + }, + ], +} diff --git a/deps/gyp/test/copies/src/copies-slash.gyp b/deps/gyp/test/copies/src/copies-slash.gyp new file mode 100644 index 0000000000..9bf54bd181 --- /dev/null +++ b/deps/gyp/test/copies/src/copies-slash.gyp @@ -0,0 +1,36 @@ +# Copyright (c) 2011 Google 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': [ + # A trailing slash on the destination directory should be ignored. + { + 'target_name': 'copies_recursive_trailing_slash', + 'type': 'none', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/copies-out-slash/', + 'files': [ + 'directory/', + ], + }, + ], + }, + # Even if the source directory is below <(PRODUCT_DIR). + { + 'target_name': 'copies_recursive_trailing_slash_in_product_dir', + 'type': 'none', + 'dependencies': [ ':copies_recursive_trailing_slash' ], + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/copies-out-slash-2/', + 'files': [ + '<(PRODUCT_DIR)/copies-out-slash/directory/', + ], + }, + ], + }, + ], +} + diff --git a/deps/gyp/test/copies/src/copies-updir.gyp b/deps/gyp/test/copies/src/copies-updir.gyp new file mode 100644 index 0000000000..bd3bfdd1d2 --- /dev/null +++ b/deps/gyp/test/copies/src/copies-updir.gyp @@ -0,0 +1,21 @@ +# Copyright (c) 2012 Google 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': [ + { + 'target_name': 'copies_up', + 'type': 'none', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/../copies-out-updir', + 'files': [ + 'file1', + ], + }, + ], + }, + ], +} + diff --git a/deps/gyp/test/copies/src/copies.gyp b/deps/gyp/test/copies/src/copies.gyp new file mode 100644 index 0000000000..ce2e0cabca --- /dev/null +++ b/deps/gyp/test/copies/src/copies.gyp @@ -0,0 +1,70 @@ +# Copyright (c) 2009 Google 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': [ + { + 'target_name': 'copies1', + 'type': 'none', + 'copies': [ + { + 'destination': 'copies-out', + 'files': [ + 'file1', + ], + }, + ], + }, + { + 'target_name': 'copies2', + 'type': 'none', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/copies-out', + 'files': [ + 'file2', + ], + }, + ], + }, + # Copy a directory tree. + { + 'target_name': 'copies_recursive', + 'type': 'none', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/copies-out', + 'files': [ + 'directory/', + ], + }, + ], + }, + # Copy a directory from deeper in the tree (this should not reproduce the + # entire directory path in the destination, only the final directory). + { + 'target_name': 'copies_recursive_depth', + 'type': 'none', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/copies-out', + 'files': [ + 'parentdir/subdir/', + ], + }, + ], + }, + # Verify that a null 'files' list doesn't gag the generators. + { + 'target_name': 'copies_null', + 'type': 'none', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)/copies-null', + 'files': [], + }, + ], + }, + ], +} diff --git a/deps/gyp/test/copies/src/directory/file3 b/deps/gyp/test/copies/src/directory/file3 new file mode 100644 index 0000000000..43f16f3522 --- /dev/null +++ b/deps/gyp/test/copies/src/directory/file3 @@ -0,0 +1 @@ +file3 contents diff --git a/deps/gyp/test/copies/src/directory/file4 b/deps/gyp/test/copies/src/directory/file4 new file mode 100644 index 0000000000..5f7270a084 --- /dev/null +++ b/deps/gyp/test/copies/src/directory/file4 @@ -0,0 +1 @@ +file4 contents diff --git a/deps/gyp/test/copies/src/directory/subdir/file5 b/deps/gyp/test/copies/src/directory/subdir/file5 new file mode 100644 index 0000000000..41f47186bd --- /dev/null +++ b/deps/gyp/test/copies/src/directory/subdir/file5 @@ -0,0 +1 @@ +file5 contents diff --git a/deps/gyp/test/copies/src/executable-file.sh b/deps/gyp/test/copies/src/executable-file.sh new file mode 100755 index 0000000000..796953a1a2 --- /dev/null +++ b/deps/gyp/test/copies/src/executable-file.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo echo echo echo cho ho o o diff --git a/deps/gyp/test/copies/src/file1 b/deps/gyp/test/copies/src/file1 new file mode 100644 index 0000000000..84d55c5759 --- /dev/null +++ b/deps/gyp/test/copies/src/file1 @@ -0,0 +1 @@ +file1 contents diff --git a/deps/gyp/test/copies/src/file2 b/deps/gyp/test/copies/src/file2 new file mode 100644 index 0000000000..af1b8ae35d --- /dev/null +++ b/deps/gyp/test/copies/src/file2 @@ -0,0 +1 @@ +file2 contents diff --git a/deps/gyp/test/copies/src/parentdir/subdir/file6 b/deps/gyp/test/copies/src/parentdir/subdir/file6 new file mode 100644 index 0000000000..f5d5757348 --- /dev/null +++ b/deps/gyp/test/copies/src/parentdir/subdir/file6 @@ -0,0 +1 @@ +file6 contents |