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

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

Issue 1087873003: Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix sandbox_mac_unittests Created 5 years, 8 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
« no previous file with comments | « media/cast/cast.gyp ('k') | sync/BUILD.gn » ('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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("sandbox") { 8 component("sandbox") {
9 sources = [ 9 sources = [
10 "bootstrap_sandbox.cc", 10 "bootstrap_sandbox.cc",
(...skipping 21 matching lines...) Expand all
32 deps = [ 32 deps = [
33 "//base", 33 "//base",
34 ] 34 ]
35 35
36 # When the build SDK is 10.6, generate a dynamic stub loader. When the 36 # When the build SDK is 10.6, generate a dynamic stub loader. When the
37 # SDK is higher, then libxpc.dylib will be loaded automatically as part 37 # SDK is higher, then libxpc.dylib will be loaded automatically as part
38 # of libSystem, and only forward declarations of private symbols are 38 # of libSystem, and only forward declarations of private symbols are
39 # necessary. 39 # necessary.
40 if (mac_sdk_version == "10.6") { 40 if (mac_sdk_version == "10.6") {
41 deps += [ ":generate_stubs" ] 41 deps += [ ":generate_stubs" ]
42 sources += get_target_outputs(":generate_stubs")
42 } 43 }
43 } 44 }
44 45
45 generate_stubs_script = "//tools/generate_stubs/generate_stubs.py" 46 generate_stubs_script = "//tools/generate_stubs/generate_stubs.py"
46 generate_stubs_header = "xpc_stubs_header.fragment" 47 generate_stubs_header = "xpc_stubs_header.fragment"
47 generate_stubs_sig_public = "xpc_stubs.sig" 48 generate_stubs_sig_public = "xpc_stubs.sig"
48 generate_stubs_sig_private = "xpc_private_stubs.sig" 49 generate_stubs_sig_private = "xpc_private_stubs.sig"
49 generate_stubs_project = "sandbox/mac" 50 generate_stubs_project = "sandbox/mac"
50 generate_stubs_output_stem = "xpc_stubs" 51 generate_stubs_output_stem = "xpc_stubs"
51 52
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 "Foundation.framework", 95 "Foundation.framework",
95 ] 96 ]
96 97
97 deps = [ 98 deps = [
98 ":sandbox", 99 ":sandbox",
99 "//base", 100 "//base",
100 "//base/test:run_all_unittests", 101 "//base/test:run_all_unittests",
101 "//testing/gtest", 102 "//testing/gtest",
102 ] 103 ]
103 } 104 }
OLDNEW
« no previous file with comments | « media/cast/cast.gyp ('k') | sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698