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

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

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 | « 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 import("//build/config/mac/mac_sdk.gni") 5 import("//build/config/mac/mac_sdk.gni")
6 6
7 component("sandbox") { 7 component("sandbox") {
8 sources = [ 8 sources = [
9 "bootstrap_sandbox.cc", 9 "bootstrap_sandbox.cc",
10 "bootstrap_sandbox.h", 10 "bootstrap_sandbox.h",
(...skipping 14 matching lines...) Expand all
25 "xpc_message_server.h", 25 "xpc_message_server.h",
26 ] 26 ]
27 27
28 defines = [ "SANDBOX_IMPLEMENTATION" ] 28 defines = [ "SANDBOX_IMPLEMENTATION" ]
29 libs = [ "bsm" ] 29 libs = [ "bsm" ]
30 30
31 deps = [ 31 deps = [
32 "//base", 32 "//base",
33 ] 33 ]
34 34
35 # When the build SDK is earlier than 10.8, generate a dynamic stub loader. 35 # When the build SDK is 10.6, generate a dynamic stub loader. When the
36 # When the SDK is higher, then libxpc.dylib will be loaded automatically as 36 # SDK is higher, then libxpc.dylib will be loaded automatically as part
37 # part of libSystem, and only forward declarations of private symbols are 37 # of libSystem, and only forward declarations of private symbols are
38 # necessary. 38 # necessary.
39 if (mac_sdk_version < "10.8") { 39 if (mac_sdk_version == "10.6") {
40 deps += [ ":generate_stubs" ] 40 deps += [ ":generate_stubs" ]
41 } 41 }
42 } 42 }
43 43
44 generate_stubs_script = "//tools/generate_stubs/generate_stubs.py" 44 generate_stubs_script = "//tools/generate_stubs/generate_stubs.py"
45 generate_stubs_header = "xpc_stubs_header.fragment" 45 generate_stubs_header = "xpc_stubs_header.fragment"
46 generate_stubs_sig_public = "xpc_stubs.sig" 46 generate_stubs_sig_public = "xpc_stubs.sig"
47 generate_stubs_sig_private = "xpc_private_stubs.sig" 47 generate_stubs_sig_private = "xpc_private_stubs.sig"
48 generate_stubs_project = "sandbox/mac" 48 generate_stubs_project = "sandbox/mac"
49 generate_stubs_output_stem = "xpc_stubs" 49 generate_stubs_output_stem = "xpc_stubs"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 "Foundation.framework", 81 "Foundation.framework",
82 ] 82 ]
83 83
84 deps = [ 84 deps = [
85 ":sandbox", 85 ":sandbox",
86 "//base", 86 "//base",
87 "//base/test:run_all_unittests", 87 "//base/test:run_all_unittests",
88 "//testing/gtest", 88 "//testing/gtest",
89 ] 89 ]
90 } 90 }
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