Android.bp 30 KB

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