Skip to content

Commit

Permalink
Changes necessary for Starlark cc_library
Browse files Browse the repository at this point in the history
Fixes tests for Starlark cc_library.

RELNOTES:none
PiperOrigin-RevId: 427944265
  • Loading branch information
oquenchil authored and copybara-github committed Feb 11, 2022
1 parent 86e2db7 commit 0a2b455
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,13 @@ cc_shared_library(

cc_library(
name = "d1",
srcs = ["empty.cc"],
deps = ["d2"],
)

cc_library(
name = "d2",
srcs = ["empty.cc"],
deps = [
"d3",
] + select({
Expand All @@ -111,4 +113,5 @@ cc_library(

cc_library(
name = "d3",
srcs = ["empty.cc"],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2022 The Bazel Authors. All rights reserved.
//
// 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.

0 comments on commit 0a2b455

Please sign in to comment.