OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 # This file contains rules that are shared between Mac and iOS. | 5 # This file contains rules that are shared between Mac and iOS. |
6 | 6 |
7 import("//build/toolchain/toolchain.gni") | 7 import("//build/toolchain/toolchain.gni") |
8 import("//build/config/mac/symbols.gni") | 8 import("//build/config/mac/symbols.gni") |
9 | 9 |
10 if (is_mac) { | 10 if (is_mac) { |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 240 |
241 if (_is_fat_build && !_is_fat_build_main_target) { | 241 if (_is_fat_build && !_is_fat_build_main_target) { |
242 shared_library(_target_name) { | 242 shared_library(_target_name) { |
243 forward_variables_from(invoker, | 243 forward_variables_from(invoker, |
244 "*", | 244 "*", |
245 [ | 245 [ |
246 "assert_no_deps", | 246 "assert_no_deps", |
247 "bundle_deps", | 247 "bundle_deps", |
248 "data_deps", | 248 "data_deps", |
249 "info_plist", | 249 "info_plist", |
| 250 "info_plist_target", |
250 "output_name", | 251 "output_name", |
251 ]) | 252 ]) |
252 if (defined(visibility)) { | 253 if (defined(visibility)) { |
253 visibility += [ ":${_target_name}_shared_library($default_toolchain)" ] | 254 visibility += [ ":${_target_name}_shared_library($default_toolchain)" ] |
254 } | 255 } |
255 output_name = _output_name | 256 output_name = _output_name |
256 output_prefix_override = true | 257 output_prefix_override = true |
257 output_extension = "" | 258 output_extension = "" |
258 output_dir = "$target_out_dir/$_target_name" | 259 output_dir = "$target_out_dir/$_target_name" |
259 } | 260 } |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 ] | 512 ] |
512 args = | 513 args = |
513 [ | 514 [ |
514 "--input", | 515 "--input", |
515 "{{source}}", | 516 "{{source}}", |
516 "--output", | 517 "--output", |
517 rebase_path("$target_gen_dir/$target_name/{{source_name_part}}.nib"), | 518 rebase_path("$target_gen_dir/$target_name/{{source_name_part}}.nib"), |
518 ] + ibtool_flags | 519 ] + ibtool_flags |
519 } | 520 } |
520 } | 521 } |
OLD | NEW |