Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: third_party/WebKit/Source/bindings/scripts/BUILD.gn

Issue 2350843003: Remove GYP annotations from third_party GN files. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/*" ] 9 visibility = [ "//third_party/WebKit/*" ]
10 10
11 # This separate pre-caching step is required to use lex/parse table 11 # This separate pre-caching step is required to use lex/parse table
12 # caching in PLY, since PLY itself does not check if the cache is 12 # caching in PLY, since PLY itself does not check if the cache is
13 # valid, and thus may end up using a stale cache if this step hasn't 13 # valid, and thus may end up using a stale cache if this step hasn't
14 # been run to update it. 14 # been run to update it.
15 # 15 #
16 # This action's dependencies *is* the cache validation. 16 # This action's dependencies *is* the cache validation.
17 #
18 # GYP version: scripts.gyp:cached_lex_yacc_tables
19 action("cached_lex_yacc_tables") { 17 action("cached_lex_yacc_tables") {
20 script = "blink_idl_parser.py" 18 script = "blink_idl_parser.py"
21 19
22 inputs = idl_lexer_parser_files 20 inputs = idl_lexer_parser_files
23 outputs = [ 21 outputs = [
24 "$bindings_scripts_output_dir/lextab.py", 22 "$bindings_scripts_output_dir/lextab.py",
25 "$bindings_scripts_output_dir/parsetab.pickle", 23 "$bindings_scripts_output_dir/parsetab.pickle",
26 ] 24 ]
27 25
28 args = [ rebase_path(bindings_scripts_output_dir, root_build_dir) ] 26 args = [ rebase_path(bindings_scripts_output_dir, root_build_dir) ]
29 } 27 }
30 28
31 # A separate pre-caching step is *required* to use bytecode caching in 29 # A separate pre-caching step is *required* to use bytecode caching in
32 # Jinja (which improves speed significantly), as the bytecode cache is 30 # Jinja (which improves speed significantly), as the bytecode cache is
33 # not concurrency-safe on write; details in code_generator_v8.py. 31 # not concurrency-safe on write; details in code_generator_v8.py.
34 #
35 # GYP version: scripts.gyp:cached_jinja_templates
36 action("cached_jinja_templates") { 32 action("cached_jinja_templates") {
37 script = "code_generator_v8.py" 33 script = "code_generator_v8.py"
38 34
39 inputs = jinja_module_files + [ "code_generator_v8.py" ] + 35 inputs = jinja_module_files + [ "code_generator_v8.py" ] +
40 code_generator_template_files 36 code_generator_template_files
41 37
42 # Dummy file to track dependency. 38 # Dummy file to track dependency.
43 stamp_file = "$bindings_scripts_output_dir/cached_jinja_templates.stamp" 39 stamp_file = "$bindings_scripts_output_dir/cached_jinja_templates.stamp"
44 outputs = [ 40 outputs = [
45 stamp_file, 41 stamp_file,
46 ] 42 ]
47 43
48 args = [ 44 args = [
49 rebase_path(bindings_scripts_output_dir, root_build_dir), 45 rebase_path(bindings_scripts_output_dir, root_build_dir),
50 rebase_path(stamp_file, root_build_dir), 46 rebase_path(stamp_file, root_build_dir),
51 ] 47 ]
52 } 48 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/modules/v8/BUILD.gn ('k') | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698