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

Determine bazel-out and external paths at build time #319

Merged

Conversation

brentleyjones
Copy link
Contributor

@brentleyjones brentleyjones commented Apr 18, 2022

Fixes #201.

This removes the need for test fixtures to be slightly different from normal projects. It will also be needed for future Indexing improvements, which will make the symlinks in the workspace unreliable. Finally, this fixes the issue builds breaking after relocating the workspace.

@brentleyjones brentleyjones force-pushed the bj/determine-bazel-out-and-external-paths-at-build-time branch from 1d04907 to 6670eed Compare April 18, 2022 18:38
This removes the need for test fixtures to be slightly different from normal projects. It will also be needed for future Indexing improvements, which will make the symlinks in the workspace unreliable. Finally, this fixes the issue builds breaking after relocating the workspace.
@brentleyjones brentleyjones force-pushed the bj/determine-bazel-out-and-external-paths-at-build-time branch from 6670eed to 07fb64e Compare April 18, 2022 18:44
@brentleyjones brentleyjones marked this pull request as ready for review April 18, 2022 18:47
@@ -1796,7 +1801,7 @@
ENABLE_TESTING_SEARCH_PATHS = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(PROJECT_DIR)/third_party",
"$(PROJECT_DIR)/bazel-ios_app/external/examples_ios_app_external",
"$(BAZEL_EXTERNAL)/examples_ios_app_external",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides for being shorter, I like that these are more readable, especially in diffs.

@brentleyjones brentleyjones enabled auto-merge (squash) April 18, 2022 18:54
@brentleyjones brentleyjones merged commit 0e64270 into main Apr 18, 2022
@brentleyjones brentleyjones deleted the bj/determine-bazel-out-and-external-paths-at-build-time branch April 18, 2022 19:01
brentleyjones added a commit that referenced this pull request Apr 18, 2022
These should have been deleted with #319.
brentleyjones added a commit that referenced this pull request Apr 18, 2022
These should have been deleted with #319.
brentleyjones added a commit that referenced this pull request Apr 19, 2022
This path should have changed with #319.
brentleyjones added a commit that referenced this pull request Apr 19, 2022
This path should have changed with #319.
brentleyjones added a commit that referenced this pull request Apr 19, 2022
This path should have changed with #319.
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.

Bug: Project with generated or external files fails to build when workspace is moved
2 participants