| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2009 Google Inc. All rights reserved. | 2 # Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 }, # variables | 65 }, # variables |
| 66 | 66 |
| 67 'target_defaults': { | 67 'target_defaults': { |
| 68 'variables': { | 68 'variables': { |
| 69 'optimize': 'max', | 69 'optimize': 'max', |
| 70 }, | 70 }, |
| 71 }, | 71 }, |
| 72 | 72 |
| 73 'targets': [ | 73 'targets': [ |
| 74 { | 74 { |
| 75 # GN version: //third_party/WebKit/Source/core/inspector:protocol_sources |
| 75 'target_name': 'inspector_protocol_sources', | 76 'target_name': 'inspector_protocol_sources', |
| 76 'type': 'none', | 77 'type': 'none', |
| 77 'dependencies': [ | 78 'dependencies': [ |
| 78 'generate_inspector_protocol_version' | 79 'generate_inspector_protocol_version' |
| 79 ], | 80 ], |
| 80 'actions': [ | 81 'actions': [ |
| 81 { | 82 { |
| 82 'action_name': 'generateInspectorProtocolBackendSources', | 83 'action_name': 'generateInspectorProtocolBackendSources', |
| 83 'inputs': [ | 84 'inputs': [ |
| 84 # The python script in action below. | 85 # The python script in action below. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 104 'python', | 105 'python', |
| 105 'inspector/CodeGeneratorInspector.py', | 106 'inspector/CodeGeneratorInspector.py', |
| 106 '../devtools/protocol.json', | 107 '../devtools/protocol.json', |
| 107 '--output_dir', '<(blink_core_output_dir)', | 108 '--output_dir', '<(blink_core_output_dir)', |
| 108 ], | 109 ], |
| 109 'message': 'Generating Inspector protocol backend sources from protoco
l.json', | 110 'message': 'Generating Inspector protocol backend sources from protoco
l.json', |
| 110 }, | 111 }, |
| 111 ] | 112 ] |
| 112 }, | 113 }, |
| 113 { | 114 { |
| 115 # GN version: //third_party/WebKit/Source/core/inspector:instrumentation_s
ources |
| 114 'target_name': 'inspector_instrumentation_sources', | 116 'target_name': 'inspector_instrumentation_sources', |
| 115 'type': 'none', | 117 'type': 'none', |
| 116 'dependencies': [], | 118 'dependencies': [], |
| 117 'actions': [ | 119 'actions': [ |
| 118 { | 120 { |
| 119 'action_name': 'generateInspectorInstrumentation', | 121 'action_name': 'generateInspectorInstrumentation', |
| 120 'inputs': [ | 122 'inputs': [ |
| 121 # The python script in action below. | 123 # The python script in action below. |
| 122 'inspector/CodeGeneratorInstrumentation.py', | 124 'inspector/CodeGeneratorInstrumentation.py', |
| 123 # Input file for the script. | 125 # Input file for the script. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 135 'python', | 137 'python', |
| 136 'inspector/CodeGeneratorInstrumentation.py', | 138 'inspector/CodeGeneratorInstrumentation.py', |
| 137 'inspector/InspectorInstrumentation.idl', | 139 'inspector/InspectorInstrumentation.idl', |
| 138 '--output_dir', '<(blink_core_output_dir)', | 140 '--output_dir', '<(blink_core_output_dir)', |
| 139 ], | 141 ], |
| 140 'message': 'Generating Inspector instrumentation code from InspectorIn
strumentation.idl', | 142 'message': 'Generating Inspector instrumentation code from InspectorIn
strumentation.idl', |
| 141 } | 143 } |
| 142 ] | 144 ] |
| 143 }, | 145 }, |
| 144 { | 146 { |
| 147 # GN version: //third_party/WebKit/Source/core/inspector:protocol_version |
| 145 'target_name': 'generate_inspector_protocol_version', | 148 'target_name': 'generate_inspector_protocol_version', |
| 146 'type': 'none', | 149 'type': 'none', |
| 147 'actions': [ | 150 'actions': [ |
| 148 { | 151 { |
| 149 'action_name': 'generateInspectorProtocolVersion', | 152 'action_name': 'generateInspectorProtocolVersion', |
| 150 'inputs': [ | 153 'inputs': [ |
| 151 'inspector/generate-inspector-protocol-version', | 154 'inspector/generate-inspector-protocol-version', |
| 152 '../devtools/protocol.json', | 155 '../devtools/protocol.json', |
| 153 ], | 156 ], |
| 154 'outputs': [ | 157 'outputs': [ |
| 155 '<(blink_core_output_dir)/InspectorProtocolVersion.h', | 158 '<(blink_core_output_dir)/InspectorProtocolVersion.h', |
| 156 ], | 159 ], |
| 157 'variables': { | 160 'variables': { |
| 158 'generator_include_dirs': [ | 161 'generator_include_dirs': [ |
| 159 ], | 162 ], |
| 160 }, | 163 }, |
| 161 'action': [ | 164 'action': [ |
| 162 'python', | 165 'python', |
| 163 'inspector/generate-inspector-protocol-version', | 166 'inspector/generate-inspector-protocol-version', |
| 164 '-o', | 167 '-o', |
| 165 '<@(_outputs)', | 168 '<@(_outputs)', |
| 166 '<@(_inputs)' | 169 '<@(_inputs)' |
| 167 ], | 170 ], |
| 168 'message': 'Validate inspector protocol for backwards compatibility an
d generate version file', | 171 'message': 'Validate inspector protocol for backwards compatibility an
d generate version file', |
| 169 } | 172 } |
| 170 ] | 173 ] |
| 171 }, | 174 }, |
| 172 { | 175 { |
| 176 # GN version: //third_party/WebKit/Source/core/inspector:inspector_overlay
_page |
| 173 'target_name': 'inspector_overlay_page', | 177 'target_name': 'inspector_overlay_page', |
| 174 'type': 'none', | 178 'type': 'none', |
| 175 'variables': { | 179 'variables': { |
| 176 'input_file_path': 'inspector/InspectorOverlayPage.html', | 180 'input_file_path': 'inspector/InspectorOverlayPage.html', |
| 177 'output_file_path': '<(blink_core_output_dir)/InspectorOverlayPage.h', | 181 'output_file_path': '<(blink_core_output_dir)/InspectorOverlayPage.h', |
| 178 'character_array_name': 'InspectorOverlayPage_html', | 182 'character_array_name': 'InspectorOverlayPage_html', |
| 179 }, | 183 }, |
| 180 'includes': [ '../build/ConvertFileToHeaderWithCharacterArray.gypi' ], | 184 'includes': [ '../build/ConvertFileToHeaderWithCharacterArray.gypi' ], |
| 181 }, | 185 }, |
| 182 { | 186 { |
| 187 # GN version: //third_party/WebKit/Source/core/inspector:injected_canvas_s
cript_source |
| 183 'target_name': 'injected_canvas_script_source', | 188 'target_name': 'injected_canvas_script_source', |
| 184 'type': 'none', | 189 'type': 'none', |
| 185 'variables': { | 190 'variables': { |
| 186 'input_file_path': 'inspector/InjectedScriptCanvasModuleSource.js', | 191 'input_file_path': 'inspector/InjectedScriptCanvasModuleSource.js', |
| 187 'output_file_path': '<(blink_core_output_dir)/InjectedScriptCanvasModule
Source.h', | 192 'output_file_path': '<(blink_core_output_dir)/InjectedScriptCanvasModule
Source.h', |
| 188 'character_array_name': 'InjectedScriptCanvasModuleSource_js', | 193 'character_array_name': 'InjectedScriptCanvasModuleSource_js', |
| 189 }, | 194 }, |
| 190 'includes': [ '../build/ConvertFileToHeaderWithCharacterArray.gypi' ], | 195 'includes': [ '../build/ConvertFileToHeaderWithCharacterArray.gypi' ], |
| 191 }, | 196 }, |
| 192 { | 197 { |
| 198 # GN version: //third_party/WebKit/Source/core/inspector:injected_script_s
ource |
| 193 'target_name': 'injected_script_source', | 199 'target_name': 'injected_script_source', |
| 194 'type': 'none', | 200 'type': 'none', |
| 195 'variables': { | 201 'variables': { |
| 196 'input_file_path': 'inspector/InjectedScriptSource.js', | 202 'input_file_path': 'inspector/InjectedScriptSource.js', |
| 197 'output_file_path': '<(blink_core_output_dir)/InjectedScriptSource.h', | 203 'output_file_path': '<(blink_core_output_dir)/InjectedScriptSource.h', |
| 198 'character_array_name': 'InjectedScriptSource_js', | 204 'character_array_name': 'InjectedScriptSource_js', |
| 199 }, | 205 }, |
| 200 'includes': [ '../build/ConvertFileToHeaderWithCharacterArray.gypi' ], | 206 'includes': [ '../build/ConvertFileToHeaderWithCharacterArray.gypi' ], |
| 201 }, | 207 }, |
| 202 { | 208 { |
| 209 # GN version: //third_party/WebKit/Source/core/inspector:debugger_script_s
ource |
| 203 'target_name': 'debugger_script_source', | 210 'target_name': 'debugger_script_source', |
| 204 'type': 'none', | 211 'type': 'none', |
| 205 'variables': { | 212 'variables': { |
| 206 'input_file_path': '<(bindings_v8_dir)/DebuggerScript.js', | 213 'input_file_path': '<(bindings_v8_dir)/DebuggerScript.js', |
| 207 'output_file_path': '<(blink_core_output_dir)/DebuggerScriptSource.h', | 214 'output_file_path': '<(blink_core_output_dir)/DebuggerScriptSource.h', |
| 208 'character_array_name': 'DebuggerScriptSource_js', | 215 'character_array_name': 'DebuggerScriptSource_js', |
| 209 }, | 216 }, |
| 210 'includes': [ '../build/ConvertFileToHeaderWithCharacterArray.gypi' ], | 217 'includes': [ '../build/ConvertFileToHeaderWithCharacterArray.gypi' ], |
| 211 }, | 218 }, |
| 212 { | 219 { |
| 220 # GN version: //third_party/WebKit/Source/core:core_generated |
| 213 'target_name': 'webcore_generated', | 221 'target_name': 'webcore_generated', |
| 214 'type': 'static_library', | 222 'type': 'static_library', |
| 215 'hard_dependency': 1, | 223 'hard_dependency': 1, |
| 216 'dependencies': [ | 224 'dependencies': [ |
| 217 'webcore_prerequisites', | 225 'webcore_prerequisites', |
| 218 'core_generated.gyp:make_core_generated', | 226 'core_generated.gyp:make_core_generated', |
| 219 'inspector_overlay_page', | 227 'inspector_overlay_page', |
| 220 'inspector_protocol_sources', | 228 'inspector_protocol_sources', |
| 221 'inspector_instrumentation_sources', | 229 'inspector_instrumentation_sources', |
| 222 'injected_canvas_script_source', | 230 'injected_canvas_script_source', |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_def
ines', { | 362 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_def
ines', { |
| 355 'cflags': [ | 363 'cflags': [ |
| 356 '<!@(pkg-config --cflags-only-I ipp)', | 364 '<!@(pkg-config --cflags-only-I ipp)', |
| 357 ], | 365 ], |
| 358 }], | 366 }], |
| 359 ], | 367 ], |
| 360 }, | 368 }, |
| 361 { | 369 { |
| 362 # We'll soon split libwebcore in multiple smaller libraries. | 370 # We'll soon split libwebcore in multiple smaller libraries. |
| 363 # webcore_prerequisites will be the 'base' target of every sub-target. | 371 # webcore_prerequisites will be the 'base' target of every sub-target. |
| 372 # GN version: //third_party/WebKit/Source/core:prerequisites |
| 364 'target_name': 'webcore_prerequisites', | 373 'target_name': 'webcore_prerequisites', |
| 365 'type': 'none', | 374 'type': 'none', |
| 366 'dependencies': [ | 375 'dependencies': [ |
| 367 'debugger_script_source', | 376 'debugger_script_source', |
| 368 'injected_canvas_script_source', | 377 'injected_canvas_script_source', |
| 369 'injected_script_source', | 378 'injected_script_source', |
| 370 'inspector_overlay_page', | 379 'inspector_overlay_page', |
| 371 'inspector_protocol_sources', | 380 'inspector_protocol_sources', |
| 372 'inspector_instrumentation_sources', | 381 'inspector_instrumentation_sources', |
| 373 'core_generated.gyp:make_core_generated', | 382 'core_generated.gyp:make_core_generated', |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 }], | 541 }], |
| 533 # Windows shared builder needs extra help for linkage | 542 # Windows shared builder needs extra help for linkage |
| 534 ['OS=="win" and "WTF_USE_WEBAUDIO_FFMPEG=1" in feature_defines', { | 543 ['OS=="win" and "WTF_USE_WEBAUDIO_FFMPEG=1" in feature_defines', { |
| 535 'export_dependent_settings': [ | 544 'export_dependent_settings': [ |
| 536 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 545 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 537 ], | 546 ], |
| 538 }], | 547 }], |
| 539 ], | 548 ], |
| 540 }, | 549 }, |
| 541 { | 550 { |
| 551 # GN version: //third_party/WebKit/Source/core:dom |
| 542 'target_name': 'webcore_dom', | 552 'target_name': 'webcore_dom', |
| 543 'type': 'static_library', | 553 'type': 'static_library', |
| 544 'dependencies': [ | 554 'dependencies': [ |
| 545 'webcore_prerequisites', | 555 'webcore_prerequisites', |
| 546 ], | 556 ], |
| 547 'sources': [ | 557 'sources': [ |
| 548 '<@(webcore_dom_files)', | 558 '<@(webcore_dom_files)', |
| 549 ], | 559 ], |
| 550 # Disable c4267 warnings until we fix size_t to int truncations. | 560 # Disable c4267 warnings until we fix size_t to int truncations. |
| 551 'msvs_disabled_warnings': [ 4267, ], | 561 'msvs_disabled_warnings': [ 4267, ], |
| 552 }, | 562 }, |
| 553 { | 563 { |
| 564 # GN version: //third_party/WebKit/Source/core:html |
| 554 'target_name': 'webcore_html', | 565 'target_name': 'webcore_html', |
| 555 'type': 'static_library', | 566 'type': 'static_library', |
| 556 'dependencies': [ | 567 'dependencies': [ |
| 557 'webcore_prerequisites', | 568 'webcore_prerequisites', |
| 558 ], | 569 ], |
| 559 'sources': [ | 570 'sources': [ |
| 560 '<@(webcore_html_files)', | 571 '<@(webcore_html_files)', |
| 561 ], | 572 ], |
| 562 'conditions': [ | 573 'conditions': [ |
| 563 # Shard this taret into parts to work around linker limitations. | 574 # Shard this taret into parts to work around linker limitations. |
| 564 # on link time code generation builds. | 575 # on link time code generation builds. |
| 565 ['OS=="win" and buildtype=="Official"', { | 576 ['OS=="win" and buildtype=="Official"', { |
| 566 'msvs_shard': 5, | 577 'msvs_shard': 5, |
| 567 }], | 578 }], |
| 568 ['OS!="android"', { | 579 ['OS!="android"', { |
| 569 'sources/': [ | 580 'sources/': [ |
| 570 ['exclude', 'Android\\.cpp$'], | 581 ['exclude', 'Android\\.cpp$'], |
| 571 ], | 582 ], |
| 572 }], | 583 }], |
| 573 ], | 584 ], |
| 574 }, | 585 }, |
| 575 { | 586 { |
| 587 # GN version: //third_party/WebKit/Source/core:svg |
| 576 'target_name': 'webcore_svg', | 588 'target_name': 'webcore_svg', |
| 577 'type': 'static_library', | 589 'type': 'static_library', |
| 578 'dependencies': [ | 590 'dependencies': [ |
| 579 'webcore_prerequisites', | 591 'webcore_prerequisites', |
| 580 ], | 592 ], |
| 581 'sources': [ | 593 'sources': [ |
| 582 '<@(webcore_svg_files)', | 594 '<@(webcore_svg_files)', |
| 583 ], | 595 ], |
| 584 'conditions': [ | 596 'conditions': [ |
| 585 ['OS=="win" and buildtype=="Official"', { | 597 ['OS=="win" and buildtype=="Official"', { |
| 586 'msvs_shard': 5, | 598 'msvs_shard': 5, |
| 587 }], | 599 }], |
| 588 ], | 600 ], |
| 589 }, | 601 }, |
| 590 { | 602 { |
| 603 # GN version: //third_party/WebKit/Source/core:rendering |
| 591 'target_name': 'webcore_rendering', | 604 'target_name': 'webcore_rendering', |
| 592 'type': 'static_library', | 605 'type': 'static_library', |
| 593 'dependencies': [ | 606 'dependencies': [ |
| 594 'webcore_prerequisites', | 607 'webcore_prerequisites', |
| 595 ], | 608 ], |
| 596 'sources': [ | 609 'sources': [ |
| 597 '<@(webcore_files)', | 610 '<@(webcore_files)', |
| 598 ], | 611 ], |
| 599 'sources/': [ | 612 'sources/': [ |
| 600 ['exclude', '.*'], | 613 ['exclude', '.*'], |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 ['include', 'rendering/RenderThemeChromiumDefault\\.cpp$'], | 671 ['include', 'rendering/RenderThemeChromiumDefault\\.cpp$'], |
| 659 ], | 672 ], |
| 660 },{ # OS!="android" | 673 },{ # OS!="android" |
| 661 'sources/': [ | 674 'sources/': [ |
| 662 ['exclude', 'Android\\.cpp$'], | 675 ['exclude', 'Android\\.cpp$'], |
| 663 ], | 676 ], |
| 664 }], | 677 }], |
| 665 ], | 678 ], |
| 666 }, | 679 }, |
| 667 { | 680 { |
| 681 # GN version: //third_party/WebKit/Source/core:remaining |
| 668 'target_name': 'webcore_remaining', | 682 'target_name': 'webcore_remaining', |
| 669 'type': 'static_library', | 683 'type': 'static_library', |
| 670 'dependencies': [ | 684 'dependencies': [ |
| 671 'webcore_prerequisites', | 685 'webcore_prerequisites', |
| 672 ], | 686 ], |
| 673 'sources': [ | 687 'sources': [ |
| 674 '<@(webcore_files)', | 688 '<@(webcore_files)', |
| 675 ], | 689 ], |
| 676 'sources/': [ | 690 'sources/': [ |
| 677 ['exclude', 'rendering/'], | 691 ['exclude', 'rendering/'], |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 ['OS=="win" and chromium_win_pch==1', { | 746 ['OS=="win" and chromium_win_pch==1', { |
| 733 'sources/': [ | 747 'sources/': [ |
| 734 ['include', '<(DEPTH)/third_party/WebKit/Source/build/win/Precompile
.cpp'], | 748 ['include', '<(DEPTH)/third_party/WebKit/Source/build/win/Precompile
.cpp'], |
| 735 ], | 749 ], |
| 736 }], | 750 }], |
| 737 ], | 751 ], |
| 738 # Disable c4267 warnings until we fix size_t to int truncations. | 752 # Disable c4267 warnings until we fix size_t to int truncations. |
| 739 'msvs_disabled_warnings': [ 4267, 4334, ], | 753 'msvs_disabled_warnings': [ 4267, 4334, ], |
| 740 }, | 754 }, |
| 741 { | 755 { |
| 756 # GN version: //third_party/WebKit/Source/core:core |
| 742 'target_name': 'webcore', | 757 'target_name': 'webcore', |
| 743 'type': 'none', | 758 'type': 'none', |
| 744 'dependencies': [ | 759 'dependencies': [ |
| 745 'webcore_dom', | 760 'webcore_dom', |
| 746 'webcore_html', | 761 'webcore_html', |
| 747 'webcore_remaining', | 762 'webcore_remaining', |
| 748 'webcore_rendering', | 763 'webcore_rendering', |
| 749 'webcore_svg', | 764 'webcore_svg', |
| 750 # Exported. | 765 # Exported. |
| 751 'webcore_generated', | 766 'webcore_generated', |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 '<(bindings_core_v8_output_dir)/V8LayerRect.h', | 845 '<(bindings_core_v8_output_dir)/V8LayerRect.h', |
| 831 '<(bindings_core_v8_output_dir)/V8LayerRectList.cpp', | 846 '<(bindings_core_v8_output_dir)/V8LayerRectList.cpp', |
| 832 '<(bindings_core_v8_output_dir)/V8LayerRectList.h', | 847 '<(bindings_core_v8_output_dir)/V8LayerRectList.h', |
| 833 ], | 848 ], |
| 834 'sources/': [ | 849 'sources/': [ |
| 835 ['exclude', 'testing/js'], | 850 ['exclude', 'testing/js'], |
| 836 ], | 851 ], |
| 837 }, | 852 }, |
| 838 ], # targets | 853 ], # targets |
| 839 } | 854 } |
| OLD | NEW |