blob: 903d51d4930502b0db83ea8ebdcbe93d967bae0f [file] [log] [blame]
load("//bazel:macros.bzl", "exports_files_legacy")
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
licenses(["notice"])
exports_files_legacy()
cc_binary(
name = "bazel_test_exe",
srcs = [
"bazel_test.cpp",
],
deps = [
"//:skia_public",
"@libpng",
],
)
go_binary(
name = "hello_world",
embed = [":bazel_test_lib"],
visibility = ["//visibility:public"],
)
go_library(
name = "bazel_test_lib",
srcs = ["hello_world.go"],
importpath = "go.skia.org/skia/experimental/bazel_test",
visibility = ["//visibility:private"],
)