# 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. | |
import("//mojo/public/tools/bindings/mojom.gni") | |
mojom("on_load_script_injector_mojom") { | |
sources = [ "on_load_script_injector.mojom" ] | |
public_deps = [ "//mojo/public/mojom/base" ] | |
visibility = [ "./*" ] | |
export_define = "ON_LOAD_SCRIPT_INJECTOR_IMPLEMENTATION=1" | |
export_class_attribute = "ON_LOAD_SCRIPT_INJECTOR_EXPORT" | |
export_header = "components/on_load_script_injector/export.h" | |
} | |
source_set("export") { | |
sources = [ "export.h" ] | |
} |