Skip to content

Commit

Permalink
mobile: Remove Python from Envoy Mobile Bazel files (envoyproxy#34641)
Browse files Browse the repository at this point in the history
Risk Level: low (not used)
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Fredy Wijaya <[email protected]>
  • Loading branch information
fredyw authored Jun 10, 2024
1 parent 4574b29 commit 60755ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
14 changes: 0 additions & 14 deletions mobile/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,6 @@ load("@envoy_mobile//bazel:envoy_mobile_toolchains.bzl", "envoy_mobile_toolchain

envoy_mobile_toolchains()

load("@pybind11_bazel//:python_configure.bzl", "python_configure")

python_configure(
name = "local_config_python",
python_version = "3",
)

load("//bazel:python.bzl", "declare_python_abi")

declare_python_abi(
name = "python_abi",
python_version = "3",
)

load("//bazel:android_configure.bzl", "android_configure")

android_configure(
Expand Down
16 changes: 0 additions & 16 deletions mobile/bazel/envoy_mobile_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def envoy_mobile_repositories():
swift_repos()
kotlin_repos()
android_repos()
python_repos()

def upstream_envoy_overrides():
# Workaround old NDK version breakages https://github.com/envoyproxy/envoy-mobile/issues/934
Expand Down Expand Up @@ -103,18 +102,3 @@ def android_repos():
sha256 = "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806",
strip_prefix = "rules_android-0.1.1",
)

def python_repos():
http_archive(
name = "pybind11_bazel",
strip_prefix = "pybind11_bazel-26973c0ff320cb4b39e45bc3e4297b82bc3a6c09",
urls = ["https://github.com/pybind/pybind11_bazel/archive/26973c0ff320cb4b39e45bc3e4297b82bc3a6c09.zip"],
sha256 = "a5666d950c3344a8b0d3892a88dc6b55c8e0c78764f9294e806d69213c03f19d",
)
http_archive(
name = "pybind11",
build_file = "@pybind11_bazel//:pybind11.BUILD",
strip_prefix = "pybind11-2.6.1",
urls = ["https://github.com/pybind/pybind11/archive/v2.6.1.tar.gz"],
sha256 = "cdbe326d357f18b83d10322ba202d69f11b2f49e2d87ade0dc2be0c5c34f8e2a",
)

0 comments on commit 60755ed

Please sign in to comment.