| Index: build/config/ios/rules.gni
|
| diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni
|
| index e77430ae9d809520ba01e0c7637a69eb51c483e6..723354bf378c4c22622cd672753c5d91c9dad965 100644
|
| --- a/build/config/ios/rules.gni
|
| +++ b/build/config/ios/rules.gni
|
| @@ -4,6 +4,7 @@
|
|
|
| import("//build/config/ios/ios_sdk.gni")
|
| import("//build/config/mac/base_rules.gni")
|
| +import("//build/config/mac/symbols.gni")
|
|
|
| # Generates Info.plist files for Mac apps and frameworks.
|
| #
|
| @@ -279,7 +280,7 @@ template("ios_app_bundle") {
|
| action(_lipo_executable) {
|
| forward_variables_from(invoker, [ "testonly" ])
|
| visibility = _lipo_executable_visibility
|
| - script = "//build/config/mac/xcrun.py"
|
| + script = "//build/toolchain/mac/linker_driver.py"
|
| outputs = [
|
| _executable_path,
|
| ]
|
| @@ -296,11 +297,21 @@ template("ios_app_bundle") {
|
| "root_out_dir") + "/$_output_name" ]
|
| }
|
| args = [
|
| + "xcrun",
|
| "lipo",
|
| "-create",
|
| "-output",
|
| rebase_path(outputs[0], root_build_dir),
|
| ] + rebase_path(inputs, root_build_dir)
|
| +
|
| + if (enable_dsyms) {
|
| + outputs += [ "$root_out_dir/$_output_name.dSYM/" ]
|
| + args +=
|
| + [ "-Wcrl,dsym," + rebase_path("$root_out_dir/.", root_build_dir) ]
|
| + }
|
| + if (enable_stripping) {
|
| + args += [ "-Wcrl,strip,-x,-S" ]
|
| + }
|
| }
|
| }
|
|
|
|
|