summaryrefslogtreecommitdiffstats
path: root/src/core/qtwebengine.gni
blob: e73f9eb82f0156cec80193dbc9cf591254e7859c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
chromium_version = exec_script("//build/util/version.py", [ "-f", rebase_path("//chrome/VERSION"),
                                                            "-t", "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"],
                                                            "list lines")

declare_args() {
  use_qt = true
}

include_dirs = [
  "//skia/config",
  "//third_party/skia/include/core"
]

deps = [
  "//base",
  "//components/devtools_http_handler",
  "//components/error_page/common",
  "//components/keyed_service/content",
  "//components/visitedlink/browser",
  "//components/visitedlink/renderer",
  "//components/web_cache/browser",
  "//components/web_cache/public/interfaces",
  "//components/web_cache/renderer",
  "//content/public/app:browser",
  "//content/public/browser",
  "//content/public/common",
  "//net:net_browser_services",
  "//services/shell/public/cpp",
  "//skia",
  "//third_party/WebKit/public:blink",
  "//third_party/widevine/cdm:version_h",
  "//ui/accessibility",
  ":qtwebengine_sources",
  ":qtwebengine_resources"
]

if (enable_widevine) {
  deps += [ "//components/cdm/renderer"]
}

# fixme:
defines = [
  "QTWEBENGINEPROCESS_NAME=\"QtWebEngineProcess\"",
  "CHROMIUM_VERSION=\"" + chromium_version[0] + "\""
]