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

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

Issue 1829753003: [Extensions] Update generated code to support movable additional properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 8 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/json_schema_api.gni") 5 import("//build/json_schema_api.gni")
6 6
7 json_schema_api("api") { 7 json_schema_api("api") {
8 visibility = [ ":*" ] 8 visibility = [ ":*" ]
9 9
10 sources = [ 10 sources = [
11 "additional_properties.json", 11 "additional_properties.json",
12 "any.json", 12 "any.json",
13 "arrays.json", 13 "arrays.json",
14 "callbacks.json", 14 "callbacks.json",
15 "choices.json", 15 "choices.json",
16 "crossref.json", 16 "crossref.json",
17 "enums.json", 17 "enums.json",
18 "error_generation.json", 18 "error_generation.json",
19 "functions_as_parameters.json", 19 "functions_as_parameters.json",
20 "functions_on_types.json", 20 "functions_on_types.json",
21 "idl_basics.idl", 21 "idl_basics.idl",
22 "idl_object_types.idl", 22 "idl_object_types.idl",
23 "idl_other_namespace.idl", 23 "idl_other_namespace.idl",
24 "idl_other_namespace_sub_namespace.idl", 24 "idl_other_namespace_sub_namespace.idl",
25 "objects.json", 25 "objects.json",
26 "objects_movable.idl", 26 "objects_movable.idl",
27 "objects_movable_json.json",
27 "simple_api.json", 28 "simple_api.json",
28 ] 29 ]
29 30
30 schemas = true 31 schemas = true
31 root_namespace = "test::api::%(namespace)s" 32 root_namespace = "test::api::%(namespace)s"
32 } 33 }
33 34
34 source_set("test") { 35 source_set("test") {
35 testonly = true 36 testonly = true
36 sources = [ 37 sources = [
37 "test_util.cc", 38 "test_util.cc",
38 "test_util.h", 39 "test_util.h",
39 ] 40 ]
40 41
41 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 42 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
42 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 43 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
43 44
44 public_deps = [ 45 public_deps = [
45 ":api", 46 ":api",
46 "//base", 47 "//base",
47 ] 48 ]
48 } 49 }
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/cc_generator.py ('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