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

Side by Side Diff: sky/engine/core/BUILD.gn

Issue 680173002: Remove HTML entity crazy (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | sky/engine/core/core.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//sky/engine/bindings/scripts/scripts.gni") 5 import("//sky/engine/bindings/scripts/scripts.gni")
6 import("//sky/engine/build/scripts/scripts.gni") 6 import("//sky/engine/build/scripts/scripts.gni")
7 import("//sky/engine/core/core.gni") 7 import("//sky/engine/core/core.gni")
8 8
9 visibility = ["//sky/engine/*"] 9 visibility = ["//sky/engine/*"]
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ] 86 ]
87 } 87 }
88 88
89 source_set("core_generated") { 89 source_set("core_generated") {
90 sources = bindings_core_v8_files 90 sources = bindings_core_v8_files
91 # These files include all the .cpp files generated from the .idl files 91 # These files include all the .cpp files generated from the .idl files
92 # in webcore_files. 92 # in webcore_files.
93 sources += bindings_core_generated_aggregate_files 93 sources += bindings_core_generated_aggregate_files
94 94
95 sources += [ 95 sources += [
96 # Generated from HTMLEntityNames.in
97 "$sky_core_output_dir/HTMLEntityTable.cpp",
98
99 # Generated from CSSTokenizer-in.cpp 96 # Generated from CSSTokenizer-in.cpp
100 "$sky_core_output_dir/CSSTokenizer.cpp", 97 "$sky_core_output_dir/CSSTokenizer.cpp",
101 98
102 # Generated from BisonCSSParser-in.cpp 99 # Generated from BisonCSSParser-in.cpp
103 "$sky_core_output_dir/BisonCSSParser.cpp", 100 "$sky_core_output_dir/BisonCSSParser.cpp",
104 101
105 # Generated from HTMLMetaElement-in.cpp 102 # Generated from HTMLMetaElement-in.cpp
106 "$sky_core_output_dir/HTMLMetaElement.cpp", 103 "$sky_core_output_dir/HTMLMetaElement.cpp",
107 104
108 # Additional .cpp files from the make_core_generated rules. 105 # Additional .cpp files from the make_core_generated rules.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 181
185 group("make_core_generated") { 182 group("make_core_generated") {
186 deps = [ 183 deps = [
187 ":core_names", 184 ":core_names",
188 ":make_core_generated_bison", 185 ":make_core_generated_bison",
189 ":make_core_generated_css_property_metadata", 186 ":make_core_generated_css_property_metadata",
190 ":make_core_generated_css_value_keywords", 187 ":make_core_generated_css_value_keywords",
191 ":make_core_generated_event_factory", 188 ":make_core_generated_event_factory",
192 ":make_core_generated_html_element_lookup_trie", 189 ":make_core_generated_html_element_lookup_trie",
193 ":make_core_generated_html_element_type_helpers", 190 ":make_core_generated_html_element_type_helpers",
194 ":make_core_generated_html_entity_table",
195 ":make_core_generated_make_parser", 191 ":make_core_generated_make_parser",
196 ":make_core_generated_make_token_matcher", 192 ":make_core_generated_make_token_matcher",
197 ":make_core_generated_make_token_matcher_for_viewport", 193 ":make_core_generated_make_token_matcher_for_viewport",
198 ":make_core_generated_media_feature_names", 194 ":make_core_generated_media_feature_names",
199 ":make_core_generated_media_features", 195 ":make_core_generated_media_features",
200 ":make_core_generated_media_query_tokenizer_codepoints", 196 ":make_core_generated_media_query_tokenizer_codepoints",
201 ":make_core_generated_style_builder", 197 ":make_core_generated_style_builder",
202 ":make_core_generated_style_property_shorthand", 198 ":make_core_generated_style_property_shorthand",
203 ] 199 ]
204 } 200 }
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 output_file = "$sky_core_output_dir/BisonCSSParser.cpp" 439 output_file = "$sky_core_output_dir/BisonCSSParser.cpp"
444 } 440 }
445 441
446 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") { 442 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") {
447 input_file = "html/HTMLMetaElement-in.cpp" 443 input_file = "html/HTMLMetaElement-in.cpp"
448 output_file = "$sky_core_output_dir/HTMLMetaElement.cpp" 444 output_file = "$sky_core_output_dir/HTMLMetaElement.cpp"
449 } 445 }
450 446
451 # One-off scripts -------------------------------------------------------------- 447 # One-off scripts --------------------------------------------------------------
452 448
453 action("make_core_generated_html_entity_table") {
454 script = "html/parser/create-html-entity-table"
455
456 inputs = [
457 "html/parser/HTMLEntityNames.in",
458 ]
459 outputs = [
460 "$sky_core_output_dir/HTMLEntityTable.cpp",
461 ]
462
463 args = [ "-o" ] + rebase_path(outputs, root_build_dir)
464 args += rebase_path(inputs, root_build_dir)
465
466 deps = make_core_generated_deps
467 }
468
469 action("make_core_generated_media_query_tokenizer_codepoints") { 449 action("make_core_generated_media_query_tokenizer_codepoints") {
470 script = "../build/scripts/make_mediaquery_tokenizer_codepoints.py" 450 script = "../build/scripts/make_mediaquery_tokenizer_codepoints.py"
471 451
472 outputs = [ 452 outputs = [
473 "$sky_core_output_dir/MediaQueryTokenizerCodepoints.cpp", 453 "$sky_core_output_dir/MediaQueryTokenizerCodepoints.cpp",
474 ] 454 ]
475 455
476 args = [ 456 args = [
477 "--output_dir", rel_sky_core_gen_dir, 457 "--output_dir", rel_sky_core_gen_dir,
478 ] 458 ]
(...skipping 30 matching lines...) Expand all
509 "$sky_core_output_dir/{{source_name_part}}.h", 489 "$sky_core_output_dir/{{source_name_part}}.h",
510 ] 490 ]
511 args = [ 491 args = [
512 "{{source}}", 492 "{{source}}",
513 rel_sky_core_gen_dir, 493 rel_sky_core_gen_dir,
514 bison_exe, 494 bison_exe,
515 ] 495 ]
516 496
517 deps = make_core_generated_deps 497 deps = make_core_generated_deps
518 } 498 }
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/core.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698