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

Side by Side Diff: sandbox/mac/sandbox_mac.gypi

Issue 439493002: Revert "Make the sandbox code link with the 10.7 SDK." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « sandbox/mac/BUILD.gn ('k') | sandbox/mac/xpc_stubs.sig » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. 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': 'sandbox', 8 'target_name': 'sandbox',
9 'type': '<(component)', 9 'type': '<(component)',
10 'sources': [ 10 'sources': [
(...skipping 24 matching lines...) Expand all
35 ], 35 ],
36 'defines': [ 36 'defines': [
37 'SANDBOX_IMPLEMENTATION', 37 'SANDBOX_IMPLEMENTATION',
38 ], 38 ],
39 'link_settings': { 39 'link_settings': {
40 'libraries': [ 40 'libraries': [
41 '$(SDKROOT)/usr/lib/libbsm.dylib', 41 '$(SDKROOT)/usr/lib/libbsm.dylib',
42 ], 42 ],
43 }, 43 },
44 'conditions': [ 44 'conditions': [
45 # When the build SDK is earlier than 10.8, generate a dynamic stub loade r. 45 # When the build SDK is 10.6, generate a dynamic stub loader. When the
46 # When the SDK is higher, then libxpc.dylib will be loaded automatically as 46 # SDK is higher, then libxpc.dylib will be loaded automatically as part
47 # part of libSystem, and only forward declarations of private symbols ar e 47 # of libSystem, and only forward declarations of private symbols are
48 # necessary. 48 # necessary.
49 ['mac_sdk < "10.8"', { 49 ['mac_sdk == "10.6"', {
50 'actions': [ 50 'actions': [
51 { 51 {
52 'variables': { 52 'variables': {
53 'generate_stubs_script': '../tools/generate_stubs/generate_stubs .py', 53 'generate_stubs_script': '../tools/generate_stubs/generate_stubs .py',
54 'generate_stubs_header_path': 'xpc_stubs_header.fragment', 54 'generate_stubs_header_path': 'xpc_stubs_header.fragment',
55 'generate_stubs_sig_public_path': 'xpc_stubs.sig', 55 'generate_stubs_sig_public_path': 'xpc_stubs.sig',
56 'generate_stubs_sig_private_path': 'xpc_private_stubs.sig', 56 'generate_stubs_sig_private_path': 'xpc_private_stubs.sig',
57 'generate_stubs_project': 'sandbox/mac', 57 'generate_stubs_project': 'sandbox/mac',
58 'generate_stubs_output_stem': 'xpc_stubs', 58 'generate_stubs_output_stem': 'xpc_stubs',
59 }, 59 },
(...skipping 15 matching lines...) Expand all
75 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(generate_stubs_project)', 75 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(generate_stubs_project)',
76 '-t', 'posix_stubs', 76 '-t', 'posix_stubs',
77 '-e', '<(generate_stubs_header_path)', 77 '-e', '<(generate_stubs_header_path)',
78 '-s', '<(generate_stubs_output_stem)', 78 '-s', '<(generate_stubs_output_stem)',
79 '-p', '<(generate_stubs_project)', 79 '-p', '<(generate_stubs_project)',
80 '-x', 'SANDBOX_EXPORT', 80 '-x', 'SANDBOX_EXPORT',
81 '<(generate_stubs_sig_public_path)', 81 '<(generate_stubs_sig_public_path)',
82 '<(generate_stubs_sig_private_path)', 82 '<(generate_stubs_sig_private_path)',
83 ], 83 ],
84 'process_outputs_as_sources': 1, 84 'process_outputs_as_sources': 1,
85 'message': 'Generating XPC stubs for 10.6-7 compatability.', 85 'message': 'Generating XPC stubs for 10.6 compatability.',
86 }, 86 },
87 ], 87 ],
88 }], 88 }],
89 ], 89 ],
90 }, 90 },
91 { 91 {
92 'target_name': 'sandbox_mac_unittests', 92 'target_name': 'sandbox_mac_unittests',
93 'type': 'executable', 93 'type': 'executable',
94 'sources': [ 94 'sources': [
95 'bootstrap_sandbox_unittest.mm', 95 'bootstrap_sandbox_unittest.mm',
(...skipping 12 matching lines...) Expand all
108 ], 108 ],
109 'link_settings': { 109 'link_settings': {
110 'libraries': [ 110 'libraries': [
111 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', 111 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
112 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 112 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
113 ], 113 ],
114 }, 114 },
115 }, 115 },
116 ], 116 ],
117 } 117 }
OLDNEW
« no previous file with comments | « sandbox/mac/BUILD.gn ('k') | sandbox/mac/xpc_stubs.sig » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698