| 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 # This file is gn GN version of modules.gypi. Note that all file lists are |
| 6 # relative to the source root. |
| 7 _gypi = exec_script( |
| 8 "//build/gypi_to_gn.py", |
| 9 [ rebase_path("modules.gypi"), |
| 10 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir"], |
| 11 "scope", |
| 12 [ "modules.gypi" ]) |
| 13 |
| 14 _tmp_modules_idl_files = _gypi.modules_idl_files |
| 15 # modules_idl_files has a magic variable in it that is an embedder hook, |
| 16 # remove that since it's not a file. |
| 17 _tmp_modules_idl_files -= [ "<@(extra_blink_module_idl_files)" ] |
| 18 modules_idl_files = rebase_path(_tmp_modules_idl_files, "//") |
| 19 |
| 20 # 'partial interface' or target (right side of) 'implements' |
| 21 modules_dependency_idl_files = |
| 22 rebase_path(_gypi.modules_dependency_idl_files, "//") |
| 23 |
| 24 # interfaces that inherit from Event |
| 25 modules_event_idl_files = rebase_path(_gypi.modules_event_idl_files, "//") |
| 26 generated_modules_files = rebase_path(_gypi.generated_modules_files, "//") |
| 27 modules_files = rebase_path(_gypi.modules_files, "//") |
| 28 |
| 29 # 'partial interface' or target (right side of) 'implements' |
| 30 modules_testing_dependency_idl_files = |
| 31 rebase_path(_gypi.modules_testing_dependency_idl_files, "//") |
| 32 |
| 33 modules_testing_files = rebase_path(_gypi.modules_testing_files, "//") |
| 34 modules_unittest_files = rebase_path(_gypi.modules_unittest_files, "//") |
| OLD | NEW |