• Nelson Billing's avatar
    Implement DWARF Fission support in Chrome Android. · 3ed7301e
    Nelson Billing authored
    - This is a fixed version of
    https://chromium-review.googlesource.com/c/chromium/src/+/1995743
    which was reverted because it caused a build failure for ToTLinux.
    -Build failure in ToTLinux is fixed by only adding "--generate-dwp" for
    the Android toolchain when building for Android OS.
    - Modify some compiler build definitions to allow symbol_level=2 with
    Chrome Android 32bit, and to make the build respect use_debug_fission in
    those cases.
    - Modify "link" and "solink" tools in Android toolchain so that DWP
    files can be generated for builds with use_debug_fission.
    - Modify partitioned_shared_library template/script so that DWP files
    can be generated for partitioned libs when use_debug_fission is set.
    
    Change-Id: I7f023de42e46aca1e8c56c9edf3858617e2ab5ad
    
    Cq-Include-Trybots: chromium/try:mac_chromium_asan_rel_ng
    Cq-Include-Trybots: chromium/try:linux_chromium_cfi_rel_ng
    Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_asan_rel_ng
    Cq-Include-Trybots: chromium/try:linux_chromium_msan_rel_ng
    Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_msan_rel_ng
    Cq-Include-Trybots: chromium/try:linux-chromeos-dbg,win-asan
    Cq-Include-Trybots: chromium/try:chromeos-amd64-generic-cfi-thin-lto-rel
    Cq-Include-Trybots: chromium/try:linux_chromium_compile_dbg_32_ng
    Cq-Include-Trybots: chromium/try:win7-rel,win-angle-deqp-rel-32
    Cq-Include-Trybots: chromium/try:linux_angle_deqp_rel_ng
    Cq-Include-Trybots: chromium/try:win-angle-deqp-rel-64
    Cq-Include-Trybots: chromium/try:dawn-win10-x86-deps-rel
    Cq-Include-Trybots: chrome/try:linux-chromeos-chrome
    Cq-Include-Trybots: chrome/try:mac-chrome
    Change-Id: I7f023de42e46aca1e8c56c9edf3858617e2ab5ad
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2330810
    Commit-Queue: Nelson Billing <nbilling@google.com>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#801271}
    3ed7301e
gcc_link_wrapper.py 3.22 KB