Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 1 | //# |
| 2 | //# Copyright (C) 2012 The Android Open Source Project |
| 3 | //# |
| 4 | //# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | //# you may not use this file except in compliance with the License. |
| 6 | //# You may obtain a copy of the License at |
| 7 | //# |
| 8 | //# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | //# |
| 10 | //# Unless required by applicable law or agreed to in writing, software |
| 11 | //# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | //# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | //# See the License for the specific language governing permissions and |
| 14 | //# limitations under the License. |
| 15 | //# |
| 16 | |
| 17 | //############################################################ |
| 18 | // Note: |
| 19 | // |
| 20 | // This file is used to build HarfBuzz within the Android |
| 21 | // platform itself. If you need to compile HarfBuzz to |
| 22 | // ship with your Android NDK app, you can use the autotools |
| 23 | // build system to do so. To do that you need to install a |
| 24 | // "standalone" toolchain with the NDK, eg: |
| 25 | // |
| 26 | // ndk/build/tools/make-standalone-toolchain.sh |
| 27 | // --platform=android-18 |
| 28 | // --install-dir=/prefix |
| 29 | // |
| 30 | // Set PLATFORM_PREFIX eng var to that prefix and make sure |
| 31 | // the cross-compile tools from PLATFORM_PREFIX are in path. |
| 32 | // Configure and install HarfBuzz: |
| 33 | // |
| 34 | // ./configure --host=arm-linux-androideabi |
| 35 | // --prefix=$PLATFORM_PREFIX |
| 36 | // --enable-static |
| 37 | // --with-freetype |
| 38 | // PKG_CONFIG_LIBDIR=$PLATFORM_PREFIX/lib/pkgconfig |
| 39 | // make install |
| 40 | // |
| 41 | // You can first build FreeType the same way: |
| 42 | // |
| 43 | // ./configure --host=arm-linux-androideabi |
| 44 | // --prefix=$PLATFORM_PREFIX |
| 45 | // --enable-stati |
| 46 | // --without-png |
| 47 | // PKG_CONFIG_LIBDIR=$PLATFORM_PREFIX/lib/pkgconfig |
| 48 | // make install |
| 49 | // |
| 50 | |
| 51 | //############################################################ |
| 52 | // build the harfbuzz shared library |
| 53 | // |
Bob Badour | eb31125 | 2021-02-12 15:09:02 -0800 | [diff] [blame] | 54 | // *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE |
| 55 | // CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE |
| 56 | // DEPENDING ON IT IN YOUR PROJECT. *** |
| 57 | package { |
| 58 | default_applicable_licenses: ["external_harfbuzz_ng_license"], |
| 59 | } |
| 60 | |
| 61 | // Added automatically by a large-scale-change that took the approach of |
| 62 | // 'apply every license found to every target'. While this makes sure we respect |
| 63 | // every license restriction, it may not be entirely correct. |
| 64 | // |
| 65 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 66 | // |
| 67 | // Please consider splitting the single license below into multiple licenses, |
| 68 | // taking care not to lose any license_kind information, and overriding the |
| 69 | // default license using the 'licenses: [...]' property on targets as needed. |
| 70 | // |
| 71 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 72 | // to attach the license to, and including a comment whether the files may be |
| 73 | // used in the current project. |
| 74 | // |
| 75 | // large-scale-change included anything that looked like it might be a license |
| 76 | // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. |
| 77 | // |
| 78 | // Please consider removing redundant or irrelevant files from 'license_text:'. |
| 79 | // See: http://go/android-license-faq |
| 80 | license { |
| 81 | name: "external_harfbuzz_ng_license", |
| 82 | visibility: [":__subpackages__"], |
| 83 | license_kinds: [ |
Seigo Nonaka | 246cc29 | 2022-12-16 00:56:26 +0900 | [diff] [blame] | 84 | // "SPDX-license-Identifier-MIT-Modern-Variant", |
Bob Badour | eb31125 | 2021-02-12 15:09:02 -0800 | [diff] [blame] | 85 | "SPDX-license-identifier-Apache-2.0", |
Seigo Nonaka | 246cc29 | 2022-12-16 00:56:26 +0900 | [diff] [blame] | 86 | "SPDX-license-identifier-ISC", // src/hb-ucd.cc |
Bob Badour | eb31125 | 2021-02-12 15:09:02 -0800 | [diff] [blame] | 87 | "SPDX-license-identifier-MIT", |
| 88 | "SPDX-license-identifier-OFL", // by exception only |
Bob Badour | eb31125 | 2021-02-12 15:09:02 -0800 | [diff] [blame] | 89 | "legacy_unencumbered", |
| 90 | ], |
| 91 | license_text: [ |
| 92 | "COPYING", |
| 93 | "NOTICE", |
Seigo Nonaka | 246cc29 | 2022-12-16 00:56:26 +0900 | [diff] [blame] | 94 | |
| 95 | "LICENSE_APACHE2.TXT", |
| 96 | "LICENSE_ISC.TXT", |
| 97 | "LICENSE_OFL.TXT", |
| 98 | "src/ms-use/COPYING", // For MIT license |
| 99 | "LICENSE_MIT_MODERN_VARIANT.TXT", |
Bob Badour | eb31125 | 2021-02-12 15:09:02 -0800 | [diff] [blame] | 100 | ], |
| 101 | } |
| 102 | |
Jerome Gaillard | 05990ca | 2019-06-27 19:28:10 +0100 | [diff] [blame] | 103 | cc_library { |
Seigo Nonaka | 6422af9 | 2023-02-28 18:49:09 +0900 | [diff] [blame] | 104 | name: "libharfbuzz_subset", |
Heimo Helokunnas | 1c1934b | 2024-02-06 15:44:48 +0000 | [diff] [blame] | 105 | |
| 106 | host_supported: true, |
| 107 | |
Seigo Nonaka | 6422af9 | 2023-02-28 18:49:09 +0900 | [diff] [blame] | 108 | srcs: [ |
| 109 | "src/hb-number.cc", |
| 110 | "src/hb-ot-cff1-table.cc", |
| 111 | "src/hb-ot-cff2-table.cc", |
| 112 | "src/hb-static.cc", |
| 113 | "src/hb-subset-cff-common.cc", |
| 114 | "src/hb-subset-cff1.cc", |
| 115 | "src/hb-subset-cff2.cc", |
| 116 | "src/hb-subset-input.cc", |
Seigo Nonaka | 974d6cf | 2023-10-18 11:20:17 +0900 | [diff] [blame] | 117 | "src/hb-subset-instancer-solver.cc", |
Seigo Nonaka | 6422af9 | 2023-02-28 18:49:09 +0900 | [diff] [blame] | 118 | "src/hb-subset-plan.cc", |
| 119 | "src/hb-subset-repacker.cc", |
| 120 | "src/hb-subset.cc", |
| 121 | "src/graph/gsubgpos-context.cc", |
| 122 | ], |
| 123 | shared_libs: [ |
| 124 | "libharfbuzz_ng", |
| 125 | ], |
| 126 | export_include_dirs: ["src"], |
| 127 | cflags: [ |
| 128 | "-DHAVE_PTHREAD", |
| 129 | "-DHB_NO_PRAGMA_GCC_DIAGNOSTIC", |
| 130 | "-DHAVE_OT", |
| 131 | "-DHAVE_ICU", |
| 132 | "-DHAVE_ICU_BUILTIN", |
| 133 | "-Werror", |
| 134 | "-Wno-unused-parameter", |
| 135 | "-Wno-missing-field-initializers", |
| 136 | ], |
| 137 | } |
| 138 | |
| 139 | cc_library { |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 140 | name: "libharfbuzz_ng", |
Jerome Gaillard | d725ce1 | 2018-07-10 16:07:32 +0100 | [diff] [blame] | 141 | host_supported: true, |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 142 | arch: { |
| 143 | arm: { |
| 144 | instruction_set: "arm", |
| 145 | }, |
| 146 | }, |
| 147 | srcs: [ |
Seigo Nonaka | 6361ed0 | 2018-10-25 16:35:42 -0700 | [diff] [blame] | 148 | "src/hb-aat-layout.cc", |
Seigo Nonaka | b878ff2 | 2018-12-21 15:32:33 -0800 | [diff] [blame] | 149 | "src/hb-aat-map.cc", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 150 | "src/hb-blob.cc", |
| 151 | "src/hb-buffer-serialize.cc", |
Seigo Nonaka | 2b1d6e2 | 2022-12-20 10:36:29 +0900 | [diff] [blame] | 152 | "src/hb-buffer-verify.cc", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 153 | "src/hb-buffer.cc", |
| 154 | "src/hb-common.cc", |
Seigo Nonaka | 6422af9 | 2023-02-28 18:49:09 +0900 | [diff] [blame] | 155 | "src/hb-draw.cc", |
Seigo Nonaka | e3320e0 | 2023-05-29 16:16:05 +0900 | [diff] [blame] | 156 | "src/hb-face-builder.cc", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 157 | "src/hb-face.cc", |
Hal Canary | 0741016 | 2019-11-11 13:56:23 -0500 | [diff] [blame] | 158 | "src/hb-fallback-shape.cc", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 159 | "src/hb-font.cc", |
Seigo Nonaka | 2b1d6e2 | 2022-12-20 10:36:29 +0900 | [diff] [blame] | 160 | "src/hb-map.cc", |
Hal Canary | 0741016 | 2019-11-11 13:56:23 -0500 | [diff] [blame] | 161 | "src/hb-number.cc", |
Seigo Nonaka | b878ff2 | 2018-12-21 15:32:33 -0800 | [diff] [blame] | 162 | "src/hb-ot-cff1-table.cc", |
| 163 | "src/hb-ot-cff2-table.cc", |
Seigo Nonaka | 2b1d6e2 | 2022-12-20 10:36:29 +0900 | [diff] [blame] | 164 | "src/hb-ot-color.cc", |
Seigo Nonaka | 6361ed0 | 2018-10-25 16:35:42 -0700 | [diff] [blame] | 165 | "src/hb-ot-face.cc", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 166 | "src/hb-ot-font.cc", |
| 167 | "src/hb-ot-layout.cc", |
| 168 | "src/hb-ot-map.cc", |
Jungshik Shin | ff95bda | 2017-01-26 12:39:49 -0800 | [diff] [blame] | 169 | "src/hb-ot-math.cc", |
Seigo Nonaka | 2b1d6e2 | 2022-12-20 10:36:29 +0900 | [diff] [blame] | 170 | "src/hb-ot-meta.cc", |
Hal Canary | 0741016 | 2019-11-11 13:56:23 -0500 | [diff] [blame] | 171 | "src/hb-ot-metrics.cc", |
Seigo Nonaka | 7337ccb | 2021-01-13 14:23:43 -0800 | [diff] [blame] | 172 | "src/hb-ot-name.cc", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 173 | "src/hb-ot-shape-fallback.cc", |
Seigo Nonaka | b878ff2 | 2018-12-21 15:32:33 -0800 | [diff] [blame] | 174 | "src/hb-ot-shape-normalize.cc", |
| 175 | "src/hb-ot-shape.cc", |
Seigo Nonaka | 2b1d6e2 | 2022-12-20 10:36:29 +0900 | [diff] [blame] | 176 | "src/hb-ot-shaper-arabic.cc", |
| 177 | "src/hb-ot-shaper-default.cc", |
| 178 | "src/hb-ot-shaper-hangul.cc", |
| 179 | "src/hb-ot-shaper-hebrew.cc", |
| 180 | "src/hb-ot-shaper-indic-table.cc", |
| 181 | "src/hb-ot-shaper-indic.cc", |
| 182 | "src/hb-ot-shaper-khmer.cc", |
| 183 | "src/hb-ot-shaper-myanmar.cc", |
| 184 | "src/hb-ot-shaper-syllabic.cc", |
| 185 | "src/hb-ot-shaper-thai.cc", |
| 186 | "src/hb-ot-shaper-use.cc", |
| 187 | "src/hb-ot-shaper-vowel-constraints.cc", |
Seigo Nonaka | b878ff2 | 2018-12-21 15:32:33 -0800 | [diff] [blame] | 188 | "src/hb-ot-tag.cc", |
Jungshik Shin | ff95bda | 2017-01-26 12:39:49 -0800 | [diff] [blame] | 189 | "src/hb-ot-var.cc", |
Seigo Nonaka | e3320e0 | 2023-05-29 16:16:05 +0900 | [diff] [blame] | 190 | "src/hb-outline.cc", |
| 191 | "src/hb-paint-extents.cc", |
| 192 | "src/hb-paint.cc", |
Seigo Nonaka | b878ff2 | 2018-12-21 15:32:33 -0800 | [diff] [blame] | 193 | "src/hb-set.cc", |
| 194 | "src/hb-shape-plan.cc", |
| 195 | "src/hb-shape.cc", |
| 196 | "src/hb-shaper.cc", |
| 197 | "src/hb-static.cc", |
Seigo Nonaka | 2b1d6e2 | 2022-12-20 10:36:29 +0900 | [diff] [blame] | 198 | "src/hb-style.cc", |
Seigo Nonaka | 2b1d6e2 | 2022-12-20 10:36:29 +0900 | [diff] [blame] | 199 | "src/hb-ucd.cc", |
| 200 | "src/hb-unicode.cc", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 201 | ], |
| 202 | |
Jerome Gaillard | d725ce1 | 2018-07-10 16:07:32 +0100 | [diff] [blame] | 203 | target: { |
| 204 | android: { |
| 205 | shared_libs: [ |
Jerome Gaillard | 8c46d58 | 2019-01-16 14:07:28 +0000 | [diff] [blame] | 206 | "libcutils", |
Jerome Gaillard | d725ce1 | 2018-07-10 16:07:32 +0100 | [diff] [blame] | 207 | "libutils", |
| 208 | ], |
| 209 | }, |
| 210 | host: { |
| 211 | static_libs: [ |
Jerome Gaillard | 8c46d58 | 2019-01-16 14:07:28 +0000 | [diff] [blame] | 212 | "libcutils", |
Jerome Gaillard | d725ce1 | 2018-07-10 16:07:32 +0100 | [diff] [blame] | 213 | "libutils", |
| 214 | ], |
| 215 | }, |
Jerome Gaillard | 8c46d58 | 2019-01-16 14:07:28 +0000 | [diff] [blame] | 216 | windows: { |
| 217 | enabled: true, |
| 218 | }, |
Jerome Gaillard | d725ce1 | 2018-07-10 16:07:32 +0100 | [diff] [blame] | 219 | }, |
| 220 | |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 221 | shared_libs: [ |
Victor Chang | 698f5bb | 2020-11-23 19:24:43 +0000 | [diff] [blame] | 222 | "libicu", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 223 | "liblog", |
| 224 | ], |
| 225 | |
| 226 | export_include_dirs: ["src"], |
| 227 | cflags: [ |
Seigo Nonaka | 7bc88b1 | 2021-11-11 15:59:55 -0800 | [diff] [blame] | 228 | "-DHAVE_PTHREAD", |
Yi Kong | 9270e0a | 2021-09-01 00:57:23 +0800 | [diff] [blame] | 229 | "-DHB_NO_PRAGMA_GCC_DIAGNOSTIC", |
Colin Cross | 48e772f | 2016-12-02 15:03:22 -0800 | [diff] [blame] | 230 | "-DHAVE_OT", |
| 231 | "-DHAVE_ICU", |
| 232 | "-DHAVE_ICU_BUILTIN", |
| 233 | "-Werror", |
| 234 | "-Wno-unused-parameter", |
| 235 | "-Wno-missing-field-initializers", |
| 236 | ], |
| 237 | } |
Seigo Nonaka | 246cc29 | 2022-12-16 00:56:26 +0900 | [diff] [blame] | 238 | |
| 239 | ///////////////////////////////////////////////////////////////////// |
| 240 | // Following filegroups and licences are ones not used in Android. |
| 241 | ///////////////////////////////////////////////////////////////////// |
| 242 | |
| 243 | license { |
| 244 | name: "external_harfbuzz_license.unused.GPLv3", |
| 245 | visibility: ["//visibility:private"], |
| 246 | license_kinds: [ |
| 247 | "SPDX-license-identifier-GPL-3.0-with-autoconf-exception", |
| 248 | ], |
| 249 | license_text: [ |
| 250 | "LICENSE_GPLv3_WITH_AUTOCONF_EXCEPTION.TXT", |
| 251 | ], |
| 252 | } |
| 253 | |
| 254 | filegroup { |
| 255 | name: "external_harfbuzz.unused.GPLv3", |
| 256 | visibility: ["//visibility:private"], |
| 257 | licenses: ["external_harfbuzz_license.unused.GPLv3"], |
| 258 | srcs: [ |
| 259 | "m4/ax_check_link_flag.m4", |
| 260 | "m4/ax_pthread.m4", |
| 261 | ], |
| 262 | } |
| 263 | |
| 264 | license { |
Seigo Nonaka | 2b1d6e2 | 2022-12-20 10:36:29 +0900 | [diff] [blame] | 265 | name: "external_harfbuzz_license.unused.GPLv2", |
| 266 | visibility: ["//visibility:private"], |
| 267 | license_kinds: [ |
| 268 | "SPDX-license-identifier-GPL-2.0", |
| 269 | ], |
| 270 | license_text: [ |
| 271 | "LICENSE_GPLv2.TXT", |
| 272 | ], |
| 273 | } |
| 274 | |
| 275 | filegroup { |
| 276 | name: "external_harfbuzz.unused.GPLv2", |
| 277 | visibility: ["//visibility:private"], |
| 278 | licenses: ["external_harfbuzz_license.unused.GPLv2"], |
| 279 | srcs: [ |
| 280 | "test/shape/data/in-house/fonts/b895f8ff06493cc893ec44de380690ca0074edfa.ttf" |
| 281 | ], |
| 282 | } |
| 283 | |
| 284 | license { |
Seigo Nonaka | 246cc29 | 2022-12-16 00:56:26 +0900 | [diff] [blame] | 285 | name: "external_harfbuzz_license.unused.LGPL", |
| 286 | visibility: ["//visibility:private"], |
| 287 | license_kinds: [ |
| 288 | "SPDX-license-identifier-LGPL-2.1", |
| 289 | ], |
| 290 | license_text: [ |
| 291 | "LICENSE_GPLv2_WITH_AUTOCONF_EXCEPTION.TXT", |
| 292 | ], |
| 293 | } |
| 294 | |
| 295 | filegroup { |
| 296 | name: "external_harfbuzz.unused.LGPL", |
| 297 | visibility: ["//visibility:private"], |
| 298 | licenses: ["external_harfbuzz_license.unused.LGPL"], |
| 299 | srcs: ["m4/ax_code_coverage.m4"], |
| 300 | } |
| 301 | |
| 302 | license { |
| 303 | name: "external_harfbuzz_license.unused.MIT", |
| 304 | visibility: ["//visibility:private"], |
| 305 | license_kinds: [ |
| 306 | "SPDX-license-identifier-MIT", |
| 307 | ], |
| 308 | license_text: [ |
| 309 | "src/ms-use/COPYING", |
| 310 | ], |
| 311 | } |
| 312 | |
| 313 | filegroup { |
| 314 | name: "external_harfbuzz.unused.MIT", |
| 315 | visibility: ["//visibility:private"], |
| 316 | licenses: ["external_harfbuzz_license.unused.MIT"], |
| 317 | srcs: [ |
| 318 | "src/ms-use/*", |
| 319 | ], |
| 320 | } |
| 321 | |
| 322 | license { |
| 323 | name: "external_harfbuzz_license.unused.FSFAP", |
| 324 | visibility: ["//visibility:private"], |
| 325 | license_kinds: [ |
| 326 | "SPDX-license-identifier-FSFAP", |
| 327 | ], |
| 328 | license_text: [ |
| 329 | "LICENSE_FSFAP.TXT", |
| 330 | ], |
| 331 | } |
| 332 | |
| 333 | filegroup { |
| 334 | name: "external_harfbuzz.unused.FSFAP", |
| 335 | visibility: ["//visibility:private"], |
| 336 | licenses: ["external_harfbuzz_license.unused.FSFAP"], |
| 337 | srcs: [ |
| 338 | "git.mk", |
| 339 | "m4/ax_cxx_compile_stdcxx.m4", |
| 340 | ], |
| 341 | } |
| 342 | |
| 343 | license { |
| 344 | name: "external_harfbuzz_license.unused.HPND-sell-variant", |
| 345 | visibility: ["//visibility:private"], |
| 346 | license_kinds: [ |
| 347 | // "SPDX-license-identifier-HPND-sell-variant", |
| 348 | ], |
| 349 | license_text: [ |
| 350 | "LICENSE_HPND_SELL_VARIANT.TXT" |
| 351 | ], |
| 352 | } |
| 353 | |
| 354 | filegroup { |
| 355 | name: "external_harfbuzz.unused.HPND-sell-variant", |
| 356 | visibility: ["//visibility:private"], |
| 357 | licenses: ["external_harfbuzz_license.unused.HPND-sell-variant"], |
| 358 | srcs: [ |
| 359 | "util/hb-fc-list.c", |
| 360 | ], |
| 361 | } |
| 362 | |
| 363 | license { |
| 364 | name: "external_harfbuzz_license.unused.Apache-2.0", |
| 365 | visibility: ["//visibility:private"], |
| 366 | license_kinds: [ |
| 367 | "SPDX-license-identifier-Apache-2.0", |
| 368 | ], |
| 369 | license_text: [ |
| 370 | "LICENSE_APACHE2.TXT", |
| 371 | ], |
| 372 | } |
| 373 | |
| 374 | filegroup { |
| 375 | name: "external_harfbuzz.unused.Apache-2.0", |
| 376 | visibility: ["//visibility:private"], |
| 377 | licenses: ["external_harfbuzz_license.unused.Apache-2.0"], |
| 378 | srcs: [ |
| 379 | "perf/fonts/Roboto-Regular.ttf" |
| 380 | ], |
| 381 | } |
| 382 | |
| 383 | license { |
| 384 | name: "external_harfbuzz_license.unused.OFL", |
| 385 | visibility: ["//visibility:private"], |
| 386 | license_kinds: [ |
| 387 | "SPDX-license-identifier-OFL", |
| 388 | ], |
| 389 | license_text: [ |
| 390 | "LICENSE_OFL.TXT", |
| 391 | ], |
| 392 | } |
| 393 | |
| 394 | filegroup { |
| 395 | name: "external_harfbuzz.unused.OFL", |
| 396 | visibility: ["//visibility:private"], |
| 397 | licenses: ["external_harfbuzz_license.unused.OFL"], |
| 398 | srcs: [ |
| 399 | "perf/fonts/Amiri-Regular.ttf", |
| 400 | "perf/fonts/NotoNastaliqUrdu-Regular.ttf", |
Seigo Nonaka | 246cc29 | 2022-12-16 00:56:26 +0900 | [diff] [blame] | 401 | ], |
| 402 | } |
| 403 | |
| 404 | license { |
| 405 | name: "external_harfbuzz_license.unused.tests", |
| 406 | visibility: ["//visibility:private"], |
| 407 | license_kinds: [ |
| 408 | // "SPDX-license-Identifier-MIT-Modern-Variant", |
| 409 | "SPDX-license-identifier-Apache-2.0", |
| 410 | "SPDX-license-identifier-MIT", |
| 411 | "SPDX-license-identifier-OFL", // by exception only |
| 412 | // Lots of font files used in tests directories are lack of license descriptions. |
| 413 | // The license of fuzzing payload is unknown. |
| 414 | "legacy_unencumbered", |
| 415 | ], |
| 416 | license_text: [ |
| 417 | "LICENSE_OFL.TXT", |
| 418 | "LICENSE_APACHE2.TXT", |
| 419 | "LICENSE_MIT_MODERN_VARIANT.TXT", |
| 420 | "src/ms-use/COPYING", // For MIT license |
| 421 | ], |
| 422 | } |
| 423 | |
| 424 | filegroup { |
| 425 | name: "external_harfbuzz.unused.tests", |
| 426 | visibility: ["//visibility:private"], |
| 427 | licenses: ["external_harfbuzz_license.unused.tests"], |
| 428 | srcs: [ "test/**/*" ], |
| 429 | path: "test" |
| 430 | } |
| 431 | |