| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 ios_app_script = "//build/config/ios/ios_app.py" | 5 ios_app_script = "//build/config/ios/ios_app.py" |
| 6 | 6 |
| 7 template("code_sign_ios") { | 7 template("code_sign_ios") { |
| 8 assert(defined(invoker.entitlements_path), | 8 assert(defined(invoker.entitlements_path), |
| 9 "The path to the entitlements .xcent file") | 9 "The path to the entitlements .xcent file") |
| 10 assert(defined(invoker.identity), "The code signing identity") | 10 assert(defined(invoker.identity), "The code signing identity") |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 ":$plist_gen_target_name", | 173 ":$plist_gen_target_name", |
| 174 ] | 174 ] |
| 175 } | 175 } |
| 176 } else { | 176 } else { |
| 177 # This avoids a potential unused variable warning in the caller. | 177 # This avoids a potential unused variable warning in the caller. |
| 178 entitlements_path = entitlements_path | 178 entitlements_path = entitlements_path |
| 179 } | 179 } |
| 180 | 180 |
| 181 # Top level group | 181 # Top level group |
| 182 group(target_name) { | 182 group(target_name) { |
| 183 forward_variables_from(invoker, [ "visibility" ]) |
| 183 deps = [ | 184 deps = [ |
| 184 ":$bin_gen_target_name", | 185 ":$bin_gen_target_name", |
| 185 ":$plist_gen_target_name", | 186 ":$plist_gen_target_name", |
| 186 ] | 187 ] |
| 187 if (invoker.code_signing_identity != "") { | 188 if (invoker.code_signing_identity != "") { |
| 188 deps += [ ":$code_sign_gen_target_name" ] | 189 deps += [ ":$code_sign_gen_target_name" ] |
| 189 } | 190 } |
| 190 } | 191 } |
| 191 } | 192 } |
| OLD | NEW |