Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 1 | // Copyright 2016 Google Inc. All rights reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package config |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 16 | |
| 17 | import ( |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 18 | "fmt" |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 19 | "os/exec" |
Dan Willemsen | 300151b | 2017-03-13 12:40:30 -0700 | [diff] [blame] | 20 | "path/filepath" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 21 | "strings" |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 22 | "sync" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 23 | |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 24 | "android/soong/android" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 25 | ) |
| 26 | |
| 27 | var ( |
| 28 | darwinCflags = []string{ |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 29 | "-fPIC", |
| 30 | "-funwind-tables", |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 31 | |
| 32 | // Workaround differences in inttypes.h between host and target. |
| 33 | //See bug 12708004. |
| 34 | "-D__STDC_FORMAT_MACROS", |
| 35 | "-D__STDC_CONSTANT_MACROS", |
| 36 | |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 37 | "-isysroot ${macSdkRoot}", |
Dan Willemsen | 85e3d01 | 2016-10-26 19:20:58 -0700 | [diff] [blame] | 38 | "-mmacosx-version-min=${macMinVersion}", |
| 39 | "-DMACOSX_DEPLOYMENT_TARGET=${macMinVersion}", |
Dan Willemsen | e97e68a | 2018-08-28 17:12:56 -0700 | [diff] [blame] | 40 | |
| 41 | "-m64", |
Colin Cross | 33bac24 | 2021-07-14 17:03:16 -0700 | [diff] [blame] | 42 | |
| 43 | "-integrated-as", |
| 44 | "-fstack-protector-strong", |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 45 | } |
| 46 | |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 47 | darwinLdflags = []string{ |
| 48 | "-isysroot ${macSdkRoot}", |
| 49 | "-Wl,-syslibroot,${macSdkRoot}", |
Dan Willemsen | 85e3d01 | 2016-10-26 19:20:58 -0700 | [diff] [blame] | 50 | "-mmacosx-version-min=${macMinVersion}", |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 51 | "-m64", |
Yi Kong | f8e5370 | 2021-07-23 15:34:34 +0800 | [diff] [blame] | 52 | "-mlinker-version=305", |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 53 | } |
| 54 | |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 55 | darwinSupportedSdkVersions = []string{ |
Dan Willemsen | 7368d86 | 2021-10-19 21:37:15 -0700 | [diff] [blame] | 56 | "11", |
Dan Willemsen | e3d50bf | 2021-12-07 20:19:58 -0800 | [diff] [blame^] | 57 | "12", |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 58 | } |
Dan Willemsen | 20acc5c | 2016-05-25 14:47:21 -0700 | [diff] [blame] | 59 | |
Josh Gao | 3923e84 | 2016-09-29 14:22:54 -0700 | [diff] [blame] | 60 | darwinAvailableLibraries = append( |
| 61 | addPrefix([]string{ |
| 62 | "c", |
| 63 | "dl", |
| 64 | "m", |
| 65 | "ncurses", |
| 66 | "objc", |
| 67 | "pthread", |
Josh Gao | 3923e84 | 2016-09-29 14:22:54 -0700 | [diff] [blame] | 68 | }, "-l"), |
Colin Cross | 124fd9a | 2016-11-21 17:31:08 -0800 | [diff] [blame] | 69 | "-framework AppKit", |
Josh Gao | 3923e84 | 2016-09-29 14:22:54 -0700 | [diff] [blame] | 70 | "-framework CoreFoundation", |
Colin Cross | 124fd9a | 2016-11-21 17:31:08 -0800 | [diff] [blame] | 71 | "-framework Foundation", |
Josh Gao | 3923e84 | 2016-09-29 14:22:54 -0700 | [diff] [blame] | 72 | "-framework IOKit", |
Colin Cross | 124fd9a | 2016-11-21 17:31:08 -0800 | [diff] [blame] | 73 | "-framework Security", |
Dan Willemsen | 97d017e | 2019-02-20 10:28:56 -0800 | [diff] [blame] | 74 | "-framework SystemConfiguration", |
Josh Gao | 3923e84 | 2016-09-29 14:22:54 -0700 | [diff] [blame] | 75 | ) |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 76 | ) |
| 77 | |
Dan Willemsen | 34fc3b1 | 2015-12-07 12:30:44 -0800 | [diff] [blame] | 78 | const ( |
| 79 | darwinGccVersion = "4.2.1" |
| 80 | ) |
| 81 | |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 82 | func init() { |
Dan Willemsen | 54daaf0 | 2018-03-12 13:24:09 -0700 | [diff] [blame] | 83 | pctx.VariableFunc("macSdkRoot", func(ctx android.PackageVarContext) string { |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 84 | return getMacTools(ctx).sdkRoot |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 85 | }) |
Dan Willemsen | 3dc4326 | 2021-07-29 12:16:14 -0700 | [diff] [blame] | 86 | pctx.StaticVariable("macMinVersion", "10.13") |
Dan Willemsen | 54daaf0 | 2018-03-12 13:24:09 -0700 | [diff] [blame] | 87 | pctx.VariableFunc("MacArPath", func(ctx android.PackageVarContext) string { |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 88 | return getMacTools(ctx).arPath |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 89 | }) |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 90 | |
Dan Willemsen | 4745007 | 2021-10-19 20:24:49 -0700 | [diff] [blame] | 91 | pctx.VariableFunc("MacLipoPath", func(ctx android.PackageVarContext) string { |
| 92 | return getMacTools(ctx).lipoPath |
| 93 | }) |
| 94 | |
Dan Willemsen | 54daaf0 | 2018-03-12 13:24:09 -0700 | [diff] [blame] | 95 | pctx.VariableFunc("MacStripPath", func(ctx android.PackageVarContext) string { |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 96 | return getMacTools(ctx).stripPath |
Colin Cross | b8ecdfe | 2016-05-03 15:10:29 -0700 | [diff] [blame] | 97 | }) |
| 98 | |
Dan Willemsen | 54daaf0 | 2018-03-12 13:24:09 -0700 | [diff] [blame] | 99 | pctx.VariableFunc("MacToolPath", func(ctx android.PackageVarContext) string { |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 100 | return getMacTools(ctx).toolPath |
Dan Willemsen | 300151b | 2017-03-13 12:40:30 -0700 | [diff] [blame] | 101 | }) |
| 102 | |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 103 | pctx.StaticVariable("DarwinGccVersion", darwinGccVersion) |
| 104 | pctx.SourcePathVariable("DarwinGccRoot", |
| 105 | "prebuilts/gcc/${HostPrebuiltTag}/host/i686-apple-darwin-${DarwinGccVersion}") |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 106 | |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 107 | pctx.StaticVariable("DarwinGccTriple", "i686-apple-darwin11") |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 108 | |
Colin Cross | 0523ba2 | 2021-07-14 18:45:05 -0700 | [diff] [blame] | 109 | pctx.StaticVariable("DarwinCflags", strings.Join(darwinCflags, " ")) |
| 110 | pctx.StaticVariable("DarwinLdflags", strings.Join(darwinLdflags, " ")) |
| 111 | pctx.StaticVariable("DarwinLldflags", strings.Join(darwinLdflags, " ")) |
Dan Willemsen | 282a4b0 | 2016-03-09 10:30:22 -0800 | [diff] [blame] | 112 | |
Dan Willemsen | e97e68a | 2018-08-28 17:12:56 -0700 | [diff] [blame] | 113 | pctx.StaticVariable("DarwinYasmFlags", "-f macho -m amd64") |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 114 | } |
| 115 | |
Dan Willemsen | 9fe1410 | 2021-07-13 21:52:04 -0700 | [diff] [blame] | 116 | func MacStripPath(ctx android.PathContext) string { |
| 117 | return getMacTools(ctx).stripPath |
| 118 | } |
| 119 | |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 120 | type macPlatformTools struct { |
| 121 | once sync.Once |
| 122 | err error |
| 123 | |
| 124 | sdkRoot string |
| 125 | arPath string |
Dan Willemsen | 4745007 | 2021-10-19 20:24:49 -0700 | [diff] [blame] | 126 | lipoPath string |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 127 | stripPath string |
| 128 | toolPath string |
Dan Willemsen | 6606872 | 2017-05-08 21:15:59 +0000 | [diff] [blame] | 129 | } |
| 130 | |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 131 | var macTools = &macPlatformTools{} |
| 132 | |
Dan Willemsen | 9fe1410 | 2021-07-13 21:52:04 -0700 | [diff] [blame] | 133 | func getMacTools(ctx android.PathContext) *macPlatformTools { |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 134 | macTools.once.Do(func() { |
Lukacs T. Berki | 21d5c7a | 2021-03-11 08:52:39 +0100 | [diff] [blame] | 135 | xcrunTool := "/usr/bin/xcrun" |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 136 | |
| 137 | xcrun := func(args ...string) string { |
| 138 | if macTools.err != nil { |
| 139 | return "" |
| 140 | } |
| 141 | |
Dan Willemsen | 7368d86 | 2021-10-19 21:37:15 -0700 | [diff] [blame] | 142 | bytes, err := exec.Command(xcrunTool, append([]string{"--sdk", "macosx"}, args...)...).Output() |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 143 | if err != nil { |
| 144 | macTools.err = fmt.Errorf("xcrun %q failed with: %q", args, err) |
| 145 | return "" |
| 146 | } |
| 147 | |
| 148 | return strings.TrimSpace(string(bytes)) |
| 149 | } |
| 150 | |
Dan Willemsen | 7368d86 | 2021-10-19 21:37:15 -0700 | [diff] [blame] | 151 | sdkVersion := xcrun("--show-sdk-version") |
| 152 | sdkVersionSupported := false |
| 153 | for _, version := range darwinSupportedSdkVersions { |
| 154 | if version == sdkVersion || strings.HasPrefix(sdkVersion, version+".") { |
| 155 | sdkVersionSupported = true |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 156 | } |
Dan Willemsen | 7368d86 | 2021-10-19 21:37:15 -0700 | [diff] [blame] | 157 | } |
| 158 | if !sdkVersionSupported { |
| 159 | macTools.err = fmt.Errorf("Unsupported macOS SDK version %q not in %v", sdkVersion, darwinSupportedSdkVersions) |
| 160 | return |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 161 | } |
| 162 | |
Dan Willemsen | 7368d86 | 2021-10-19 21:37:15 -0700 | [diff] [blame] | 163 | macTools.sdkRoot = xcrun("--show-sdk-path") |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 164 | |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 165 | macTools.arPath = xcrun("--find", "ar") |
Dan Willemsen | 4745007 | 2021-10-19 20:24:49 -0700 | [diff] [blame] | 166 | macTools.lipoPath = xcrun("--find", "lipo") |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 167 | macTools.stripPath = xcrun("--find", "strip") |
| 168 | macTools.toolPath = filepath.Dir(xcrun("--find", "ld")) |
| 169 | }) |
| 170 | if macTools.err != nil { |
Dan Willemsen | 9fe1410 | 2021-07-13 21:52:04 -0700 | [diff] [blame] | 171 | android.ReportPathErrorf(ctx, "%q", macTools.err) |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 172 | } |
Dan Willemsen | 6ba5367 | 2020-04-01 14:32:52 -0700 | [diff] [blame] | 173 | return macTools |
Dan Willemsen | cf7c71b | 2015-12-14 20:02:44 -0800 | [diff] [blame] | 174 | } |
| 175 | |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 176 | type toolchainDarwin struct { |
| 177 | cFlags, ldFlags string |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 178 | toolchain64Bit |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 179 | } |
| 180 | |
Dan Willemsen | 8528f4e | 2021-10-19 00:22:06 -0700 | [diff] [blame] | 181 | type toolchainDarwinX86 struct { |
| 182 | toolchainDarwin |
| 183 | } |
| 184 | |
| 185 | type toolchainDarwinArm struct { |
| 186 | toolchainDarwin |
| 187 | } |
| 188 | |
| 189 | func (t *toolchainDarwinArm) Name() string { |
| 190 | return "arm64" |
| 191 | } |
| 192 | |
| 193 | func (t *toolchainDarwinX86) Name() string { |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 194 | return "x86_64" |
| 195 | } |
| 196 | |
Dan Willemsen | 8528f4e | 2021-10-19 00:22:06 -0700 | [diff] [blame] | 197 | func (t *toolchainDarwinArm) GccRoot() string { |
| 198 | panic("unimplemented") |
| 199 | } |
| 200 | |
| 201 | func (t *toolchainDarwinArm) GccTriple() string { |
| 202 | panic("unimplemented") |
| 203 | } |
| 204 | |
| 205 | func (t *toolchainDarwinArm) GccVersion() string { |
| 206 | panic("unimplemented") |
| 207 | } |
| 208 | |
| 209 | func (t *toolchainDarwinX86) GccRoot() string { |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 210 | return "${config.DarwinGccRoot}" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 211 | } |
| 212 | |
Dan Willemsen | 8528f4e | 2021-10-19 00:22:06 -0700 | [diff] [blame] | 213 | func (t *toolchainDarwinX86) GccTriple() string { |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 214 | return "${config.DarwinGccTriple}" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 215 | } |
| 216 | |
Dan Willemsen | 8528f4e | 2021-10-19 00:22:06 -0700 | [diff] [blame] | 217 | func (t *toolchainDarwinX86) GccVersion() string { |
Dan Willemsen | 34fc3b1 | 2015-12-07 12:30:44 -0800 | [diff] [blame] | 218 | return darwinGccVersion |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 219 | } |
| 220 | |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 221 | func (t *toolchainDarwin) IncludeFlags() string { |
| 222 | return "" |
| 223 | } |
| 224 | |
Dan Willemsen | 8528f4e | 2021-10-19 00:22:06 -0700 | [diff] [blame] | 225 | func (t *toolchainDarwinArm) ClangTriple() string { |
| 226 | return "aarch64-apple-darwin" |
| 227 | } |
| 228 | |
| 229 | func (t *toolchainDarwinX86) ClangTriple() string { |
Dan Willemsen | 01fdd3d | 2016-03-30 00:01:12 -0700 | [diff] [blame] | 230 | return "x86_64-apple-darwin" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 231 | } |
| 232 | |
Colin Cross | 33bac24 | 2021-07-14 17:03:16 -0700 | [diff] [blame] | 233 | func (t *toolchainDarwin) Cflags() string { |
Colin Cross | 0523ba2 | 2021-07-14 18:45:05 -0700 | [diff] [blame] | 234 | return "${config.DarwinCflags}" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 235 | } |
| 236 | |
Colin Cross | 33bac24 | 2021-07-14 17:03:16 -0700 | [diff] [blame] | 237 | func (t *toolchainDarwin) Cppflags() string { |
Dan Willemsen | 282a4b0 | 2016-03-09 10:30:22 -0800 | [diff] [blame] | 238 | return "" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 239 | } |
| 240 | |
Colin Cross | 33bac24 | 2021-07-14 17:03:16 -0700 | [diff] [blame] | 241 | func (t *toolchainDarwin) Ldflags() string { |
Colin Cross | 0523ba2 | 2021-07-14 18:45:05 -0700 | [diff] [blame] | 242 | return "${config.DarwinLdflags}" |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 243 | } |
| 244 | |
Colin Cross | 33bac24 | 2021-07-14 17:03:16 -0700 | [diff] [blame] | 245 | func (t *toolchainDarwin) Lldflags() string { |
Colin Cross | 0523ba2 | 2021-07-14 18:45:05 -0700 | [diff] [blame] | 246 | return "${config.DarwinLldflags}" |
Chih-Hung Hsieh | 02b4da5 | 2018-04-03 11:33:34 -0700 | [diff] [blame] | 247 | } |
| 248 | |
Dan Willemsen | e97e68a | 2018-08-28 17:12:56 -0700 | [diff] [blame] | 249 | func (t *toolchainDarwin) YasmFlags() string { |
| 250 | return "${config.DarwinYasmFlags}" |
Greg Hartman | 09302be | 2017-10-04 17:31:43 -0700 | [diff] [blame] | 251 | } |
| 252 | |
Dan Willemsen | 490fd49 | 2015-11-24 17:53:15 -0800 | [diff] [blame] | 253 | func (t *toolchainDarwin) ShlibSuffix() string { |
| 254 | return ".dylib" |
| 255 | } |
| 256 | |
Dan Willemsen | 20acc5c | 2016-05-25 14:47:21 -0700 | [diff] [blame] | 257 | func (t *toolchainDarwin) AvailableLibraries() []string { |
| 258 | return darwinAvailableLibraries |
| 259 | } |
| 260 | |
Dan Willemsen | 300151b | 2017-03-13 12:40:30 -0700 | [diff] [blame] | 261 | func (t *toolchainDarwin) ToolPath() string { |
| 262 | return "${config.MacToolPath}" |
| 263 | } |
| 264 | |
Dan Willemsen | 8528f4e | 2021-10-19 00:22:06 -0700 | [diff] [blame] | 265 | var toolchainDarwinArmSingleton Toolchain = &toolchainDarwinArm{} |
| 266 | var toolchainDarwinX86Singleton Toolchain = &toolchainDarwinX86{} |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 267 | |
Dan Willemsen | 8528f4e | 2021-10-19 00:22:06 -0700 | [diff] [blame] | 268 | func darwinArmToolchainFactory(arch android.Arch) Toolchain { |
| 269 | return toolchainDarwinArmSingleton |
| 270 | } |
| 271 | |
| 272 | func darwinX86ToolchainFactory(arch android.Arch) Toolchain { |
| 273 | return toolchainDarwinX86Singleton |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 274 | } |
| 275 | |
| 276 | func init() { |
Dan Willemsen | 8528f4e | 2021-10-19 00:22:06 -0700 | [diff] [blame] | 277 | registerToolchainFactory(android.Darwin, android.Arm64, darwinArmToolchainFactory) |
| 278 | registerToolchainFactory(android.Darwin, android.X86_64, darwinX86ToolchainFactory) |
Colin Cross | 0af4b84 | 2015-04-30 16:36:18 -0700 | [diff] [blame] | 279 | } |