old_contents: # Copyright 2016 The Bazel Authors. All rights reserved.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #    http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  """Repositories for Dart."""
  
  
  DART_BUILD_FILE = """
  package(default_visibility = [ "//visibility:public" ])
  
  filegroup(
    name = "dart_vm",
    srcs = ["dart-sdk/bin/dart"],
  )
  
  filegroup(
    name = "dart2js",
    srcs = ["dart-sdk/bin/dart2js"],
  )
  
  filegroup(
    name = "dart2js_support",
    srcs = glob([
        "dart-sdk/bin/dart",
        "dart-sdk/bin/snapshots/dart2js.dart.snapshot",
        "dart-sdk/lib/**",
    ]),
  )
  
  filegroup(
    name = "pub",
    srcs = ["dart-sdk/bin/pub"],
  )
  
  filegroup(
    name = "pub_support",
    srcs = glob([
        "dart-sdk/version",
        "dart-sdk/bin/dart",
        "dart-sdk/bin/snapshots/pub.dart.snapshot",
    ]),
  )
  """
  
  
  def dart_repositories():
    native.new_http_archive(
        name = "dart_linux_x86_64",
        url = "https://storage.googleapis.com/dart-archive/channels/stable/release/1.19.1/sdk/dartsdk-linux-x64-release.zip",
        sha256 = "de3634a5572b805172aa3544214a5b1ecf3d16a20956cd5cac3781863cbfdb0a",
        build_file_content = DART_BUILD_FILE,
    )
  
    native.new_http_archive(
        name = "dart_darwin_x86_64",
        url = "https://storage.googleapis.com/dart-archive/channels/stable/release/1.19.1/sdk/dartsdk-macos-x64-release.zip",
        sha256 = "bbcbf5a6c566b3a1a057129158982f4fba54c848e0c3ed4fcee7fdf85d53d885",
        build_file_content = DART_BUILD_FILE,
    )
  
new_contents: # Copyright 2016 The Bazel Authors. All rights reserved.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #    http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  """Repositories for Dart."""
  
  
  _DART_SDK_BUILD_FILE = """
  package(default_visibility = [ "//visibility:public" ])
  
  filegroup(
    name = "dart_vm",
    srcs = ["dart-sdk/bin/dart"],
  )
  
  filegroup(
    name = "dart2js",
    srcs = ["dart-sdk/bin/dart2js"],
  )
  
  filegroup(
    name = "dart2js_support",
    srcs = glob([
        "dart-sdk/bin/dart",
        "dart-sdk/bin/snapshots/dart2js.dart.snapshot",
        "dart-sdk/lib/**",
    ]),
  )
  
  filegroup(
    name = "pub",
    srcs = ["dart-sdk/bin/pub"],
  )
  
  filegroup(
    name = "pub_support",
    srcs = glob([
        "dart-sdk/version",
        "dart-sdk/bin/dart",
        "dart-sdk/bin/snapshots/pub.dart.snapshot",
    ]),
  )
  """
  
  
  def dart_repositories():
    native.new_http_archive(
        name = "dart_linux_x86_64",
        url = "https://storage.googleapis.com/dart-archive/channels/stable/release/1.19.1/sdk/dartsdk-linux-x64-release.zip",
        sha256 = "de3634a5572b805172aa3544214a5b1ecf3d16a20956cd5cac3781863cbfdb0a",
        build_file_content = _DART_SDK_BUILD_FILE,
    )
  
    native.new_http_archive(
        name = "dart_darwin_x86_64",
        url = "https://storage.googleapis.com/dart-archive/channels/stable/release/1.19.1/sdk/dartsdk-macos-x64-release.zip",
        sha256 = "bbcbf5a6c566b3a1a057129158982f4fba54c848e0c3ed4fcee7fdf85d53d885",
        build_file_content = _DART_SDK_BUILD_FILE,
    )
  
subject: Rename DART_BUILD_FILE to _DART_SDK_BUILD_FILE