Skip to content

Commit

Permalink
Remove WORKSPACE support from Bazel builds (#1116)
Browse files Browse the repository at this point in the history
As Mozc has already migrated to bzlmod from WORKSPACE, let's remove
obsolete and unmaintained WORKSPACE-related files and configs to make it
clear that WORKSPACE is no longer supported to build Mozc with Bazel.

Closes #1115.

PiperOrigin-RevId: 693968950
  • Loading branch information
yukawa authored Nov 7, 2024
1 parent 12f8892 commit 1a0d98a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 352 deletions.
16 changes: 2 additions & 14 deletions src/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ common:android --config=android_env --define TARGET=oss_android
common:oss_android --config=android_env --define TARGET=oss_android
common:prod_android --config=android_env --define TARGET=prod_android

## Bzlmod options: Bzlmod is the default except for Android.
common:linux_env --config=bzlmod
common:macos_env --config=bzlmod
common:windows_env --config=bzlmod
common:android_env --config=bzlmod

common:bzlmod --enable_bzlmod
common:workspace --noenable_bzlmod

## Dev channel
build:dev_channel --define CHANNEL=dev

Expand Down Expand Up @@ -74,9 +65,6 @@ build:windows_env --noincompatible_enable_cc_toolchain_resolution
# Android specific options
build:android_env --copt "-DOS_ANDROID"
build:android_env --build_tag_filters=-noandroid
test:android_env --test_tag_filters=-noandroid

## Android Blzmod specific options
### --experimental_google_legacy_api is required for all platforms.
build:bzlmod --experimental_google_legacy_api
build:android_env --experimental_enable_android_migration_apis
build:android_env --experimental_google_legacy_api
test:android_env --test_tag_filters=-noandroid
332 changes: 0 additions & 332 deletions src/WORKSPACE.bazel

This file was deleted.

6 changes: 0 additions & 6 deletions src/WORKSPACE.bzlmod

This file was deleted.

0 comments on commit 1a0d98a

Please sign in to comment.