Skip to content
Permalink
Browse files
Fix build error: "cp: JavaScriptCore.profdata is not a directory"
https://bugs.webkit.org/show_bug.cgi?id=239681

Unreviewed build fix.

* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:

Canonical link: https://commits.webkit.org/250008@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
emw-apple committed Apr 26, 2022
1 parent c284bbc commit 2e690e19e3caf94f5f0fac2f15303212c006318b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 3 deletions.
@@ -1,3 +1,12 @@
2022-04-26 Elliott Williams <emw@apple.com>

Fix build error: "cp: JavaScriptCore.profdata is not a directory"
https://bugs.webkit.org/show_bug.cgi?id=239681

Unreviewed build fix.

* JavaScriptCore.xcodeproj/project.pbxproj:

2022-04-22 Elliott Williams <emw@apple.com>

[Xcode] Compute PGO profdata paths instead of searching for them at build time
@@ -12121,7 +12121,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nif [ -z \"${PROFILE_DATA_FLAGS}\" ]; then\n exit 0;\nfi\n\nif [[ \"$(file -b \"${SCRIPT_INPUT_FILE_0}\")\" = \"lzfse compressed\"* ]]; then\n set -x; compression_tool -decode -i \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\" -a lzfse;\nelse\n set -x; cp \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\"\nfi\n";
shellScript = "if [ \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nif [ -z \"${PROFILE_DATA_FLAGS}\" ]; then\n exit 0;\nfi\n\nif [[ \"$(file -b \"${SCRIPT_INPUT_FILE_0}\")\" = \"lzfse compressed\"* ]]; then\n set -x; compression_tool -decode -i \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\" -a lzfse;\nelse\n set -x; cp \"${SCRIPT_INPUT_FILE_0}\" \"${SCRIPT_OUTPUT_FILE_0}\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

@@ -1,3 +1,12 @@
2022-04-26 Elliott Williams <emw@apple.com>

Fix build error: "cp: JavaScriptCore.profdata is not a directory"
https://bugs.webkit.org/show_bug.cgi?id=239681

Unreviewed build fix.

* WebCore.xcodeproj/project.pbxproj:

2022-04-26 Manuel Rego Casasnovas <rego@igalia.com>

Remove AriaReflectionEnabled runtime flag
@@ -38891,7 +38891,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nif [ -z \"${PROFILE_DATA_FLAGS}\" ]; then\n exit 0;\nfi\n\nif [[ \"$(file -b \"${SCRIPT_INPUT_FILE_0}\")\" = \"lzfse compressed\"* ]]; then\n set -x; compression_tool -decode -i \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\" -a lzfse;\nelse\n set -x; cp \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\"\nfi\n";
shellScript = "if [ \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nif [ -z \"${PROFILE_DATA_FLAGS}\" ]; then\n exit 0;\nfi\n\nif [[ \"$(file -b \"${SCRIPT_INPUT_FILE_0}\")\" = \"lzfse compressed\"* ]]; then\n set -x; compression_tool -decode -i \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\" -a lzfse;\nelse\n set -x; cp \"${SCRIPT_INPUT_FILE_0}\" \"${SCRIPT_OUTPUT_FILE_0}\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

@@ -1,3 +1,12 @@
2022-04-26 Elliott Williams <emw@apple.com>

Fix build error: "cp: JavaScriptCore.profdata is not a directory"
https://bugs.webkit.org/show_bug.cgi?id=239681

Unreviewed build fix.

* WebKit.xcodeproj/project.pbxproj:

2022-04-26 Wenson Hsieh <wenson_hsieh@apple.com>

Show the option to Markup Image in the callout bar only when appropriate
@@ -16843,7 +16843,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nif [ -z \"${PROFILE_DATA_FLAGS}\" ]; then\n exit 0;\nfi\n\nif [[ \"$(file -b \"${SCRIPT_INPUT_FILE_0}\")\" = \"lzfse compressed\"* ]]; then\n set -x; compression_tool -decode -i \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\" -a lzfse;\nelse\n set -x; cp \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\"\nfi\n";
shellScript = "if [ \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nif [ -z \"${PROFILE_DATA_FLAGS}\" ]; then\n exit 0;\nfi\n\nif [[ \"$(file -b \"${SCRIPT_INPUT_FILE_0}\")\" = \"lzfse compressed\"* ]]; then\n set -x; compression_tool -decode -i \"${SCRIPT_INPUT_FILE_0}\" -o \"${SCRIPT_OUTPUT_FILE_0}\" -a lzfse;\nelse\n set -x; cp \"${SCRIPT_INPUT_FILE_0}\" \"${SCRIPT_OUTPUT_FILE_0}\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

0 comments on commit 2e690e1

Please sign in to comment.