| Index: content/shell/BUILD.gn
|
| diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn
|
| index 4bfdd9fdb1c911816005a326c39727541b2bee86..f3b26add95fe8c105c7e04fc7463bf2ea3f4a525 100644
|
| --- a/content/shell/BUILD.gn
|
| +++ b/content/shell/BUILD.gn
|
| @@ -430,7 +430,12 @@ if (!is_android && !is_mac) {
|
| }
|
|
|
| if (is_mac) {
|
| - # TODO(GYP) lots of stuff from GYP file here.
|
| + # TODO(GYP) lots of stuff from GYP file here including helper_app and
|
| + # postbuilds.
|
| + output_name = content_shell_product_name
|
| + deps = [
|
| + ":framework",
|
| + ]
|
| }
|
|
|
| if (is_android) {
|
| @@ -467,3 +472,24 @@ if (is_win) {
|
| configs += [ "//build/config/win:windowed" ]
|
| }
|
| }
|
| +
|
| +if (is_mac) {
|
| + # TODO(GYP) this should be a bundle. Lots of other stuff in this target.
|
| + # GYP version: content/content_shell.gypi:content_shell_framework
|
| + shared_library("framework") {
|
| + testonly = true
|
| +
|
| + # TODO(GYP) bug 546894: Fix GN and toolchains to handle spaces here.
|
| + #output_name = "$content_shell_product_name Framework"
|
| + output_name = "content_shell_framework" # Temporary one with no spaces.
|
| +
|
| + sources = [
|
| + "shell_content_main.cc",
|
| + "shell_content_main.h",
|
| + ]
|
| +
|
| + deps = [
|
| + ":content_shell_lib",
|
| + ]
|
| + }
|
| +}
|
|
|