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