Quickstart
Get up and running with the eyeo Browser Ad-Filtering Solution.
About the eyeo Browser Ad-Filtering Solution
eyeo's Browser Ad-Filtering Solution is a software development kit that you can use to integrate eyeo's ad-filtering technology into Chromium-based browsers.
Maintained as a set of patches added to the Chromium project, the Solution lets you incorporate eyeo's ad-filtering functionality and filter lists into your own browser.
By the end of this quickstart guide, you'll have cloned the Solution's project and built Chromium with ad blocking for Linux.
This guide assumes familiarity with both Git and the command line.
Install depot_tools
depot_tools
Follow these steps to set up depot_tools
:
Clone the repository:
Add
depot_tools
to your PATH:
When cloning depot_tools
to your home directory do not use ~
on PATH, otherwise gclient runhooks
will fail to run. Rather, you should use either $HOME
or the absolute path:
Get the eyeo Browser Ad-Filtering Solution code
Clone the eyeo Browser Ad-Filtering Solution repository using the following command:
Expect the command to take 30 minutes on even a fast connection, and many hours on slower ones.
Update dependencies and build
Create a .gclient configuration file relevant for your development platform:
Put one of these .gclient'
files into chromium/
(not chromium/src/
):
Run
gclient sync
to update the third party dependencies of Chromium:
This steps downloads and sets up dependencies, in accordance with the .gclient
file you created in the previous step.
Set up the build:
Chromium uses Ninja as its main build tool along with a tool called GN to generate .ninja
files. You can create any number of build directories with different configurations. To create a build directory, run:
Build chromium with unit tests:
The following command builds chrome and unit tests:
Depending on your hardware the build might take several hours to complete.
Run unit tests
You can run ad-filtering unit tests with the following command:
For a more detailed build description and for building for other platforms follow Chromium's standard instructions.
Next up
In this quickstart guide, you cloned and built the eyeo Browser Ad-Filtering Solution and unit tests.
To test the ad-filtering capabilities of the browser see Testing
Check out the eyeo Browser Ad-Filtering Solution Features documentation to learn how the Solution handles common ad-filtering use cases.
Last updated