%YAML 1.2
--- |
  # Copyright 2015 gRPC authors.
  #
  # 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.

  # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_core_dependencies.py.template`!!!
  <%
    srcs = []
    asm_srcs = {}
    for lib in libs:
      if lib.name in python_dependencies.transitive_deps:
        for src in lib.src:
          srcs.append(src)
      if hasattr(lib, 'asm_src'):
        asm_srcs = lib.asm_src
    srcs = sorted(set(srcs))
  %>
  CORE_SOURCE_FILES = [
  % for src in srcs:
      '${src}',
  % endfor
  ]

  ASM_SOURCE_FILES = {
  % for asm, asm_src in asm_srcs.items():
      '${asm}': [
    % for src in asm_src:
          '${src}',
    % endfor
      ],
  % endfor
  }
