Repository navigation
Expand file tree
/
Copy pathkernel.html
More file actions
666 lines (552 loc) · 30.3 KB
/
Copy pathkernel.html
File metadata and controls
666 lines (552 loc) · 30.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
<html>
<head>
<title>Build Docs</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
<style>
.accordion,.simple{margin-left:1.5em;text-indent:-1.5em;margin-top:.25em}
.collapsible{border-width:0 0 0 1;margin-left:.25em;padding-left:.25em;border-style:solid;
border-color:grey;display:none;}
span.fixed{display: block; float: left; clear: left; width: 1em;}
ul {
list-style-type: none;
margin: 0;
padding: 0;
width: 30ch;
background-color: #f1f1f1;
position: fixed;
height: 100%;
overflow: auto;
}
li a {
display: block;
color: #000;
padding: 8px 16px;
text-decoration: none;
}
li a.active {
background-color: #4CAF50;
color: white;
}
li a:hover:not(.active) {
background-color: #555;
color: white;
}
</style>
<script type="text/javascript">
window.addEventListener('message', (e) => {
if (e != null && e.data != null && e.data.type === "SET_BASE" && e.data.base != null) {
const existingBase = document.querySelector('base');
if (existingBase != null) {
existingBase.parentElement.removeChild(existingBase);
}
const base = document.createElement('base');
base.setAttribute('href', e.data.base);
document.head.appendChild(base);
}
});
</script>
</head>
<body><ul>
<li><h3>kernel package</h3></li>
<li><a href="kernel.html#prebuilt_kernel_modules">prebuilt_kernel_modules</a></li>
</ul>
<div style="margin-left:30ch;padding:1px 16px;">
<p>
<h2 id="prebuilt_kernel_modules">prebuilt_kernel_modules</h2>
prebuilt_kernel_modules installs a set of prebuilt kernel module files to the correct directory.
In addition, this module builds modules.load, modules.dep, modules.softdep and modules.alias
using depmod and installs them as well.
<div class="breadcrumb">
<a href=kernel.html#prebuilt_kernel_modules.name>name</a>
, <a href=kernel.html#prebuilt_kernel_modules.srcs>srcs</a>
, <a href=kernel.html#prebuilt_kernel_modules.arch>arch</a>
, <a href=kernel.html#prebuilt_kernel_modules.blocklist_file>blocklist_file</a>
, <a href=kernel.html#prebuilt_kernel_modules.compile_multilib>compile_multilib</a>
, <a href=kernel.html#prebuilt_kernel_modules.debug_ramdisk>debug_ramdisk</a>
, <a href=kernel.html#prebuilt_kernel_modules.device_specific>device_specific</a>
, <a href=kernel.html#prebuilt_kernel_modules.dist>dist</a>
, <a href=kernel.html#prebuilt_kernel_modules.dists>dists</a>
, <a href=kernel.html#prebuilt_kernel_modules.enabled>enabled</a>
, <a href=kernel.html#prebuilt_kernel_modules.host_required>host_required</a>
, <a href=kernel.html#prebuilt_kernel_modules.init_rc>init_rc</a>
, <a href=kernel.html#prebuilt_kernel_modules.installable>installable</a>
, <a href=kernel.html#prebuilt_kernel_modules.kernel_version>kernel_version</a>
, <a href=kernel.html#prebuilt_kernel_modules.licenses>licenses</a>
, <a href=kernel.html#prebuilt_kernel_modules.load_by_default>load_by_default</a>
, <a href=kernel.html#prebuilt_kernel_modules.multilib>multilib</a>
, <a href=kernel.html#prebuilt_kernel_modules.native_bridge_supported>native_bridge_supported</a>
, <a href=kernel.html#prebuilt_kernel_modules.no_full_install>no_full_install</a>
, <a href=kernel.html#prebuilt_kernel_modules.odm_dlkm_specific>odm_dlkm_specific</a>
, <a href=kernel.html#prebuilt_kernel_modules.options_file>options_file</a>
, <a href=kernel.html#prebuilt_kernel_modules.overrides>overrides</a>
, <a href=kernel.html#prebuilt_kernel_modules.owner>owner</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_specific>product_specific</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_variables.arc>product_variables.arc</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_variables.debuggable>product_variables.debuggable</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_variables.featuretransformpackagename>product_variables.featuretransformpackagename</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_variables.malloc_low_memory>product_variables.malloc_low_memory</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_variables.native_coverage>product_variables.native_coverage</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_variables.release_aidl_use_unfrozen>product_variables.release_aidl_use_unfrozen</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_variables.selinuxignoreneverallows>product_variables.selinuxignoreneverallows</a>
, <a href=kernel.html#prebuilt_kernel_modules.product_variables.unbundled_build>product_variables.unbundled_build</a>
, <a href=kernel.html#prebuilt_kernel_modules.proprietary>proprietary</a>
, <a href=kernel.html#prebuilt_kernel_modules.ramdisk>ramdisk</a>
, <a href=kernel.html#prebuilt_kernel_modules.recovery>recovery</a>
, <a href=kernel.html#prebuilt_kernel_modules.required>required</a>
, <a href=kernel.html#prebuilt_kernel_modules.soc_specific>soc_specific</a>
, <a href=kernel.html#prebuilt_kernel_modules.strip_debug_symbols>strip_debug_symbols</a>
, <a href=kernel.html#prebuilt_kernel_modules.system_deps>system_deps</a>
, <a href=kernel.html#prebuilt_kernel_modules.system_dlkm_specific>system_dlkm_specific</a>
, <a href=kernel.html#prebuilt_kernel_modules.system_ext_specific>system_ext_specific</a>
, <a href=kernel.html#prebuilt_kernel_modules.target>target</a>
, <a href=kernel.html#prebuilt_kernel_modules.target.android>target.android</a>
, <a href=kernel.html#prebuilt_kernel_modules.target.host>target.host</a>
, <a href=kernel.html#prebuilt_kernel_modules.target_required>target_required</a>
, <a href=kernel.html#prebuilt_kernel_modules.team>team</a>
, <a href=kernel.html#prebuilt_kernel_modules.use_generic_config>use_generic_config</a>
, <a href=kernel.html#prebuilt_kernel_modules.vendor>vendor</a>
, <a href=kernel.html#prebuilt_kernel_modules.vendor_dlkm_specific>vendor_dlkm_specific</a>
, <a href=kernel.html#prebuilt_kernel_modules.vendor_ramdisk>vendor_ramdisk</a>
, <a href=kernel.html#prebuilt_kernel_modules.vintf_fragment_modules>vintf_fragment_modules</a>
, <a href=kernel.html#prebuilt_kernel_modules.vintf_fragments>vintf_fragments</a>
, <a href=kernel.html#prebuilt_kernel_modules.visibility>visibility</a></div>
<div class="simple" id="prebuilt_kernel_modules.name">
<span class="fixed"> </span><b>name </b>
<i>string</i>, The name of the module. Must be unique across all modules.
</div>
<div class="simple" id="prebuilt_kernel_modules.srcs">
<span class="fixed"> </span><b>srcs </b>
<i>list of string</i>, List or filegroup of prebuilt kernel module files. Should have .ko suffix.
</div>
<div class="simple" id="prebuilt_kernel_modules.arch">
<span class="fixed"> </span><b>arch </b>
<i>interface</i>
</div>
<div class="simple" id="prebuilt_kernel_modules.blocklist_file">
<span class="fixed"> </span><b>blocklist_file </b>
<i>string</i>
</div>
<div class="simple" id="prebuilt_kernel_modules.compile_multilib">
<span class="fixed"> </span><b>compile_multilib </b>
<i>string</i>, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
</div>
<div class="simple" id="prebuilt_kernel_modules.debug_ramdisk">
<span class="fixed"> </span><b>debug_ramdisk </b>
<i>bool</i>, Whether this module is installed to debug ramdisk
</div>
<div class="simple" id="prebuilt_kernel_modules.device_specific">
<span class="fixed"> </span><b>device_specific </b>
<i>bool</i>, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
</div>
<div class="accordion" id="prebuilt_kernel_modules.dist">
<span class="fixed">⊕</span><b>dist</b>
<i>Dist</i></div>
<div class="collapsible">configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
<div class="simple" id="prebuilt_kernel_modules.targets">
<span class="fixed"> </span><b>targets </b>
<i>list of string</i>, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
</div>
<div class="simple" id="prebuilt_kernel_modules.dest">
<span class="fixed"> </span><b>dest </b>
<i>string</i>, The name of the output artifact. This defaults to the basename of the output of
the module.
</div>
<div class="simple" id="prebuilt_kernel_modules.dir">
<span class="fixed"> </span><b>dir </b>
<i>string</i>, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
</div>
<div class="simple" id="prebuilt_kernel_modules.suffix">
<span class="fixed"> </span><b>suffix </b>
<i>string</i>, A suffix to add to the artifact file name (before any extension).
</div>
<div class="simple" id="prebuilt_kernel_modules.append_artifact_with_product">
<span class="fixed"> </span><b>append_artifact_with_product </b>
<i>bool</i>, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
</div>
<div class="simple" id="prebuilt_kernel_modules.prepend_artifact_with_product">
<span class="fixed"> </span><b>prepend_artifact_with_product </b>
<i>bool</i>, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
</div>
<div class="simple" id="prebuilt_kernel_modules.tag">
<span class="fixed"> </span><b>tag </b>
<i>string</i>, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
</div></div>
<div class="simple" id="prebuilt_kernel_modules.dists">
<span class="fixed"> </span><b>dists </b>
<i>list of Dist</i>, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
</div>
<div class="simple" id="prebuilt_kernel_modules.enabled">
<span class="fixed"> </span><b>enabled </b>
<i>configurable bool</i>, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
</div>
<div class="simple" id="prebuilt_kernel_modules.host_required">
<span class="fixed"> </span><b>host_required </b>
<i>list of string</i>, names of other modules to install on host if this module is installed
</div>
<div class="simple" id="prebuilt_kernel_modules.init_rc">
<span class="fixed"> </span><b>init_rc </b>
<i>configurable list of string</i>, init.rc files to be installed if this module is installed
</div>
<div class="simple" id="prebuilt_kernel_modules.installable">
<span class="fixed"> </span><b>installable </b>
<i>bool</i>, Whether this module is directly installable to one of the partitions. Default is true
</div>
<div class="simple" id="prebuilt_kernel_modules.kernel_version">
<span class="fixed"> </span><b>kernel_version </b>
<i>string</i>, Kernel version that these modules are for. Kernel modules are installed to
/lib/modules/<kernel_version> directory in the corresponding partition. Default is "".
</div>
<div class="simple" id="prebuilt_kernel_modules.licenses">
<span class="fixed"> </span><b>licenses </b>
<i>list of string</i>, Describes the licenses applicable to this module. Must reference license modules.
</div>
<div class="simple" id="prebuilt_kernel_modules.load_by_default">
<span class="fixed"> </span><b>load_by_default </b>
<i>bool</i>, If false, then srcs will not be included in modules.load.
This feature is used by system_dlkm
</div>
<div class="simple" id="prebuilt_kernel_modules.multilib">
<span class="fixed"> </span><b>multilib </b>
<i>interface</i>
</div>
<div class="simple" id="prebuilt_kernel_modules.native_bridge_supported">
<span class="fixed"> </span><b>native_bridge_supported </b>
<i>bool</i>, Whether this module is built for non-native architectures (also known as native bridge binary)
</div>
<div class="simple" id="prebuilt_kernel_modules.no_full_install">
<span class="fixed"> </span><b>no_full_install </b>
<i>bool</i>, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
</div>
<div class="simple" id="prebuilt_kernel_modules.odm_dlkm_specific">
<span class="fixed"> </span><b>odm_dlkm_specific </b>
<i>bool</i>, Install to partition odm_dlkm when set to true.
</div>
<div class="simple" id="prebuilt_kernel_modules.options_file">
<span class="fixed"> </span><b>options_file </b>
<i>string</i>, Path to the kernel module options file
</div>
<div class="simple" id="prebuilt_kernel_modules.overrides">
<span class="fixed"> </span><b>overrides </b>
<i>list of string</i>, List of module names that are prevented from being installed when this module gets
installed.
</div>
<div class="simple" id="prebuilt_kernel_modules.owner">
<span class="fixed"> </span><b>owner </b>
<i>string</i>, vendor who owns this module
</div>
<div class="simple" id="prebuilt_kernel_modules.product_specific">
<span class="fixed"> </span><b>product_specific </b>
<i>bool</i>, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
</div>
<div class="accordion" id="prebuilt_kernel_modules.product_variables.arc">
<span class="fixed">⊕</span><b>product_variables.arc</b>
<i></i></div>
<div class="collapsible">
<div class="accordion" id="prebuilt_kernel_modules.srcs">
<span class="fixed">⊕</span><b>srcs</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div></div>
<div class="accordion" id="prebuilt_kernel_modules.product_variables.debuggable">
<span class="fixed">⊕</span><b>product_variables.debuggable</b>
<i></i></div>
<div class="collapsible">
<div class="accordion" id="prebuilt_kernel_modules.init_rc">
<span class="fixed">⊕</span><b>init_rc</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div>
<div class="accordion" id="prebuilt_kernel_modules.required">
<span class="fixed">⊕</span><b>required</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div>
<div class="accordion" id="prebuilt_kernel_modules.host_required">
<span class="fixed">⊕</span><b>host_required</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div>
<div class="accordion" id="prebuilt_kernel_modules.target_required">
<span class="fixed">⊕</span><b>target_required</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div>
<div class="accordion" id="prebuilt_kernel_modules.srcs">
<span class="fixed">⊕</span><b>srcs</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div></div>
<div class="accordion" id="prebuilt_kernel_modules.product_variables.featuretransformpackagename">
<span class="fixed">⊕</span><b>product_variables.featuretransformpackagename</b>
<i></i></div>
<div class="collapsible">
<div class="accordion" id="prebuilt_kernel_modules.srcs">
<span class="fixed">⊕</span><b>srcs</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div></div>
<div class="accordion" id="prebuilt_kernel_modules.product_variables.malloc_low_memory">
<span class="fixed">⊕</span><b>product_variables.malloc_low_memory</b>
<i></i></div>
<div class="collapsible">
<div class="accordion" id="prebuilt_kernel_modules.srcs">
<span class="fixed">⊕</span><b>srcs</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div></div>
<div class="accordion" id="prebuilt_kernel_modules.product_variables.native_coverage">
<span class="fixed">⊕</span><b>product_variables.native_coverage</b>
<i></i></div>
<div class="collapsible">
<div class="accordion" id="prebuilt_kernel_modules.srcs">
<span class="fixed">⊕</span><b>srcs</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div></div>
<div class="accordion" id="prebuilt_kernel_modules.product_variables.release_aidl_use_unfrozen">
<span class="fixed">⊕</span><b>product_variables.release_aidl_use_unfrozen</b>
<i></i></div>
<div class="collapsible">
<div class="accordion" id="prebuilt_kernel_modules.required">
<span class="fixed">⊕</span><b>required</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div>
<div class="accordion" id="prebuilt_kernel_modules.vintf_fragment_modules">
<span class="fixed">⊕</span><b>vintf_fragment_modules</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div></div>
<div class="accordion" id="prebuilt_kernel_modules.product_variables.selinuxignoreneverallows">
<span class="fixed">⊕</span><b>product_variables.selinuxignoreneverallows</b>
<i></i></div>
<div class="collapsible">
<div class="accordion" id="prebuilt_kernel_modules.required">
<span class="fixed">⊕</span><b>required</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.">
<span class="fixed"> </span><b> </b>
<i>[]string</i></div></div></div>
<div class="accordion" id="prebuilt_kernel_modules.product_variables.unbundled_build">
<span class="fixed">⊕</span><b>product_variables.unbundled_build</b>
<i></i></div>
<div class="collapsible">
<div class="accordion" id="prebuilt_kernel_modules.enabled">
<span class="fixed">⊕</span><b>enabled</b>
<i>Configurable[bool]</i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.Configurable[bool]">
<span class="fixed"> </span><b>Configurable[bool] </b>
<i>proptools.Configurable[bool]</i></div></div></div>
<div class="simple" id="prebuilt_kernel_modules.proprietary">
<span class="fixed"> </span><b>proprietary </b>
<i>bool</i>, whether this is a proprietary vendor module, and should be installed into /vendor
</div>
<div class="simple" id="prebuilt_kernel_modules.ramdisk">
<span class="fixed"> </span><b>ramdisk </b>
<i>bool</i>, Whether this module is installed to ramdisk
</div>
<div class="simple" id="prebuilt_kernel_modules.recovery">
<span class="fixed"> </span><b>recovery </b>
<i>bool</i>, Whether this module is installed to recovery partition
</div>
<div class="simple" id="prebuilt_kernel_modules.required">
<span class="fixed"> </span><b>required </b>
<i>configurable list of string</i>, names of other modules to install if this module is installed
</div>
<div class="simple" id="prebuilt_kernel_modules.soc_specific">
<span class="fixed"> </span><b>soc_specific </b>
<i>bool</i>, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
</div>
<div class="simple" id="prebuilt_kernel_modules.strip_debug_symbols">
<span class="fixed"> </span><b>strip_debug_symbols </b>
<i>bool</i>, Whether debug symbols should be stripped from the *.ko files.
Defaults to true.
</div>
<div class="simple" id="prebuilt_kernel_modules.system_deps">
<span class="fixed"> </span><b>system_deps </b>
<i>list of string</i>, List of system_dlkm kernel modules that the local kernel modules depend on.
The deps will be assembled into intermediates directory for running depmod
but will not be added to the current module's installed files.
</div>
<div class="simple" id="prebuilt_kernel_modules.system_dlkm_specific">
<span class="fixed"> </span><b>system_dlkm_specific </b>
<i>bool</i>, Install to partition system_dlkm when set to true.
</div>
<div class="simple" id="prebuilt_kernel_modules.system_ext_specific">
<span class="fixed"> </span><b>system_ext_specific </b>
<i>bool</i>, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
</div>
<div class="simple" id="prebuilt_kernel_modules.target">
<span class="fixed"> </span><b>target </b>
<i>interface</i>
</div>
<div class="accordion" id="prebuilt_kernel_modules.target.android">
<span class="fixed">⊕</span><b>target.android</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.compile_multilib">
<span class="fixed"> </span><b>compile_multilib </b>
<i>string</i>
</div>
<div class="simple" id="prebuilt_kernel_modules.enabled">
<span class="fixed"> </span><b>enabled </b>
<i>bool</i>
</div></div>
<div class="accordion" id="prebuilt_kernel_modules.target.host">
<span class="fixed">⊕</span><b>target.host</b>
<i></i></div>
<div class="collapsible">
<div class="simple" id="prebuilt_kernel_modules.compile_multilib">
<span class="fixed"> </span><b>compile_multilib </b>
<i>string</i>
</div></div>
<div class="simple" id="prebuilt_kernel_modules.target_required">
<span class="fixed"> </span><b>target_required </b>
<i>list of string</i>, names of other modules to install on target if this module is installed
</div>
<div class="simple" id="prebuilt_kernel_modules.team">
<span class="fixed"> </span><b>team </b>
<i>string</i>, The team (defined by the owner/vendor) who owns the property.
</div>
<div class="simple" id="prebuilt_kernel_modules.use_generic_config">
<span class="fixed"> </span><b>use_generic_config </b>
<i>bool</i>, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
</div>
<div class="simple" id="prebuilt_kernel_modules.vendor">
<span class="fixed"> </span><b>vendor </b>
<i>bool</i>, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
</div>
<div class="simple" id="prebuilt_kernel_modules.vendor_dlkm_specific">
<span class="fixed"> </span><b>vendor_dlkm_specific </b>
<i>bool</i>, Install to partition vendor_dlkm when set to true.
</div>
<div class="simple" id="prebuilt_kernel_modules.vendor_ramdisk">
<span class="fixed"> </span><b>vendor_ramdisk </b>
<i>bool</i>, Whether this module is installed to vendor ramdisk
</div>
<div class="simple" id="prebuilt_kernel_modules.vintf_fragment_modules">
<span class="fixed"> </span><b>vintf_fragment_modules </b>
<i>configurable list of string</i>, vintf_fragment Modules required from this module.
</div>
<div class="simple" id="prebuilt_kernel_modules.vintf_fragments">
<span class="fixed"> </span><b>vintf_fragments </b>
<i>configurable list of string</i>, VINTF manifest fragments to be installed if this module is installed
</div>
<div class="simple" id="prebuilt_kernel_modules.visibility">
<span class="fixed"> </span><b>visibility </b>
<i>list of string</i>, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
<pre>
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
</pre>
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
</div></div>
<script>
accordions = document.getElementsByClassName('accordion');
for (i=0; i < accordions.length; ++i) {
accordions[i].addEventListener("click", function() {
var panel = this.nextElementSibling;
var child = this.firstElementChild;
if (panel.style.display === "block") {
panel.style.display = "none";
child.textContent = '\u2295';
} else {
panel.style.display = "block";
child.textContent = '\u2296';
}
});
}
</script>
</body>