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 mac_app_script = "//build/config/mac/mac_app.py" | 5 mac_app_script = "//build/config/mac/mac_app.py" |
6 | 6 |
7 template("code_sign_mac") { | 7 template("code_sign_mac") { |
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 process_nibs_mac(copy_xib_target_name) { | 188 process_nibs_mac(copy_xib_target_name) { |
189 visibility = [ ":$group_gen_target_name" ] | 189 visibility = [ ":$group_gen_target_name" ] |
190 sources = invoker.xibs | 190 sources = invoker.xibs |
191 module = app_name | 191 module = app_name |
192 output_dir = "$app_name.app/Contents/Resources" | 192 output_dir = "$app_name.app/Contents/Resources" |
193 } | 193 } |
194 | 194 |
195 group(copy_all_target_name) { | 195 group(copy_all_target_name) { |
196 visibility = [ ":$group_gen_target_name" ] | 196 visibility = [ ":$group_gen_target_name" ] |
197 deps = [ | 197 deps = [ |
| 198 ":$copy_bin_target_name", |
| 199 ":$copy_plist_gen_target_name", |
| 200 ":$copy_xib_target_name", |
198 ":$struct_gen_target_name", | 201 ":$struct_gen_target_name", |
199 ":$copy_plist_gen_target_name", | |
200 ":$copy_bin_target_name", | |
201 ":$copy_xib_target_name", | |
202 ] | 202 ] |
203 } | 203 } |
204 | 204 |
205 # Top level group | 205 # Top level group |
206 | 206 |
207 group(group_gen_target_name) { | 207 group(group_gen_target_name) { |
208 deps = [ | 208 deps = [ |
209 ":$copy_all_target_name", | 209 ":$copy_all_target_name", |
210 ] | 210 ] |
211 } | 211 } |
212 } | 212 } |
OLD | NEW |