Skip to content

[pull] master from google:master #225

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

Merged
merged 7 commits into from
Aug 21, 2021
Merged

[pull] master from google:master #225

merged 7 commits into from
Aug 21, 2021

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 21, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

tkhho and others added 7 commits August 10, 2021 13:30
The building of the framework has a build dependency to "$(BUILD_DIR)/lib$(STATIC_LIBRARY_NAME).a"
This the binary of the iphone platform. This causes, that iphone binary must be build and added
to the xcframework, even when not wantend.

That the required libs build before the xcframework is built, is already satisfied
with the "dist" dependency.
For the iPhone platform the ARCH_BUILD_DIR was used instead of ARCH_BUILD_IPHONE_DIR. That
caused that the build and dist output was placed in the root directory instead of in a subfolder
like all other platforms.

Except the inconsistency there might be issues with rules depending on the platform.
Watch and watchos was both used. This was consulidated to watchos in favor
to make it easier to distinguish between the watchos and watchsimulator platform.
WatchOS and watchsimulator arch directory were mixed up. Which causes issues
during building fat platform whise libraries for the xcframework.
They are now spereated like for all other platforms.
For watchOS 6 and later the arch x86_64 or arm64 is required to be able
to run the watchsimulator.
There was a bug in the construction of the fat library paths for generating the xcframework.
That caused, that some archtitecture weren't added or caused an build error "Both xx and yyy
represent two equivalent library definitions".

For each platform the fat library is now added, when at least one archictecutre of the platform
is added to environment variable J2OBJC_ARCHS.
@pull pull bot added the ⤵️ pull label Aug 21, 2021
@pull pull bot merged commit 61d5958 into Mu-L:master Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants