1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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/',
],
},
],
},
],
}
|