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

Side by Side Diff: sandbox/mac/BUILD.gn

Issue 403193002: Fix the //sandbox/mac build when using a modern (10.7+) SDK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | sandbox/mac/sandbox_mac.gypi » ('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 component("sandbox") { 5 component("sandbox") {
6 sources = [ 6 sources = [
7 "bootstrap_sandbox.cc", 7 "bootstrap_sandbox.cc",
8 "bootstrap_sandbox.h", 8 "bootstrap_sandbox.h",
9 "dispatch_source_mach.cc", 9 "dispatch_source_mach.cc",
10 "dispatch_source_mach.h", 10 "dispatch_source_mach.h",
(...skipping 10 matching lines...) Expand all
21 "xpc.h", 21 "xpc.h",
22 "xpc_message_server.cc", 22 "xpc_message_server.cc",
23 "xpc_message_server.h", 23 "xpc_message_server.h",
24 ] 24 ]
25 25
26 defines = [ "SANDBOX_IMPLEMENTATION" ] 26 defines = [ "SANDBOX_IMPLEMENTATION" ]
27 libs = [ "bsm" ] 27 libs = [ "bsm" ]
28 28
29 deps = [ 29 deps = [
30 "//base", 30 "//base",
31 ":generate_stubs",
32 ] 31 ]
32
33 # When the build SDK is 10.6, generate a dynamic stub loader. When the
34 # SDK is higher, then libxpc.dylib will be loaded automatically as part
35 # of libSystem, and only forward declarations of private symbols are
36 # necessary.
37 if (mac_sdk_version == "10.6") {
38 deps += [ ":generate_stubs" ]
39 }
33 } 40 }
34 41
35 generate_stubs_script = "//tools/generate_stubs/generate_stubs.py" 42 generate_stubs_script = "//tools/generate_stubs/generate_stubs.py"
36 generate_stubs_header = "xpc_stubs_header.fragment" 43 generate_stubs_header = "xpc_stubs_header.fragment"
37 generate_stubs_sig_public = "xpc_stubs.sig" 44 generate_stubs_sig_public = "xpc_stubs.sig"
38 generate_stubs_sig_private = "xpc_private_stubs.sig" 45 generate_stubs_sig_private = "xpc_private_stubs.sig"
39 generate_stubs_project = "sandbox/mac" 46 generate_stubs_project = "sandbox/mac"
40 generate_stubs_output_stem = "xpc_stubs" 47 generate_stubs_output_stem = "xpc_stubs"
41 48
42 action("generate_stubs") { 49 action("generate_stubs") {
(...skipping 29 matching lines...) Expand all
72 "Foundation.framework", 79 "Foundation.framework",
73 ] 80 ]
74 81
75 deps = [ 82 deps = [
76 ":sandbox", 83 ":sandbox",
77 "//base", 84 "//base",
78 "//base/test:run_all_unittests", 85 "//base/test:run_all_unittests",
79 "//testing/gtest", 86 "//testing/gtest",
80 ] 87 ]
81 } 88 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/mac/sandbox_mac.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698