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 import("//build/config/mac/base_rules.gni") | 5 import("//build/config/mac/base_rules.gni") |
6 | 6 |
7 # Generates Info.plist files for Mac apps and frameworks. | 7 # Generates Info.plist files for Mac apps and frameworks. |
8 # | 8 # |
9 # Arguments | 9 # Arguments |
10 # | 10 # |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
331 "testonly", | 331 "testonly", |
332 ]) | 332 ]) |
333 if (!defined(deps)) { | 333 if (!defined(deps)) { |
334 deps = [] | 334 deps = [] |
335 } | 335 } |
336 deps += [ | 336 deps += [ |
337 ":$_executable_bundle_data", | 337 ":$_executable_bundle_data", |
338 ":$_info_plist_bundle_data", | 338 ":$_info_plist_bundle_data", |
339 ":$_pkg_info_bundle_data", | 339 ":$_pkg_info_bundle_data", |
340 ] | 340 ] |
341 product_type = "com.apple.product-type.application" | 341 |
Robert Sesek
2016/06/17 12:46:16
Remove this change.
Miguel Garcia
2016/06/17 17:10:49
Done.
| |
342 bundle_root_dir = "$root_out_dir/${_output_name}.app/Contents" | 342 bundle_root_dir = "$root_out_dir/${_output_name}.app/Contents" |
343 bundle_resources_dir = "$bundle_root_dir/Resources" | 343 bundle_resources_dir = "$bundle_root_dir/Resources" |
344 bundle_executable_dir = "$bundle_root_dir/MacOS" | 344 bundle_executable_dir = "$bundle_root_dir/MacOS" |
345 } | 345 } |
346 } | 346 } |
347 | 347 |
348 # Template to package a loadable_module into a .plugin bundle. | 348 # Template to package a loadable_module into a .plugin bundle. |
349 # | 349 # |
350 # This takes no extra arguments that differ from a loadable_module. | 350 # This takes no extra arguments that differ from a loadable_module. |
351 template("mac_plugin_bundle") { | 351 template("mac_plugin_bundle") { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
400 ]) | 400 ]) |
401 if (!defined(deps)) { | 401 if (!defined(deps)) { |
402 deps = [] | 402 deps = [] |
403 } | 403 } |
404 deps += [ ":$_loadable_module_bundle_data" ] | 404 deps += [ ":$_loadable_module_bundle_data" ] |
405 | 405 |
406 bundle_root_dir = "$root_out_dir/$_output_name.plugin/Contents" | 406 bundle_root_dir = "$root_out_dir/$_output_name.plugin/Contents" |
407 bundle_executable_dir = "$bundle_root_dir/MacOS" | 407 bundle_executable_dir = "$bundle_root_dir/MacOS" |
408 } | 408 } |
409 } | 409 } |
OLD | NEW |