build: Add custom bazel.WORKSPACE file
The Bazel WORKSPACE file in build/kernel/kleaf is not sufficient for our usecase. We must add a nested workspace for host DTC build. Add the custom workspace file here so we can link it to the top-level via repo manifest. Change-Id: Ic260a335bae0bc43ba8b0ec482588c68e62c2a80 Signed-off-by: John Moon <quic_johmoo@quicinc.com>
This commit is contained in:
parent
6e89d3034b
commit
0929aab832
31
bazel.WORKSPACE
Normal file
31
bazel.WORKSPACE
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright (C) 2021 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
|
||||
### build/kernel/kleaf/bazel.WORKSPACE contents ###
|
||||
load("//build/kernel/kleaf:workspace.bzl", "define_kleaf_workspace")
|
||||
|
||||
define_kleaf_workspace()
|
||||
|
||||
# Optional epilog for analysis testing.
|
||||
load("//build/kernel/kleaf:workspace_epilog.bzl", "define_kleaf_workspace_epilog")
|
||||
define_kleaf_workspace_epilog()
|
||||
|
||||
### Qualcomm customizations ###
|
||||
new_local_repository(
|
||||
name = "dtc",
|
||||
path = "external/dtc",
|
||||
build_file = "msm-kernel/BUILD.dtc",
|
||||
)
|
Loading…
Reference in New Issue
Block a user