[bazel] Add fixes for G3

Mostly, this adds placeholder BUILD.bazel files corresponding to files
used in public.bzl

The exception is src/ports/BUILD.bazel, which adds an explicit
link command for dl, needed for dlopen etc.

Bug: skia:12541
Change-Id: Id3801a4c718cec37bc2aa3920a8d810f8a80a373
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/545359
Reviewed-by: Ben Wagner <bungeman@google.com>
This commit is contained in:
Kevin Lubick 2022-05-31 15:20:59 -04:00
parent d1e84595fb
commit 8d69d04579
21 changed files with 105 additions and 1 deletions

5
include/c/BUILD.bazel Normal file
View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//third_party/skia/HEAD/bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

5
src/c/BUILD.bazel Normal file
View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

5
src/fonts/BUILD.bazel Normal file
View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

5
src/lazy/BUILD.bazel Normal file
View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

5
src/pdf/BUILD.bazel Normal file
View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

View File

@ -183,8 +183,12 @@ selects.config_setting_group(
cc_library(
name = "deps",
linkopts = select({
"@platforms//os:linux": ["-ldl"],
"//conditions:default": [],
}),
visibility = ["//src:__pkg__"],
deps = [] + select({
deps = select({
":any_freetype_fontmgr": [
"//third_party:freetype2",
],

5
src/xml/BUILD.bazel Normal file
View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()

5
src/xps/BUILD.bazel Normal file
View File

@ -0,0 +1,5 @@
load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"])
exports_files_legacy()