[Mac/GN] Use the right output name for Mac frameworks.

This uses the new output_prefix_override flag to not prefix framework
shared libraries with "lib" and overrides the output_extension to be
empty.

BUG=297668

Review URL: https://codereview.chromium.org/1871143002

Cr-Original-Commit-Position: refs/heads/master@{#386692}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c7905381e103462334ea24c20f1de670d89bd1ec
This commit is contained in:
rsesek 2016-04-12 08:28:18 -07:00 коммит произвёл Commit bot
Родитель 727d0e9313
Коммит 5e05c1d213
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -54,13 +54,16 @@ template("framework_bundle") {
"output_name",
"visibility",
])
output_name = _output_name
output_prefix_override = true
output_extension = ""
}
bundle_data(_shared_library_bundle_data) {
visibility = [ ":$_framework_target" ]
forward_variables_from(invoker, [ "testonly" ])
sources = [
"$root_out_dir/${shlib_prefix}${_shared_library_target}${shlib_extension}",
"$root_out_dir/${_output_name}",
]
outputs = [
"{{bundle_executable_dir}}/$_output_name",