1package { 2 default_applicable_licenses: [ 3 "external_kotlinc_license", 4 "external_kotlinc_asm_license", 5 "external_kotlinc_dart_license", 6 "external_kotlinc_rhino_license", 7 "external_kotlinc_qunit_license", 8 "external_kotlinc_gwt_license", 9 "external_kotlinc_guava_license", 10 "external_kotlinc_boost_license", 11 "external_kotlinc_closure_compiler_license", 12 "external_kotlinc_assemblyscript_license", 13 "external_kotlinc_aosp_license", 14 "external_kotlinc_asmble_license", 15 "external_kotlinc_sun_license", 16 ], 17} 18 19java_import { 20 name: "kotlin-annotations", 21 host_supported: true, 22 jars: ["lib/annotations-13.0.jar"], 23 sdk_version: "core_current", 24} 25 26// exclude_dirs is used to remove META-INF resources for java multi-release 27// jar support that soong does not support. https://openjdk.java.net/jeps/238 28 29java_import { 30 name: "kotlin-reflect", 31 host_supported: true, 32 jars: ["lib/kotlin-reflect.jar"], 33 sdk_version: "core_current", 34 exclude_dirs: ["META-INF/versions"], 35} 36 37java_import { 38 name: "kotlin-stdlib", 39 host_supported: true, 40 jars: ["lib/kotlin-stdlib.jar"], 41 sdk_version: "core_current", 42 exclude_dirs: ["META-INF/versions"], 43 apex_available: [ 44 "//apex_available:platform", 45 "//apex_available:anyapex", 46 ], 47} 48 49java_import { 50 name: "kotlin-stdlib-jdk7", 51 host_supported: true, 52 jars: ["lib/kotlin-stdlib-jdk7.jar"], 53 sdk_version: "core_current", 54 exclude_dirs: ["META-INF/versions"], 55} 56 57java_import { 58 name: "kotlin-stdlib-jdk8", 59 host_supported: true, 60 jars: [ 61 "lib/kotlin-stdlib-jdk8.jar", 62 "lib/kotlin-stdlib-jdk7.jar", 63 ], 64 sdk_version: "core_current", 65 exclude_dirs: ["META-INF/versions"], 66 apex_available: [ 67 "//apex_available:platform", 68 "//apex_available:anyapex", 69 ], 70} 71 72java_import { 73 name: "kotlin-test", 74 host_supported: true, 75 jars: [ 76 "lib/kotlin-test.jar", 77 "lib/kotlin-test-junit.jar", 78 ], 79 sdk_version: "core_current", 80 exclude_dirs: ["META-INF/versions"], 81} 82 83java_import { 84 name: "kotlin-parcelize-runtime", 85 host_supported: true, 86 jars: ["lib/parcelize-runtime.jar"], 87 sdk_version: "core_current", 88 exclude_dirs: ["META-INF/versions"], 89} 90 91// See: http://go/android-license-faq 92license { 93 name: "external_kotlinc_license", 94 visibility: [":__subpackages__"], 95 license_kinds: [ 96 "SPDX-license-identifier-Apache-2.0", 97 ], 98 license_text: [ 99 "license/LICENSE.txt", 100 "license/NOTICE.txt", 101 ], 102} 103 104license { 105 name: "external_kotlinc_aether_license", 106 visibility: [":__subpackages__"], 107 license_kinds: [ 108 "SPDX-license-identifier-EPL", 109 ], 110 license_text: [ 111 "license/third_party/aether_license.txt", 112 ], 113} 114 115license { 116 name: "external_kotlinc_aosp_license", 117 visibility: [":__subpackages__"], 118 license_kinds: [ 119 "SPDX-license-identifier-Apache-2.0", 120 ], 121 copyright_notice: "Copyright (C) 2011-15 The Android Open Source Project", 122 license_text: [ 123 "license/third_party/aosp_license.txt", 124 ], 125} 126 127license { 128 name: "external_kotlinc_args4j_license", 129 visibility: [":__subpackages__"], 130 license_kinds: [ 131 "SPDX-license-identifier-MIT", 132 ], 133 license_text: [ 134 "license/third_party/args4j_LICENSE.txt", 135 ], 136} 137 138license { 139 name: "external_kotlinc_asm_license", 140 package_name: "ASM", 141 visibility: [":__subpackages__"], 142 license_kinds: [ 143 "SPDX-license-identifier-BSD", 144 ], 145 copyright_notice: "Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom", 146 license_text: [ 147 "license/third_party/asm_license.txt", 148 ], 149} 150 151license { 152 name: "external_kotlinc_asmble_license", 153 visibility: [":__subpackages__"], 154 license_kinds: [ 155 "SPDX-license-identifier-MIT", 156 ], 157 copyright_notice: "Copyright (C) 2018 Chad Retz", 158 license_text: [ 159 "license/third_party/asmble_license.txt", 160 ], 161} 162 163license { 164 name: "external_kotlinc_assemblyscript_license", 165 package_name: "assemblyscript standard library", 166 visibility: [":__subpackages__"], 167 license_kinds: [ 168 "SPDX-license-identifier-Apache-2.0", 169 ], 170 copyright_notice: "Derived from assemblyscript standard library", 171 license_text: [ 172 "license/third_party/assemblyscript_license.txt", 173 ], 174} 175 176license { 177 name: "external_kotlinc_boost_license", 178 package_name: "boost special math functions", 179 visibility: [":__subpackages__"], 180 license_kinds: [ 181 "SPDX-license-identifier-BSL-1.0", 182 ], 183 copyright_notice: "Derived from boost special math functions, Copyright Eric Ford & Hubert Holin 2001.", 184 license_text: [ 185 "license/third_party/boost_LICENSE.txt", 186 ], 187} 188 189license { 190 name: "external_kotlinc_closure_compiler_license", 191 package_name: "Google Closure Library", 192 visibility: [":__subpackages__"], 193 license_kinds: [ 194 "SPDX-license-identifier-Apache-2.0", 195 ], 196 copyright_notice: "Google Closure Library, Copyright 2009 The Closure Library Authors", 197 license_text: [ 198 "license/third_party/closure-compiler_LICENSE.txt", 199 ], 200} 201 202license { 203 name: "external_kotlinc_dart_license", 204 package_name: "Dart compiler", 205 visibility: [":__subpackages__"], 206 license_kinds: [ 207 "SPDX-license-identifier-BSD", 208 ], 209 copyright_notice: "Originally part of the Dart compiler, (c) 2011 the Dart Project Authors,", 210 license_text: [ 211 "license/third_party/dart_LICENSE.txt", 212 ], 213} 214 215license { 216 name: "external_kotlinc_fastutil_license", 217 visibility: [":__subpackages__"], 218 license_kinds: [ 219 "SPDX-license-identifier-Apache-2.0", 220 ], 221 license_text: [ 222 "license/third_party/fastutil_licence", 223 ], 224} 225 226license { 227 name: "external_kotlinc_gradle_license", 228 package_name: "Gradle", 229 visibility: [":__subpackages__"], 230 license_kinds: [ 231 "SPDX-license-identifier-Apache-2.0", 232 "SPDX-license-identifier-BSD-3-Clause", 233 "SPDX-license-identifier-BSD", 234 "SPDX-license-identifier-CDDL-1.0", 235 "SPDX-license-identifier-EPL", 236 "SPDX-license-identifier-MIT", 237 "SPDX-license-identifier-LGPL-2.1", 238 "SPDX-license-identifier-MPL-2.0", 239 ], 240 copyright_notice: "Gradle, Copyright 2002-2017 Gradle, Inc.", 241 license_text: [ 242 "license/third_party/gradle_license.txt", 243 ], 244} 245 246license { 247 name: "external_kotlinc_guava_license", 248 package_name: "Guava", 249 visibility: [":__subpackages__"], 250 license_kinds: [ 251 "SPDX-license-identifier-Apache-2.0", 252 ], 253 copyright_notice: "Derived from Guava's UnsignedLongs, (C) 2011 The Guava Authors", 254 license_text: [ 255 "license/third_party/guava_license.txt", 256 ], 257} 258 259license { 260 name: "external_kotlinc_gwt_license", 261 package_name: "GWT", 262 visibility: [":__subpackages__"], 263 license_kinds: [ 264 "SPDX-license-identifier-Apache-2.0", 265 ], 266 copyright_notice: "Derived from GWT, (C) 2007-08 Google Inc.", 267 license_text: [ 268 "license/third_party/gwt_license.txt", 269 ], 270} 271 272license { 273 name: "external_kotlinc_jquery_license", 274 package_name: "jQuery JavaScript Library v1.6.2", 275 visibility: [":__subpackages__"], 276 license_kinds: [ 277 "SPDX-license-identifier-MIT", 278 ], 279 copyright_notice: "jQuery JavaScript Library v1.6.2, Copyright 2011, John Resig", 280 license_text: [ 281 "license/third_party/jquery_license.txt", 282 ], 283} 284 285license { 286 name: "external_kotlinc_jshashtable_license", 287 visibility: [":__subpackages__"], 288 license_kinds: [ 289 "SPDX-license-identifier-Apache-2.0", 290 ], 291 license_text: [ 292 "license/third_party/jshashtable_license.txt", 293 ], 294} 295 296license { 297 name: "external_kotlinc_karma_teamcity_reporter_license", 298 visibility: [":__subpackages__"], 299 license_kinds: [ 300 "SPDX-license-identifier-MIT", 301 ], 302 copyright_notice: "Copyright (C) 2011-2013 Vojta Jína and contributors.", 303 license_text: [ 304 "license/third_party/karma-teamcity-reporter_LICENSE.txt", 305 ], 306} 307 308license { 309 name: "external_kotlinc_karma_license", 310 visibility: [":__subpackages__"], 311 license_kinds: [ 312 "SPDX-license-identifier-MIT", 313 ], 314 copyright_notice: "Copyright (C) 2011-2019 Google, Inc.", 315 license_text: [ 316 "license/third_party/karma_LICENSE.txt", 317 ], 318} 319 320license { 321 name: "external_kotlinc_lodash_license", 322 visibility: [":__subpackages__"], 323 license_kinds: [ 324 "SPDX-license-identifier-MIT", 325 "SPDX-license-identifier-CC0-1.0", 326 ], 327 copyright_notice: "Copyright JS Foundation and other contributors <https://js.foundation/>", 328 license_text: [ 329 "license/third_party/lodash_LICENSE.txt", 330 ], 331} 332 333license { 334 name: "external_kotlinc_lombok_license", 335 package_name: "Project Lombok", 336 visibility: [":__subpackages__"], 337 license_kinds: [ 338 "SPDX-license-identifier-MIT", 339 ], 340 copyright_notice: "Project Lombok, Copyright (C) 2009-2013 The Project Lombok Authors", 341 license_text: [ 342 "license/third_party/lombok_LICENSE.txt", 343 ], 344} 345 346license { 347 name: "external_kotlinc_maven_license", 348 visibility: [":__subpackages__"], 349 license_kinds: [ 350 "SPDX-license-identifier-Apache-2.0", 351 ], 352 license_text: [ 353 "license/third_party/maven_LICENSE.txt", 354 ], 355} 356 357license { 358 name: "external_kotlinc_mocha_teamcity_reporter_license", 359 visibility: [":__subpackages__"], 360 license_kinds: [ 361 "SPDX-license-identifier-MIT", 362 ], 363 copyright_notice: "Copyright (c) 2016 Jamie Sherriff", 364 license_text: [ 365 "license/third_party/mocha-teamcity-reporter_LICENSE.txt", 366 ], 367} 368 369license { 370 name: "external_kotlinc_prototype_license", 371 visibility: [":__subpackages__"], 372 license_kinds: [ 373 "SPDX-license-identifier-MIT", 374 ], 375 license_text: [ 376 "license/third_party/prototype_license.txt", 377 ], 378} 379 380license { 381 name: "external_kotlinc_qunit_license", 382 package_name: "QUnit", 383 visibility: [":__subpackages__"], 384 license_kinds: [ 385 "SPDX-license-identifier-MIT", 386 ], 387 copyright_notice: "QUnit, Copyright (c) 2012 John Resig, Jörn Zaefferer,", 388 license_text: [ 389 "license/third_party/qunit_license.txt", 390 ], 391} 392 393license { 394 name: "external_kotlinc_rhino_license", 395 package_name: "Rhino", 396 visibility: [":__subpackages__"], 397 license_kinds: [ 398 "SPDX-license-identifier-MPL-1.1", 399 ], 400 copyright_notice: "Originally part of GWT, (C) 2007-08 Google Inc., distributed under the Apache 2 license. The code is derived from Rhino, (C) 1997-1999 Netscape Communications Corporation, distributed under the Netscape Public License.", 401 license_text: [ 402 "license/third_party/rhino_LICENSE.txt", 403 ], 404} 405 406license { 407 name: "external_kotlinc_scala_license", 408 visibility: [":__subpackages__"], 409 license_kinds: [ 410 "SPDX-license-identifier-BSD", 411 ], 412 license_text: [ 413 "license/third_party/scala_license.txt", 414 ], 415} 416 417license { 418 name: "external_kotlinc_sun_license", 419 visibility: [":__subpackages__"], 420 copyright_notice: "Copyright (C) 1993 by Sun Microsystems, Inc.", 421 license_kinds: [ 422 "legacy_notice", 423 ], 424 license_text: [ 425 "license/third_party/sun_license.txt", 426 ], 427} 428 429license { 430 name: "external_kotlinc_teamcity_service_messages_license", 431 visibility: [":__subpackages__"], 432 license_kinds: [ 433 "SPDX-license-identifier-MIT", 434 ], 435 copyright_notice: "Copyright (c) 2013 Aaron Forsander", 436 license_text: [ 437 "license/third_party/teamcity-service-messages_LICENSE.txt", 438 ], 439} 440 441license { 442 name: "external_kotlinc_trove_license", 443 visibility: [":__subpackages__"], 444 license_kinds: [ 445 "SPDX-license-identifier-LGPL-2.1", 446 ], 447 license_text: [ 448 "license/third_party/trove_license.txt", 449 ], 450} 451 452license { 453 name: "external_kotlinc_trove_readme_license", 454 visibility: [":__subpackages__"], 455 license_kinds: [ 456 "SPDX-license-identifier-ISC", 457 ], 458 license_text: [ 459 "license/third_party/trove_readme_license.txt", 460 ], 461} 462 463license { 464 name: "external_kotlinc_testdata_dagger_license", 465 package_name: "Dagger", 466 visibility: [":__subpackages__"], 467 license_kinds: [ 468 "SPDX-license-identifier-Apache-2.0", 469 ], 470 copyright_notice: "Dagger, Copyright (C) 2013 Square, Inc.", 471 license_text: [ 472 "license/third_party/testdata/dagger_license.txt", 473 ], 474} 475 476license { 477 name: "external_kotlinc_testdata_eclipse_distribution_license", 478 package_name: "javax.persistence", 479 visibility: [":__subpackages__"], 480 license_kinds: [ 481 "SPDX-license-identifier-BSD", 482 ], 483 copyright_notice: "javax.persistence, Copyright (c) 2008, 2017 Sun Microsystems, Oracle Corporation.", 484 license_text: [ 485 "license/third_party/testdata/eclipse_distribution_license.txt", 486 ], 487} 488 489license { 490 name: "external_kotlinc_testdata_eclipse_license", 491 package_name: "javax.persistence", 492 visibility: [":__subpackages__"], 493 license_kinds: [ 494 "SPDX-license-identifier-EPL-1.0", 495 ], 496 copyright_notice: "javax.persistence, Copyright (c) 2008, 2017 Sun Microsystems, Oracle Corporation.", 497 license_text: [ 498 "license/third_party/testdata/eclipse_license.txt", 499 ], 500} 501 502license { 503 name: "external_kotlinc_testdata_findbugs_license", 504 package_name: "Bytecode Analysis Framework", 505 visibility: [":__subpackages__"], 506 license_kinds: [ 507 "SPDX-license-identifier-LGPL-2.1", 508 ], 509 copyright_notice: "Bytecode Analysis Framework, Copyright (C) 2005 University of Maryland", 510 license_text: [ 511 "license/third_party/testdata/findbugs_license.txt", 512 ], 513} 514 515license { 516 name: "external_kotlinc_testdata_jspecify_license", 517 package_name: "JSpecify", 518 visibility: [":__subpackages__"], 519 license_kinds: [ 520 "SPDX-license-identifier-Apache-2.0", 521 ], 522 copyright_notice: "JSpecify, Copyright (C) 2020 The JSpecify Authors", 523 license_text: [ 524 "license/third_party/testdata/jspecify_license.txt", 525 ], 526} 527 528license { 529 name: "external_kotlinc_testdata_lombok_license", 530 package_name: "Project Lombok", 531 visibility: [":__subpackages__"], 532 license_kinds: [ 533 "SPDX-license-identifier-MIT", 534 ], 535 copyright_notice: "Project Lombok, Copyright (C) 2009-2013 The Project Lombok Authors", 536 license_text: [ 537 "license/third_party/testdata/lombok_license.txt", 538 ], 539} 540 541license { 542 name: "external_kotlinc_testdata_rxjava_license", 543 package_name: "RxJava", 544 visibility: [":__subpackages__"], 545 license_kinds: [ 546 "SPDX-license-identifier-Apache-2.0", 547 ], 548 copyright_notice: "RxJava, Copyright (c) 2016-present, RxJava Contributors", 549 license_text: [ 550 "license/third_party/testdata/rxjava_license.txt", 551 ], 552} 553 554license { 555 name: "external_kotlinc_testdata_spring_license", 556 package_name: "Spring Framework", 557 visibility: [":__subpackages__"], 558 license_kinds: [ 559 "SPDX-license-identifier-Apache-2.0", 560 ], 561 copyright_notice: "Spring Framework, Copyright 2002-2007 the original author or authors.", 562 license_text: [ 563 "license/third_party/testdata/spring_license.txt", 564 ], 565} 566