• Henrique Nakashima's avatar
    Reland "Modularize DeviceConditions to chrome/browser/device" · db3378c8
    Henrique Nakashima authored
    This is a reland of 7cf7dadf
    
    Fixes: https://chromium-review.googlesource.com/c/chromium/src/+/2432754/2..3
    
    device_junit_tests is also the name of a junit_binary, and cannot be
    used as the target name. Not sure why CQ didn't catch this last time,
    confirmed locally that was the problem.
    
    Original change's description:
    > Modularize DeviceConditions to chrome/browser/device
    >
    > This is a step to unblock some classes that depend on it (list below)
    > and allow modularized code to reuse it.
    >
    > 11 inbound dependency(ies) into .c.b.DeviceConditions:
    >     [chrome_java]
    >         <- .c.b.background_sync.BackgroundSyncBackgroundTask
    >         <- .c.b.background_sync.PeriodicBackgroundSyncChromeWakeUpTask
    >         <- .c.b.download.DownloadInfoBarController
    >         <- .c.b.explore_sites.ExploreSitesBackgroundTask
    >         <- .c.b.offlinepages.BackgroundSchedulerBridge
    >         <- .c.b.offlinepages.BackgroundSchedulerProcessor
    >         <- .c.b.offlinepages.OfflineBackgroundTask
    >         <- .c.b.offlinepages.prefetch.OfflineNotificationBackgroundTask
    >         <- .c.b.offlinepages.prefetch.PrefetchBackgroundTask
    >         <- .c.b.services.gcm.ChromeGcmListenerService
    >         <- .c.b.sharing.click_to_call.ClickToCallMessageHandler
    >
    > This also breaks about 0.4% of the existing package cycles.
    >
    > Change-Id: I8ff8b665af2269161811ff76a4087b7e38d38172
    > Bug: 1132380
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429587
    > Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
    > Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#810702}
    
    Bug: 1132380, 1132399
    Change-Id: I3a41f3cb154ed261aed671debeb393b82b1411fe
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2432754
    Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
    Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#811470}
    db3378c8
DEPS 6.91 KB