• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@rules_python//python:defs.bzl", "py_binary")
2load("//bazel:cc_binary_with_flags.bzl", "cc_binary_with_flags")
3load("//bazel:macros.bzl", "exports_files_legacy")
4
5package(
6    default_applicable_licenses = ["//:license"],
7)
8
9licenses(["notice"])
10
11exports_files_legacy()
12
13cc_binary_with_flags(
14    name = "bazel_test_exe",
15    srcs = [
16        "bazel_test.cpp",
17    ],
18    set_flags = {
19        "enable_svg_canvas": ["True"],
20    },
21    deps = [
22        "//:skia_public",
23        "@libpng",
24    ],
25)
26
27py_binary(
28    name = "print_os",
29    srcs = ["print_os.py"],
30)
31
32genrule(
33    name = "generate_file",
34    srcs = [],
35    outs = [
36        "some_file.txt",
37    ],
38    cmd = "$(location :print_os) $@",
39    tools = [":print_os"],
40)
41
42cc_binary(
43    name = "skia_with_pathops",
44    srcs = ["pathop_main.cpp"],
45    features = ["layering_check"],
46    deps = [
47        "//:core",
48        "//:default_logging",
49        "//:default_malloc",
50        "//:pathops",
51    ],
52)
53