mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Remove references to xstream from WebRTC codebase.
No-Presubmit: True Bug: chromium:1245605 Change-Id: I02e9459c0a41c95e8ae08551350d1a5f4ca6cb64 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231121 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34900}
This commit is contained in:
parent
faba0fa1c7
commit
cc2294d9b7
3 changed files with 28 additions and 28 deletions
|
@ -202,15 +202,16 @@ class TestRollChromiumRevision(unittest.TestCase):
|
|||
self.assertEquals(changed_deps[0].current_rev, BUILD_OLD_REV)
|
||||
self.assertEquals(changed_deps[0].new_rev, BUILD_NEW_REV)
|
||||
|
||||
self.assertEquals(changed_deps[1].path, 'src/third_party/depot_tools')
|
||||
self.assertEquals(changed_deps[1].current_rev, DEPOTTOOLS_OLD_REV)
|
||||
self.assertEquals(changed_deps[1].new_rev, DEPOTTOOLS_NEW_REV)
|
||||
self.assertEquals(changed_deps[1].path, 'src/buildtools/linux64')
|
||||
self.assertEquals(changed_deps[1].package, 'gn/gn/linux-amd64')
|
||||
self.assertEquals(changed_deps[1].current_version,
|
||||
'git_revision:69ec4fca1fa69ddadae13f9e6b7507efa0675263')
|
||||
self.assertEquals(changed_deps[1].new_version,
|
||||
'git_revision:new-revision')
|
||||
|
||||
self.assertEquals(changed_deps[2].path, 'src/third_party/xstream')
|
||||
self.assertEquals(changed_deps[2].package,
|
||||
'chromium/third_party/xstream')
|
||||
self.assertEquals(changed_deps[2].current_version, 'version:1.4.8-cr0')
|
||||
self.assertEquals(changed_deps[2].new_version, 'version:1.10.0-cr0')
|
||||
self.assertEquals(changed_deps[2].path, 'src/third_party/depot_tools')
|
||||
self.assertEquals(changed_deps[2].current_rev, DEPOTTOOLS_OLD_REV)
|
||||
self.assertEquals(changed_deps[2].new_rev, DEPOTTOOLS_NEW_REV)
|
||||
|
||||
def testWithDistinctDeps(self):
|
||||
"""Check CalculateChangedDeps still works when deps are added/removed. """
|
||||
|
@ -257,7 +258,7 @@ class TestRollChromiumRevision(unittest.TestCase):
|
|||
_, other_paths = FindRemovedDeps(webrtc_deps, new_cr_deps)
|
||||
self.assertEquals(
|
||||
other_paths,
|
||||
['src/third_party/xstream', 'src/third_party/depot_tools'])
|
||||
['src/buildtools/linux64', 'src/third_party/depot_tools'])
|
||||
|
||||
def testExpectedDepsIsNotReportedMissing(self):
|
||||
"""Some deps musn't be seen as missing, even if absent from Chromium."""
|
||||
|
|
|
@ -15,15 +15,15 @@ deps = {
|
|||
Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + 'b9ae2ca9a55d9b754c313f4c9e9f0f3b804a5e44',
|
||||
|
||||
# Entry that's also a CIPD entry in the Chromium DEPS file.
|
||||
'src/third_party/xstream': {
|
||||
'packages': [
|
||||
{
|
||||
'package': 'chromium/third_party/xstream',
|
||||
'version': 'version:1.4.8-cr0',
|
||||
},
|
||||
],
|
||||
'condition': 'checkout_android',
|
||||
'dep_type': 'cipd',
|
||||
'src/buildtools/linux64': {
|
||||
'packages': [
|
||||
{
|
||||
'package': 'gn/gn/linux-amd64',
|
||||
'version': 'git_revision:69ec4fca1fa69ddadae13f9e6b7507efa0675263',
|
||||
}
|
||||
],
|
||||
'dep_type': 'cipd',
|
||||
'condition': 'checkout_linux',
|
||||
},
|
||||
|
||||
# Script expects to find these markers.
|
||||
|
|
|
@ -11,16 +11,15 @@ deps = {
|
|||
'src/third_party/depot_tools':
|
||||
Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + Var('depot_tools_revision'),
|
||||
|
||||
'src/third_party/xstream': {
|
||||
'packages': [
|
||||
{
|
||||
'package': 'chromium/third_party/xstream',
|
||||
# This is updated compared to the DEPS file.
|
||||
'version': 'version:1.10.0-cr0',
|
||||
},
|
||||
],
|
||||
'condition': 'checkout_android',
|
||||
'dep_type': 'cipd',
|
||||
'src/buildtools/linux64': {
|
||||
'packages': [
|
||||
{
|
||||
'package': 'gn/gn/linux-amd64',
|
||||
'version': 'git_revision:new-revision',
|
||||
}
|
||||
],
|
||||
'dep_type': 'cipd',
|
||||
'condition': 'checkout_linux',
|
||||
},
|
||||
|
||||
# Script expects to find these markers.
|
||||
|
|
Loading…
Reference in a new issue