Home | History | Annotate | Download | only in test
      1 # Copyright (c) 2012 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 {
      6   'targets': [
      7     {
      8       'target_name': 'json_schema_compiler_tests',
      9       'type': 'static_library',
     10       'variables': {
     11         'chromium_code': 1,
     12         'schema_files': [
     13           'additional_properties.json',
     14           'any.json',
     15           'arrays.json',
     16           'callbacks.json',
     17           'choices.json',
     18           'crossref.json',
     19           'enums.json',
     20           'functions_as_parameters.json',
     21           'functions_on_types.json',
     22           'idl_basics.idl',
     23           'idl_other_namespace.idl',
     24           'idl_other_namespace_sub_namespace.idl',
     25           'idl_object_types.idl',
     26           'objects.json',
     27           'simple_api.json',
     28           'error_generation.json'
     29         ],
     30         'cc_dir': 'tools/json_schema_compiler/test',
     31         'root_namespace': 'test::api',
     32       },
     33       'inputs': [
     34         '<@(schema_files)',
     35       ],
     36       'sources': [
     37         '<@(schema_files)',
     38         'test_util.cc',
     39         'test_util.h',
     40       ],
     41       'includes': ['../../../build/json_schema_compile.gypi'],
     42       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
     43       'msvs_disabled_warnings': [4267, ],
     44     },
     45   ],
     46 }
     47