编译ROM时出现的一个问题,请大佬帮忙

大佬们,我用的是一加7T,憋的实在不行了想自己尝试编译一个魔趣试试。
device和kernel都有了,并且仿照7TP的魔趣device库mokee-ify了,也成功进行了 breakfast hotdogb,
但mka bacon 后出现了这个问题:

FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: device/oneplus/sm8150-common/livedisplay/Android.bp:41:1: "[email protected]_msmnile" depends on undefined module "[email protected]"
20:12:39 soong bootstrap failed with: exit status 1

#### failed to build some targets (01:19 (mm:ss)) ####

想知道这个是什么原因导致的,还有就是提示缺失的那个模块该去哪里找,该放在哪里 :joy:。。谢谢大佬们

对了,出错的Android.bp文件内容如下:

// Copyright (C) 2019 The LineageOS Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

cc_defaults {
    name: "livedisplay_oneplus_msmnile",
    defaults: ["hidl_defaults"],
    relative_install_path: "hw",
    srcs: [
        ":[email protected]",
        ":[email protected]",
        "DisplayModes.cpp",
        "SunlightEnhancement.cpp",
        "service.cpp",
    ],
    shared_libs: [
        "libbase",
        "libbinder",
        "libcutils",
        "libdl",
        "libhidlbase",
        "libhidltransport",
        "libutils",
        "[email protected]",
    ],
    header_libs: [
        "[email protected]",
    ],
}

cc_binary {
    name: "[email protected]_msmnile",
    init_rc: ["[email protected]_msmnile.rc"],
    defaults: ["livedisplay_oneplus_msmnile"],
    proprietary: true,
}

解决了。。repo sync自动同步了mkq分支的代码导致代码里真的没有这个module,手动拉取了mkq-mr1的新代码,这个问题解决。

你repo init的时候选错了分支了吧

大概是。。我运行repo init的时候没指定分支

这样你编译出来也是不能用的

好的,看来得全部重来了。。哭了