Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: build squirrel and its dependencies from source #24318

Merged
merged 8 commits into from Jul 3, 2020

Conversation

MarshallOfSound
Copy link
Member

This updates our build to build Squirrel.framework, Mantle.framework and ReactiveObjC.framework from source (Used to be ReactiveCocoa.framework). Things that changed:

  • Removed old frameworks from external-binaries
  • Added BUILD.gn file to Squirrel.Mac to build the three frameworks
  • Updated Squirrel.Mac and Electron to use ReactiveObjC (a renamed and slightly newer version of ReactiveCocoa)
  • Apply one patch to ReactiveCocoa as the way it consumes headers doesn't quite work with the interesting way that GN builds framework files

Squirrel.Mac GN Changes: electron/Squirrel.Mac@c718606

This needs to be a fork commit as it needs a DEPS file to be processed.

We have a E2E updater test (phew) so this is as safe as this change is gonna get.

Notes: no-notes

@MarshallOfSound MarshallOfSound requested a review from a team as a code owner June 26, 2020 18:17
BUILD.gn Outdated Show resolved Hide resolved
.circleci/config.yml Show resolved Hide resolved
BUILD.gn Outdated Show resolved Hide resolved
BUILD.gn Show resolved Hide resolved
patches/squirrel.mac/build_add_gn_config.patch Outdated Show resolved Hide resolved
@MarshallOfSound MarshallOfSound merged commit 2a6d6d6 into master Jul 3, 2020
@release-clerk
Copy link

release-clerk bot commented Jul 3, 2020

No Release Notes

@MarshallOfSound MarshallOfSound deleted the squirrel-src branch July 3, 2020 02:42
sentialx pushed a commit to sentialx/electron that referenced this pull request Jul 30, 2020
* build: build squirrel and its dependencies from source

* chore: do not use fork for squirrel.mac

* build: do not ship headers with dependency frameworks

* Update BUILD.gn

* chore: s/striped/stripped

* chore: update as per feedback

* chore: use ARC and fix build errors

* chore: fix ARC Squirrel self retainer
sentialx pushed a commit to sentialx/electron that referenced this pull request Apr 8, 2021
* build: build squirrel and its dependencies from source

* chore: do not use fork for squirrel.mac

* build: do not ship headers with dependency frameworks

* Update BUILD.gn

* chore: s/striped/stripped

* chore: update as per feedback

* chore: use ARC and fix build errors

* chore: fix ARC Squirrel self retainer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants