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

Side by Side Diff: test/mac/postbuild-copy-bundle/test.gyp

Issue 11362051: ninja/mac: Let copies sections that copy stuff inside a bundle mark the bundle as dirty. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « test/mac/postbuild-copy-bundle/copied.txt ('k') | no next file » | 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) 2012 Google Inc. All rights reserved. 1 # Copyright (c) 2012 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': 'test_bundle', 7 'target_name': 'test_bundle',
8 'product_name': 'My Framework', 8 'product_name': 'My Framework',
9 'type': 'shared_library', 9 'type': 'shared_library',
10 'mac_bundle': 1, 10 'mac_bundle': 1,
11 'sources': [ 'empty.c', ], 11 'sources': [ 'empty.c', ],
12 'xcode_settings': { 12 'xcode_settings': {
13 'INFOPLIST_FILE': 'Framework-Info.plist', 13 'INFOPLIST_FILE': 'Framework-Info.plist',
14 }, 14 },
15 'mac_bundle_resources': [ 15 'mac_bundle_resources': [
16 'resource_file.sb', 16 'resource_file.sb',
17 ], 17 ],
18 'copies': [
19 {
20 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries',
21 'files': [ 'copied.txt' ],
22 },
23 ],
18 }, 24 },
19 { 25 {
20 'target_name': 'test_app', 26 'target_name': 'test_app',
21 'product_name': 'Test App', 27 'product_name': 'Test App',
22 'type': 'executable', 28 'type': 'executable',
23 'mac_bundle': 1, 29 'mac_bundle': 1,
24 'dependencies': [ 30 'dependencies': [
25 'test_bundle', 31 'test_bundle',
26 ], 32 ],
27 'sources': [ 'main.c', ], 33 'sources': [ 'main.c', ],
28 'xcode_settings': { 34 'xcode_settings': {
29 'INFOPLIST_FILE': 'TestApp-Info.plist', 35 'INFOPLIST_FILE': 'TestApp-Info.plist',
30 }, 36 },
31 'postbuilds': [ 37 'postbuilds': [
32 { 38 {
33 'postbuild_name': 'Copy dependent framework into app', 39 'postbuild_name': 'Copy dependent framework into app',
34 'action': [ 40 'action': [
35 './postbuild-copy-framework.sh', 41 './postbuild-copy-framework.sh',
36 '${BUILT_PRODUCTS_DIR}/My Framework.framework', 42 '${BUILT_PRODUCTS_DIR}/My Framework.framework',
37 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/', 43 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/',
38 ], 44 ],
39 }, 45 },
40 ], 46 ],
41 }, 47 },
42 ], 48 ],
43 } 49 }
OLDNEW
« no previous file with comments | « test/mac/postbuild-copy-bundle/copied.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698