WORKSPACE (864B)
1 # Copyright (c) the JPEG XL Project Authors. All rights reserved. 2 # 3 # Use of this source code is governed by a BSD-style 4 # license that can be found in the LICENSE file. 5 6 workspace(name = "libjxl") 7 8 load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository") 9 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 10 11 local_repository( 12 name = "highway", 13 path = "third_party/highway", 14 ) 15 16 local_repository( 17 name = "brotli", 18 path = "third_party/brotli", 19 ) 20 21 new_local_repository( 22 name = "skcms", 23 build_file_content = """ 24 cc_library( 25 name = "skcms", 26 srcs = [ 27 "skcms.cc", 28 "src/skcms_internals.h", 29 "src/skcms_Transform.h", 30 "src/Transform_inl.h", 31 ], 32 hdrs = ["skcms.h"], 33 visibility = ["//visibility:public"], 34 ) 35 """, 36 path = "third_party/skcms", 37 )