OLD | NEW |
(Empty) | |
| 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 import("//third_party/WebKit/Source/bindings/core/idl.gni") |
| 6 import("//third_party/WebKit/Source/modules/modules.gni") |
| 7 |
| 8 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces |
| 9 |
| 10 # Static IDL files |
| 11 modules_static_interface_idl_files = |
| 12 modules_idl_files |
| 13 modules_static_dependency_idl_files = |
| 14 modules_dependency_idl_files + |
| 15 modules_testing_dependency_idl_files |
| 16 |
| 17 # Static IDL files / Generated IDL files |
| 18 # |
| 19 # In GYP, paths need to be passed separately for static and generated files, as |
| 20 # static files are listed in a temporary file (b/c too long for command line), |
| 21 # but generated files must be passed at the command line, as their paths are |
| 22 # not fixed at GYP time, when the temporary file is generated, because their |
| 23 # paths depend on the build directory, which varies. |
| 24 # |
| 25 # FIXME: GN does not have this limitation and we can combine the lists. |
| 26 # Currently we keep the GYP/GN builds in sync for simplicity, but this can be |
| 27 # cleaned up once GYP is not used. |
| 28 modules_static_idl_files = |
| 29 modules_static_interface_idl_files + |
| 30 modules_static_dependency_idl_files |
| 31 |
| 32 # 'modules_dependency_idl_files' is already used in Source/modules, so avoid |
| 33 # collision |
| 34 modules_all_dependency_idl_files = |
| 35 modules_static_dependency_idl_files |
| 36 #+ modules_generated_dependency_idl_files |
| 37 |
| 38 # Dependency IDL files: don't generate individual bindings, but do process |
| 39 # in IDL dependency computation, and count as build dependencies |
| 40 all_dependency_idl_files = |
| 41 core_all_dependency_idl_files + |
| 42 modules_all_dependency_idl_files |
OLD | NEW |