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

Side by Side Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2794853002: Separate CSSValueID mappings generator from ComputedStyleBase generator. (Closed)
Patch Set: Fix build.gn Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_css_value_id_mappings.py ('k') | no next file » | 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("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/toolchain/toolchain.gni") 6 import("//build/toolchain/toolchain.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/split_static_library.gni") 8 import("//build/split_static_library.gni")
9 import("//testing/libfuzzer/fuzzer_test.gni") 9 import("//testing/libfuzzer/fuzzer_test.gni")
10 import("//third_party/WebKit/Source/bindings/bindings.gni") 10 import("//third_party/WebKit/Source/bindings/bindings.gni")
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 "../build/scripts/templates/fields/field.tmpl", 411 "../build/scripts/templates/fields/field.tmpl",
412 "../build/scripts/templates/fields/base.tmpl", 412 "../build/scripts/templates/fields/base.tmpl",
413 "../build/scripts/templates/fields/keyword.tmpl", 413 "../build/scripts/templates/fields/keyword.tmpl",
414 "../build/scripts/templates/fields/primitive.tmpl", 414 "../build/scripts/templates/fields/primitive.tmpl",
415 "../build/scripts/templates/fields/monotonic_flag.tmpl", 415 "../build/scripts/templates/fields/monotonic_flag.tmpl",
416 "../build/scripts/templates/fields/storage_only.tmpl", 416 "../build/scripts/templates/fields/storage_only.tmpl",
417 "../build/scripts/templates/fields/external.tmpl", 417 "../build/scripts/templates/fields/external.tmpl",
418 "../build/scripts/templates/ComputedStyleBase.cpp.tmpl", 418 "../build/scripts/templates/ComputedStyleBase.cpp.tmpl",
419 "../build/scripts/templates/ComputedStyleBase.h.tmpl", 419 "../build/scripts/templates/ComputedStyleBase.h.tmpl",
420 "../build/scripts/templates/ComputedStyleBaseConstants.h.tmpl", 420 "../build/scripts/templates/ComputedStyleBaseConstants.h.tmpl",
421 "../build/scripts/templates/CSSValueIDMappingsGenerated.h.tmpl",
422 ] 421 ]
423 outputs = [ 422 outputs = [
424 "$blink_core_output_dir/ComputedStyleBase.cpp", 423 "$blink_core_output_dir/ComputedStyleBase.cpp",
425 "$blink_core_output_dir/ComputedStyleBase.h", 424 "$blink_core_output_dir/ComputedStyleBase.h",
426 "$blink_core_output_dir/ComputedStyleBaseConstants.h", 425 "$blink_core_output_dir/ComputedStyleBaseConstants.h",
426 ]
427 }
428
429 css_properties("make_core_generated_css_value_id_mappings") {
430 script = "../build/scripts/make_css_value_id_mappings.py"
431 other_inputs =
432 [ "../build/scripts/templates/CSSValueIDMappingsGenerated.h.tmpl" ]
433 outputs = [
427 "$blink_core_output_dir/CSSValueIDMappingsGenerated.h", 434 "$blink_core_output_dir/CSSValueIDMappingsGenerated.h",
428 ] 435 ]
429 } 436 }
430 437
431 # TODO(shend): Need a better way to specify generated output files 438 # TODO(shend): Need a better way to specify generated output files
432 css_properties("make_core_generated_css_property_apis") { 439 css_properties("make_core_generated_css_property_apis") {
433 script = "../build/scripts/make_css_property_apis.py" 440 script = "../build/scripts/make_css_property_apis.py"
434 other_inputs = [ 441 other_inputs = [
435 "../build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl", 442 "../build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl",
436 "../build/scripts/templates/CSSPropertyDescriptor.h.tmpl", 443 "../build/scripts/templates/CSSPropertyDescriptor.h.tmpl",
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 } 987 }
981 988
982 # Targets from above that generate outputs that need to be compiled. 989 # Targets from above that generate outputs that need to be compiled.
983 # All sources declared as outputs from these targets will be compiled into one 990 # All sources declared as outputs from these targets will be compiled into one
984 # target. 991 # target.
985 targets_generating_sources = [ 992 targets_generating_sources = [
986 ":make_core_generated_bison", 993 ":make_core_generated_bison",
987 ":make_core_generated_css_primitive_value_unit_trie", 994 ":make_core_generated_css_primitive_value_unit_trie",
988 ":make_core_generated_css_property_metadata", 995 ":make_core_generated_css_property_metadata",
989 ":make_core_generated_computed_style_base", 996 ":make_core_generated_computed_style_base",
997 ":make_core_generated_css_value_id_mappings",
990 ":make_core_generated_css_property_apis", 998 ":make_core_generated_css_property_apis",
991 ":make_core_generated_css_property_names", 999 ":make_core_generated_css_property_names",
992 ":make_core_generated_cssom_types", 1000 ":make_core_generated_cssom_types",
993 ":make_core_generated_event_factory", 1001 ":make_core_generated_event_factory",
994 ":make_core_generated_event_names", 1002 ":make_core_generated_event_names",
995 ":make_core_generated_event_target_names", 1003 ":make_core_generated_event_target_names",
996 ":make_core_generated_event_type_names", 1004 ":make_core_generated_event_type_names",
997 ":make_core_generated_html_element_factory", 1005 ":make_core_generated_html_element_factory",
998 ":make_core_generated_html_element_lookup_trie", 1006 ":make_core_generated_html_element_lookup_trie",
999 ":make_core_generated_html_entity_table", 1007 ":make_core_generated_html_entity_table",
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1450 sources = [ 1458 sources = [
1451 "frame/csp/ContentSecurityPolicyFuzzer.cpp", 1459 "frame/csp/ContentSecurityPolicyFuzzer.cpp",
1452 ] 1460 ]
1453 deps = [ 1461 deps = [
1454 ":core", 1462 ":core",
1455 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", 1463 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support",
1456 ] 1464 ]
1457 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" 1465 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict"
1458 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" 1466 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus"
1459 } 1467 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_css_value_id_mappings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698