Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
933d29c3
Commit
933d29c3
authored
Dec 01, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
0b7511b4
Changes
1
Hide 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}
...
...
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