Home | History | Annotate | Download | only in core
      1 # Copyright 2014 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 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
      6 
      7 {
      8   'includes': [
      9     '../../core/core.gypi',
     10     'generated.gypi',
     11   ],
     12 
     13   'variables': {
     14     # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
     15     # Interface IDL files: generate individual bindings (includes testing)
     16     'core_interface_idl_files': [
     17       '<@(core_idl_files)',
     18       '<@(webcore_testing_idl_files)',
     19       '<@(generated_webcore_testing_idl_files)',
     20     ],
     21 
     22     # Write lists of main IDL files to a file, so that the command lines don't
     23     # exceed OS length limits.
     24     'core_idl_files_list': '<|(core_idl_files_list.tmp <@(core_idl_files))',
     25 
     26     # Dependency IDL files: don't generate individual bindings, but do process
     27     # in IDL dependency computation, and count as build dependencies
     28     # 'core_dependency_idl_files' is already used in Source/core, so avoid
     29     # collision
     30     'core_all_dependency_idl_files': [
     31       '<@(core_static_dependency_idl_files)',
     32       '<@(core_generated_dependency_idl_files)',
     33     ],
     34 
     35     # Static IDL files / Generated IDL files
     36     # Paths need to be passed separately for static and generated files, as
     37     # static files are listed in a temporary file (b/c too long for command
     38     # line), but generated files must be passed at the command line, as their
     39     # paths are not fixed at GYP time, when the temporary file is generated,
     40     # because their paths depend on the build directory, which varies.
     41     'core_static_idl_files': [
     42       '<@(core_static_interface_idl_files)',
     43       '<@(core_static_dependency_idl_files)',
     44     ],
     45     'core_static_idl_files_list':
     46       '<|(core_static_idl_files_list.tmp <@(core_static_idl_files))',
     47 
     48     'core_generated_idl_files': [
     49       '<@(core_generated_interface_idl_files)',
     50       '<@(core_generated_dependency_idl_files)',
     51     ],
     52 
     53     # Static IDL files
     54     'core_static_interface_idl_files': [
     55       '<@(core_idl_files)',
     56       '<@(webcore_testing_idl_files)',
     57     ],
     58     'core_static_dependency_idl_files': [
     59       '<@(core_dependency_idl_files)',
     60     ],
     61 
     62     # Generated IDL files
     63     'core_generated_interface_idl_files': [
     64       '<@(generated_webcore_testing_idl_files)',  # interfaces
     65     ],
     66 
     67     'core_generated_dependency_idl_files': [
     68       '<@(core_global_constructors_generated_idl_files)',  # partial interfaces
     69     ],
     70   },
     71 }
     72