Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Side by Side Diff: tools/json_schema_compiler/test/BUILD.gn

Issue 880873003: Add unit tests target to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/BUILD.gn ('k') | tools/json_schema_compiler/test/json_schema_compiler_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/json_schema_api.gni")
6
7 json_schema_api("api") {
8 visibility = [ ":*" ]
9
10 sources = [
11 "additional_properties.json",
12 "any.json",
13 "arrays.json",
14 "callbacks.json",
15 "choices.json",
16 "crossref.json",
17 "enums.json",
18 "functions_as_parameters.json",
19 "functions_on_types.json",
20 "idl_basics.idl",
21 "idl_other_namespace.idl",
22 "idl_other_namespace_sub_namespace.idl",
23 "idl_object_types.idl",
24 "objects.json",
25 "simple_api.json",
26 "error_generation.json",
27 ]
28
29 schemas = true
30 root_namespace = "test::api::%(namespace)s"
31 }
32
33 source_set("test") {
34 testonly = true
35 sources = [
36 "test_util.cc",
37 "test_util.h",
38 ]
39 public_deps = [
40 ":api",
41 ]
42
43 if (is_win) {
44 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
45 cflags = [ "/wd4267" ]
46 }
47 }
OLDNEW
« no previous file with comments | « extensions/BUILD.gn ('k') | tools/json_schema_compiler/test/json_schema_compiler_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698