Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ git_override(
remote = "https://github.com/ltekieli/rules_lint.git",
)

###############################################################################
#
# C++ rules
#
###############################################################################
bazel_dep(name = "rules_cc", version = "0.1.1")

################################################################################
#
# Load DLT dependencies
Expand Down
2 changes: 2 additions & 0 deletions deps/dlt_daemon.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

filegroup(
name = "fg_dlt_headers",
srcs = glob([
Expand Down
2 changes: 2 additions & 0 deletions deps/python_dlt.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "python_dlt",
srcs = glob(["dlt/**/*.py"]),
Expand Down
12 changes: 12 additions & 0 deletions itf/plugins/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
filegroup(
name = "docker",
srcs = ["docker.py"],
Expand Down
4 changes: 3 additions & 1 deletion itf/plugins/base/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "base",
srcs = [
Expand All @@ -22,7 +24,7 @@ py_library(
deps = [
"//itf/plugins/base/os",
"//itf/plugins/base/target",
"//itf/plugins/base/test",
"//itf/plugins/base/utils",
"//itf/plugins/utils",
],
)
2 changes: 1 addition & 1 deletion itf/plugins/base/base_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from itf.plugins.base.target.qemu_target import qemu_target
from itf.plugins.base.target.qvp_target import qvp_target
from itf.plugins.base.target.hw_target import hw_target
from itf.plugins.base.test.utils import pre_tests_phase, post_tests_phase
from itf.plugins.base.utils.exec_utils import pre_tests_phase, post_tests_phase
from itf.plugins.utils import padder
from itf.plugins.utils.bunch import Bunch

Expand Down
2 changes: 2 additions & 0 deletions itf/plugins/base/os/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "os",
srcs = [
Expand Down
2 changes: 2 additions & 0 deletions itf/plugins/base/target/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "target",
srcs = [
Expand Down
2 changes: 2 additions & 0 deletions itf/plugins/base/target/config/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "config",
srcs = [
Expand Down
2 changes: 2 additions & 0 deletions itf/plugins/base/target/processors/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "processors",
srcs = [
Expand Down
9 changes: 7 additions & 2 deletions itf/plugins/base/test/BUILD → itf/plugins/base/utils/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "test",
name = "utils",
srcs = [
"__init__.py",
"utils.py",
"exec_utils.py",
],
imports = ["."],
visibility = ["//visibility:public"],
deps = [
"//itf/plugins/com",
],
)
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions itf/plugins/com/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "ssh",
srcs = [
Expand Down
1 change: 1 addition & 0 deletions itf/plugins/dlt/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("//bazel/rules/as_host:rule.bzl", "as_host")
load("@rules_python//python:defs.bzl", "py_library")

as_host(
name = "dlt-receive_as_host",
Expand Down
2 changes: 2 additions & 0 deletions itf/plugins/utils/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "utils",
srcs = [
Expand Down
2 changes: 2 additions & 0 deletions itf/plugins/utils/process/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@rules_python//python:defs.bzl", "py_library")

py_library(
name = "process",
srcs = [
Expand Down