| Index: build/config/BUILDCONFIG.gn
|
| diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
|
| index 79197d7d0c72dbea893a476d24e3a53739cda08f..4f3a223c32d23ab7b79007add5081deac14bdf7e 100644
|
| --- a/build/config/BUILDCONFIG.gn
|
| +++ b/build/config/BUILDCONFIG.gn
|
| @@ -639,13 +639,9 @@ template("component") {
|
| assert(invoker.static_component_type == "static_library" ||
|
| invoker.static_component_type == "source_set")
|
| _component_mode = invoker.static_component_type
|
| - } else if (!defined(invoker.sources) || is_mac) {
|
| + } else if (!defined(invoker.sources)) {
|
| # When there are no sources defined, use a source set to avoid creating
|
| # an empty static library (which generally don't work).
|
| - #
|
| - # TODO(brettw) bug 618797: Remove the mac condition. On Mac making these as
|
| - # static_library causes crashes. Remove the mac condition above when this
|
| - # is fixed.
|
| _component_mode = "source_set"
|
| } else {
|
| _component_mode = "static_library"
|
|
|