Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
933d29c3
Commit
933d29c3
authored
Dec 01, 2021
by
Julien Muchembled
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
0b7511b4
Pipeline
#18577
failed with stage
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
component/headless-chromium/buildout.cfg
component/headless-chromium/buildout.cfg
+10
-9
No files found.
component/headless-chromium/buildout.cfg
View file @
933d29c3
...
@@ -53,7 +53,8 @@ version = 92.0.4515.107
...
@@ -53,7 +53,8 @@ version = 92.0.4515.107
[headless-chromium]
[headless-chromium]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
path = ${chromium-source:location}
path = ${chromium-source:location}
location = ${:path}/out/headless
# XXX
fake-location = ${:path}/out/headless
# Configuration file for GN, the tool to build the actual compilation
# Configuration file for GN, the tool to build the actual compilation
# configuration file.
# configuration file.
...
@@ -91,17 +92,17 @@ configure-command =
...
@@ -91,17 +92,17 @@ configure-command =
> ${chromium-source:gclient-location}/.gclient
> ${chromium-source:gclient-location}/.gclient
gclient sync --no-history
gclient sync --no-history
# Generate build configuration files.
# Generate build configuration files.
mkdir -p ${:location}
mkdir -p ${:
fake-
location}
echo '${:build-config-options}' > ${:location}/args.gn
echo '${:build-config-options}' > ${:
fake-
location}/args.gn
gn gen ${:location}
gn gen ${:
fake-
location}
# You can run the headless Chromium shell using
# You can run the headless Chromium shell using
# ${:binary} --remote-debugging-port=1234
# ${:binary} --remote-debugging-port=1234
make-binary =
make-binary =
autoninja -C ${:location} headless_shell
autoninja -C ${:
fake-
location} headless_shell
# By building our own version of Chromedriver, we can ensure version
# By building our own version of Chromedriver, we can ensure version
# compatibility. The build is quite cheap compared to Chromium, anyway.
# compatibility. The build is quite cheap compared to Chromium, anyway.
autoninja -C ${:location} chromedriver
autoninja -C ${:
fake-
location} chromedriver
environment =
environment =
PATH=${depot_tools:location}:${gperf:location}/bin:${pkgconfig:location}/bin:${coreutils:location}/bin:${git:location}/bin:${curl:location}/bin:%(PATH)s
PATH=${depot_tools:location}:${gperf:location}/bin:${pkgconfig:location}/bin:${coreutils:location}/bin:${git:location}/bin:${curl:location}/bin:%(PATH)s
LDFLAGS="-Wl,-rpath=${nss:location}/lib,-rpath=${nspr:location}/lib"
LDFLAGS="-Wl,-rpath=${nss:location}/lib,-rpath=${nspr:location}/lib"
...
@@ -111,10 +112,10 @@ environment =
...
@@ -111,10 +112,10 @@ environment =
NM="${:llvm-toolchain}/llvm-nm"
NM="${:llvm-toolchain}/llvm-nm"
# Expose devtools frontend location.
# Expose devtools frontend location.
devtools-frontend = ${:location}/gen/third_party/devtools-frontend/src/front_end
devtools-frontend = ${:
fake-
location}/gen/third_party/devtools-frontend/src/front_end
binary = ${:location}/headless_shell
binary = ${:
fake-
location}/headless_shell
chromedriver = ${:location}/chromedriver
chromedriver = ${:
fake-
location}/chromedriver
promises =
promises =
${:binary}
${:binary}
${:chromedriver}
${:chromedriver}
...
...
Nicolas Wavrant
@Nicolas
·
Dec 02, 2021
Developer
This commit message is not very descriptive
😉
This commit message is not very descriptive 😉
👍
1
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