Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

@cbracken
Copy link
Member

@cbracken cbracken commented Sep 11, 2020

In #399, the static_library target was split into a
source_set and static_library target, but this resulted in libocmock
being built as an empty 88-byte library. We never caught the issue since
this buildroot change was never rolled to the engine.

This reverts things back to match how we build other static libraries
such as libzip and libxml.

This reverts 940dcf6.

In #399, the static_library target was split into a
source_set and static_library target, but this resulted in libocmock
being built as an empty 88-byte library. We never caught the issue since
this buildroot change was never rolled to the engine.

This reverts things back to match how we build other static libraries
such as libzip and libxml.

This reverts 940dcf6.
@cbracken cbracken requested a review from xster September 11, 2020 19:54
@cbracken cbracken merged commit f83d1d7 into flutter:master Sep 11, 2020
@cbracken cbracken deleted the ocmock-fixup branch September 11, 2020 19:59
@justinmc
Copy link
Contributor

justinmc commented Sep 11, 2020

This will break my PR that depends on ocmock_src. See https://github.com/flutter/engine/pull/20531/files#diff-934b1a4a722f53c991b1f4445b307d3cR120

I needed a separate way to include ocmock for Mac and for iOS. I was prompted to write it this way after running into the errors I described here. CC @gaaclarke

@cbracken
Copy link
Member Author

cbracken commented Sep 11, 2020

The way the buildroot change (#399) was written was resulting in an empty static_library with no symbols for (i.e. it was broken at head). I can take a look at relanding that so it generates a static_library with content.

@justinmc
Copy link
Contributor

Alright thanks. I'm out of my usual area of expertise, but let me know if there's anything I can take a look at myself if it's not trivial for you.

chinmaygarde pushed a commit to chinmaygarde/flutter_buildroot that referenced this pull request May 4, 2021
In flutter#399, the static_library target was split into a
source_set and static_library target, but this resulted in libocmock
being built as an empty 88-byte library. We never caught the issue since
this buildroot change was never rolled to the engine.

This reverts things back to match how we build other static libraries
such as libzip and libxml.

This reverts 940dcf6.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants