• Sylvain Defresne's avatar
    Revert "Fix compilation of official build with Firebase enabled" · 117a9390
    Sylvain Defresne authored
    This reverts commit 8420c60c.
    
    Reason for revert:
    
    The CL is incorrect as the override of bundle_deps remove necessary dependencies from "chrome" target when firebase is enabled ("//ios/chrome/app/resources" and ios_application_icons_target).
    
    This causes any clobber build with firebase enabled to lack all packed resources, launchscreen xib, ...
    
    Original change's description:
    > Fix compilation of official build with Firebase enabled
    > 
    > Official build with Firebase enabled uses variants to specify
    > which Info.plist to use as resource for Firebase. This causes
    > a conflict as two bundle_data have the same output path.
    > 
    > Move the dependency on ios_firebase_resources_target to the
    > definition of the "chrome" target, behind the check for use
    > of the variants to prevent this conflict.
    > 
    > Patchset 1 is the original CL http://crrev/c/1250924 by sdefresne
    > from which this CL is cloned from.
    > 
    > TBR=sdefresne@chromium.org, justincohen@chromium.org
    > 
    > Bug: 845383
    > Change-Id: I0e74f04f27708eb970c61b1048cb2492c45cbba4
    > Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
    > Reviewed-on: https://chromium-review.googlesource.com/1252321
    > Commit-Queue: Peter Lee <pkl@chromium.org>
    > Reviewed-by: Peter Lee <pkl@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#595187}
    
    TBR=sdefresne@chromium.org,justincohen@chromium.org,pkl@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 845383
    Change-Id: I23a38548438e05b0b864024e4966cfb5a3168040
    Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
    Reviewed-on: https://chromium-review.googlesource.com/1252483Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#595357}
    117a9390
BUILD.gn 1.36 KB