| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//third_party/WebKit/Source/bindings/bindings.gni") | 5 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 6 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") | 6 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") |
| 7 import("//third_party/WebKit/Source/bindings/templates/templates.gni") | 7 import("//third_party/WebKit/Source/bindings/templates/templates.gni") |
| 8 | 8 |
| 9 visibility = "//third_party/WebKit/*" |
| 10 |
| 9 # A separate pre-caching step is *not required* to use lex/parse table | 11 # A separate pre-caching step is *not required* to use lex/parse table |
| 10 # caching in PLY, as the caches are concurrency-safe. | 12 # caching in PLY, as the caches are concurrency-safe. |
| 11 # However, pre-caching ensures that all compiler processes use the cached | 13 # However, pre-caching ensures that all compiler processes use the cached |
| 12 # files (hence maximizing speed), instead of early processes building the | 14 # files (hence maximizing speed), instead of early processes building the |
| 13 # tables themselves (as they've not yet been written when they start). | 15 # tables themselves (as they've not yet been written when they start). |
| 14 # | 16 # |
| 15 # GYP version: scripts.gyp:cached_lex_yacc_tables | 17 # GYP version: scripts.gyp:cached_lex_yacc_tables |
| 16 action("cached_lex_yacc_tables") { | 18 action("cached_lex_yacc_tables") { |
| 17 script = "blink_idl_parser.py" | 19 script = "blink_idl_parser.py" |
| 18 | 20 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 code_generator_template_files | 39 code_generator_template_files |
| 38 # Dummy file to track dependency. | 40 # Dummy file to track dependency. |
| 39 stamp_file = "$bindings_scripts_output_dir/cached_jinja_templates.stamp" | 41 stamp_file = "$bindings_scripts_output_dir/cached_jinja_templates.stamp" |
| 40 outputs = [ stamp_file ] | 42 outputs = [ stamp_file ] |
| 41 | 43 |
| 42 args = [ | 44 args = [ |
| 43 rebase_path(bindings_scripts_output_dir, root_build_dir), | 45 rebase_path(bindings_scripts_output_dir, root_build_dir), |
| 44 rebase_path(stamp_file, root_build_dir), | 46 rebase_path(stamp_file, root_build_dir), |
| 45 ] | 47 ] |
| 46 } | 48 } |
| OLD | NEW |