Add samsung specific changes
This commit is contained in:
43
BUILD.bazel
43
BUILD.bazel
@@ -104,8 +104,6 @@ filegroup(
|
||||
"android/abi_gki_aarch64_exynosauto",
|
||||
"android/abi_gki_aarch64_fips140",
|
||||
"android/abi_gki_aarch64_galaxy",
|
||||
"android/abi_gki_aarch64_galaxy_grey",
|
||||
"android/abi_gki_aarch64_galaxy_presubmit",
|
||||
"android/abi_gki_aarch64_honor",
|
||||
"android/abi_gki_aarch64_imx",
|
||||
"android/abi_gki_aarch64_lenovo",
|
||||
@@ -126,15 +124,6 @@ filegroup(
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "sec_defconfig_fragments",
|
||||
srcs = [
|
||||
# keep sorted
|
||||
"arch/arm64/configs/gki_sec_defconfig",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
define_common_kernels(target_configs = {
|
||||
"kernel_aarch64": {
|
||||
"kmi_symbol_list_strict_mode": True,
|
||||
@@ -144,7 +133,6 @@ define_common_kernels(target_configs = {
|
||||
"protected_exports_list": "android/abi_gki_protected_exports_aarch64",
|
||||
"protected_modules_list": "android/gki_aarch64_protected_modules",
|
||||
"module_implicit_outs": get_gki_modules_list("arm64") + get_kunit_modules_list("arm64"),
|
||||
"defconfig_fragments": [":sec_defconfig_fragments"],
|
||||
"make_goals": _GKI_AARCH64_MAKE_GOALS,
|
||||
"ddk_headers_archive": ":kernel_aarch64_ddk_headers_archive",
|
||||
"extra_dist": [
|
||||
@@ -548,6 +536,14 @@ copy_to_dist_dir(
|
||||
log = "info",
|
||||
)
|
||||
|
||||
load(":consolidate.bzl", "define_consolidate")
|
||||
|
||||
define_consolidate()
|
||||
|
||||
load(":msm_platforms.bzl", "define_msm_platforms")
|
||||
|
||||
define_msm_platforms()
|
||||
|
||||
_ROCKPI4_MODULE_OUTS = [
|
||||
# keep sorted
|
||||
"drivers/char/hw_random/virtio-rng.ko",
|
||||
@@ -990,12 +986,16 @@ filegroup(
|
||||
ddk_headers(
|
||||
name = "all_headers_unsafe",
|
||||
hdrs = [
|
||||
"drivers/devfreq/governor.h",
|
||||
"drivers/gpu/drm/virtio/virtgpu_trace.h",
|
||||
"mm/slab.h",
|
||||
],
|
||||
# The list of include directories where source files can #include headers
|
||||
# from. In other words, these are the `-I` option to the C compiler.
|
||||
# Unsafe include directories are appended to ccflags-y.
|
||||
includes = [],
|
||||
includes = [
|
||||
"drivers/devfreq",
|
||||
],
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
@@ -2345,12 +2345,6 @@ copy_to_dist_dir(
|
||||
flat = True,
|
||||
)
|
||||
|
||||
load(":consolidate.bzl", "define_consolidate")
|
||||
|
||||
define_consolidate(
|
||||
defconfig_fragments = [":sec_defconfig_fragments"],
|
||||
)
|
||||
|
||||
_TEST_MAPPINGS = glob(["**/TEST_MAPPING"])
|
||||
|
||||
pkg_files(
|
||||
@@ -2369,14 +2363,3 @@ pkg_zip(
|
||||
out = "test_mappings.zip",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "disable_kdp",
|
||||
actual = ":ogki_defconfig_fragment",
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "ogki_defconfig_fragment",
|
||||
srcs = ["ogki_fragment_defconfig"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
Reference in New Issue
Block a user