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

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

Issue 2669243009: Added CSSPropertyAPIMethods.json5 which defines all API methods. (Closed)
Patch Set: removed accidental comma Created 3 years, 10 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("//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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 "../build/scripts/templates/ComputedStyleBase.h.tmpl", 404 "../build/scripts/templates/ComputedStyleBase.h.tmpl",
405 "../build/scripts/templates/ComputedStyleBaseConstants.h.tmpl", 405 "../build/scripts/templates/ComputedStyleBaseConstants.h.tmpl",
406 ] 406 ]
407 outputs = [ 407 outputs = [
408 "$blink_core_output_dir/ComputedStyleBase.cpp", 408 "$blink_core_output_dir/ComputedStyleBase.cpp",
409 "$blink_core_output_dir/ComputedStyleBase.h", 409 "$blink_core_output_dir/ComputedStyleBase.h",
410 "$blink_core_output_dir/ComputedStyleBaseConstants.h", 410 "$blink_core_output_dir/ComputedStyleBaseConstants.h",
411 ] 411 ]
412 } 412 }
413 413
414 css_properties("make_core_generated_css_property_apis") {
415 script = "../build/scripts/make_css_property_apis.py"
416 other_inputs = [
417 "../build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl",
418 "../build/scripts/templates/CSSPropertyAPIFiles.h.tmpl",
419 ]
420 outputs = [
421 "$blink_core_output_dir/css/properties/CSSPropertyDescriptor.cpp",
422 ]
423 }
424
425 css_properties("make_core_generated_css_property_names") { 414 css_properties("make_core_generated_css_property_names") {
426 script = "../build/scripts/make_css_property_names.py" 415 script = "../build/scripts/make_css_property_names.py"
427 outputs = [ 416 outputs = [
428 "$blink_core_output_dir/CSSPropertyNames.cpp", 417 "$blink_core_output_dir/CSSPropertyNames.cpp",
429 "$blink_core_output_dir/CSSPropertyNames.h", 418 "$blink_core_output_dir/CSSPropertyNames.h",
430 ] 419 ]
431 } 420 }
432 421
433 process_in_files("make_core_generated_media_features") { 422 process_in_files("make_core_generated_media_features") {
434 script = "../build/scripts/make_media_features.py" 423 script = "../build/scripts/make_media_features.py"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 } 470 }
482 471
483 css_properties("make_core_generated_css_property_metadata") { 472 css_properties("make_core_generated_css_property_metadata") {
484 script = "../build/scripts/make_css_property_metadata.py" 473 script = "../build/scripts/make_css_property_metadata.py"
485 other_inputs = [ "../build/scripts/templates/CSSPropertyMetadata.cpp.tmpl" ] 474 other_inputs = [ "../build/scripts/templates/CSSPropertyMetadata.cpp.tmpl" ]
486 outputs = [ 475 outputs = [
487 "$blink_core_output_dir/CSSPropertyMetadata.cpp", 476 "$blink_core_output_dir/CSSPropertyMetadata.cpp",
488 ] 477 ]
489 } 478 }
490 479
480 make_css_property_apis("make_core_generated_css_property_apis") {
481 in_files = [
482 "css/CSSProperties.json5",
483 "css/properties/CSSPropertyAPIMethods.json5",
484 ]
485 outputs = [
486 "$blink_core_output_dir/css/properties/CSSPropertyDescriptor.cpp",
487 ]
488 }
489
491 process_in_files("make_core_generated_css_value_keywords") { 490 process_in_files("make_core_generated_css_value_keywords") {
492 script = "../build/scripts/make_css_value_keywords.py" 491 script = "../build/scripts/make_css_value_keywords.py"
493 492
494 in_files = [ 493 in_files = [
495 "css/CSSValueKeywords.json5", 494 "css/CSSValueKeywords.json5",
496 "css/SVGCSSValueKeywords.json5", 495 "css/SVGCSSValueKeywords.json5",
497 ] 496 ]
498 outputs = [ 497 outputs = [
499 "$blink_core_output_dir/CSSValueKeywords.cpp", 498 "$blink_core_output_dir/CSSValueKeywords.cpp",
500 "$blink_core_output_dir/CSSValueKeywords.h", 499 "$blink_core_output_dir/CSSValueKeywords.h",
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 sources = [ 1304 sources = [
1306 "frame/csp/ContentSecurityPolicyFuzzer.cpp", 1305 "frame/csp/ContentSecurityPolicyFuzzer.cpp",
1307 ] 1306 ]
1308 deps = [ 1307 deps = [
1309 ":core", 1308 ":core",
1310 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", 1309 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support",
1311 ] 1310 ]
1312 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" 1311 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict"
1313 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" 1312 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus"
1314 } 1313 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698