Changeset 290149 in webkit
- Timestamp:
- Feb 18, 2022, 12:06:08 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 39 edited
-
ChangeLog (modified) (1 diff)
-
Makefile.shared (modified) (1 diff)
-
PerformanceTests/ChangeLog (modified) (1 diff)
-
PerformanceTests/DecoderTest/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
PerformanceTests/MediaTime/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/ThirdParty/ANGLE/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/ThirdParty/libwebrtc/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebCore/PAL/ChangeLog (modified) (1 diff)
-
Source/WebCore/PAL/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebGPU/ChangeLog (modified) (1 diff)
-
Source/WebGPU/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebInspectorUI/ChangeLog (modified) (1 diff)
-
Source/WebInspectorUI/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebKit/UIProcess/API/C/WKPageUIClient.h (modified) (1 diff)
-
Source/WebKitLegacy/mac/ChangeLog (modified) (1 diff)
-
Source/WebKitLegacy/mac/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/bmalloc/ChangeLog (modified) (1 diff)
-
Source/bmalloc/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/ContentExtensionTester/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/ImageDiff/cg/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/MiniBrowser/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/Scripts/build-jsc (modified) (4 diffs)
-
Tools/Scripts/build-webkit (modified) (4 diffs)
-
Tools/Scripts/generate-compile-commands (added)
-
Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/WebEditingTester/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/lldb/lldbWebKitTester/Configurations/DebugRelease.xcconfig (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r290138 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Makefile.shared: 18 1 19 2022-02-18 Adrian Perez de Castro <aperez@igalia.com> 2 20 -
trunk/Makefile.shared
r289587 r290149 46 46 XCODE_OPTIONS += WK_USE_CCACHE=YES 47 47 endif 48 endif 49 50 ifneq (,$(EXPORT_COMPILE_COMMANDS)) 51 XCODE_OPTIONS += EXPORT_COMPILE_COMMANDS=YES 52 XCODE_OPTIONS += GCC_PRECOMPILE_PREFIX_HEADER=NO 53 XCODE_OPTIONS += CLANG_ENABLE_MODULE_DEBUGGING=NO 54 XCODE_OPTIONS += COMPILER_INDEX_STORE_ENABLE=NO 48 55 endif 49 56 -
trunk/PerformanceTests/ChangeLog
r288325 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * DecoderTest/Configurations/DebugRelease.xcconfig: 18 * MediaTime/Configurations/DebugRelease.xcconfig: 19 1 20 2022-01-20 Ross Kirsling <ross.kirsling@sony.com> 2 21 -
trunk/PerformanceTests/DecoderTest/Configurations/DebugRelease.xcconfig
r286958 r290149 36 36 SDKROOT_YES = macosx.internal; 37 37 38 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 39 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 40 38 41 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none); 39 42 -
trunk/PerformanceTests/MediaTime/Configurations/DebugRelease.xcconfig
r286958 r290149 33 33 SDKROOT_ = macosx; 34 34 SDKROOT_YES = macosx.internal; 35 36 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 37 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; -
trunk/Source/JavaScriptCore/ChangeLog
r290129 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Mark Lam <mark.lam@apple.com> 2 20 -
trunk/Source/JavaScriptCore/Configurations/DebugRelease.xcconfig
r286958 r290149 41 41 SDKROOT_YES = macosx.internal; 42 42 43 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 44 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 45 43 46 WK_RELOCATABLE_FRAMEWORKS = YES; 44 47 -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r290145 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Saam Barati <sbarati@apple.com> 2 20 -
trunk/Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig
r286958 r290149 13 13 SDKROOT_YES = macosx.internal; 14 14 15 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 16 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 17 15 18 WK_RELOCATABLE_FRAMEWORKS = YES; 16 19 -
trunk/Source/ThirdParty/libwebrtc/ChangeLog
r290117 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Saam Barati <sbarati@apple.com> 2 20 -
trunk/Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig
r286958 r290149 37 37 SDKROOT_YES = macosx.internal; 38 38 39 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 40 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 41 39 42 WK_RELOCATABLE_FRAMEWORKS = YES; 40 43 -
trunk/Source/WTF/ChangeLog
r290146 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Brady Eidson <beidson@apple.com> 2 20 -
trunk/Source/WTF/Configurations/DebugRelease.xcconfig
r286958 r290149 35 35 SDKROOT_YES = macosx.internal; 36 36 37 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 38 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 39 37 40 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none); 38 41 -
trunk/Source/WebCore/ChangeLog
r290138 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Adrian Perez de Castro <aperez@igalia.com> 2 20 -
trunk/Source/WebCore/Configurations/DebugRelease.xcconfig
r286958 r290149 36 36 SDKROOT_YES = macosx.internal; 37 37 38 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 39 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 40 38 41 WK_RELOCATABLE_FRAMEWORKS = YES; 39 42 -
trunk/Source/WebCore/PAL/ChangeLog
r290146 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Brady Eidson <beidson@apple.com> 2 20 -
trunk/Source/WebCore/PAL/Configurations/DebugRelease.xcconfig
r286958 r290149 36 36 SDKROOT_YES = macosx.internal; 37 37 38 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 39 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 40 38 41 WK_RELOCATABLE_FRAMEWORKS = YES; 39 42 -
trunk/Source/WebGPU/ChangeLog
r290117 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Saam Barati <sbarati@apple.com> 2 20 -
trunk/Source/WebGPU/Configurations/DebugRelease.xcconfig
r286958 r290149 36 36 SDKROOT_YES = macosx.internal; 37 37 38 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 39 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 40 38 41 WK_RELOCATABLE_FRAMEWORKS = YES; 39 42 -
trunk/Source/WebInspectorUI/ChangeLog
r290117 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Saam Barati <sbarati@apple.com> 2 20 -
trunk/Source/WebInspectorUI/Configurations/DebugRelease.xcconfig
r286958 r290149 13 13 SDKROOT_YES = macosx.internal; 14 14 15 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 16 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 17 15 18 COMBINE_INSPECTOR_RESOURCES = NO; 16 19 COMBINE_TEST_RESOURCES = YES; -
trunk/Source/WebKit/ChangeLog
r290146 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 * UIProcess/API/C/WKPageUIClient.h: 19 1 20 2022-02-18 Brady Eidson <beidson@apple.com> 2 21 -
trunk/Source/WebKit/Configurations/DebugRelease.xcconfig
r286958 r290149 36 36 SDKROOT_YES = macosx.internal; 37 37 38 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 39 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 40 38 41 CODE_SIGN_IDENTITY[sdk=macosx*] = $(CODE_SIGN_IDENTITY_$(WK_USE_RESTRICTED_ENTITLEMENTS)) 39 42 CODE_SIGN_IDENTITY_ = $(CODE_SIGN_IDENTITY_NO); -
trunk/Source/WebKit/UIProcess/API/C/WKPageUIClient.h
r289612 r290149 136 136 typedef bool (*WKPageShouldAllowDeviceOrientationAndMotionAccessCallback)(WKPageRef page, WKSecurityOriginRef securityOrigin, WKFrameInfoRef frame, const void *clientInfo); 137 137 138 typedef void (*WKPageRunWebAuthenticationPanelCallback)( );139 typedef void (*WKPageRequestWebAuthenticationNoGestureCallback)( );138 typedef void (*WKPageRunWebAuthenticationPanelCallback)(void); 139 typedef void (*WKPageRequestWebAuthenticationNoGestureCallback)(void); 140 140 typedef void (*WKPageDecidePolicyForSpeechRecognitionPermissionRequestCallback)(WKPageRef page, WKSecurityOriginRef topOrigin, WKSpeechRecognitionPermissionCallbackRef callback); 141 141 -
trunk/Source/WebKitLegacy/mac/ChangeLog
r290117 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-18 Saam Barati <sbarati@apple.com> 2 20 -
trunk/Source/WebKitLegacy/mac/Configurations/DebugRelease.xcconfig
r286958 r290149 36 36 SDKROOT_YES = macosx.internal; 37 37 38 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 39 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 40 38 41 WK_BUILD_FOR_TESTING = YES; 39 42 -
trunk/Source/bmalloc/ChangeLog
r290110 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * Configurations/DebugRelease.xcconfig: 18 1 19 2022-02-17 Yusuke Suzuki <ysuzuki@apple.com> 2 20 -
trunk/Source/bmalloc/Configurations/DebugRelease.xcconfig
r286958 r290149 35 35 SDKROOT_YES = macosx.internal; 36 36 37 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 38 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 39 37 40 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none); 38 41 -
trunk/Tools/ChangeLog
r290148 r290149 1 2022-02-18 Brandon Stewart <brandonstewart@apple.com> 2 3 Generate compile_commands.json on macOS Builds 4 https://bugs.webkit.org/show_bug.cgi?id=235686 5 6 Reviewed by Saam Barati. 7 8 Add support for generating compile_commands.json file to WebKit. 9 10 compile_commands.json can be used by tools like clangd to provide code complete, 11 refactoring, formatting, and cross references. 12 13 Steps to generate the compile commands file: 14 make r EXPORT_COMPILE_COMMANDS=YES 15 generate-compile-commands WebKitBuild/Release 16 17 * ContentExtensionTester/Configurations/DebugRelease.xcconfig: 18 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: 19 * ImageDiff/cg/Configurations/DebugRelease.xcconfig: 20 * MiniBrowser/Configurations/DebugRelease.xcconfig: 21 * Scripts/build-jsc: 22 * Scripts/build-webkit: 23 * Scripts/generate-compile-commands: Added. 24 * TestWebKitAPI/Configurations/DebugRelease.xcconfig: 25 * WebEditingTester/Configurations/DebugRelease.xcconfig: 26 * WebKitTestRunner/Configurations/DebugRelease.xcconfig: 27 * lldb/lldbWebKitTester/Configurations/DebugRelease.xcconfig: 28 1 29 2022-02-18 Jonathan Bedard <jbedard@apple.com> 2 30 -
trunk/Tools/ContentExtensionTester/Configurations/DebugRelease.xcconfig
r286958 r290149 32 32 SDKROOT_ = macosx; 33 33 SDKROOT_YES = macosx.internal; 34 35 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 36 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; -
trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig
r286958 r290149 38 38 SDKROOT_YES = macosx.internal; 39 39 40 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 41 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 42 40 43 WK_CCACHE_DIR = $(SRCROOT)/../ccache; 41 44 #include "../../../ccache/ccache.xcconfig" -
trunk/Tools/ImageDiff/cg/Configurations/DebugRelease.xcconfig
r286958 r290149 31 31 SDKROOT_ = macosx; 32 32 SDKROOT_YES = macosx.internal; 33 34 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 35 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; -
trunk/Tools/MiniBrowser/Configurations/DebugRelease.xcconfig
r286958 r290149 35 35 SDKROOT_YES = macosx.internal; 36 36 37 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 38 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 39 37 40 WK_CCACHE_DIR = $(SRCROOT)/../ccache; 38 41 #include? "../../ccache/ccache.xcconfig" -
trunk/Tools/Scripts/build-jsc
r268870 r290149 62 62 my $startTime = time(); 63 63 my $useCCache = -1; 64 my $exportCompileCommands = 0; 64 65 65 66 my @features = getFeatureOptionList(); … … 94 95 95 96 --[no-]use-ccache Enable (or disable) CCache, if available 97 --export-compile-commands Generate compile_commands.json (Apple platforms only) 96 98 EOF 97 99 … … 106 108 'cmakeargs=s' => \@cmakeArgs, 107 109 'build-dir=s' => \$buildDir, 108 'use-ccache!' => \$useCCache 110 'use-ccache!' => \$useCCache, 111 'export-compile-commands' => \$exportCompileCommands 109 112 ); 110 113 … … 142 145 $ENV{'WK_USE_CCACHE'} = "NO"; 143 146 } 147 148 $ENV{'EXPORT_COMPILE_COMMANDS'} = "YES" if $exportCompileCommands; 144 149 145 150 checkRequiredSystemConfig(); -
trunk/Tools/Scripts/build-webkit
r288742 r290149 81 81 my $skipLibraryUpdate = 0; 82 82 my $useCCache = -1; 83 my $exportCompileCommands = 0; 83 84 84 85 my @features = getFeatureOptionList(); … … 147 148 --[no-]use-ccache Enable (or disable) CCache, if available 148 149 150 --export-compile-commands Generate compile_commands.json (Apple platforms only) 151 149 152 EOF 150 153 … … 168 171 'skip-library-update' => \$skipLibraryUpdate, 169 172 'use-ccache!' => \$useCCache, 173 'export-compile-commands' => \$exportCompileCommands 170 174 ); 171 175 … … 192 196 } 193 197 198 $ENV{'EXPORT_COMPILE_COMMANDS'} = "YES" if $exportCompileCommands; 194 199 195 200 my $productDir = productDir(); -
trunk/Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig
r286958 r290149 35 35 SDKROOT_YES = macosx.internal; 36 36 37 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 38 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 39 37 40 OTHER_CPLUSPLUSFLAGS = $(inherited) -ftemplate-depth=256; 38 41 -
trunk/Tools/WebEditingTester/Configurations/DebugRelease.xcconfig
r286958 r290149 33 33 SDKROOT_ = macosx; 34 34 SDKROOT_YES = macosx.internal; 35 36 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 37 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; -
trunk/Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig
r286958 r290149 33 33 SDKROOT_YES = macosx.internal; 34 34 35 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 36 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 37 35 38 WK_CCACHE_DIR = $(SRCROOT)/../ccache; 36 39 #include "../../ccache/ccache.xcconfig" -
trunk/Tools/lldb/lldbWebKitTester/Configurations/DebugRelease.xcconfig
r286958 r290149 33 33 SDKROOT_YES = macosx.internal; 34 34 35 OTHER_CFLAGS = $(inherited) $(COMPILE_COMMANDS_$(EXPORT_COMPILE_COMMANDS)); 36 COMPILE_COMMANDS_YES = '-gen-cdb-fragment-path' '$(BUILT_PRODUCTS_DIR)/compile_commands'; 37 35 38 WK_CCACHE_DIR = $(SRCROOT)/../../../Tools/ccache; 36 39 #include "../../../ccache/ccache.xcconfig"
Note:
See TracChangeset
for help on using the changeset viewer.