mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-17 04:07:14 +01:00
a6c00b2ff6
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.
26 lines
562 B
Plaintext
26 lines
562 B
Plaintext
# 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.
|
|
|
|
PRODUCT_NAME = "cefsimple"
|
|
PKG_NAME = "//tests/{}".format(PRODUCT_NAME)
|
|
|
|
# Allow access from the parent package only.
|
|
package(default_visibility = [
|
|
"{}:__pkg__".format(PKG_NAME),
|
|
])
|
|
|
|
load("//bazel/linux:exe_helpers.bzl", "declare_exe")
|
|
|
|
#
|
|
# Linux executable target.
|
|
#
|
|
|
|
declare_exe(
|
|
name = PRODUCT_NAME,
|
|
srcs = [
|
|
"{}:SrcsLinux".format(PKG_NAME),
|
|
],
|
|
)
|
|
|