Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Router Gray
3p-cef-bin
Commits
8e46ec09
Commit
8e46ec09
authored
Jul 27, 2019
by
Drake Arconis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mac build for alchemy
parent
12f49cde
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
autobuild.xml
autobuild.xml
+1
-1
build-cmd.sh
build-cmd.sh
+9
-6
No files found.
autobuild.xml
View file @
8e46ec09
...
...
@@ -39,7 +39,7 @@
<key>
name
</key>
<string>
common
</string>
</map>
<key>
darwin
64
</key>
<key>
darwin
</key>
<map>
<key>
build_directory
</key>
<string>
stage
</string>
...
...
build-cmd.sh
View file @
8e46ec09
...
...
@@ -128,7 +128,7 @@ case "$AUTOBUILD_PLATFORM" in
;;
darwin
64
)
darwin
*
)
# download bundle
CEF_BUNDLE_URL
=
"CEF_BUNDLE_URL_DARWIN64"
curl
"
${
!CEF_BUNDLE_URL
}
"
-o
"
${
CEF_BUNDLE_DOWNLOAD_FILE_DARWIN64
}
"
...
...
@@ -137,11 +137,6 @@ case "$AUTOBUILD_PLATFORM" in
mkdir
-p
"
${
CEF_BUNDLE_SRC_DIR_DARWIN64
}
"
tar
xvfj
"
${
CEF_BUNDLE_DOWNLOAD_FILE_DARWIN64
}
"
-C
"
${
CEF_BUNDLE_SRC_DIR_DARWIN64
}
"
--strip-components
=
1
# build version number and write to autobuild version file
VERSION_HEADER_FILE
=
"
$CEF_BUNDLE_SRC_DIR_DARWIN64
/include/cef_version.h"
version
=
$(
sed
-n
-E
's/#define CEF_VERSION "([a-z0-9.]+)"/\1/p'
"
${
VERSION_HEADER_FILE
}
"
)
echo
"
${
version
}
.
${
build
}
"
>
"
${
stage
}
/VERSION.txt"
BUILD_FOLDER
=
"build"
cd
"
${
CEF_BUNDLE_SRC_DIR_DARWIN64
}
"
rm
-rf
"
${
BUILD_FOLDER
}
"
...
...
@@ -172,6 +167,14 @@ case "$AUTOBUILD_PLATFORM" in
# license file
cp
"
${
CEF_BUNDLE_SRC_DIR_DARWIN64
}
/LICENSE.txt"
"
$stage
/LICENSES/cef.txt"
# populate version_file
clang++
-I
"
$stage
/include/cef/include"
\
-I
"
$stage
/include/cef"
\
-D
"AUTOBUILD_BUILD=
${
build
}
"
\
-o
"
$stage
/version"
"
$top
/version.cpp"
"
$stage
/version"
>
"
$stage
/VERSION.txt"
rm
"
$stage
/version"
;;
linux
*
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment