mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-06 05:53:54 +01:00
Add support for building the CEF binary distribution using Bazel and the default platform toolchain. Tested to work for Windows x64, MacOS ARM64 and x64 (cross-compile from ARM64), and Linux x64. Windows x86 (cross-compile from x64) is known to be broken, see https://github.com/bazelbuild/bazel/issues/22164. Includes minor changes to tests directory structure to meet Bazel build requirements.
18 lines
742 B
Python
18 lines
742 B
Python
# Copyright (c) 2024 The Chromium Embedded Framework Authors. All rights
|
|
# reserved. Use of this source code is governed by a BSD-style license that
|
|
# can be found in the LICENSE file.
|
|
|
|
module(name = "cef", version = "${version_short}")
|
|
|
|
# Configure local MacOS toolchain.
|
|
# See https://github.com/bazelbuild/apple_support/releases
|
|
bazel_dep(name = "apple_support", version = "1.16.0", repo_name = "build_bazel_apple_support")
|
|
# See https://github.com/bazelbuild/rules_apple/releases
|
|
bazel_dep(name = "rules_apple", version = "3.6.0", repo_name = "build_bazel_rules_apple")
|
|
|
|
# Configure local C++ toolchain.
|
|
# See https://github.com/bazelbuild/rules_cc/releases
|
|
bazel_dep(name = "rules_cc", version = "0.0.9")
|
|
|
|
# Add other dependencies here.
|