1// 2// Copyright (C) 2020 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 16package { 17 default_visibility: ["//visibility:public"], 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21filegroup { 22 name: "Apache-2.0-License-Text", 23 srcs: ["LICENSE"], 24} 25 26license { 27 name: "Android-Apache-2.0", 28 package_name: "Android", 29 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 30 copyright_notice: "Copyright (C) The Android Open Source Project", 31 license_text: ["LICENSE"], 32} 33 34license_kind { 35 name: "BSD-Binary-Only", 36 conditions: [ 37 "notice", 38 "by_exception_only", 39 "proprietary", 40 ], 41} 42 43// Deprecated. All users of the following license should be changed to 44// BSD-Binary-Only and it should be removed. 45license_kind { 46 name: "BSD-Like-Binary-Only", 47 conditions: [ 48 "notice", 49 "by_exception_only", 50 "proprietary", 51 ], 52} 53 54license_kind { 55 name: "SPDX-license-identifier-0BSD", 56 conditions: ["permissive"], 57 url: "https://spdx.org/licenses/0BSD", 58} 59 60license_kind { 61 name: "SPDX-license-identifier-AFL-1.1", 62 conditions: ["by_exception_only"], 63 url: "https://spdx.org/licenses/AFL-1.1.html", 64} 65 66license_kind { 67 name: "SPDX-license-identifier-AFL-1.2", 68 conditions: ["by_exception_only"], 69 url: "https://spdx.org/licenses/AFL-1.2.html", 70} 71 72license_kind { 73 name: "SPDX-license-identifier-AFL-2.0", 74 conditions: ["by_exception_only"], 75 url: "https://spdx.org/licenses/AFL-2.0.html", 76} 77 78license_kind { 79 name: "SPDX-license-identifier-AFL-2.1", 80 conditions: ["notice"], 81 url: "https://spdx.org/licenses/AFL-2.1.html", 82} 83 84license_kind { 85 name: "SPDX-license-identifier-AFL-3.0", 86 conditions: ["notice"], 87 url: "https://spdx.org/licenses/AFL-3.0.html", 88} 89 90license_kind { 91 name: "SPDX-license-identifier-AGPL", 92 conditions: [ 93 "by_exception_only", 94 "not_allowed", 95 ], 96 url: "https://spdx.org/licenses/AGPL.html", 97} 98 99license_kind { 100 name: "SPDX-license-identifier-AGPL-1.0", 101 conditions: [ 102 "by_exception_only", 103 "not_allowed", 104 ], 105 url: "https://spdx.org/licenses/AGPL-1.0.html", 106} 107 108license_kind { 109 name: "SPDX-license-identifier-AGPL-1.0-only", 110 conditions: [ 111 "by_exception_only", 112 "not_allowed", 113 ], 114 url: "https://spdx.org/licenses/AGPL-1.0-only.html", 115} 116 117license_kind { 118 name: "SPDX-license-identifier-AGPL-1.0-or-later", 119 conditions: [ 120 "by_exception_only", 121 "not_allowed", 122 ], 123 url: "https://spdx.org/licenses/AGPL-1.0-or-later.html", 124} 125 126license_kind { 127 name: "SPDX-license-identifier-AGPL-3.0", 128 conditions: [ 129 "by_exception_only", 130 "not_allowed", 131 ], 132 url: "https://spdx.org/licenses/AGPL-3.0.html", 133} 134 135license_kind { 136 name: "SPDX-license-identifier-AGPL-3.0-only", 137 conditions: [ 138 "by_exception_only", 139 "not_allowed", 140 ], 141 url: "https://spdx.org/licenses/AGPL-3.0-only.html", 142} 143 144license_kind { 145 name: "SPDX-license-identifier-AGPL-3.0-or-later", 146 conditions: [ 147 "by_exception_only", 148 "not_allowed", 149 ], 150 url: "https://spdx.org/licenses/AGPL-3.0-or-later.html", 151} 152 153license_kind { 154 name: "SPDX-license-identifier-APSL-1.1", 155 conditions: [ 156 "reciprocal", 157 ], 158 url: "https://spdx.org/licenses/APSL-1.1.html", 159} 160 161license_kind { 162 name: "SPDX-license-identifier-APSL-2.0", 163 conditions: [ 164 "reciprocal", 165 ], 166 url: "https://spdx.org/licenses/APSL-2.0.html", 167} 168 169license_kind { 170 name: "SPDX-license-identifier-Apache", 171 conditions: ["notice"], 172} 173 174license_kind { 175 name: "SPDX-license-identifier-Apache-1.0", 176 conditions: ["notice"], 177 url: "https://spdx.org/licenses/Apache-1.0.html", 178} 179 180license_kind { 181 name: "SPDX-license-identifier-Apache-1.1", 182 conditions: ["notice"], 183 url: "https://spdx.org/licenses/Apache-1.1.html", 184} 185 186license_kind { 187 name: "SPDX-license-identifier-Apache-2.0", 188 conditions: ["notice"], 189 url: "https://spdx.org/licenses/Apache-2.0.html", 190} 191 192license_kind { 193 name: "SPDX-license-identifier-Artistic", 194 conditions: ["notice"], 195} 196 197license_kind { 198 name: "SPDX-license-identifier-Artistic-1.0", 199 conditions: ["notice"], 200 url: "https://spdx.org/licenses/Artistic-1.0.html", 201} 202 203license_kind { 204 name: "SPDX-license-identifier-Artistic-1.0-Perl", 205 conditions: ["notice"], 206 url: "https://spdx.org/licenses/Artistic-1.0-Perl.html", 207} 208 209license_kind { 210 name: "SPDX-license-identifier-Artistic-1.0-cl8", 211 conditions: ["notice"], 212 url: "https://spdx.org/licenses/Artistic-1.0-cl8.html", 213} 214 215license_kind { 216 name: "SPDX-license-identifier-Artistic-2.0", 217 conditions: ["notice"], 218 url: "https://spdx.org/licenses/Artistic-2.0.html", 219} 220 221license_kind { 222 name: "SPDX-license-identifier-BSD", 223 conditions: ["notice"], 224} 225 226license_kind { 227 name: "SPDX-license-identifier-BSD-1-Clause", 228 conditions: ["notice"], 229 url: "https://spdx.org/licenses/BSD-1-Clause.html", 230} 231 232license_kind { 233 name: "SPDX-license-identifier-BSD-2-Clause", 234 conditions: ["notice"], 235 url: "https://spdx.org/licenses/BSD-2-Clause.html", 236} 237 238license_kind { 239 name: "SPDX-license-identifier-BSD-2-Clause-FreeBSD", 240 conditions: ["notice"], 241 url: "https://spdx.org/licenses/BSD-2-Clause-FreeBSD.html", 242} 243 244license_kind { 245 name: "SPDX-license-identifier-BSD-2-Clause-NetBSD", 246 conditions: ["notice"], 247 url: "https://spdx.org/licenses/BSD-2-Clause-NetBSD.html", 248} 249 250license_kind { 251 name: "SPDX-license-identifier-BSD-2-Clause-Patent", 252 conditions: ["notice"], 253 url: "https://spdx.org/licenses/BSD-2-Clause-Patent.html", 254} 255 256license_kind { 257 name: "SPDX-license-identifier-BSD-3-Clause", 258 conditions: ["notice"], 259 url: "https://spdx.org/licenses/BSD-3-Clause.html", 260} 261 262license_kind { 263 name: "SPDX-license-identifier-BSD-3-Clause-Attribution", 264 conditions: ["notice"], 265 url: "https://spdx.org/licenses/BSD-3-Clause-Attribution.html", 266} 267 268license_kind { 269 name: "SPDX-license-identifier-BSD-3-Clause-Clear", 270 conditions: ["notice"], 271 url: "https://spdx.org/licenses/BSD-3-Clause-Clear.html", 272} 273 274license_kind { 275 name: "SPDX-license-identifier-BSD-3-Clause-LBNL", 276 conditions: ["notice"], 277 url: "https://spdx.org/licenses/BSD-3-Clause-LBNL.html", 278} 279 280license_kind { 281 name: "SPDX-license-identifier-BSD-3-Clause-No-Nuclear-License", 282 conditions: ["notice"], 283 url: "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License.html", 284} 285 286license_kind { 287 name: "SPDX-license-identifier-BSD-3-Clause-No-Nuclear-License-2014", 288 conditions: ["notice"], 289 url: "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-License-2014.html", 290} 291 292license_kind { 293 name: "SPDX-license-identifier-BSD-3-Clause-No-Nuclear-Warranty", 294 conditions: ["notice"], 295 url: "https://spdx.org/licenses/BSD-3-Clause-No-Nuclear-Warranty.html", 296} 297 298license_kind { 299 name: "SPDX-license-identifier-BSD-3-Clause-Open-MPI", 300 conditions: ["notice"], 301 url: "https://spdx.org/licenses/BSD-3-Clause-Open-MPI.html", 302} 303 304license_kind { 305 name: "SPDX-license-identifier-BSD-4-Clause", 306 conditions: ["notice"], 307 url: "https://spdx.org/licenses/BSD-4-Clause.html", 308} 309 310license_kind { 311 name: "SPDX-license-identifier-BSD-4-Clause-UC", 312 conditions: ["notice"], 313 url: "https://spdx.org/licenses/BSD-4-Clause-UC.html", 314} 315 316license_kind { 317 name: "SPDX-license-identifier-BSD-Protection", 318 conditions: ["notice"], 319 url: "https://spdx.org/licenses/BSD-Protection.html", 320} 321 322license_kind { 323 name: "SPDX-license-identifier-BSD-Source-Code", 324 conditions: ["notice"], 325 url: "https://spdx.org/licenses/BSD-Source-Code.html", 326} 327 328license_kind { 329 name: "SPDX-license-identifier-BSL-1.0", 330 conditions: ["notice"], 331 url: "https://spdx.org/licenses/BSL-1.0.html", 332} 333 334license_kind { 335 name: "SPDX-license-identifier-Beerware", 336 conditions: ["notice"], 337 url: "https://spdx.org/licenses/Beerware.html", 338} 339 340license_kind { 341 name: "SPDX-license-identifier-CC-BY", 342 conditions: ["notice"], 343} 344 345license_kind { 346 name: "SPDX-license-identifier-CC-BY-1.0", 347 conditions: ["notice"], 348 url: "https://spdx.org/licenses/CC-BY-1.0.html", 349} 350 351license_kind { 352 name: "SPDX-license-identifier-CC-BY-2.0", 353 conditions: ["notice"], 354 url: "https://spdx.org/licenses/CC-BY-2.0.html", 355} 356 357license_kind { 358 name: "SPDX-license-identifier-CC-BY-2.5", 359 conditions: ["notice"], 360 url: "https://spdx.org/licenses/CC-BY-2.5.html", 361} 362 363license_kind { 364 name: "SPDX-license-identifier-CC-BY-3.0", 365 conditions: ["notice"], 366 url: "https://spdx.org/licenses/CC-BY-3.0.html", 367} 368 369license_kind { 370 name: "SPDX-license-identifier-CC-BY-4.0", 371 conditions: ["notice"], 372 url: "https://spdx.org/licenses/CC-BY-4.0.html", 373} 374 375license_kind { 376 name: "SPDX-license-identifier-CC-BY-NC", 377 conditions: [ 378 "by_exception_only", 379 "not_allowed", 380 ], 381} 382 383license_kind { 384 name: "SPDX-license-identifier-CC-BY-NC-1.0", 385 conditions: [ 386 "by_exception_only", 387 "not_allowed", 388 ], 389 url: "https://spdx.org/licenses/CC-BY-NC-1.0.html", 390} 391 392license_kind { 393 name: "SPDX-license-identifier-CC-BY-NC-2.0", 394 conditions: [ 395 "by_exception_only", 396 "not_allowed", 397 ], 398 url: "https://spdx.org/licenses/CC-BY-NC-2.0.html", 399} 400 401license_kind { 402 name: "SPDX-license-identifier-CC-BY-NC-2.5", 403 conditions: [ 404 "by_exception_only", 405 "not_allowed", 406 ], 407 url: "https://spdx.org/licenses/CC-BY-NC-2.5.html", 408} 409 410license_kind { 411 name: "SPDX-license-identifier-CC-BY-NC-3.0", 412 conditions: [ 413 "by_exception_only", 414 "not_allowed", 415 ], 416 url: "https://spdx.org/licenses/CC-BY-NC-3.0.html", 417} 418 419license_kind { 420 name: "SPDX-license-identifier-CC-BY-NC-4.0", 421 conditions: [ 422 "by_exception_only", 423 "not_allowed", 424 ], 425 url: "https://spdx.org/licenses/CC-BY-NC-4.0.html", 426} 427 428license_kind { 429 name: "SPDX-license-identifier-CC-BY-NC-ND-1.0", 430 conditions: [ 431 "by_exception_only", 432 "not_allowed", 433 ], 434 url: "https://spdx.org/licenses/CC-BY-NC-ND-1.0.html", 435} 436 437license_kind { 438 name: "SPDX-license-identifier-CC-BY-NC-ND-2.0", 439 conditions: [ 440 "by_exception_only", 441 "not_allowed", 442 ], 443 url: "https://spdx.org/licenses/CC-BY-NC-ND-2.0.html", 444} 445 446license_kind { 447 name: "SPDX-license-identifier-CC-BY-NC-ND-2.5", 448 conditions: [ 449 "by_exception_only", 450 "not_allowed", 451 ], 452 url: "https://spdx.org/licenses/CC-BY-NC-ND-2.5.html", 453} 454 455license_kind { 456 name: "SPDX-license-identifier-CC-BY-NC-ND-3.0", 457 conditions: [ 458 "by_exception_only", 459 "not_allowed", 460 ], 461 url: "https://spdx.org/licenses/CC-BY-NC-ND-3.0.html", 462} 463 464license_kind { 465 name: "SPDX-license-identifier-CC-BY-NC-ND-4.0", 466 conditions: [ 467 "by_exception_only", 468 "not_allowed", 469 ], 470 url: "https://spdx.org/licenses/CC-BY-NC-ND-4.0.html", 471} 472 473license_kind { 474 name: "SPDX-license-identifier-CC-BY-NC-SA-1.0", 475 conditions: [ 476 "by_exception_only", 477 "not_allowed", 478 ], 479 url: "https://spdx.org/licenses/CC-BY-NC-SA-1.0.html", 480} 481 482license_kind { 483 name: "SPDX-license-identifier-CC-BY-NC-SA-2.0", 484 conditions: [ 485 "by_exception_only", 486 "not_allowed", 487 ], 488 url: "https://spdx.org/licenses/CC-BY-NC-SA-2.0.html", 489} 490 491license_kind { 492 name: "SPDX-license-identifier-CC-BY-NC-SA-2.5", 493 conditions: [ 494 "by_exception_only", 495 "not_allowed", 496 ], 497 url: "https://spdx.org/licenses/CC-BY-NC-SA-2.5.html", 498} 499 500license_kind { 501 name: "SPDX-license-identifier-CC-BY-NC-SA-3.0", 502 conditions: [ 503 "by_exception_only", 504 "not_allowed", 505 ], 506 url: "https://spdx.org/licenses/CC-BY-NC-SA-3.0.html", 507} 508 509license_kind { 510 name: "SPDX-license-identifier-CC-BY-NC-SA-4.0", 511 conditions: [ 512 "by_exception_only", 513 "not_allowed", 514 ], 515 url: "https://spdx.org/licenses/CC-BY-NC-SA-4.0.html", 516} 517 518license_kind { 519 name: "SPDX-license-identifier-CC-BY-ND", 520 conditions: ["by_exception_only"], 521} 522 523license_kind { 524 name: "SPDX-license-identifier-CC-BY-ND-1.0", 525 conditions: ["by_exception_only"], 526 url: "https://spdx.org/licenses/CC-BY-ND-1.0.html", 527} 528 529license_kind { 530 name: "SPDX-license-identifier-CC-BY-ND-2.0", 531 conditions: ["by_exception_only"], 532 url: "https://spdx.org/licenses/CC-BY-ND-2.0.html", 533} 534 535license_kind { 536 name: "SPDX-license-identifier-CC-BY-ND-2.5", 537 conditions: ["by_exception_only"], 538 url: "https://spdx.org/licenses/CC-BY-ND-2.5.html", 539} 540 541license_kind { 542 name: "SPDX-license-identifier-CC-BY-ND-3.0", 543 conditions: ["by_exception_only"], 544 url: "https://spdx.org/licenses/CC-BY-ND-3.0.html", 545} 546 547license_kind { 548 name: "SPDX-license-identifier-CC-BY-ND-4.0", 549 conditions: ["by_exception_only"], 550 url: "https://spdx.org/licenses/CC-BY-ND-4.0.html", 551} 552 553license_kind { 554 name: "SPDX-license-identifier-CC-BY-SA", 555 conditions: ["restricted"], 556} 557 558license_kind { 559 name: "SPDX-license-identifier-CC-BY-SA-1.0", 560 conditions: ["restricted"], 561 url: "https://spdx.org/licenses/CC-BY-SA-1.0.html", 562} 563 564license_kind { 565 name: "SPDX-license-identifier-CC-BY-SA-2.0", 566 conditions: ["restricted"], 567 url: "https://spdx.org/licenses/CC-BY-SA-2.0.html", 568} 569 570license_kind { 571 name: "SPDX-license-identifier-CC-BY-SA-2.5", 572 conditions: ["restricted"], 573 url: "https://spdx.org/licenses/CC-BY-SA-2.5.html", 574} 575 576license_kind { 577 name: "SPDX-license-identifier-CC-BY-SA-3.0", 578 conditions: ["restricted"], 579 url: "https://spdx.org/licenses/CC-BY-SA-3.0.html", 580} 581 582license_kind { 583 name: "SPDX-license-identifier-CC-BY-SA-4.0", 584 conditions: ["restricted"], 585 url: "https://spdx.org/licenses/CC-BY-SA-4.0.html", 586} 587 588license_kind { 589 name: "SPDX-license-identifier-CC-BY-SA-ND", 590 conditions: [ 591 "restricted", 592 "by_exception_only", 593 ], 594} 595 596license_kind { 597 name: "SPDX-license-identifier-CC0-1.0", 598 conditions: ["unencumbered"], 599 url: "https://spdx.org/licenses/CC0-1.0.html", 600} 601 602license_kind { 603 name: "SPDX-license-identifier-CDDL", 604 conditions: ["reciprocal"], 605} 606 607license_kind { 608 name: "SPDX-license-identifier-CDDL-1.0", 609 conditions: ["reciprocal"], 610 url: "https://spdx.org/licenses/CDLL-1.0.html", 611} 612 613license_kind { 614 name: "SPDX-license-identifier-CDDL-1.1", 615 conditions: ["reciprocal"], 616 url: "https://spdx.org/licenses/CDLL-1.1.html", 617} 618 619license_kind { 620 name: "SPDX-license-identifier-CPAL-1.0", 621 conditions: [ 622 "by_exception_only", 623 "not_allowed", 624 ], 625 url: "https://spdx.org/licenses/CPAL-1.0.html", 626} 627 628license_kind { 629 name: "SPDX-license-identifier-CPL-1.0", 630 conditions: ["reciprocal"], 631 url: "https://spdx.org/licenses/CPL-1.0.html", 632} 633 634license_kind { 635 name: "SPDX-license-identifier-EPL", 636 conditions: ["reciprocal"], 637} 638 639license_kind { 640 name: "SPDX-license-identifier-EPL-1.0", 641 conditions: ["reciprocal"], 642 url: "https://spdx.org/licenses/EPL-1.0.html", 643} 644 645license_kind { 646 name: "SPDX-license-identifier-EPL-2.0", 647 conditions: ["reciprocal"], 648 url: "https://spdx.org/licenses/EPL-2.0.html", 649} 650 651license_kind { 652 name: "SPDX-license-identifier-EUPL", 653 conditions: [ 654 "by_exception_only", 655 "not_allowed", 656 ], 657} 658 659license_kind { 660 name: "SPDX-license-identifier-EUPL-1.0", 661 conditions: [ 662 "by_exception_only", 663 "not_allowed", 664 ], 665 url: "https://spdx.org/licenses/EUPL-1.0.html", 666} 667 668license_kind { 669 name: "SPDX-license-identifier-EUPL-1.1", 670 conditions: [ 671 "by_exception_only", 672 "not_allowed", 673 ], 674 url: "https://spdx.org/licenses/EUPL-1.0.html", 675} 676 677license_kind { 678 name: "SPDX-license-identifier-EUPL-1.2", 679 conditions: [ 680 "by_exception_only", 681 "not_allowed", 682 ], 683 url: "https://spdx.org/licenses/EUPL-1.0.html", 684} 685 686license_kind { 687 name: "SPDX-license-identifier-FSFAP", 688 conditions: ["notice"], 689 url: "https://spdx.org/licenses/FSFAP", 690} 691 692license_kind { 693 name: "SPDX-license-identifier-FTL", 694 conditions: ["notice"], 695 url: "https://spdx.org/licenses/FTL.html", 696} 697 698license_kind { 699 name: "SPDX-license-identifier-GFDL", 700 conditions: ["by_exception_only"], 701} 702 703license_kind { 704 name: "SPDX-license-identifier-GPL", 705 conditions: ["restricted"], 706} 707 708license_kind { 709 name: "SPDX-license-identifier-GPL-1.0", 710 conditions: ["restricted"], 711 url: "https://spdx.org/licenses/GPL-1.0.html", 712} 713 714license_kind { 715 name: "SPDX-license-identifier-GPL-1.0+", 716 conditions: ["restricted"], 717 url: "https://spdx.org/licenses/GPL-1.0+.html", 718} 719 720license_kind { 721 name: "SPDX-license-identifier-GPL-1.0-only", 722 conditions: ["restricted"], 723 url: "https://spdx.org/licenses/GPL-1.0-only.html", 724} 725 726license_kind { 727 name: "SPDX-license-identifier-GPL-1.0-or-later", 728 conditions: ["restricted"], 729 url: "https://spdx.org/licenses/GPL-1.0-or-later.html", 730} 731 732license_kind { 733 name: "SPDX-license-identifier-GPL-2.0", 734 conditions: ["restricted"], 735 url: "https://spdx.org/licenses/GPL-2.0.html", 736} 737 738license_kind { 739 name: "SPDX-license-identifier-GPL-2.0+", 740 conditions: ["restricted"], 741 url: "https://spdx.org/licenses/GPL-2.0+.html", 742} 743 744license_kind { 745 name: "SPDX-license-identifier-GPL-2.0-only", 746 conditions: ["restricted"], 747 url: "https://spdx.org/licenses/GPL-2.0-only.html", 748} 749 750license_kind { 751 name: "SPDX-license-identifier-GPL-2.0-or-later", 752 conditions: ["restricted"], 753 url: "https://spdx.org/licenses/GPL-2.0-or-later.html", 754} 755 756license_kind { 757 name: "SPDX-license-identifier-GPL-2.0-with-GCC-exception", 758 conditions: ["restricted"], 759 url: "https://spdx.org/licenses/GPL-2.0-with-GCC-exception.html", 760} 761 762license_kind { 763 name: "SPDX-license-identifier-GPL-2.0-with-autoconf-exception", 764 conditions: ["restricted"], 765 url: "https://spdx.org/licenses/GPL-2.0-with-autoconf-exception.html", 766} 767 768license_kind { 769 name: "SPDX-license-identifier-GPL-2.0-with-bison-exception", 770 conditions: ["restricted"], 771 url: "https://spdx.org/licenses/GPL-2.0-with-bison-exception.html", 772} 773 774license_kind { 775 name: "SPDX-license-identifier-GPL-2.0-with-classpath-exception", 776 conditions: ["permissive"], 777 url: "https://spdx.org/licenses/GPL-2.0-with-classpath-exception.html", 778} 779 780license_kind { 781 name: "SPDX-license-identifier-GPL-2.0-with-font-exception", 782 conditions: ["restricted"], 783 url: "https://spdx.org/licenses/GPL-2.0-with-font-exception.html", 784} 785 786license_kind { 787 name: "SPDX-license-identifier-GPL-3.0", 788 conditions: ["restricted"], 789 url: "https://spdx.org/licenses/GPL-3.0.html", 790} 791 792license_kind { 793 name: "SPDX-license-identifier-GPL-3.0+", 794 conditions: ["restricted"], 795 url: "https://spdx.org/licenses/GPL-3.0+.html", 796} 797 798license_kind { 799 name: "SPDX-license-identifier-GPL-3.0-only", 800 conditions: ["restricted"], 801 url: "https://spdx.org/licenses/GPL-3.0-only.html", 802} 803 804license_kind { 805 name: "SPDX-license-identifier-GPL-3.0-or-later", 806 conditions: ["restricted"], 807 url: "https://spdx.org/licenses/GPL-3.0-or-later.html", 808} 809 810license_kind { 811 name: "SPDX-license-identifier-GPL-3.0-with-GCC-exception", 812 conditions: ["restricted"], 813 url: "https://spdx.org/licenses/GPL-3.0-with-GCC-exception.html", 814} 815 816license_kind { 817 name: "SPDX-license-identifier-GPL-3.0-with-autoconf-exception", 818 conditions: ["restricted"], 819 url: "https://spdx.org/licenses/GPL-3.0-with-autoconf-exception.html", 820} 821 822license_kind { 823 name: "SPDX-license-identifier-GPL-with-classpath-exception", 824 conditions: ["permissive"], 825} 826 827license_kind { 828 name: "SPDX-license-identifier-HPND", 829 conditions: ["notice"], 830 url: "https://spdx.org/licenses/HPND.html", 831} 832 833license_kind { 834 name: "SPDX-license-identifier-ICU", 835 conditions: ["notice"], 836 url: "https://spdx.org/licenses/ICU.html", 837} 838 839license_kind { 840 name: "SPDX-license-identifier-ISC", 841 conditions: ["notice"], 842 url: "https://spdx.org/licenses/ISC.html", 843} 844 845license_kind { 846 name: "SPDX-license-identifier-JSON", 847 conditions: ["notice"], 848 url: "https://spdx.org/licenses/JSON.html", 849} 850 851license_kind { 852 name: "SPDX-license-identifier-LGPL", 853 conditions: ["restricted_if_statically_linked"], 854} 855 856license_kind { 857 name: "SPDX-license-identifier-LGPL-2.0", 858 conditions: ["restricted_if_statically_linked"], 859 url: "https://spdx.org/licenses/LGPL-2.0.html", 860} 861 862license_kind { 863 name: "SPDX-license-identifier-LGPL-2.0+", 864 conditions: ["restricted_if_statically_linked"], 865 url: "https://spdx.org/licenses/LGPL-2.0+.html", 866} 867 868license_kind { 869 name: "SPDX-license-identifier-LGPL-2.0-only", 870 conditions: ["restricted_if_statically_linked"], 871 url: "https://spdx.org/licenses/LGPL-2.0-only.html", 872} 873 874license_kind { 875 name: "SPDX-license-identifier-LGPL-2.0-or-later", 876 conditions: ["restricted_if_statically_linked"], 877 url: "https://spdx.org/licenses/LGPL-2.0-or-later.html", 878} 879 880license_kind { 881 name: "SPDX-license-identifier-LGPL-2.1", 882 conditions: ["restricted_if_statically_linked"], 883 url: "https://spdx.org/licenses/LGPL-2.1.html", 884} 885 886license_kind { 887 name: "SPDX-license-identifier-LGPL-2.1+", 888 conditions: ["restricted_if_statically_linked"], 889 url: "https://spdx.org/licenses/LGPL-2.1+.html", 890} 891 892license_kind { 893 name: "SPDX-license-identifier-LGPL-2.1-only", 894 conditions: ["restricted_if_statically_linked"], 895 url: "https://spdx.org/licenses/LGPL-2.1-only.html", 896} 897 898license_kind { 899 name: "SPDX-license-identifier-LGPL-2.1-or-later", 900 conditions: ["restricted_if_statically_linked"], 901 url: "https://spdx.org/licenses/LGPL-2.1-or-later.html", 902} 903 904license_kind { 905 name: "SPDX-license-identifier-LGPL-3.0", 906 conditions: ["restricted_if_statically_linked"], 907 url: "https://spdx.org/licenses/LGPL-3.0.html", 908} 909 910license_kind { 911 name: "SPDX-license-identifier-LGPL-3.0+", 912 conditions: ["restricted_if_statically_linked"], 913 url: "https://spdx.org/licenses/LGPL-3.0+.html", 914} 915 916license_kind { 917 name: "SPDX-license-identifier-LGPL-3.0-only", 918 conditions: ["restricted_if_statically_linked"], 919 url: "https://spdx.org/licenses/LGPL-3.0-only.html", 920} 921 922license_kind { 923 name: "SPDX-license-identifier-LGPL-3.0-or-later", 924 conditions: ["restricted_if_statically_linked"], 925 url: "https://spdx.org/licenses/LGPL-3.0-or-later.html", 926} 927 928license_kind { 929 name: "SPDX-license-identifier-LGPLLR", 930 conditions: ["restricted_if_statically_linked"], 931 url: "https://spdx.org/licenses/LGPLLR.html", 932} 933 934license_kind { 935 name: "SPDX-license-identifier-Linux-syscall-note", 936 // expanding visibility requires approval from an OSPO lawyer or pcounsel 937 visibility: [ 938 "//external/libbpf:__subpackages__", 939 "//prebuilts/vsdk:__subpackages__", 940 ], 941 conditions: ["permissive"], 942 url: "https://spdx.org/licenses/Linux-syscall-note.html", 943} 944 945license_kind { 946 name: "SPDX-license-identifier-LPL-1.02", 947 conditions: ["notice"], 948 url: "https://spdx.org/licenses/LPL-1.02.html", 949} 950 951license_kind { 952 name: "SPDX-license-identifier-MIT", 953 conditions: ["notice"], 954} 955 956license_kind { 957 name: "SPDX-license-identifier-MIT-0", 958 conditions: ["permissive"], 959 url: "https://spdx.org/licenses/MIT-0.html", 960} 961 962license_kind { 963 name: "SPDX-license-identifier-MIT-CMU", 964 conditions: ["notice"], 965 url: "https://spdx.org/licenses/MIT-CMU.html", 966} 967 968license_kind { 969 name: "SPDX-license-identifier-MIT-advertising", 970 conditions: ["notice"], 971 url: "https://spdx.org/licenses/MIT-advertising.html", 972} 973 974license_kind { 975 name: "SPDX-license-identifier-MIT-enna", 976 conditions: ["notice"], 977 url: "https://spdx.org/licenses/MIT-enna.html", 978} 979 980license_kind { 981 name: "SPDX-license-identifier-MIT-feh", 982 conditions: ["notice"], 983 url: "https://spdx.org/licenses/MIT-feh.html", 984} 985 986license_kind { 987 name: "SPDX-license-identifier-MITNFA", 988 conditions: ["notice"], 989 url: "https://spdx.org/licenses/MITNFA.html", 990} 991 992license_kind { 993 name: "SPDX-license-identifier-MPL", 994 conditions: ["reciprocal"], 995} 996 997license_kind { 998 name: "SPDX-license-identifier-MPL-1.0", 999 conditions: ["reciprocal"], 1000 url: "https://spdx.org/licenses/MPL-1.0.html", 1001} 1002 1003license_kind { 1004 name: "SPDX-license-identifier-MPL-1.1", 1005 conditions: ["reciprocal"], 1006 url: "https://spdx.org/licenses/MPL-1.1.html", 1007} 1008 1009license_kind { 1010 name: "SPDX-license-identifier-MPL-2.0", 1011 conditions: ["reciprocal"], 1012 url: "https://spdx.org/licenses/MPL-2.0.html", 1013} 1014 1015license_kind { 1016 name: "SPDX-license-identifier-MPL-2.0-no-copyleft-exception", 1017 conditions: ["reciprocal"], 1018 url: "https://spdx.org/licenses/MPL-2.0-no-copyleft-exception.html", 1019} 1020 1021license_kind { 1022 name: "SPDX-license-identifier-MS-PL", 1023 conditions: ["notice"], 1024 url: "https://spdx.org/licenses/MS-PL.html", 1025} 1026 1027license_kind { 1028 name: "SPDX-license-identifier-MS-RL", 1029 conditions: ["by_exception_only"], 1030 url: "https://spdx.org/licenses/MS-RL.html", 1031} 1032 1033license_kind { 1034 name: "SPDX-license-identifier-NCSA", 1035 conditions: ["notice"], 1036 url: "https://spdx.org/licenses/NCSA.html", 1037} 1038 1039license_kind { 1040 name: "SPDX-license-identifier-OFL", 1041 conditions: ["notice"], 1042} 1043 1044license_kind { 1045 name: "SPDX-license-identifier-OFL-1.0", 1046 conditions: ["notice"], 1047 url: "https://spdx.org/licenses/OFL-1.0.html", 1048} 1049 1050license_kind { 1051 name: "SPDX-license-identifier-OFL-1.0-RFN", 1052 conditions: ["notice"], 1053 url: "https://spdx.org/licenses/OFL-1.0-RFN.html", 1054} 1055 1056license_kind { 1057 name: "SPDX-license-identifier-OFL-1.0-no-RFN", 1058 conditions: ["notice"], 1059 url: "https://spdx.org/licenses/OFL-1.0-no-RFN.html", 1060} 1061 1062license_kind { 1063 name: "SPDX-license-identifier-OFL-1.1", 1064 conditions: ["notice"], 1065 url: "https://spdx.org/licenses/OFL-1.1.html", 1066} 1067 1068license_kind { 1069 name: "SPDX-license-identifier-OFL-1.1-RFN", 1070 conditions: ["notice"], 1071 url: "https://spdx.org/licenses/OFL-1.1-RFN.html", 1072} 1073 1074license_kind { 1075 name: "SPDX-license-identifier-OFL-1.1-no-RFN", 1076 conditions: ["notice"], 1077 url: "https://spdx.org/licenses/OFL-1.1-no-RFN.html", 1078} 1079 1080license_kind { 1081 name: "SPDX-license-identifier-OpenSSL", 1082 conditions: ["notice"], 1083 url: "https://spdx.org/licenses/OpenSSL.html", 1084} 1085 1086license_kind { 1087 name: "SPDX-license-identifier-PSF-2.0", 1088 conditions: ["notice"], 1089 url: "https://spdx.org/licenses/PSF-2.0.html", 1090} 1091 1092license_kind { 1093 name: "SPDX-license-identifier-SISSL", 1094 conditions: [ 1095 "by_exception_only", 1096 "not_allowed", 1097 ], 1098 url: "https://spdx.org/licenses/SISSL.html", 1099} 1100 1101license_kind { 1102 name: "SPDX-license-identifier-SISSL-1.2", 1103 conditions: [ 1104 "by_exception_only", 1105 "not_allowed", 1106 ], 1107 url: "https://spdx.org/licenses/SISSL-1.2.html", 1108} 1109 1110license_kind { 1111 name: "SPDX-license-identifier-SPL-1.0", 1112 conditions: [ 1113 "by_exception_only", 1114 "reciprocal", 1115 ], 1116 url: "https://spdx.org/licenses/SPL-1.0.html", 1117} 1118 1119license_kind { 1120 name: "SPDX-license-identifier-SSPL", 1121 conditions: [ 1122 "by_exception_only", 1123 "not_allowed", 1124 ], 1125 url: "https://spdx.org/licenses/SSPL.html", 1126} 1127 1128license_kind { 1129 name: "SPDX-license-identifier-UPL-1.0", 1130 conditions: ["notice"], 1131 url: "https://spdx.org/licenses/UPL-1.-.html", 1132} 1133 1134license_kind { 1135 name: "SPDX-license-identifier-Unicode-DFS", 1136 conditions: ["notice"], 1137} 1138 1139license_kind { 1140 name: "SPDX-license-identifier-Unicode-3.0", 1141 conditions: ["notice"], 1142 url: "https://spdx.org/licenses/Unicode-3.0.html", 1143} 1144 1145license_kind { 1146 name: "SPDX-license-identifier-Unicode-DFS-2015", 1147 conditions: ["notice"], 1148 url: "https://spdx.org/licenses/Unicode-DFS-2015.html", 1149} 1150 1151license_kind { 1152 name: "SPDX-license-identifier-Unicode-DFS-2016", 1153 conditions: ["notice"], 1154 url: "https://spdx.org/licenses/Unicode-DFS-2016.html", 1155} 1156 1157license_kind { 1158 name: "SPDX-license-identifier-Unlicense", 1159 conditions: ["unencumbered"], 1160 url: "https://spdx.org/licenses/Unlicense.html", 1161} 1162 1163license_kind { 1164 name: "SPDX-license-identifier-W3C", 1165 conditions: ["notice"], 1166 url: "https://spdx.org/licenses/W3C.html", 1167} 1168 1169license_kind { 1170 name: "SPDX-license-identifier-W3C-19980720", 1171 conditions: ["notice"], 1172 url: "https://spdx.org/licenses/W3C-19980720.html", 1173} 1174 1175license_kind { 1176 name: "SPDX-license-identifier-W3C-20150513", 1177 conditions: ["notice"], 1178 url: "https://spdx.org/licenses/W3C-20150513.html", 1179} 1180 1181license_kind { 1182 name: "SPDX-license-identifier-WTFPL", 1183 conditions: ["permissive"], 1184 url: "https://spdx.org/licenses/WTFPL.html", 1185} 1186 1187license_kind { 1188 name: "SPDX-license-identifier-Watcom-1.0", 1189 conditions: [ 1190 "by_exception_only", 1191 "not_allowed", 1192 ], 1193 url: "https://spdx.org/licenses/Watcom-1.0.html", 1194} 1195 1196license_kind { 1197 name: "SPDX-license-identifier-Xnet", 1198 conditions: ["notice"], 1199 url: "https://spdx.org/licenses/Xnet.html", 1200} 1201 1202license_kind { 1203 name: "SPDX-license-identifier-ZPL", 1204 conditions: ["notice"], 1205} 1206 1207license_kind { 1208 name: "SPDX-license-identifier-ZPL-1.1", 1209 conditions: ["notice"], 1210 url: "https://spdx.org/licenses/ZPL-1.1.html", 1211} 1212 1213license_kind { 1214 name: "SPDX-license-identifier-ZPL-2.0", 1215 conditions: ["notice"], 1216 url: "https://spdx.org/licenses/ZPL-2.0.html", 1217} 1218 1219license_kind { 1220 name: "SPDX-license-identifier-ZPL-2.1", 1221 conditions: ["notice"], 1222 url: "https://spdx.org/licenses/ZPL-2.1.html", 1223} 1224 1225license_kind { 1226 name: "SPDX-license-identifier-Zend-2.0", 1227 conditions: ["notice"], 1228 url: "https://spdx.org/licenses/Zend-2.0.html", 1229} 1230 1231license_kind { 1232 name: "SPDX-license-identifier-Zlib", 1233 conditions: ["notice"], 1234 url: "https://spdx.org/licenses/Zlib.html", 1235} 1236 1237license_kind { 1238 name: "SPDX-license-identifier-libtiff", 1239 conditions: ["notice"], 1240 url: "https://spdx.org/licenses/libtiff.html", 1241} 1242 1243// Legacy license kinds -- do not add new references -- use an spdx kind instead. 1244license_kind { 1245 name: "legacy_unknown", 1246 conditions: ["by_exception_only"], 1247} 1248 1249license_kind { 1250 name: "legacy_unencumbered", 1251 conditions: ["unencumbered"], 1252} 1253 1254license_kind { 1255 name: "legacy_permissive", 1256 conditions: ["permissive"], 1257} 1258 1259license_kind { 1260 name: "legacy_notice", 1261 conditions: ["notice"], 1262} 1263 1264license_kind { 1265 name: "legacy_reciprocal", 1266 conditions: ["reciprocal"], 1267} 1268 1269license_kind { 1270 name: "legacy_restricted", 1271 conditions: ["restricted"], 1272} 1273 1274license_kind { 1275 name: "legacy_by_exception_only", 1276 conditions: ["by_exception_only"], 1277} 1278 1279license_kind { 1280 name: "legacy_not_a_contribution", 1281 conditions: [ 1282 "by_exception_only", 1283 "not_allowed", 1284 ], 1285} 1286 1287license_kind { 1288 name: "legacy_not_allowed", 1289 conditions: [ 1290 "by_exception_only", 1291 "not_allowed", 1292 ], 1293} 1294 1295license_kind { 1296 name: "legacy_proprietary", 1297 conditions: [ 1298 "by_exception_only", 1299 "not_allowed", 1300 "proprietary", 1301 ], 1302} 1303