Separate snapshot definition
Current snapshot definition is located in the CC module, so it is difficult to capture non-CC module (such as prebuilt_etc) to the snapshot. Separate general snapshot definition from cc so other modules can also define its own snapshot. Bug: 192430376 Test: m nothing passed Change-Id: Ifb69fb3d2ec555b629aa31ec03e7ce5831fd3063
This commit is contained in:
21
snapshot/Android.bp
Normal file
21
snapshot/Android.bp
Normal file
@@ -0,0 +1,21 @@
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
bootstrap_go_package {
|
||||
name: "soong-snapshot",
|
||||
pkgPath: "android/soong/snapshot",
|
||||
deps: [
|
||||
"blueprint",
|
||||
"blueprint-pathtools",
|
||||
"soong",
|
||||
"soong-android",
|
||||
],
|
||||
srcs: [
|
||||
"recovery_snapshot.go",
|
||||
"snapshot.go",
|
||||
"snapshot_base.go",
|
||||
"vendor_snapshot.go",
|
||||
],
|
||||
pluginFor: ["soong_build"],
|
||||
}
|
Reference in New Issue
Block a user