| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |