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

import("//build/buildflag_header.gni")
import("//components/guest_contents/common/buildflags.gni")
import("//mojo/public/tools/bindings/mojom.gni")

buildflag_header("buildflags") {
  header = "buildflags.h"
  flags = [ "ENABLE_GUEST_CONTENTS=$enable_guest_contents" ]
}

mojom("mojom") {
  cpp_only = true
  disable_variants = true
  sources = [ "guest_contents.mojom" ]
  deps = [
    "//mojo/public/mojom/base",
    "//third_party/blink/public/mojom/tokens",
  ]
}
