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

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

Issue 391963002: [Blink] XMLTreeViewer should load resources from blink_resources.grd instead of relying upon xxd.py (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 | « Source/build/scripts/xxd.py ('k') | Source/core/core.gyp » ('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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//third_party/WebKit/Source/bindings/bindings.gni") 6 import("//third_party/WebKit/Source/bindings/bindings.gni")
7 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") 7 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni")
8 import("//third_party/WebKit/Source/bindings/modules/modules.gni") 8 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") 9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni")
10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 if (is_android && use_openmax_dl_fft) { 45 if (is_android && use_openmax_dl_fft) {
46 include_dirs += [ "//third_party/openmax_dl" ] 46 include_dirs += [ "//third_party/openmax_dl" ]
47 } 47 }
48 } 48 }
49 49
50 # GYP version: WebKit/Source/core/core.gyp:webcore_generated 50 # GYP version: WebKit/Source/core/core.gyp:webcore_generated
51 source_set("generated") { 51 source_set("generated") {
52 deps = [ 52 deps = [
53 ":make_core_generated", 53 ":make_core_generated",
54 ":prerequisites", 54 ":prerequisites",
55 "inspector:debugger_script_source",
56 "inspector:inspector_overlay_page",
57 "inspector:protocol_sources", 55 "inspector:protocol_sources",
58 "inspector:injected_script_source",
59 "inspector:injected_canvas_script_source",
60 "inspector:instrumentation_sources", 56 "inspector:instrumentation_sources",
61 "//gin", 57 "//gin",
62 "//skia", 58 "//skia",
63 "//third_party/iccjpeg", 59 "//third_party/iccjpeg",
64 "//third_party/libpng", 60 "//third_party/libpng",
65 "//third_party/libwebp", 61 "//third_party/libwebp",
66 "//third_party/libxml", 62 "//third_party/libxml",
67 "//third_party/libxslt", 63 "//third_party/libxslt",
68 "//third_party/npapi", 64 "//third_party/npapi",
69 "//third_party/qcms", 65 "//third_party/qcms",
(...skipping 25 matching lines...) Expand all
95 "//third_party/ots", 91 "//third_party/ots",
96 "//third_party/qcms", 92 "//third_party/qcms",
97 "//third_party/sqlite", 93 "//third_party/sqlite",
98 "//third_party/zlib", 94 "//third_party/zlib",
99 "//url", 95 "//url",
100 "//v8", 96 "//v8",
101 ] 97 ]
102 98
103 deps = [ 99 deps = [
104 ":make_core_generated", 100 ":make_core_generated",
105 "inspector:debugger_script_source",
106 "inspector:injected_canvas_script_source",
107 "inspector:injected_script_source",
108 "inspector:inspector_overlay_page",
109 "inspector:protocol_sources", 101 "inspector:protocol_sources",
110 "inspector:instrumentation_sources", 102 "inspector:instrumentation_sources",
111 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", 103 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated",
112 # FIXME: don't depend on bindings_modules http://crbug.com/358074 104 # FIXME: don't depend on bindings_modules http://crbug.com/358074
113 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated" , 105 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated" ,
114 "//third_party/WebKit/Source/platform", 106 "//third_party/WebKit/Source/platform",
115 ] + exported_deps 107 ] + exported_deps
116 108
117 forward_dependent_configs_from = exported_deps 109 forward_dependent_configs_from = exported_deps
118 110
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 configs -= core_config_remove 416 configs -= core_config_remove
425 configs += core_config_add 417 configs += core_config_add
426 418
427 configs += [ 419 configs += [
428 "..:inside_blink", 420 "..:inside_blink",
429 ] 421 ]
430 422
431 deps = [ 423 deps = [
432 ":make_core_generated", 424 ":make_core_generated",
433 ":prerequisites", 425 ":prerequisites",
434 "inspector:inspector_overlay_page",
435 "inspector:protocol_sources", 426 "inspector:protocol_sources",
436 "inspector:instrumentation_sources", 427 "inspector:instrumentation_sources",
437 "inspector:injected_canvas_script_source",
438 "inspector:injected_script_source",
439 "inspector:debugger_script_source",
440 "//gin", 428 "//gin",
441 "//skia", 429 "//skia",
442 "//third_party/iccjpeg", 430 "//third_party/iccjpeg",
443 "//third_party/libpng", 431 "//third_party/libpng",
444 "//third_party/libwebp", 432 "//third_party/libwebp",
445 "//third_party/libxml", 433 "//third_party/libxml",
446 "//third_party/libxslt", 434 "//third_party/libxslt",
447 "//third_party/npapi", 435 "//third_party/npapi",
448 "//third_party/qcms", 436 "//third_party/qcms",
449 "//third_party/sqlite", 437 "//third_party/sqlite",
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 "--output_dir", rel_blink_core_gen_dir, 543 "--output_dir", rel_blink_core_gen_dir,
556 ] 544 ]
557 } 545 }
558 546
559 # make_core_generated ---------------------------------------------------------- 547 # make_core_generated ----------------------------------------------------------
560 548
561 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated 549 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated
562 group("make_core_generated") { 550 group("make_core_generated") {
563 deps = [ 551 deps = [
564 ":make_core_generated_private_script", 552 ":make_core_generated_private_script",
565 ":make_core_generated_xml_viewer_css",
566 ":make_core_generated_xml_viewer_js",
567 ":make_core_generated_html_entity_table", 553 ":make_core_generated_html_entity_table",
568 ":make_core_generated_css_property_names", 554 ":make_core_generated_css_property_names",
569 ":make_core_generated_media_feature_names", 555 ":make_core_generated_media_feature_names",
570 ":make_core_generated_media_features", 556 ":make_core_generated_media_features",
571 ":make_core_generated_media_type_names", 557 ":make_core_generated_media_type_names",
572 ":make_core_generated_media_query_tokenizer_codepoints", 558 ":make_core_generated_media_query_tokenizer_codepoints",
573 ":make_core_generated_style_property_shorthand", 559 ":make_core_generated_style_property_shorthand",
574 ":make_core_generated_style_builder", 560 ":make_core_generated_style_builder",
575 ":make_core_generated_css_value_keywords", 561 ":make_core_generated_css_value_keywords",
576 ":make_core_generated_html_element_factory", 562 ":make_core_generated_html_element_factory",
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 outputs = [ 950 outputs = [
965 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", 951 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h",
966 ] 952 ]
967 953
968 args = rebase_path(outputs, root_build_dir) 954 args = rebase_path(outputs, root_build_dir)
969 args += rebase_path(inputs, root_build_dir) 955 args += rebase_path(inputs, root_build_dir)
970 956
971 deps = make_core_generated_deps 957 deps = make_core_generated_deps
972 } 958 }
973 959
974 # "generateXMLViewerCSS" in make_core_generated from GYP.
975 action("make_core_generated_xml_viewer_css") {
976 visibility = ":make_core_generated"
977 script = "../build/scripts/xxd.py"
978
979 inputs = [
980 "xml/XMLViewer.css",
981 ]
982 outputs = [
983 "$blink_core_output_dir/XMLViewerCSS.h",
984 ]
985
986 args = [
987 "XMLViewer_css",
988 rebase_path(inputs[0], root_build_dir),
989 rebase_path(outputs[0], root_build_dir),
990 ]
991
992 deps = make_core_generated_deps
993 }
994
995 # "generateXMLViewerJS" in make_core_generated from GYP.
996 action("make_core_generated_xml_viewer_js") {
997 visibility = ":make_core_generated"
998 script = "../build/scripts/xxd.py"
999
1000 inputs = [
1001 "xml/XMLViewer.js",
1002 ]
1003 outputs = [
1004 "$blink_core_output_dir/XMLViewerJS.h",
1005 ]
1006
1007 args = [
1008 "XMLViewer_js",
1009 rebase_path(inputs[0], root_build_dir),
1010 rebase_path(outputs[0], root_build_dir),
1011 ]
1012
1013 deps = make_core_generated_deps
1014 }
1015
1016 # "HTMLEntityTable" in make_core_generated from GYP. 960 # "HTMLEntityTable" in make_core_generated from GYP.
1017 action("make_core_generated_html_entity_table") { 961 action("make_core_generated_html_entity_table") {
1018 visibility = ":make_core_generated" 962 visibility = ":make_core_generated"
1019 script = "html/parser/create-html-entity-table" 963 script = "html/parser/create-html-entity-table"
1020 964
1021 inputs = [ 965 inputs = [
1022 "html/parser/HTMLEntityNames.in", 966 "html/parser/HTMLEntityNames.in",
1023 ] 967 ]
1024 outputs = [ 968 outputs = [
1025 "$blink_core_output_dir/HTMLEntityTable.cpp", 969 "$blink_core_output_dir/HTMLEntityTable.cpp",
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 "$blink_core_output_dir/{{source_name_part}}.h", 1068 "$blink_core_output_dir/{{source_name_part}}.h",
1125 ] 1069 ]
1126 args = [ 1070 args = [
1127 "{{source}}", 1071 "{{source}}",
1128 rel_blink_core_gen_dir, 1072 rel_blink_core_gen_dir,
1129 bison_exe, 1073 bison_exe,
1130 ] 1074 ]
1131 1075
1132 deps = make_core_generated_deps 1076 deps = make_core_generated_deps
1133 } 1077 }
OLDNEW
« no previous file with comments | « Source/build/scripts/xxd.py ('k') | Source/core/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698