AIDEGen: collect cc_srcs and cc related flags in module_bp_cc_deps.json
Define a field CCSrcs and other cc related flags in a type ccIdeInfo struct and write them into out/soong/module_bp_cc_deps.json. AIDEGen can use these data to generate CMakeLists.txt by Python for multiple native projects in CLion IDE. Bug: 141512319 Test: 1. export SOONG_COLLECT_JAVA_DEPS=false SOONG_COLLECT_CC_DEPS=true;m nothing check 1). File out/soong/module_bp_cc_deps.json is generated. 2). In "JniInvocation_test" module: "path", "srcs", "global_common_flags", "local_common_flags", "global_c_flags", "local_c_flags", "global_c_conly_flags", "local_c_conly_flags", "global_cpp_flags", "local_cpp_flags" and "system_include_flags" have been created. Change-Id: I9292cc6373157ba68f013998a7364f84a70d5593
Loading
Please register or sign in to comment