1# Copyright (c) 2011 Google Inc. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'targets': [
7    # A trailing slash on the destination directory should be ignored.
8    {
9      'target_name': 'copies_recursive_trailing_slash',
10      'type': 'none',
11      'copies': [
12        {
13          'destination': '<(PRODUCT_DIR)/copies-out-slash/',
14          'files': [
15            'directory/',
16          ],
17        },
18      ],
19    },
20    # Even if the source directory is below <(PRODUCT_DIR).
21    {
22      'target_name': 'copies_recursive_trailing_slash_in_product_dir',
23      'type': 'none',
24      'dependencies': [ ':copies_recursive_trailing_slash' ],
25      'copies': [
26        {
27          'destination': '<(PRODUCT_DIR)/copies-out-slash-2/',
28          'files': [
29            '<(PRODUCT_DIR)/copies-out-slash/directory/',
30          ],
31        },
32      ],
33    },
34  ],
35}
36
37