| 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("//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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 # in webcore_files. | 93 # in webcore_files. |
| 94 sources += bindings_core_generated_aggregate_files | 94 sources += bindings_core_generated_aggregate_files |
| 95 | 95 |
| 96 sources += [ | 96 sources += [ |
| 97 # Generated from CSSTokenizer-in.cpp | 97 # Generated from CSSTokenizer-in.cpp |
| 98 "$sky_core_output_dir/CSSTokenizer.cpp", | 98 "$sky_core_output_dir/CSSTokenizer.cpp", |
| 99 | 99 |
| 100 # Generated from BisonCSSParser-in.cpp | 100 # Generated from BisonCSSParser-in.cpp |
| 101 "$sky_core_output_dir/BisonCSSParser.cpp", | 101 "$sky_core_output_dir/BisonCSSParser.cpp", |
| 102 | 102 |
| 103 # Generated from HTMLMetaElement-in.cpp | |
| 104 "$sky_core_output_dir/HTMLMetaElement.cpp", | |
| 105 | |
| 106 # Additional .cpp files from the make_core_generated rules. | 103 # Additional .cpp files from the make_core_generated rules. |
| 107 "$sky_core_output_dir/CSSGrammar.cpp", | 104 "$sky_core_output_dir/CSSGrammar.cpp", |
| 108 ] | 105 ] |
| 109 | 106 |
| 110 configs += [ | 107 configs += [ |
| 111 "..:inside_blink", | 108 "..:inside_blink", |
| 112 ] | 109 ] |
| 113 | 110 |
| 114 deps = [ | 111 deps = [ |
| 115 ":make_core_generated", | 112 ":make_core_generated", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 deps = [ | 180 deps = [ |
| 184 ":core_names", | 181 ":core_names", |
| 185 ":make_core_generated_bison", | 182 ":make_core_generated_bison", |
| 186 ":make_core_generated_css_property_metadata", | 183 ":make_core_generated_css_property_metadata", |
| 187 ":make_core_generated_css_value_keywords", | 184 ":make_core_generated_css_value_keywords", |
| 188 ":make_core_generated_event_factory", | 185 ":make_core_generated_event_factory", |
| 189 ":make_core_generated_html_element_lookup_trie", | 186 ":make_core_generated_html_element_lookup_trie", |
| 190 ":make_core_generated_html_element_type_helpers", | 187 ":make_core_generated_html_element_type_helpers", |
| 191 ":make_core_generated_make_parser", | 188 ":make_core_generated_make_parser", |
| 192 ":make_core_generated_make_token_matcher", | 189 ":make_core_generated_make_token_matcher", |
| 193 ":make_core_generated_make_token_matcher_for_viewport", | |
| 194 ":make_core_generated_media_feature_names", | 190 ":make_core_generated_media_feature_names", |
| 195 ":make_core_generated_media_features", | 191 ":make_core_generated_media_features", |
| 196 ":make_core_generated_media_query_tokenizer_codepoints", | 192 ":make_core_generated_media_query_tokenizer_codepoints", |
| 197 ":make_core_generated_style_builder", | 193 ":make_core_generated_style_builder", |
| 198 ":make_core_generated_style_property_shorthand", | 194 ":make_core_generated_style_property_shorthand", |
| 199 ] | 195 ] |
| 200 } | 196 } |
| 201 | 197 |
| 202 css_properties("make_core_generated_css_property_names") { | 198 css_properties("make_core_generated_css_property_names") { |
| 203 script = "../build/scripts/make_css_property_names.py" | 199 script = "../build/scripts/make_css_property_names.py" |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 make_token_matcher("make_core_generated_make_token_matcher") { | 418 make_token_matcher("make_core_generated_make_token_matcher") { |
| 423 input_file = "css/parser/CSSTokenizer-in.cpp" | 419 input_file = "css/parser/CSSTokenizer-in.cpp" |
| 424 output_file = "$sky_core_output_dir/CSSTokenizer.cpp" | 420 output_file = "$sky_core_output_dir/CSSTokenizer.cpp" |
| 425 } | 421 } |
| 426 | 422 |
| 427 make_token_matcher("make_core_generated_make_parser") { | 423 make_token_matcher("make_core_generated_make_parser") { |
| 428 input_file = "css/parser/BisonCSSParser-in.cpp" | 424 input_file = "css/parser/BisonCSSParser-in.cpp" |
| 429 output_file = "$sky_core_output_dir/BisonCSSParser.cpp" | 425 output_file = "$sky_core_output_dir/BisonCSSParser.cpp" |
| 430 } | 426 } |
| 431 | 427 |
| 432 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") { | |
| 433 input_file = "html/HTMLMetaElement-in.cpp" | |
| 434 output_file = "$sky_core_output_dir/HTMLMetaElement.cpp" | |
| 435 } | |
| 436 | |
| 437 # One-off scripts -------------------------------------------------------------- | 428 # One-off scripts -------------------------------------------------------------- |
| 438 | 429 |
| 439 action("make_core_generated_media_query_tokenizer_codepoints") { | 430 action("make_core_generated_media_query_tokenizer_codepoints") { |
| 440 script = "../build/scripts/make_mediaquery_tokenizer_codepoints.py" | 431 script = "../build/scripts/make_mediaquery_tokenizer_codepoints.py" |
| 441 | 432 |
| 442 outputs = [ | 433 outputs = [ |
| 443 "$sky_core_output_dir/MediaQueryTokenizerCodepoints.cpp", | 434 "$sky_core_output_dir/MediaQueryTokenizerCodepoints.cpp", |
| 444 ] | 435 ] |
| 445 | 436 |
| 446 args = [ | 437 args = [ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 "$sky_core_output_dir/{{source_name_part}}.h", | 470 "$sky_core_output_dir/{{source_name_part}}.h", |
| 480 ] | 471 ] |
| 481 args = [ | 472 args = [ |
| 482 "{{source}}", | 473 "{{source}}", |
| 483 rel_sky_core_gen_dir, | 474 rel_sky_core_gen_dir, |
| 484 bison_exe, | 475 bison_exe, |
| 485 ] | 476 ] |
| 486 | 477 |
| 487 deps = make_core_generated_deps | 478 deps = make_core_generated_deps |
| 488 } | 479 } |
| OLD | NEW |