Merge "Soong package structure refactoring" am: 264700345d
am: ca9ed9158d
Original change: undetermined Change-Id: I5cd95c02ab8af420dc2b7166ba24bdf0c7dc6496
This commit is contained in:
87
cc/Android.bp
Normal file
87
cc/Android.bp
Normal file
@@ -0,0 +1,87 @@
|
||||
bootstrap_go_package {
|
||||
name: "soong-cc",
|
||||
pkgPath: "android/soong/cc",
|
||||
deps: [
|
||||
"blueprint",
|
||||
"blueprint-pathtools",
|
||||
"soong",
|
||||
"soong-android",
|
||||
"soong-cc-config",
|
||||
"soong-etc",
|
||||
"soong-genrule",
|
||||
"soong-tradefed",
|
||||
],
|
||||
srcs: [
|
||||
"androidmk.go",
|
||||
"builder.go",
|
||||
"cc.go",
|
||||
"ccdeps.go",
|
||||
"check.go",
|
||||
"coverage.go",
|
||||
"gen.go",
|
||||
"linkable.go",
|
||||
"lto.go",
|
||||
"makevars.go",
|
||||
"pgo.go",
|
||||
"prebuilt.go",
|
||||
"proto.go",
|
||||
"rs.go",
|
||||
"sanitize.go",
|
||||
"sabi.go",
|
||||
"sdk.go",
|
||||
"snapshot_utils.go",
|
||||
"stl.go",
|
||||
"strip.go",
|
||||
"sysprop.go",
|
||||
"tidy.go",
|
||||
"util.go",
|
||||
"vendor_snapshot.go",
|
||||
"vndk.go",
|
||||
"vndk_prebuilt.go",
|
||||
|
||||
"cflag_artifacts.go",
|
||||
"cmakelists.go",
|
||||
"compdb.go",
|
||||
"compiler.go",
|
||||
"installer.go",
|
||||
"linker.go",
|
||||
|
||||
"binary.go",
|
||||
"binary_sdk_member.go",
|
||||
"fuzz.go",
|
||||
"library.go",
|
||||
"library_headers.go",
|
||||
"library_sdk_member.go",
|
||||
"object.go",
|
||||
"test.go",
|
||||
"toolchain_library.go",
|
||||
|
||||
"ndk_prebuilt.go",
|
||||
"ndk_headers.go",
|
||||
"ndk_library.go",
|
||||
"ndk_sysroot.go",
|
||||
|
||||
"llndk_library.go",
|
||||
|
||||
"kernel_headers.go",
|
||||
|
||||
"genrule.go",
|
||||
|
||||
"vendor_public_library.go",
|
||||
|
||||
"testing.go",
|
||||
],
|
||||
testSrcs: [
|
||||
"cc_test.go",
|
||||
"compiler_test.go",
|
||||
"gen_test.go",
|
||||
"genrule_test.go",
|
||||
"library_headers_test.go",
|
||||
"library_test.go",
|
||||
"object_test.go",
|
||||
"prebuilt_test.go",
|
||||
"proto_test.go",
|
||||
"test_data_test.go",
|
||||
],
|
||||
pluginFor: ["soong_build"],
|
||||
}
|
30
cc/config/Android.bp
Normal file
30
cc/config/Android.bp
Normal file
@@ -0,0 +1,30 @@
|
||||
bootstrap_go_package {
|
||||
name: "soong-cc-config",
|
||||
pkgPath: "android/soong/cc/config",
|
||||
deps: [
|
||||
"soong-android",
|
||||
"soong-remoteexec",
|
||||
],
|
||||
srcs: [
|
||||
"clang.go",
|
||||
"global.go",
|
||||
"tidy.go",
|
||||
"toolchain.go",
|
||||
"vndk.go",
|
||||
|
||||
"arm_device.go",
|
||||
"arm64_device.go",
|
||||
"arm64_fuchsia_device.go",
|
||||
"x86_device.go",
|
||||
"x86_64_device.go",
|
||||
"x86_64_fuchsia_device.go",
|
||||
|
||||
"x86_darwin_host.go",
|
||||
"x86_linux_host.go",
|
||||
"x86_linux_bionic_host.go",
|
||||
"x86_windows_host.go",
|
||||
],
|
||||
testSrcs: [
|
||||
"tidy_test.go",
|
||||
],
|
||||
}
|
@@ -25,6 +25,7 @@ import (
|
||||
|
||||
"android/soong/android"
|
||||
"android/soong/cc/config"
|
||||
"android/soong/etc"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -416,7 +417,7 @@ type vndkLibrariesTxt struct {
|
||||
outputFile android.OutputPath
|
||||
}
|
||||
|
||||
var _ android.PrebuiltEtcModule = &vndkLibrariesTxt{}
|
||||
var _ etc.PrebuiltEtcModule = &vndkLibrariesTxt{}
|
||||
var _ android.OutputFileProducer = &vndkLibrariesTxt{}
|
||||
|
||||
// vndk_libraries_txt is a special kind of module type in that it name is one of
|
||||
|
Reference in New Issue
Block a user