Skip to content

Commit

Permalink
Replace most uses of macros.bzl with skia_rules.bzl or flags.bzl
Browse files Browse the repository at this point in the history
//bazel/macros.bzl is a convenient place for symbols, but adds an
implicit dependency on our go and python toolchain. The vast majority
of our files do not need this and this causes external clients
to need to install many extra things in their WORKSPACE file.

Using skia_rules.bzl and flags.bzl should allow //:skia_public
to be built with no external dependencies (other than
bazel_skylib, which most projects use anyway [citation needed]).

See also http://cl/516303424

Change-Id: I7ecb94e97514c7147dcddf96840e662c8e3fad66
Bug: skia:14114
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/655856
Reviewed-by: Ben Wagner <[email protected]>
Commit-Queue: Kevin Lubick <[email protected]>
  • Loading branch information
kjlubick authored and SkCQ committed Mar 14, 2023
1 parent 06b16dc commit a2630de
Show file tree
Hide file tree
Showing 197 changed files with 231 additions and 211 deletions.
11 changes: 6 additions & 5 deletions PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,14 +390,15 @@ def _CheckGNIGenerated(input_api, output_api):
if 'darwin' in sys.platform:
# This takes too long on Mac with default settings. Probably due to sandboxing.
return []
should_run = False
for affected_file in input_api.AffectedFiles(include_deletes=True):
affected_file_path = affected_file.LocalPath()
if affected_file_path.endswith('BUILD.bazel') or affected_file_path.endswith('.gni'):
# Generate GNI files and verify no changes.
results = _RunCommandAndCheckGitDiff(output_api,
['make', '-C', 'bazel', 'generate_gni'])
if results:
return results
should_run = True
# Generate GNI files and verify no changes.
if should_run:
return _RunCommandAndCheckGitDiff(output_api,
['make', '-C', 'bazel', 'generate_gni'])

# No Bazel build files changed.
return []
Expand Down
2 changes: 1 addition & 1 deletion bazel/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion bazel/common_config_settings/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "bool_flag", "selects", "string_flag_with_values")
load("//bazel:flags.bzl", "bool_flag", "selects", "string_flag_with_values")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion bazel/exporter/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion bazel/exporter/build_proto/analysis_v2/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion bazel/exporter/build_proto/build/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion bazel/exporter/interfaces/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion bazel/exporter/interfaces/mocks/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion bazel/exporter_tool/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
4 changes: 4 additions & 0 deletions bazel/flags.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ configure the Skia build.

# https://github.com/bazelbuild/bazel-skylib/blob/main/rules/common_settings.bzl
load("@bazel_skylib//rules:common_settings.bzl", "string_flag", skylib_bool_flag = "bool_flag")
load("@bazel_skylib//lib:selects.bzl", _selects = "selects")

# Re-export other symbols from bazel_skylib for convenience
selects = _selects

# Forked from https://github.com/bazelbuild/bazel-skylib/blob/main/rules/common_settings.bzl
BuildSettingInfo = provider(
Expand Down
2 changes: 1 addition & 1 deletion example/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("//bazel:cc_binary_with_flags.bzl", "cc_binary_with_flags")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion experimental/bazel_test/client/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "generate_cpp_files_for_headers")
load("//bazel:skia_rules.bzl", "generate_cpp_files_for_headers")

package(features = ["layering_check"])

Expand Down
2 changes: 1 addition & 1 deletion experimental/wasm-hello-world/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@emsdk//emscripten_toolchain:wasm_rules.bzl", "wasm_cc_binary")
load("//bazel:cc_binary_with_flags.bzl", "cc_binary_with_flags")

Expand Down
2 changes: 1 addition & 1 deletion gn/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "generate_cpp_files_for_headers", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "generate_cpp_files_for_headers", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/android/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/codec/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/config/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/core/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/docs/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/effects/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/encode/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "select_multi", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "select_multi", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/d3d/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/dawn/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/gl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/gl/egl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/gl/glx/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/graphite/mtl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/mtl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/gpu/vk/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/pathops/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/ports/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "select_multi", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "select_multi", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/private/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/private/base/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "generate_cpp_files_for_header_list", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "generate_cpp_files_for_header_list", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/private/chromium/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/private/gpu/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "select_multi", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "select_multi", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/private/gpu/ganesh/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "select_multi", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "select_multi", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/private/gpu/vk/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/sksl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/svg/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/third_party/vulkan/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_cc_library")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/utils/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion include/utils/mac/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion infra/bots/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion infra/bots/task_drivers/codesize/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion infra/bots/task_drivers/compile_wasm_gm_tests/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion infra/bots/task_drivers/fm_driver/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion infra/bots/task_drivers/g3_canary/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion infra/bots/task_drivers/perf_puppeteer_canvas/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")

licenses(["notice"])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")

licenses(["notice"])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")

licenses(["notice"])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion infra/bots/task_drivers/recreate_skps/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion infra/bots/task_drivers/run_gn_to_bp/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion infra/bots/task_drivers/run_wasm_gm_tests/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy")
load("//bazel:skia_rules.bzl", "exports_files_legacy")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

licenses(["notice"])
Expand Down
2 changes: 1 addition & 1 deletion modules/canvaskit/tests/assets/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion modules/jetski/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_cc_library")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion modules/skcms/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_cc_library", "skia_filegroup")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library", "skia_filegroup")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion modules/skottie/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//bazel:macros.bzl", "exports_files_legacy", "skia_cc_library")
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library")
load("//bazel:cc_binary_with_flags.bzl", "cc_binary_with_flags")

licenses(["notice"])
Expand Down
Loading

0 comments on commit a2630de

Please sign in to comment.