chromium/mojo/public/tools/mojom/mojom/BUILD.gn

# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

group("mojom") {
  data = [
    "__init__.py",
    "error.py",
    "fileutil.py",
    "format/__init__.py",
    "format/format.py",
    "generate/__init__.py",
    "generate/check.py",
    "generate/compatibility_checker.py",
    "generate/generator.py",
    "generate/module.py",
    "generate/pack.py",
    "generate/template_expander.py",
    "generate/translate.py",
    "parse/__init__.py",
    "parse/ast.py",
    "parse/conditional_features.py",
    "parse/lexer.py",
    "parse/parser.py",

    # Third-party module dependencies
    "//third_party/jinja2/",
    "//third_party/ply/",
  ]
}

group("tests") {
  data = [
    "fileutil_unittest.py",
    "format/format_unittest.py",
    "format/testdata/enum.out",
    "format/testdata/comments.out",
    "format/testdata/imports.out",
    "format/testdata/copyright.out",
    "format/testdata/imports.in",
    "format/testdata/method_wrapping.out",
    "format/testdata/interface_odds.out",
    "format/testdata/attributes.in",
    "format/testdata/attributes.out",
    "format/testdata/copyright.in",
    "format/testdata/interface_odds.in",
    "format/testdata/enum.in",
    "format/testdata/long_comment.in",
    "format/testdata/long_comment.out",
    "format/testdata/comments.in",
    "format/testdata/struct_fields.in",
    "format/testdata/method_wrapping.in",
    "format/testdata/struct_fields.out",
    "generate/generator_unittest.py",
    "generate/module_unittest.py",
    "generate/pack_unittest.py",
    "generate/translate_unittest.py",
    "parse/ast_unittest.py",
    "parse/conditional_features_unittest.py",
    "parse/lexer_unittest.py",
    "parse/parser_unittest.py",
  ]

  public_deps = [ ":mojom" ]
}