gn2bp: Set compile_multilibe: first to cc_object for gcc_processor.py
Test: ./update_results.sh, m cronet_aml_java Change-Id: I8da6cf4f8bd215e854cd457ac438d020d5edce80
This commit is contained in:
@@ -5698,7 +5698,7 @@ cc_object {
|
||||
"-E",
|
||||
"-P",
|
||||
],
|
||||
compile_multilib: "32",
|
||||
compile_multilib: "first",
|
||||
}
|
||||
|
||||
// GN: //build/android:build_config_gen
|
||||
@@ -7899,7 +7899,7 @@ cc_object {
|
||||
"-E",
|
||||
"-P",
|
||||
],
|
||||
compile_multilib: "32",
|
||||
compile_multilib: "first",
|
||||
}
|
||||
|
||||
// GN: //components/cronet/android:integrated_mode_state
|
||||
@@ -7965,7 +7965,7 @@ cc_object {
|
||||
"-E",
|
||||
"-P",
|
||||
],
|
||||
compile_multilib: "32",
|
||||
compile_multilib: "first",
|
||||
}
|
||||
|
||||
// GN: //components/cronet/android:load_states_list
|
||||
@@ -9958,7 +9958,7 @@ cc_object {
|
||||
"-E",
|
||||
"-P",
|
||||
],
|
||||
compile_multilib: "32",
|
||||
compile_multilib: "first",
|
||||
}
|
||||
|
||||
// GN: //net/android:net_errors_java
|
||||
|
||||
@@ -663,7 +663,7 @@ def create_gcc_preprocess_modules(blueprint, target):
|
||||
# It seems this is because cc object is a module with per-architecture variants and genrule is a
|
||||
# module with default variant. For 64bit target, cc_object is built multiple times for 32/64bit
|
||||
# modes and genrule doesn't know which one to depend on.
|
||||
preprocess_module.compile_multilib = 32
|
||||
preprocess_module.compile_multilib = 'first'
|
||||
blueprint.add_module(preprocess_module)
|
||||
|
||||
# Generates srcjar using soong_zip
|
||||
|
||||
Reference in New Issue
Block a user