Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: test/mac/framework/framework.gyp

Issue 1254413004: Adding framework path mapping for 'copies' action in gyp files. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Removing make/ninja tests Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pylib/gyp/xcodeproj_file.py ('k') | test/mac/gyptest-copies.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 Google Inc. All rights reserved. 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 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 'targets': [ 5 'targets': [
6 { 6 {
7 'target_name': 'dep_framework', 7 'target_name': 'dep_framework',
8 'product_name': 'Dependency Bundle', 8 'product_name': 'Dependency Bundle',
9 'type': 'shared_library', 9 'type': 'shared_library',
10 'mac_bundle': 1, 10 'mac_bundle': 1,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 'actions': [ 61 'actions': [
62 { 62 {
63 'action_name': 'aektschn', 63 'action_name': 'aektschn',
64 'inputs': [], 64 'inputs': [],
65 'outputs': ['<(PRODUCT_DIR)/touched_file'], 65 'outputs': ['<(PRODUCT_DIR)/touched_file'],
66 'action': ['touch', '${BUILT_PRODUCTS_DIR}/action_file'], 66 'action': ['touch', '${BUILT_PRODUCTS_DIR}/action_file'],
67 }, 67 },
68 ], 68 ],
69 }, 69 },
70 { 70 {
71 'target_name': 'copy_embedded',
72 'type': 'none',
73 'dependencies': [ 'test_framework' ],
74 'copies': [
75 # Test copying framework to FRAMEWORK directory.
76 {
77 'destination': '$(BUILT_FRAMEWORKS_DIR)/Embedded',
78 'files': [
79 '<(PRODUCT_DIR)/Test Framework.framework',
80 ],
81 },
82 ],
83 },
84 {
71 'target_name': 'copy_target_code_sign', 85 'target_name': 'copy_target_code_sign',
72 'type': 'none', 86 'type': 'none',
73 'dependencies': [ 'test_framework', 'dep_framework', ], 87 'dependencies': [ 'test_framework', 'dep_framework', ],
74 'copies': [ 88 'copies': [
75 # Test copying directories with spaces in src and dest paths. 89 # Test copying directories with spaces in src and dest paths.
76 { 90 {
77 'destination': '<(PRODUCT_DIR)/Test Framework.framework/foo', 91 'destination': '<(PRODUCT_DIR)/Test Framework.framework/foo',
78 'files': [ 92 'files': [
79 '<(PRODUCT_DIR)/Dependency Bundle.framework', 93 '<(PRODUCT_DIR)/Dependency Bundle.framework',
80 ], 94 ],
81 'xcode_code_sign': 1, 95 'xcode_code_sign': 1,
82 }, 96 },
83 ], 97 ],
84 'actions': [ 98 'actions': [
85 { 99 {
86 'action_name': 'aektschn', 100 'action_name': 'aektschn',
87 'inputs': [], 101 'inputs': [],
88 'outputs': ['<(PRODUCT_DIR)/touched_file'], 102 'outputs': ['<(PRODUCT_DIR)/touched_file'],
89 'action': ['touch', '${BUILT_PRODUCTS_DIR}/action_file'], 103 'action': ['touch', '${BUILT_PRODUCTS_DIR}/action_file'],
90 }, 104 },
91 ], 105 ],
92 }, 106 },
93 ], 107 ],
94 } 108 }
OLDNEW
« no previous file with comments | « pylib/gyp/xcodeproj_file.py ('k') | test/mac/gyptest-copies.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698