blob: 33e6219e0ac70ce9105d64a9a78c308725d17f35 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/json_schema_api.gni")
json_schema_api("api") {
visibility = [ ":*" ]
sources = [
"additional_properties.json",
"any.json",
"arrays.json",
"callbacks.json",
"choices.json",
"crossref.json",
"enums.json",
"error_generation.json",
"functions_as_parameters.json",
"functions_on_types.json",
"idl_basics.idl",
"idl_object_types.idl",
"idl_other_namespace.idl",
"idl_other_namespace_sub_namespace.idl",
"objects.json",
"simple_api.json",
]
schemas = true
root_namespace = "test::api::%(namespace)s"
}
source_set("test") {
testonly = true
sources = [
"test_util.cc",
"test_util.h",
]
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
public_deps = [
":api",
"//base",
]
}