Changeset 246617 in webkit
- Timestamp:
- Jun 19, 2019 5:14:11 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r246613 r246617 1 2019-06-19 Keith Rollin <krollin@apple.com> 2 3 Relocate some test tools in non-mac builds 4 https://bugs.webkit.org/show_bug.cgi?id=198984 5 <rdar://problem/51873261> 6 7 Reviewed by Andy Estes. 8 9 The tools DumpRenderTree, WebKitTestRunner, LayoutTestHelper, and 10 TestNetscapePlugin get created in 11 WebKit.framework/Versions/A/Resources on non-mac builds. This is 12 incorrect, as those bundles are shallow bundles that don't use the 13 Versions hierarchy. Instead, store these files directly in 14 WebKit.framework. 15 16 Note that getting rid of just the "Versions/A" path components and 17 putting the files in WebKit.framework/Resources doesn't work as 18 `codesign` treats the result as an invalid layout. 19 20 The work in this patch involves changing the definition of the custom 21 build variable WEBKIT_FRAMEWORK_RESOURCES_PATH. The standard build 22 variable INSTALL_PATH is defined in terms of this variable. In order 23 to increase visiblity into this relationship, move both of these 24 variables into .xcconfig files if they weren't already. This 25 refactoring was done in a way to be the least disruptive and most 26 compatible with the previous definitions, even at the cost of being 27 repetitive. 28 29 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 30 * DumpRenderTree/mac/Configurations/Base.xcconfig: 31 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: 32 * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig: 33 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: 34 * WebKitTestRunner/Configurations/BaseTarget.xcconfig: 35 1 36 2019-06-19 Aakash Jain <aakash_jain@apple.com> 2 37 -
trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj
r246141 r246617 1350 1350 baseConfigurationReference = A1103B5B1892498F00738C87 /* LayoutTestHelper.xcconfig */; 1351 1351 buildSettings = { 1352 INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH)";1353 1352 PRODUCT_NAME = LayoutTestHelper; 1354 1353 SKIP_INSTALL = NO; … … 1387 1386 baseConfigurationReference = BCB281EE0CFA713D007E533E /* Base.xcconfig */; 1388 1387 buildSettings = { 1389 WEBKIT_FRAMEWORK_RESOURCES_PATH = WebKit.framework/Versions/A/Resources;1390 1388 }; 1391 1389 name = Production; … … 1394 1392 isa = XCBuildConfiguration; 1395 1393 buildSettings = { 1396 INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH)";1397 1394 PRODUCT_NAME = All; 1398 1395 USE_EXPORT_MACROS = 0; … … 1404 1401 baseConfigurationReference = BCB281F00CFA713D007E533E /* DumpRenderTree.xcconfig */; 1405 1402 buildSettings = { 1406 INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH)";1407 1403 }; 1408 1404 name = Production; … … 1413 1409 buildSettings = { 1414 1410 INFOPLIST_FILE = TestNetscapePlugIn/mac/Info.plist; 1415 INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH)";1416 1411 SKIP_INSTALL = NO; 1417 1412 }; -
trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig
r246285 r246617 112 112 OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CPLUSPLUSFLAGS); 113 113 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS); 114 115 WEBKIT_FRAMEWORK_RESOURCES_PATH = WebKit.framework; 116 WEBKIT_FRAMEWORK_RESOURCES_PATH[sdk=macosx*] = WebKit.framework/Versions/A/Resources; -
trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig
r246282 r246617 33 33 SKIP_INSTALL[sdk=iphone*] = YES; 34 34 EXCLUDED_SOURCE_FILE_NAMES[sdk=iphone*] = *.ttf *.TTF *.otf; 35 36 INSTALL_PATH = $(INSTALL_PATH_$(CONFIGURATION)) 37 INSTALL_PATH_Release = $(INSTALL_PATH); 38 INSTALL_PATH_Debug = $(INSTALL_PATH); 39 INSTALL_PATH_Production = $(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH); 40 INSTALL_PATH_engineering = $(INSTALL_PATH); -
trunk/Tools/DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig
r246282 r246617 28 28 OTHER_LDFLAGS[sdk=macosx*] = $(inherited) -framework Carbon -framework Cocoa -framework OpenGL -framework IOKit; 29 29 STRIP_STYLE = debugging; 30 31 INSTALL_PATH = $(INSTALL_PATH_$(CONFIGURATION)) 32 INSTALL_PATH_Release = $(INSTALL_PATH); 33 INSTALL_PATH_Debug = $(INSTALL_PATH); 34 INSTALL_PATH_Production = $(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH); 35 INSTALL_PATH_engineering = $(INSTALL_PATH); -
trunk/Tools/DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig
r209288 r246617 28 28 WRAPPER_EXTENSION = plugin 29 29 INFOPLIST_FILE = TestNetscapePlugIn.subproj/Info.plist 30 INSTALL_PATH = "$(USER_LIBRARY_DIR)/Plugins"31 30 WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas 32 31 LIBRARY_STYLE = BUNDLE 33 32 EXCLUDED_SOURCE_FILE_NAMES[sdk=iphone*] = *; 33 34 INSTALL_PATH = $(INSTALL_PATH_$(CONFIGURATION)) 35 INSTALL_PATH_Release = $(USER_LIBRARY_DIR)/Plugins; 36 INSTALL_PATH_Debug = $(USER_LIBRARY_DIR)/Plugins; 37 INSTALL_PATH_Production = $(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH); 38 INSTALL_PATH_engineering = $(USER_LIBRARY_DIR)/Plugins; -
trunk/Tools/WebKitTestRunner/Configurations/BaseTarget.xcconfig
r240211 r246617 22 22 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 23 24 INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Resources; 24 WEBKIT_FRAMEWORK_RESOURCES_PATH = WebKit.framework; 25 WEBKIT_FRAMEWORK_RESOURCES_PATH[sdk=macosx*] = WebKit.framework/Versions/A/Resources; 26 27 INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH);
Note: See TracChangeset
for help on using the changeset viewer.