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

Side by Side Diff: test/mac/objc-gc/test.gyp

Issue 10409007: mac ninja and make: Add support for GCC_ENABLE_OBJC_GC. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
« test/mac/gyptest-objc-gc.py ('K') | « test/mac/objc-gc/needs-gc-mm.mm ('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')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 {
5 'targets': [
6 # For some reason, static_library targets that are built with gc=required
7 # and then linked to executables that don't use gc, the linker doesn't
8 # complain. For shared_libraries it does, so use that.
9 {
10 'target_name': 'no_gc_lib',
11 'type': 'shared_library',
12 'sources': [
13 'c-file.c',
14 'cc-file.cc',
15 'needs-gc-mm.mm',
16 'needs-gc.m',
17 ],
18 },
19 {
20 'target_name': 'gc_lib',
21 'type': 'shared_library',
22 'sources': [
23 'c-file.c',
24 'cc-file.cc',
25 'needs-gc-mm.mm',
26 'needs-gc.m',
27 ],
28 'xcode_settings': {
29 'GCC_ENABLE_OBJC_GC': 'supported',
30 },
31 },
32 {
33 'target_name': 'gc_req_lib',
34 'type': 'shared_library',
35 'sources': [
36 'c-file.c',
37 'cc-file.cc',
38 'needs-gc-mm.mm',
39 'needs-gc.m',
40 ],
41 'xcode_settings': {
42 'GCC_ENABLE_OBJC_GC': 'required',
43 },
44 },
45
46 {
47 'target_name': 'gc_exe_fails',
48 'type': 'executable',
49 'sources': [ 'main.m' ],
50 'dependencies': [ 'no_gc_lib' ],
51 'xcode_settings': {
52 'GCC_ENABLE_OBJC_GC': 'required',
53 },
54 'libraries': [ 'Foundation.framework' ],
55 },
56 {
57 'target_name': 'gc_req_exe',
58 'type': 'executable',
59 'sources': [ 'main.m' ],
60 'dependencies': [ 'gc_lib' ],
61 'xcode_settings': {
62 'GCC_ENABLE_OBJC_GC': 'required',
63 },
64 'libraries': [ 'Foundation.framework' ],
65 },
66 {
67 'target_name': 'gc_exe',
68 'type': 'executable',
69 'sources': [ 'main.m' ],
70 'dependencies': [ 'gc_req_lib' ],
71 'xcode_settings': {
72 'GCC_ENABLE_OBJC_GC': 'supported',
Mark Mentovai 2012/05/17 17:26:35 Can you also mix a “supported“ executable with the
73 },
74 'libraries': [ 'Foundation.framework' ],
75 },
76 {
77 'target_name': 'gc_off_exe_req_lib',
78 'type': 'executable',
79 'sources': [ 'main.m' ],
80 'dependencies': [ 'gc_req_lib' ],
81 'libraries': [ 'Foundation.framework' ],
82 },
83 {
84 'target_name': 'gc_off_exe',
85 'type': 'executable',
86 'sources': [ 'main.m' ],
87 'dependencies': [ 'gc_lib' ],
88 'libraries': [ 'Foundation.framework' ],
89 },
90 ],
91 }
92
OLDNEW
« test/mac/gyptest-objc-gc.py ('K') | « test/mac/objc-gc/needs-gc-mm.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698