tools/android/dependency_analysis/chrome_names.py
def shorten_build_target(build_target: str) -> str:
    """Returns a shortened version of the build target."""
    if build_target == '//chrome/android:chrome_java':
        return 'chrome_java'

    return build_target.replace('//chrome/browser/', '//c/b/')
Returns a shortened version of the build target.
Returns a shortened version of the build target.
Returns a shortened version of the build target .
def shorten_build_target(build_target: str) -> str:
    if build_target == '//chrome/android:chrome_java':
        return 'chrome_java'
    return build_target.replace('//chrome/browser/', '//c/b/')
def shorten_build_target ( build_target : str ) -> str : if build_target == '//chrome/android:chrome_java' : return 'chrome_java' return build_target . replace ( '//chrome/browser/' , '//c/b/' )
Returns a shortened version of the build target.
Returns a shortened version of the build target .
"""Returns a shortened version of the build target."""
build_target
str