Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2009 Google Inc. All rights reserved. | 1 # Copyright (c) 2009 Google Inc. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'copies1', | 8 'target_name': 'copies1', |
| 9 'type': 'none', | 9 'type': 'none', |
| 10 'copies': [ | 10 'copies': [ |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 'type': 'none', | 21 'type': 'none', |
| 22 'copies': [ | 22 'copies': [ |
| 23 { | 23 { |
| 24 'destination': '<(PRODUCT_DIR)/copies-out', | 24 'destination': '<(PRODUCT_DIR)/copies-out', |
| 25 'files': [ | 25 'files': [ |
| 26 'file2', | 26 'file2', |
| 27 ], | 27 ], |
| 28 }, | 28 }, |
| 29 ], | 29 ], |
| 30 }, | 30 }, |
| 31 # Copy file to BUILT FRAMEWORKS directory. | |
| 32 { | |
| 33 'target_name': 'copies_framework', | |
| 34 'type': 'none', | |
| 35 'copies': [ | |
| 36 { | |
| 37 'destination': '<(FRAMEWORK_DIR)/copies-out/framework', | |
|
Mark Mentovai
2015/10/19 20:53:13
I don’t think we should bother defining FRAMEWORK_
| |
| 38 'files': [ | |
| 39 'file1', | |
| 40 ], | |
| 41 }, | |
| 42 ], | |
| 43 }, | |
| 31 # Copy a directory tree. | 44 # Copy a directory tree. |
| 32 { | 45 { |
| 33 'target_name': 'copies_recursive', | 46 'target_name': 'copies_recursive', |
| 34 'type': 'none', | 47 'type': 'none', |
| 35 'copies': [ | 48 'copies': [ |
| 36 { | 49 { |
| 37 'destination': '<(PRODUCT_DIR)/copies-out', | 50 'destination': '<(PRODUCT_DIR)/copies-out', |
| 38 'files': [ | 51 'files': [ |
| 39 'directory/', | 52 'directory/', |
| 40 ], | 53 ], |
| 41 }, | 54 }, |
| 42 ], | 55 ], |
| 43 }, | 56 }, |
| 44 # Copy a directory from deeper in the tree (this should not reproduce the | 57 # Copy a directory from deeper in the tree (this should not |
| 45 # entire directory path in the destination, only the final directory). | 58 # reproduce the entire directory path in the destination, |
| 59 # only the final directory). | |
| 46 { | 60 { |
| 47 'target_name': 'copies_recursive_depth', | 61 'target_name': 'copies_recursive_depth', |
| 48 'type': 'none', | 62 'type': 'none', |
| 49 'copies': [ | 63 'copies': [ |
| 50 { | 64 { |
| 51 'destination': '<(PRODUCT_DIR)/copies-out', | 65 'destination': '<(PRODUCT_DIR)/copies-out', |
| 52 'files': [ | 66 'files': [ |
| 53 'parentdir/subdir/', | 67 'parentdir/subdir/', |
| 54 ], | 68 ], |
| 55 }, | 69 }, |
| 56 ], | 70 ], |
| 57 }, | 71 }, |
| 58 # Verify that a null 'files' list doesn't gag the generators. | 72 # Verify that a null 'files' list doesn't gag the generators. |
| 59 { | 73 { |
| 60 'target_name': 'copies_null', | 74 'target_name': 'copies_null', |
| 61 'type': 'none', | 75 'type': 'none', |
| 62 'copies': [ | 76 'copies': [ |
| 63 { | 77 { |
| 64 'destination': '<(PRODUCT_DIR)/copies-null', | 78 'destination': '<(PRODUCT_DIR)/copies-null', |
| 65 'files': [], | 79 'files': [], |
| 66 }, | 80 }, |
| 67 ], | 81 ], |
| 68 }, | 82 }, |
| 69 ], | 83 ], |
| 70 } | 84 } |
| OLD | NEW |