skia2/third_party/file_map_for_bazel.json
Kevin Lubick 9488e0237d [infra] Experiment generating BUILD.bazel files
This uses the gazelle extension from
https://skia-review.googlesource.com/c/buildbot/+/473357

Review Tips:
 - Ignore any changes to .h or .cpp files. Those have been
   pulled out into their own CLs.
 - Start with bazel/macros.bzl.
 - Read the CL with the generation code, if you haven't already.
 - Look at third_party/file_map_for_bazel.json.
 - See experimental/bazel_test for an idea of how a cc_binary
   would be made.
 - Spot check one or two of the BUILD.bazel files.

This CL generates the "atomic" rules for src/, include/ and
modules/skshaper, as a starting point.

`bazel build --config clang //include/...` works

`bazel build --config clang //src/...` starts compiling,
(which verifies that the BUILD.bazel files are all valid),
but runs into errors because not all third_party deps have
been resolved, and there are some files missing from the
toolchain still (e.g. EGL headers).

Change-Id: Ib7e0fb0efdb9f08655f06cbc56e9bb4cf416294b
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/474240
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2021-11-23 18:53:16 +00:00

81 lines
3.5 KiB
JSON

{
"D3D12MemAlloc.h": "SK_GAZELLE_IGNORE TODO //third_party:d3d12allocator",
"dawn/webgpu_cpp.h": "SK_GAZELLE_IGNORE TODO //third_party:dawn",
"dng_area_task.h": "//third_party:dng_sdk",
"dng_color_space.h": "//third_party:dng_sdk",
"dng_errors.h": "//third_party:dng_sdk",
"dng_exceptions.h": "//third_party:dng_sdk",
"dng_host.h": "//third_party:dng_sdk",
"dng_info.h": "//third_party:dng_sdk",
"dng_memory.h": "//third_party:dng_sdk",
"dng_render.h": "//third_party:dng_sdk",
"dng_stream.h": "//third_party:dng_sdk",
"ft2build.h": "//third_party:freetype2",
"freetype/ftadvanc.h": "//third_party:freetype2",
"freetype/ftimage.h": "//third_party:freetype2",
"freetype/ftbitmap.h": "//third_party:freetype2",
"freetype/ftcolor.h": "//third_party:freetype2",
"freetype/freetype.h": "//third_party:freetype2",
"freetype/ftlcdfil.h": "//third_party:freetype2",
"freetype/ftmodapi.h": "//third_party:freetype2",
"freetype/ftmm.h": "//third_party:freetype2",
"freetype/ftoutln.h": "//third_party:freetype2",
"freetype/ftsizes.h": "//third_party:freetype2",
"freetype/ftsystem.h": "//third_party:freetype2",
"freetype/tttables.h": "//third_party:freetype2",
"freetype/t1tables.h": "//third_party:freetype2",
"freetype/ftfntfmt.h": "//third_party:freetype2",
"hb-subset.h": "SK_GAZELLE_IGNORE TODO //third_party:harfbuzz",
"hb.h": "SK_GAZELLE_IGNORE TODO //third_party:harfbuzz",
"png.h": "//third_party:libpng",
"jerror.h": "//third_party:libjpeg-turbo",
"jpeglib.h": "//third_party:libjpeg-turbo",
"webp/decode.h": "//third_party:libwebp",
"webp/demux.h": "//third_party:libwebp",
"webp/encode.h": "//third_party:libwebp",
"webp/mux.h": "//third_party:libwebp",
"src/piex.h": "//third_party:piex",
"sample/chromium/font_subsetter.h": "SK_GAZELLE_IGNORE TODO //third_party:sfntly",
"third_party/externals/spirv-cross/spirv_hlsl.hpp": "SK_GAZELLE_IGNORE TODO //third_party:spirv_cross",
"spirv-tools/libspirv.hpp": "SK_GAZELLE_IGNORE TODO //third_party:spirv_tools",
"vk_platform.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_android.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_beta.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_core.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_directfb.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_fuchsia.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_ggp.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_ios.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_macos.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_metal.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_screen.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_vi.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_wayland.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_win32.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_xcb.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_xlib.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"vulkan_xlib_xrandr.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkan",
"GrVulkanMemoryAllocator.h": "SK_GAZELLE_IGNORE TODO //third_party:vulkanmemoryallocator",
"wuffs-v0.3.c": "//third_party:wuffs",
"zlib.h": "//third_party:zlib",
"HeifDecoderAPI.h": "SK_GAZELLE_IGNORE Android-only build",
"SkGifCodec.h": "SK_GAZELLE_IGNORE Deprecated gif library",
"mozilla/mozalloc.h": "SK_GAZELLE_IGNORE",
"mozilla/mozalloc_abort.h": "SK_GAZELLE_IGNORE",
"mozilla/mozalloc_oom.h": "SK_GAZELLE_IGNORE"
}