2016-06-23 19:42:00 +02:00
|
|
|
# Copyright 2016 The Chromium Embedded Framework Authors. Portions copyright
|
|
|
|
# 2014 the Chromium Authors. All rights reserved. Use of this source code is
|
|
|
|
# governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
#
|
|
|
|
# This file provides the GN configuration for the CEF project. This is not a
|
|
|
|
# stand-alone configuration -- it must be built from inside the Chromium source
|
|
|
|
# tree. See https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
|
|
|
|
# for complete CEF build instructions. See below for links to additional GN
|
|
|
|
# documentation.
|
|
|
|
#
|
|
|
|
# GN Setup:
|
|
|
|
#
|
2016-08-08 13:31:57 +02:00
|
|
|
# Optionally configure GN by setting the `GN_DEFINES` and/or `GN_ARGUMENTS`
|
2016-06-23 19:42:00 +02:00
|
|
|
# environment variables.
|
|
|
|
#
|
2018-02-15 01:12:09 +01:00
|
|
|
# Example A: Create an official build on Windows:
|
2016-06-23 19:42:00 +02:00
|
|
|
#
|
2018-02-15 01:12:09 +01:00
|
|
|
# > set GN_DEFINES=is_official_build=true
|
2016-06-23 19:42:00 +02:00
|
|
|
#
|
2018-02-15 01:12:09 +01:00
|
|
|
# Example B: Generate VS2017 project files in addition to the default Ninja
|
2016-06-23 19:42:00 +02:00
|
|
|
# build files on Windows:
|
|
|
|
#
|
2018-02-15 01:12:09 +01:00
|
|
|
# > set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
|
2016-06-23 19:42:00 +02:00
|
|
|
#
|
|
|
|
# After completing the "GN Automated Build" or "GN Manual Build" section
|
|
|
|
# open "out\<build_dir>\cef.sln" for editing and debugging. Building must
|
|
|
|
# still be performed using the Ninja command-line.
|
|
|
|
#
|
|
|
|
# GN Automated Build:
|
|
|
|
#
|
|
|
|
# Run the `automate-git.py` script as described on the BranchesAndBuilding
|
|
|
|
# Wiki page. GN, unlike GYP, supports parallel build configurations. The
|
|
|
|
# following command-line flags have special meaning with GN builds:
|
|
|
|
#
|
|
|
|
# --x64-build Perform an x64 build if specified (requires out/*_GN_x64
|
|
|
|
# directories), otherwise perform an x86 build (requires
|
|
|
|
# out/*_GN_x86 directories).
|
|
|
|
#
|
|
|
|
# Directories are created subject to your platform and `GN_DEFINES` settings.
|
|
|
|
# See Step 1B in the "GN Manual Build" section below for details.
|
|
|
|
#
|
|
|
|
# GN Manual Build:
|
|
|
|
#
|
|
|
|
# 1. Run the `cef_create_projects.[bin|sh]` script. Upon successful completion
|
|
|
|
# proceed to Step 2.
|
|
|
|
#
|
|
|
|
# The `cef_create_projects.[bin|sh]` script will automatically do all of the
|
|
|
|
# following:
|
|
|
|
#
|
|
|
|
# A. Apply patch files to the Chromium source tree. This includes
|
|
|
|
# `patch/patches/gn_config.patch` which is required for GN integration.
|
|
|
|
#
|
|
|
|
# B. Create multiple build output directories appropriate to your platform
|
|
|
|
# and `GN_DEFINES` settings. For example:
|
|
|
|
#
|
|
|
|
# x86 debug build -> out/Debug_GN_x86
|
|
|
|
# x86 release build -> out/Release_GN_x86
|
|
|
|
# x64 debug build -> out/Debug_GN_x64
|
|
|
|
# x64 release build -> out/Release_GN_x64
|
|
|
|
#
|
|
|
|
# Build output directories will be created subject to the following rules
|
|
|
|
# (defined in `tools/gn_args.py` GetAllPlatformConfigs):
|
|
|
|
#
|
|
|
|
# - Debug and Release directories will be created on all platforms by
|
|
|
|
# default. Debug directories will not be created when `is_asan=true`.
|
|
|
|
# - x64 directories will always be created on all platforms.
|
|
|
|
# - x86 directories will always be created on Windows.
|
|
|
|
# - x86 directories will be created on Linux when `use_sysroot=true`.
|
|
|
|
#
|
|
|
|
# C. Write the `args.gn` file for each build output directory using the
|
|
|
|
# `tools/gn_args.py` script to determine the GN arguments. Some arguments
|
|
|
|
# are required and some are optional. See script output for details in
|
|
|
|
# case of conflicts or recommendations.
|
|
|
|
#
|
|
|
|
# D. Run `gn gen` for each build output directory to generate project files.
|
|
|
|
# Ninja files will be generated by default. Additional command-line
|
|
|
|
# arguments (including other project formats) can be specified via the
|
|
|
|
# `GN_ARGUMENTS` environment variable. Run `gn gen --help` for a list of
|
|
|
|
# supported arguments.
|
|
|
|
#
|
|
|
|
# 2. Run Ninja from the command-line to build. If the build configuration has
|
|
|
|
# changed it will automatically re-run `gn gen` with the same arguments.
|
|
|
|
#
|
2016-11-18 18:31:21 +01:00
|
|
|
# > ninja -C out/<build_dir> cefclient cefsimple ceftests
|
2016-06-23 19:42:00 +02:00
|
|
|
#
|
|
|
|
# GN Manual Packaging:
|
|
|
|
#
|
|
|
|
# Run the `make_distrib.[bat|sh]` script as described on the
|
|
|
|
# BranchesAndBuilding Wiki page.
|
|
|
|
#
|
|
|
|
# Additional GN documentation:
|
|
|
|
# http://www.chromium.org/developers/gn-build-configuration
|
|
|
|
# https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/language.md
|
|
|
|
#
|
|
|
|
|
2019-10-01 15:55:16 +02:00
|
|
|
import("//base/allocator/allocator.gni")
|
2016-06-23 19:42:00 +02:00
|
|
|
import("//build/config/features.gni")
|
|
|
|
import("//build/config/locales.gni")
|
|
|
|
import("//build/config/sanitizers/sanitizers.gni")
|
|
|
|
import("//build/config/ui.gni")
|
2016-11-23 21:54:29 +01:00
|
|
|
import("//chrome/common/features.gni")
|
2019-09-04 17:13:32 +02:00
|
|
|
import("//content/public/app/mac_helpers.gni")
|
2018-04-19 17:44:42 +02:00
|
|
|
import("//extensions/buildflags/buildflags.gni")
|
2016-06-23 19:42:00 +02:00
|
|
|
import("//media/media_options.gni")
|
|
|
|
import("//mojo/public/tools/bindings/mojom.gni")
|
2018-04-19 17:44:42 +02:00
|
|
|
import("//ppapi/buildflags/buildflags.gni")
|
|
|
|
import("//printing/buildflags/buildflags.gni")
|
2020-06-13 02:54:08 +02:00
|
|
|
import("//testing/test.gni")
|
2016-08-31 13:25:56 +02:00
|
|
|
import("//third_party/icu/config.gni")
|
2016-07-21 23:21:32 +02:00
|
|
|
import("//third_party/widevine/cdm/widevine.gni")
|
2016-06-23 19:42:00 +02:00
|
|
|
import("//tools/grit/repack.gni")
|
|
|
|
import("//tools/grit/grit_rule.gni")
|
2018-02-15 01:12:09 +01:00
|
|
|
import("//tools/v8_context_snapshot/v8_context_snapshot.gni")
|
2018-07-25 20:58:25 +02:00
|
|
|
import("//ui/gl/features.gni")
|
2016-08-31 13:25:56 +02:00
|
|
|
import("//v8/gni/v8.gni")
|
2016-07-21 23:21:32 +02:00
|
|
|
if (is_clang) {
|
|
|
|
import("//build/config/clang/clang.gni")
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
if (is_linux) {
|
|
|
|
import("//build/config/linux/pkg_config.gni")
|
2018-04-14 03:21:17 +02:00
|
|
|
import("//third_party/fontconfig/fontconfig.gni")
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
if (is_mac) {
|
2020-08-29 00:39:23 +02:00
|
|
|
import("//build/apple/tweak_info_plist.gni")
|
2016-06-23 19:42:00 +02:00
|
|
|
import("//build/config/mac/rules.gni")
|
2017-02-07 00:15:42 +01:00
|
|
|
import("//build/util/version.gni")
|
2018-03-20 21:15:08 +01:00
|
|
|
import("//media/cdm/library_cdm/cdm_paths.gni")
|
2019-09-04 17:13:32 +02:00
|
|
|
|
|
|
|
# Template to compile .xib and .storyboard files.
|
|
|
|
#
|
|
|
|
# Arguments
|
|
|
|
#
|
|
|
|
# sources:
|
|
|
|
# list of string, sources to compile
|
|
|
|
#
|
|
|
|
# ibtool_flags:
|
|
|
|
# (optional) list of string, additional flags to pass to the ibtool
|
|
|
|
template("compile_ib_files") {
|
|
|
|
action_foreach(target_name) {
|
|
|
|
forward_variables_from(invoker,
|
|
|
|
[
|
|
|
|
"testonly",
|
|
|
|
"visibility",
|
|
|
|
])
|
|
|
|
assert(defined(invoker.sources),
|
|
|
|
"sources must be specified for $target_name")
|
|
|
|
assert(defined(invoker.output_extension),
|
|
|
|
"output_extension must be specified for $target_name")
|
|
|
|
|
|
|
|
ibtool_flags = []
|
|
|
|
if (defined(invoker.ibtool_flags)) {
|
|
|
|
ibtool_flags = invoker.ibtool_flags
|
|
|
|
}
|
|
|
|
|
|
|
|
_output_extension = invoker.output_extension
|
|
|
|
|
|
|
|
script = "//cef/tools/compile_ib_files.py"
|
|
|
|
sources = invoker.sources
|
|
|
|
outputs = [
|
|
|
|
"$target_gen_dir/$target_name/{{source_name_part}}.$_output_extension",
|
|
|
|
]
|
|
|
|
args = [
|
|
|
|
"--input",
|
|
|
|
"{{source}}",
|
|
|
|
"--output",
|
|
|
|
rebase_path(
|
|
|
|
"$target_gen_dir/$target_name/{{source_name_part}}.$_output_extension",
|
|
|
|
root_build_dir),
|
|
|
|
]
|
|
|
|
if (!use_system_xcode) {
|
|
|
|
args += [
|
|
|
|
"--developer_dir",
|
|
|
|
hermetic_xcode_path,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
args += ibtool_flags
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Template to compile and package Mac XIB files as bundle data.
|
|
|
|
#
|
|
|
|
# Arguments
|
|
|
|
#
|
|
|
|
# sources:
|
|
|
|
# list of string, sources to comiple
|
|
|
|
#
|
|
|
|
# output_path:
|
|
|
|
# (optional) string, the path to use for the outputs list in the
|
|
|
|
# bundle_data step. If unspecified, defaults to bundle_resources_dir.
|
|
|
|
template("mac_xib_bundle_data") {
|
|
|
|
_target_name = target_name
|
|
|
|
_compile_target_name = _target_name + "_compile_ibtool"
|
|
|
|
|
|
|
|
compile_ib_files(_compile_target_name) {
|
|
|
|
forward_variables_from(invoker, [ "testonly" ])
|
|
|
|
visibility = [ ":$_target_name" ]
|
|
|
|
sources = invoker.sources
|
|
|
|
output_extension = "nib"
|
|
|
|
ibtool_flags = [
|
|
|
|
"--minimum-deployment-target",
|
|
|
|
mac_deployment_target,
|
|
|
|
|
|
|
|
# TODO(rsesek): Enable this once all the bots are on Xcode 7+.
|
|
|
|
# "--target-device",
|
|
|
|
# "mac",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
bundle_data(_target_name) {
|
|
|
|
forward_variables_from(invoker,
|
|
|
|
[
|
|
|
|
"testonly",
|
|
|
|
"visibility",
|
|
|
|
])
|
|
|
|
|
|
|
|
public_deps = [
|
|
|
|
":$_compile_target_name",
|
|
|
|
]
|
|
|
|
sources = get_target_outputs(":$_compile_target_name")
|
|
|
|
|
|
|
|
_output_path = "{{bundle_resources_dir}}"
|
|
|
|
if (defined(invoker.output_path)) {
|
|
|
|
_output_path = invoker.output_path
|
|
|
|
}
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"$_output_path/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
2016-07-21 23:21:32 +02:00
|
|
|
if (is_win) {
|
|
|
|
import("//build/config/win/console_app.gni")
|
|
|
|
import("//build/config/win/manifest.gni")
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2019-11-05 22:17:10 +01:00
|
|
|
if (is_linux) {
|
|
|
|
declare_args() {
|
|
|
|
# The cefclient target depends on GTK packages that are not available in the
|
|
|
|
# default sysroot environment. So we should only use them when we are not
|
|
|
|
# using the sysroot. Alternatively, the developer might not want to use the
|
|
|
|
# GTK dependencies at all, in which case they can set `cef_use_gtk=false`.
|
|
|
|
cef_use_gtk = !use_sysroot
|
|
|
|
}
|
2019-11-05 22:12:20 +01:00
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Verify required global arguments configured via `gn args`.
|
2016-08-31 13:25:56 +02:00
|
|
|
# Set by GetRequiredArgs() in //cef/tools/gn_args.py.
|
2016-06-23 19:42:00 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# Set ENABLE_PRINTING=1 ENABLE_BASIC_PRINTING=1.
|
|
|
|
assert(enable_basic_printing)
|
2019-07-17 20:47:27 +02:00
|
|
|
assert(enable_print_preview)
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
# Enable support for Widevine CDM.
|
|
|
|
assert(enable_widevine)
|
|
|
|
|
|
|
|
if (is_clang) {
|
|
|
|
# Don't use the chrome style plugin.
|
|
|
|
assert(!clang_use_chrome_plugins)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Local variables.
|
|
|
|
#
|
|
|
|
|
|
|
|
if (is_mac) {
|
2017-02-07 00:15:42 +01:00
|
|
|
# The tweak_info_plist.py script requires a version number with 4 parts. CEF
|
|
|
|
# uses a version number with 3 parts so just set the last part to 0.
|
|
|
|
cef_plist_version = exec_script(
|
2019-03-14 22:37:47 +01:00
|
|
|
"//cef/tools/cef_version.py", [ "plist" ], "trim string", [])
|
2017-02-07 00:15:42 +01:00
|
|
|
|
|
|
|
# Need to be creative to match dylib version formatting requirements.
|
|
|
|
cef_dylib_version = exec_script(
|
2019-03-14 22:37:47 +01:00
|
|
|
"//cef/tools/cef_version.py", [ "dylib" ], "trim string", [])
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# Read file lists from gypi files. The gypi_to_gn.py script does not support
|
|
|
|
# variable references so all required variables must be explicitly specified in
|
|
|
|
# the below configurations.
|
2018-11-03 02:15:09 +01:00
|
|
|
gypi_paths = exec_script("//cef/tools/gypi_to_gn.py",
|
2016-06-23 19:42:00 +02:00
|
|
|
[ rebase_path("cef_paths.gypi") ],
|
|
|
|
"scope",
|
|
|
|
[ "cef_paths.gypi" ])
|
2018-11-03 02:15:09 +01:00
|
|
|
gypi_paths2 = exec_script("//cef/tools/gypi_to_gn.py",
|
2016-06-23 19:42:00 +02:00
|
|
|
[ rebase_path("cef_paths2.gypi") ],
|
|
|
|
"scope",
|
|
|
|
[ "cef_paths2.gypi" ])
|
|
|
|
|
2020-04-30 21:59:23 +02:00
|
|
|
includes_common = gypi_paths2.includes_common + gypi_paths2.includes_common_capi
|
|
|
|
includes_mac = gypi_paths2.includes_mac + gypi_paths2.includes_mac_capi
|
|
|
|
includes_linux = gypi_paths2.includes_linux + gypi_paths2.includes_linux_capi
|
|
|
|
includes_win = gypi_paths2.includes_win + gypi_paths2.includes_win_capi
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Targets that will be built when depending on "//cef".
|
|
|
|
#
|
|
|
|
|
|
|
|
group("cef") {
|
|
|
|
testonly = true
|
|
|
|
deps = [
|
|
|
|
":cefsimple",
|
2016-11-18 18:31:21 +01:00
|
|
|
":ceftests",
|
2020-06-13 02:54:08 +02:00
|
|
|
":libcef_static_unittests",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
2019-04-23 19:00:14 +02:00
|
|
|
|
|
|
|
if (!is_linux || use_x11) {
|
|
|
|
deps += [ ":cefclient" ]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# libcef static target.
|
|
|
|
#
|
|
|
|
|
2017-07-06 22:39:37 +02:00
|
|
|
if (is_win) {
|
|
|
|
# Target for building code that accesses chrome_elf internals. Included from
|
|
|
|
# the //chrome_elf:crash target. Defined as a static_library instead of a
|
|
|
|
# source_set because (a) the source files don't export any symbols and (b)
|
|
|
|
# *_switches.cc duplication otherwise causes linker errors.
|
|
|
|
static_library("chrome_elf_set") {
|
|
|
|
sources = [
|
|
|
|
"libcef/common/crash_reporter_client.cc",
|
|
|
|
"libcef/common/crash_reporter_client.h",
|
|
|
|
|
|
|
|
# Required for crash_keys::GetChromeCrashKeys.
|
|
|
|
# Otherwise we need to copy this array into CEF, which would be difficult
|
|
|
|
# to maintain.
|
|
|
|
"//chrome/common/crash_keys.cc",
|
|
|
|
"//chrome/common/chrome_switches.cc",
|
|
|
|
"//components/flags_ui/flags_ui_switches.cc",
|
|
|
|
"//content/public/common/content_switches.cc",
|
|
|
|
]
|
|
|
|
|
|
|
|
configs += [
|
2017-12-07 22:44:24 +01:00
|
|
|
"libcef/features:config",
|
2017-07-06 22:39:37 +02:00
|
|
|
"//build/config:precompiled_headers",
|
|
|
|
]
|
|
|
|
|
|
|
|
if (is_component_build) {
|
|
|
|
# Avoid linker errors with content_switches.cc in component build by not
|
|
|
|
# defining CONTENT_EXPORT.
|
|
|
|
defines = ["COMPILE_CONTENT_STATICALLY"]
|
|
|
|
}
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
"//components/crash/core/common", # crash_keys
|
2017-07-19 18:41:18 +02:00
|
|
|
|
|
|
|
# Required by chrome_switches.cc
|
2018-03-20 21:15:08 +01:00
|
|
|
"//chrome/common:buildflags",
|
2018-04-19 17:44:42 +02:00
|
|
|
"//ppapi/buildflags:buildflags",
|
|
|
|
"//printing/buildflags:buildflags",
|
2019-02-01 17:42:40 +01:00
|
|
|
"//ui/base:buildflags",
|
2019-09-04 17:13:32 +02:00
|
|
|
|
|
|
|
# Required by content_switches.cc
|
|
|
|
"//media:media_buildflags",
|
2021-06-04 03:34:56 +02:00
|
|
|
|
|
|
|
# Required by crash_keys.cc (from base/stl_util.h)
|
|
|
|
"//third_party/abseil-cpp:absl",
|
2017-07-06 22:39:37 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-13 02:54:08 +02:00
|
|
|
# libcef_static source files that have unit tests.
|
|
|
|
source_set("libcef_static_unittested") {
|
|
|
|
sources = [
|
|
|
|
"libcef/browser/devtools/devtools_util.cc",
|
|
|
|
"libcef/browser/devtools/devtools_util.h",
|
|
|
|
]
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
"//base",
|
|
|
|
]
|
|
|
|
|
|
|
|
configs += [
|
|
|
|
"libcef/features:config",
|
|
|
|
"//build/config:precompiled_headers",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
# Executable target for libcef_static unit tests.
|
|
|
|
test("libcef_static_unittests") {
|
|
|
|
sources = [
|
|
|
|
"libcef/browser/devtools/devtools_util_unittest.cc",
|
|
|
|
]
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
":libcef_static_unittested",
|
|
|
|
"//base/test:run_all_unittests",
|
|
|
|
"//testing/gtest",
|
|
|
|
]
|
|
|
|
|
|
|
|
configs += [
|
|
|
|
"libcef/features:config",
|
|
|
|
"//build/config:precompiled_headers",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
static_library("libcef_static") {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths.autogen_cpp_includes + [
|
2020-07-01 02:57:00 +02:00
|
|
|
"libcef/browser/alloy/alloy_browser_context.cc",
|
|
|
|
"libcef/browser/alloy/alloy_browser_context.h",
|
2020-09-22 21:54:02 +02:00
|
|
|
"libcef/browser/alloy/alloy_browser_host_impl.cc",
|
|
|
|
"libcef/browser/alloy/alloy_browser_host_impl.h",
|
2020-06-28 20:29:44 +02:00
|
|
|
"libcef/browser/alloy/alloy_browser_main.cc",
|
|
|
|
"libcef/browser/alloy/alloy_browser_main.h",
|
2021-07-23 18:40:13 +02:00
|
|
|
"libcef/browser/alloy/alloy_content_browser_client.cc",
|
|
|
|
"libcef/browser/alloy/alloy_content_browser_client.h",
|
|
|
|
"libcef/browser/alloy/alloy_dialog_util.cc",
|
|
|
|
"libcef/browser/alloy/alloy_dialog_util.h",
|
|
|
|
"libcef/browser/alloy/alloy_download_util.cc",
|
|
|
|
"libcef/browser/alloy/alloy_download_util.h",
|
2020-07-04 20:21:34 +02:00
|
|
|
"libcef/browser/alloy/browser_platform_delegate_alloy.cc",
|
|
|
|
"libcef/browser/alloy/browser_platform_delegate_alloy.h",
|
2020-06-28 20:29:44 +02:00
|
|
|
"libcef/browser/alloy/chrome_browser_process_alloy.cc",
|
|
|
|
"libcef/browser/alloy/chrome_browser_process_alloy.h",
|
|
|
|
"libcef/browser/alloy/chrome_profile_manager_alloy.cc",
|
|
|
|
"libcef/browser/alloy/chrome_profile_manager_alloy.h",
|
|
|
|
"libcef/browser/alloy/chrome_profile_alloy.cc",
|
|
|
|
"libcef/browser/alloy/chrome_profile_alloy.h",
|
2020-05-01 20:18:18 +02:00
|
|
|
"libcef/browser/audio_capturer.cc",
|
|
|
|
"libcef/browser/audio_capturer.h",
|
2020-12-02 23:31:49 +01:00
|
|
|
"libcef/browser/audio_loopback_stream_creator.cc",
|
|
|
|
"libcef/browser/audio_loopback_stream_creator.h",
|
2020-09-18 00:24:08 +02:00
|
|
|
"libcef/browser/browser_contents_delegate.cc",
|
|
|
|
"libcef/browser/browser_contents_delegate.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/browser_context.cc",
|
|
|
|
"libcef/browser/browser_context.h",
|
2018-02-02 23:43:33 +01:00
|
|
|
"libcef/browser/browser_context_keyed_service_factories.cc",
|
|
|
|
"libcef/browser/browser_context_keyed_service_factories.h",
|
2021-05-14 18:58:55 +02:00
|
|
|
"libcef/browser/browser_frame.cc",
|
|
|
|
"libcef/browser/browser_frame.h",
|
2020-09-18 00:24:08 +02:00
|
|
|
"libcef/browser/browser_host_base.cc",
|
|
|
|
"libcef/browser/browser_host_base.h",
|
|
|
|
"libcef/browser/browser_host_create.cc",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/browser_info.cc",
|
|
|
|
"libcef/browser/browser_info.h",
|
|
|
|
"libcef/browser/browser_info_manager.cc",
|
|
|
|
"libcef/browser/browser_info_manager.h",
|
2021-05-14 18:58:55 +02:00
|
|
|
"libcef/browser/browser_manager.cc",
|
|
|
|
"libcef/browser/browser_manager.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/browser_message_loop.cc",
|
|
|
|
"libcef/browser/browser_message_loop.h",
|
|
|
|
"libcef/browser/browser_platform_delegate.cc",
|
|
|
|
"libcef/browser/browser_platform_delegate.h",
|
|
|
|
"libcef/browser/browser_platform_delegate_create.cc",
|
|
|
|
"libcef/browser/browser_util.cc",
|
|
|
|
"libcef/browser/browser_util.h",
|
2020-09-18 00:24:08 +02:00
|
|
|
"libcef/browser/chrome/browser_delegate.h",
|
2020-09-25 03:40:47 +02:00
|
|
|
"libcef/browser/chrome/browser_platform_delegate_chrome.cc",
|
|
|
|
"libcef/browser/chrome/browser_platform_delegate_chrome.h",
|
2020-07-04 04:51:17 +02:00
|
|
|
"libcef/browser/chrome/chrome_browser_context.cc",
|
|
|
|
"libcef/browser/chrome/chrome_browser_context.h",
|
2020-09-18 00:24:08 +02:00
|
|
|
"libcef/browser/chrome/chrome_browser_delegate.cc",
|
|
|
|
"libcef/browser/chrome/chrome_browser_delegate.h",
|
|
|
|
"libcef/browser/chrome/chrome_browser_host_impl.cc",
|
|
|
|
"libcef/browser/chrome/chrome_browser_host_impl.h",
|
2020-06-25 04:34:12 +02:00
|
|
|
"libcef/browser/chrome/chrome_browser_main_extra_parts_cef.cc",
|
|
|
|
"libcef/browser/chrome/chrome_browser_main_extra_parts_cef.h",
|
|
|
|
"libcef/browser/chrome/chrome_content_browser_client_cef.cc",
|
|
|
|
"libcef/browser/chrome/chrome_content_browser_client_cef.h",
|
2021-04-09 01:15:51 +02:00
|
|
|
"libcef/browser/chrome/chrome_context_menu_handler.cc",
|
|
|
|
"libcef/browser/chrome/chrome_context_menu_handler.h",
|
2019-01-17 10:56:52 +01:00
|
|
|
"libcef/browser/chrome_crash_reporter_client_stub.cc",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/context.cc",
|
|
|
|
"libcef/browser/context.h",
|
|
|
|
"libcef/browser/context_menu_params_impl.cc",
|
|
|
|
"libcef/browser/context_menu_params_impl.h",
|
2020-06-13 02:54:08 +02:00
|
|
|
"libcef/browser/devtools/devtools_controller.cc",
|
|
|
|
"libcef/browser/devtools/devtools_controller.h",
|
2019-02-12 21:31:52 +01:00
|
|
|
"libcef/browser/devtools/devtools_file_manager.cc",
|
|
|
|
"libcef/browser/devtools/devtools_file_manager.h",
|
2019-02-12 19:43:44 +01:00
|
|
|
"libcef/browser/devtools/devtools_frontend.cc",
|
|
|
|
"libcef/browser/devtools/devtools_frontend.h",
|
2020-06-13 02:54:08 +02:00
|
|
|
"libcef/browser/devtools/devtools_manager.cc",
|
|
|
|
"libcef/browser/devtools/devtools_manager.h",
|
2019-02-12 19:43:44 +01:00
|
|
|
"libcef/browser/devtools/devtools_manager_delegate.cc",
|
|
|
|
"libcef/browser/devtools/devtools_manager_delegate.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/download_item_impl.cc",
|
|
|
|
"libcef/browser/download_item_impl.h",
|
|
|
|
"libcef/browser/download_manager_delegate.cc",
|
|
|
|
"libcef/browser/download_manager_delegate.h",
|
2017-08-04 00:55:19 +02:00
|
|
|
"libcef/browser/extension_impl.cc",
|
|
|
|
"libcef/browser/extension_impl.h",
|
2017-09-11 20:42:30 +02:00
|
|
|
"libcef/browser/extensions/api/storage/sync_value_store_cache.cc",
|
|
|
|
"libcef/browser/extensions/api/storage/sync_value_store_cache.h",
|
2016-07-20 20:03:38 +02:00
|
|
|
"libcef/browser/extensions/api/tabs/tabs_api.cc",
|
|
|
|
"libcef/browser/extensions/api/tabs/tabs_api.h",
|
2021-06-16 21:54:26 +02:00
|
|
|
"libcef/browser/extensions/alloy_extensions_util.cc",
|
|
|
|
"libcef/browser/extensions/alloy_extensions_util.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/extensions/browser_extensions_util.cc",
|
|
|
|
"libcef/browser/extensions/browser_extensions_util.h",
|
2017-08-04 00:55:19 +02:00
|
|
|
"libcef/browser/extensions/browser_platform_delegate_background.cc",
|
|
|
|
"libcef/browser/extensions/browser_platform_delegate_background.h",
|
2016-07-20 20:03:38 +02:00
|
|
|
"libcef/browser/extensions/chrome_api_registration.cc",
|
|
|
|
"libcef/browser/extensions/chrome_api_registration.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/extensions/component_extension_resource_manager.cc",
|
|
|
|
"libcef/browser/extensions/component_extension_resource_manager.h",
|
|
|
|
"libcef/browser/extensions/extensions_api_client.cc",
|
|
|
|
"libcef/browser/extensions/extensions_api_client.h",
|
2018-09-04 11:43:21 +02:00
|
|
|
"libcef/browser/extensions/extensions_browser_api_provider.cc",
|
|
|
|
"libcef/browser/extensions/extensions_browser_api_provider.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/extensions/extensions_browser_client.cc",
|
|
|
|
"libcef/browser/extensions/extensions_browser_client.h",
|
2017-08-04 00:55:19 +02:00
|
|
|
"libcef/browser/extensions/extension_background_host.cc",
|
|
|
|
"libcef/browser/extensions/extension_background_host.h",
|
|
|
|
"libcef/browser/extensions/extension_function_details.cc",
|
|
|
|
"libcef/browser/extensions/extension_function_details.h",
|
|
|
|
"libcef/browser/extensions/extension_host_delegate.cc",
|
|
|
|
"libcef/browser/extensions/extension_host_delegate.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/extensions/extension_system.cc",
|
|
|
|
"libcef/browser/extensions/extension_system.h",
|
|
|
|
"libcef/browser/extensions/extension_system_factory.cc",
|
|
|
|
"libcef/browser/extensions/extension_system_factory.h",
|
2017-08-04 00:55:19 +02:00
|
|
|
"libcef/browser/extensions/extension_view_host.cc",
|
|
|
|
"libcef/browser/extensions/extension_view_host.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/extensions/extension_web_contents_observer.cc",
|
|
|
|
"libcef/browser/extensions/extension_web_contents_observer.h",
|
|
|
|
"libcef/browser/extensions/mime_handler_view_guest_delegate.cc",
|
|
|
|
"libcef/browser/extensions/mime_handler_view_guest_delegate.h",
|
|
|
|
"libcef/browser/extensions/pdf_extension_util.cc",
|
|
|
|
"libcef/browser/extensions/pdf_extension_util.h",
|
|
|
|
"libcef/browser/extensions/pdf_web_contents_helper_client.cc",
|
|
|
|
"libcef/browser/extensions/pdf_web_contents_helper_client.h",
|
2017-09-11 20:42:30 +02:00
|
|
|
"libcef/browser/extensions/value_store/cef_value_store.cc",
|
|
|
|
"libcef/browser/extensions/value_store/cef_value_store.h",
|
|
|
|
"libcef/browser/extensions/value_store/cef_value_store_factory.cc",
|
|
|
|
"libcef/browser/extensions/value_store/cef_value_store_factory.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/file_dialog_runner.h",
|
|
|
|
"libcef/browser/file_dialog_manager.cc",
|
|
|
|
"libcef/browser/file_dialog_manager.h",
|
|
|
|
"libcef/browser/frame_host_impl.cc",
|
|
|
|
"libcef/browser/frame_host_impl.h",
|
|
|
|
"libcef/browser/image_impl.cc",
|
|
|
|
"libcef/browser/image_impl.h",
|
2020-07-01 02:57:00 +02:00
|
|
|
"libcef/browser/iothread_state.cc",
|
|
|
|
"libcef/browser/iothread_state.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/javascript_dialog_runner.h",
|
|
|
|
"libcef/browser/javascript_dialog_manager.cc",
|
|
|
|
"libcef/browser/javascript_dialog_manager.h",
|
2020-06-24 22:26:12 +02:00
|
|
|
"libcef/browser/main_runner.cc",
|
|
|
|
"libcef/browser/main_runner.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/media_capture_devices_dispatcher.cc",
|
|
|
|
"libcef/browser/media_capture_devices_dispatcher.h",
|
2020-03-19 16:34:15 +01:00
|
|
|
"libcef/browser/media_router/media_route_impl.cc",
|
|
|
|
"libcef/browser/media_router/media_route_impl.h",
|
|
|
|
"libcef/browser/media_router/media_router_impl.cc",
|
|
|
|
"libcef/browser/media_router/media_router_impl.h",
|
|
|
|
"libcef/browser/media_router/media_router_manager.cc",
|
|
|
|
"libcef/browser/media_router/media_router_manager.h",
|
|
|
|
"libcef/browser/media_router/media_sink_impl.cc",
|
|
|
|
"libcef/browser/media_router/media_sink_impl.h",
|
|
|
|
"libcef/browser/media_router/media_source_impl.cc",
|
|
|
|
"libcef/browser/media_router/media_source_impl.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/menu_manager.cc",
|
|
|
|
"libcef/browser/menu_manager.h",
|
|
|
|
"libcef/browser/menu_model_impl.cc",
|
|
|
|
"libcef/browser/menu_model_impl.h",
|
|
|
|
"libcef/browser/menu_runner.h",
|
|
|
|
"libcef/browser/native/browser_platform_delegate_native.cc",
|
|
|
|
"libcef/browser/native/browser_platform_delegate_native.h",
|
2020-10-28 17:30:54 +01:00
|
|
|
"libcef/browser/native/cursor_util.h",
|
|
|
|
"libcef/browser/native/cursor_util.cc",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/navigation_entry_impl.cc",
|
|
|
|
"libcef/browser/navigation_entry_impl.h",
|
|
|
|
"libcef/browser/net/chrome_scheme_handler.cc",
|
|
|
|
"libcef/browser/net/chrome_scheme_handler.h",
|
2017-07-11 21:02:44 +02:00
|
|
|
"libcef/browser/net/crlset_file_util_impl.cc",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/net/devtools_scheme_handler.cc",
|
|
|
|
"libcef/browser/net/devtools_scheme_handler.h",
|
|
|
|
"libcef/browser/net/internal_scheme_handler.cc",
|
|
|
|
"libcef/browser/net/internal_scheme_handler.h",
|
|
|
|
"libcef/browser/net/scheme_handler.cc",
|
|
|
|
"libcef/browser/net/scheme_handler.h",
|
2020-09-25 03:40:47 +02:00
|
|
|
"libcef/browser/net/throttle_handler.cc",
|
|
|
|
"libcef/browser/net/throttle_handler.h",
|
2019-05-11 00:14:48 +02:00
|
|
|
"libcef/browser/net_service/browser_urlrequest_impl.cc",
|
|
|
|
"libcef/browser/net_service/browser_urlrequest_impl.h",
|
2019-04-24 04:50:25 +02:00
|
|
|
"libcef/browser/net_service/cookie_helper.cc",
|
|
|
|
"libcef/browser/net_service/cookie_helper.h",
|
2019-03-25 19:14:23 +01:00
|
|
|
"libcef/browser/net_service/cookie_manager_impl.cc",
|
|
|
|
"libcef/browser/net_service/cookie_manager_impl.h",
|
2019-07-12 22:44:43 +02:00
|
|
|
"libcef/browser/net_service/login_delegate.cc",
|
|
|
|
"libcef/browser/net_service/login_delegate.h",
|
2019-04-24 04:50:25 +02:00
|
|
|
"libcef/browser/net_service/proxy_url_loader_factory.cc",
|
|
|
|
"libcef/browser/net_service/proxy_url_loader_factory.h",
|
|
|
|
"libcef/browser/net_service/resource_handler_wrapper.cc",
|
|
|
|
"libcef/browser/net_service/resource_handler_wrapper.h",
|
|
|
|
"libcef/browser/net_service/resource_request_handler_wrapper.cc",
|
|
|
|
"libcef/browser/net_service/resource_request_handler_wrapper.h",
|
2019-05-19 21:21:20 +02:00
|
|
|
"libcef/browser/net_service/response_filter_wrapper.cc",
|
|
|
|
"libcef/browser/net_service/response_filter_wrapper.h",
|
2019-04-24 04:50:25 +02:00
|
|
|
"libcef/browser/net_service/stream_reader_url_loader.cc",
|
|
|
|
"libcef/browser/net_service/stream_reader_url_loader.h",
|
2019-05-11 00:14:48 +02:00
|
|
|
"libcef/browser/net_service/url_loader_factory_getter.cc",
|
|
|
|
"libcef/browser/net_service/url_loader_factory_getter.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/origin_whitelist_impl.cc",
|
|
|
|
"libcef/browser/origin_whitelist_impl.h",
|
|
|
|
"libcef/browser/osr/browser_platform_delegate_osr.cc",
|
|
|
|
"libcef/browser/osr/browser_platform_delegate_osr.h",
|
2019-07-16 22:09:04 +02:00
|
|
|
"libcef/browser/osr/host_display_client_osr.cc",
|
|
|
|
"libcef/browser/osr/host_display_client_osr.h",
|
2019-02-25 22:17:28 +01:00
|
|
|
"libcef/browser/osr/motion_event_osr.cc",
|
|
|
|
"libcef/browser/osr/motion_event_osr.h",
|
2017-05-12 20:28:25 +02:00
|
|
|
"libcef/browser/osr/osr_accessibility_util.cc",
|
|
|
|
"libcef/browser/osr/osr_accessibility_util.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/osr/osr_util.cc",
|
|
|
|
"libcef/browser/osr/osr_util.h",
|
|
|
|
"libcef/browser/osr/render_widget_host_view_osr.cc",
|
|
|
|
"libcef/browser/osr/render_widget_host_view_osr.h",
|
2019-03-13 22:27:37 +01:00
|
|
|
"libcef/browser/osr/synthetic_gesture_target_osr.cc",
|
|
|
|
"libcef/browser/osr/synthetic_gesture_target_osr.h",
|
2019-07-16 22:09:04 +02:00
|
|
|
"libcef/browser/osr/video_consumer_osr.cc",
|
|
|
|
"libcef/browser/osr/video_consumer_osr.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/osr/web_contents_view_osr.cc",
|
|
|
|
"libcef/browser/osr/web_contents_view_osr.h",
|
|
|
|
"libcef/browser/path_util_impl.cc",
|
|
|
|
"libcef/browser/plugins/plugin_service_filter.cc",
|
|
|
|
"libcef/browser/plugins/plugin_service_filter.h",
|
|
|
|
"libcef/browser/prefs/browser_prefs.cc",
|
|
|
|
"libcef/browser/prefs/browser_prefs.h",
|
2017-05-31 17:33:30 +02:00
|
|
|
"libcef/browser/prefs/pref_store.cc",
|
|
|
|
"libcef/browser/prefs/pref_store.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/prefs/renderer_prefs.cc",
|
|
|
|
"libcef/browser/prefs/renderer_prefs.h",
|
|
|
|
"libcef/browser/print_settings_impl.cc",
|
|
|
|
"libcef/browser/print_settings_impl.h",
|
2019-07-17 20:47:27 +02:00
|
|
|
"libcef/browser/printing/constrained_window_views_client.cc",
|
|
|
|
"libcef/browser/printing/constrained_window_views_client.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/printing/print_view_manager.cc",
|
|
|
|
"libcef/browser/printing/print_view_manager.h",
|
|
|
|
"libcef/browser/process_util_impl.cc",
|
2019-10-01 15:55:16 +02:00
|
|
|
"libcef/browser/request_context_handler_map.cc",
|
|
|
|
"libcef/browser/request_context_handler_map.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/request_context_impl.cc",
|
|
|
|
"libcef/browser/request_context_impl.h",
|
|
|
|
"libcef/browser/scheme_impl.cc",
|
2017-11-09 20:00:47 +01:00
|
|
|
"libcef/browser/server_impl.cc",
|
|
|
|
"libcef/browser/server_impl.h",
|
2021-04-09 01:15:51 +02:00
|
|
|
"libcef/browser/simple_menu_model_impl.cc",
|
|
|
|
"libcef/browser/simple_menu_model_impl.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/speech_recognition_manager_delegate.cc",
|
|
|
|
"libcef/browser/speech_recognition_manager_delegate.h",
|
|
|
|
"libcef/browser/ssl_host_state_delegate.cc",
|
|
|
|
"libcef/browser/ssl_host_state_delegate.h",
|
|
|
|
"libcef/browser/ssl_info_impl.cc",
|
|
|
|
"libcef/browser/ssl_info_impl.h",
|
2016-09-02 12:01:33 +02:00
|
|
|
"libcef/browser/ssl_status_impl.cc",
|
|
|
|
"libcef/browser/ssl_status_impl.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/stream_impl.cc",
|
|
|
|
"libcef/browser/stream_impl.h",
|
|
|
|
"libcef/browser/trace_impl.cc",
|
|
|
|
"libcef/browser/trace_subscriber.cc",
|
|
|
|
"libcef/browser/trace_subscriber.h",
|
|
|
|
"libcef/browser/thread_util.h",
|
2019-07-17 20:47:27 +02:00
|
|
|
"libcef/browser/web_contents_dialog_helper.cc",
|
|
|
|
"libcef/browser/web_contents_dialog_helper.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/web_plugin_impl.cc",
|
|
|
|
"libcef/browser/web_plugin_impl.h",
|
2016-09-02 12:01:33 +02:00
|
|
|
"libcef/browser/x509_certificate_impl.cc",
|
|
|
|
"libcef/browser/x509_certificate_impl.h",
|
|
|
|
"libcef/browser/x509_cert_principal_impl.cc",
|
|
|
|
"libcef/browser/x509_cert_principal_impl.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/xml_reader_impl.cc",
|
|
|
|
"libcef/browser/xml_reader_impl.h",
|
|
|
|
"libcef/browser/zip_reader_impl.cc",
|
|
|
|
"libcef/browser/zip_reader_impl.h",
|
2020-06-28 20:29:44 +02:00
|
|
|
"libcef/common/alloy/alloy_content_client.cc",
|
|
|
|
"libcef/common/alloy/alloy_content_client.h",
|
|
|
|
"libcef/common/alloy/alloy_main_delegate.cc",
|
|
|
|
"libcef/common/alloy/alloy_main_delegate.h",
|
|
|
|
"libcef/common/alloy/alloy_main_runner_delegate.cc",
|
|
|
|
"libcef/common/alloy/alloy_main_runner_delegate.h",
|
2020-06-28 23:05:36 +02:00
|
|
|
"libcef/common/app_manager.cc",
|
|
|
|
"libcef/common/app_manager.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/base_impl.cc",
|
|
|
|
"libcef/common/cef_switches.cc",
|
|
|
|
"libcef/common/cef_switches.h",
|
2020-06-28 23:05:36 +02:00
|
|
|
"libcef/common/chrome/chrome_content_client_cef.cc",
|
|
|
|
"libcef/common/chrome/chrome_content_client_cef.h",
|
2020-06-25 04:34:12 +02:00
|
|
|
"libcef/common/chrome/chrome_main_delegate_cef.cc",
|
|
|
|
"libcef/common/chrome/chrome_main_delegate_cef.h",
|
|
|
|
"libcef/common/chrome/chrome_main_runner_delegate.cc",
|
|
|
|
"libcef/common/chrome/chrome_main_runner_delegate.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/command_line_impl.cc",
|
|
|
|
"libcef/common/command_line_impl.h",
|
|
|
|
"libcef/common/crash_reporter_client.cc",
|
|
|
|
"libcef/common/crash_reporter_client.h",
|
2016-12-12 11:05:29 +01:00
|
|
|
"libcef/common/crash_reporting.cc",
|
|
|
|
"libcef/common/crash_reporting.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/drag_data_impl.cc",
|
|
|
|
"libcef/common/drag_data_impl.h",
|
2016-07-20 20:03:38 +02:00
|
|
|
"libcef/common/extensions/chrome_generated_schemas.cc",
|
|
|
|
"libcef/common/extensions/chrome_generated_schemas.h",
|
2018-09-04 11:43:21 +02:00
|
|
|
"libcef/common/extensions/extensions_api_provider.cc",
|
|
|
|
"libcef/common/extensions/extensions_api_provider.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/extensions/extensions_client.cc",
|
|
|
|
"libcef/common/extensions/extensions_client.h",
|
|
|
|
"libcef/common/extensions/extensions_util.cc",
|
|
|
|
"libcef/common/extensions/extensions_util.h",
|
2016-11-15 18:56:02 +01:00
|
|
|
"libcef/common/file_util_impl.cc",
|
2019-05-24 22:23:43 +02:00
|
|
|
"libcef/common/frame_util.cc",
|
|
|
|
"libcef/common/frame_util.h",
|
2021-08-28 03:55:15 +02:00
|
|
|
"libcef/common/i18n_util_impl.cc",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/json_impl.cc",
|
2020-06-25 04:34:12 +02:00
|
|
|
"libcef/common/main_runner_delegate.h",
|
|
|
|
"libcef/common/main_runner_handler.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/net/http_header_utils.cc",
|
|
|
|
"libcef/common/net/http_header_utils.h",
|
|
|
|
"libcef/common/net/net_resource_provider.cc",
|
|
|
|
"libcef/common/net/net_resource_provider.h",
|
|
|
|
"libcef/common/net/scheme_registration.cc",
|
|
|
|
"libcef/common/net/scheme_registration.h",
|
2021-04-15 01:28:22 +02:00
|
|
|
"libcef/common/net/url_util.cc",
|
|
|
|
"libcef/common/net/url_util.h",
|
2019-04-24 04:50:25 +02:00
|
|
|
"libcef/common/net_service/net_service_util.cc",
|
|
|
|
"libcef/common/net_service/net_service_util.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/parser_impl.cc",
|
|
|
|
"libcef/common/process_message_impl.cc",
|
|
|
|
"libcef/common/process_message_impl.h",
|
|
|
|
"libcef/common/request_impl.cc",
|
|
|
|
"libcef/common/request_impl.h",
|
2019-09-04 17:13:32 +02:00
|
|
|
"libcef/common/resource_bundle_delegate.cc",
|
|
|
|
"libcef/common/resource_bundle_delegate.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/resource_bundle_impl.cc",
|
|
|
|
"libcef/common/resource_bundle_impl.h",
|
2020-07-06 20:14:57 +02:00
|
|
|
"libcef/common/resource_util.cc",
|
|
|
|
"libcef/common/resource_util.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/response_impl.cc",
|
|
|
|
"libcef/common/response_impl.h",
|
|
|
|
"libcef/common/scheme_registrar_impl.cc",
|
|
|
|
"libcef/common/scheme_registrar_impl.h",
|
|
|
|
"libcef/common/string_list_impl.cc",
|
|
|
|
"libcef/common/string_map_impl.cc",
|
|
|
|
"libcef/common/string_multimap_impl.cc",
|
|
|
|
"libcef/common/string_types_impl.cc",
|
2021-05-14 18:58:55 +02:00
|
|
|
"libcef/common/string_util.cc",
|
|
|
|
"libcef/common/string_util.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/task_impl.cc",
|
|
|
|
"libcef/common/task_runner_impl.cc",
|
|
|
|
"libcef/common/task_runner_impl.h",
|
2020-06-25 04:34:12 +02:00
|
|
|
"libcef/common/task_runner_manager.cc",
|
|
|
|
"libcef/common/task_runner_manager.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/test/translator_test_impl.cc",
|
2016-11-12 00:22:53 +01:00
|
|
|
"libcef/common/thread_impl.cc",
|
|
|
|
"libcef/common/thread_impl.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/common/time_impl.cc",
|
|
|
|
"libcef/common/time_util.h",
|
|
|
|
"libcef/common/tracker.cc",
|
|
|
|
"libcef/common/tracker.h",
|
|
|
|
"libcef/common/urlrequest_impl.cc",
|
|
|
|
"libcef/common/value_base.cc",
|
|
|
|
"libcef/common/value_base.h",
|
|
|
|
"libcef/common/values_impl.cc",
|
|
|
|
"libcef/common/values_impl.h",
|
2016-11-15 22:18:41 +01:00
|
|
|
"libcef/common/waitable_event_impl.cc",
|
|
|
|
"libcef/common/waitable_event_impl.h",
|
2020-06-28 20:29:44 +02:00
|
|
|
"libcef/features/runtime.h",
|
2020-06-28 23:05:36 +02:00
|
|
|
"libcef/features/runtime_checks.h",
|
2020-06-28 20:29:44 +02:00
|
|
|
"libcef/renderer/alloy/alloy_content_renderer_client.cc",
|
|
|
|
"libcef/renderer/alloy/alloy_content_renderer_client.h",
|
2020-09-25 03:40:47 +02:00
|
|
|
"libcef/renderer/alloy/alloy_render_thread_observer.cc",
|
|
|
|
"libcef/renderer/alloy/alloy_render_thread_observer.h",
|
|
|
|
"libcef/renderer/alloy/url_loader_throttle_provider_impl.cc",
|
|
|
|
"libcef/renderer/alloy/url_loader_throttle_provider_impl.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/renderer/browser_impl.cc",
|
|
|
|
"libcef/renderer/browser_impl.h",
|
2020-09-25 03:40:47 +02:00
|
|
|
"libcef/renderer/chrome/chrome_content_renderer_client_cef.cc",
|
|
|
|
"libcef/renderer/chrome/chrome_content_renderer_client_cef.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/renderer/dom_document_impl.cc",
|
|
|
|
"libcef/renderer/dom_document_impl.h",
|
|
|
|
"libcef/renderer/dom_node_impl.cc",
|
|
|
|
"libcef/renderer/dom_node_impl.h",
|
|
|
|
"libcef/renderer/extensions/extensions_dispatcher_delegate.cc",
|
|
|
|
"libcef/renderer/extensions/extensions_dispatcher_delegate.h",
|
|
|
|
"libcef/renderer/extensions/extensions_renderer_client.cc",
|
|
|
|
"libcef/renderer/extensions/extensions_renderer_client.h",
|
2017-09-06 23:40:58 +02:00
|
|
|
"libcef/renderer/extensions/print_render_frame_helper_delegate.cc",
|
|
|
|
"libcef/renderer/extensions/print_render_frame_helper_delegate.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/renderer/frame_impl.cc",
|
|
|
|
"libcef/renderer/frame_impl.h",
|
|
|
|
"libcef/renderer/render_frame_observer.cc",
|
|
|
|
"libcef/renderer/render_frame_observer.h",
|
2017-07-06 22:39:37 +02:00
|
|
|
"libcef/renderer/render_frame_util.cc",
|
|
|
|
"libcef/renderer/render_frame_util.h",
|
2021-05-14 18:58:55 +02:00
|
|
|
"libcef/renderer/render_manager.cc",
|
|
|
|
"libcef/renderer/render_manager.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/renderer/render_urlrequest_impl.cc",
|
|
|
|
"libcef/renderer/render_urlrequest_impl.h",
|
|
|
|
"libcef/renderer/thread_util.h",
|
|
|
|
"libcef/renderer/v8_impl.cc",
|
|
|
|
"libcef/renderer/v8_impl.h",
|
2020-06-25 04:34:12 +02:00
|
|
|
|
|
|
|
# For Chrome runtime support.
|
|
|
|
"//chrome/app/chrome_main_delegate.cc",
|
|
|
|
"//chrome/app/chrome_main_delegate.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
configs += [
|
2017-12-07 22:44:24 +01:00
|
|
|
"libcef/features:config",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//build/config:precompiled_headers",
|
|
|
|
]
|
|
|
|
|
|
|
|
public_configs = [
|
2017-12-07 22:44:24 +01:00
|
|
|
"libcef/features:config",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
include_dirs = [
|
2017-04-20 21:28:17 +02:00
|
|
|
# Crashpad code uses paths relative to this directory.
|
|
|
|
"//third_party/crashpad/crashpad",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
|
2016-12-12 11:05:29 +01:00
|
|
|
public_deps = [
|
|
|
|
# Bring in feature flag defines.
|
|
|
|
"//cef/libcef/features",
|
|
|
|
]
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
deps = [
|
2018-07-31 21:21:39 +02:00
|
|
|
":cef_make_headers",
|
2021-05-14 18:58:55 +02:00
|
|
|
"libcef/common/mojom",
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2020-06-13 02:54:08 +02:00
|
|
|
":libcef_static_unittested",
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
# Generate API bindings for extensions.
|
2016-07-20 20:03:38 +02:00
|
|
|
# TODO(cef): Enable if/when CEF exposes its own Mojo APIs. See
|
|
|
|
# libcef/common/extensions/api/README.txt for details.
|
|
|
|
#"libcef/common/extensions/api",
|
|
|
|
#"libcef/common/extensions/api:api_registration",
|
2016-08-31 13:25:56 +02:00
|
|
|
"libcef/common/extensions/api:extensions_features",
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
# Normal build dependencies. Should be sorted alphabetically.
|
|
|
|
"//base",
|
|
|
|
"//base:base_static",
|
|
|
|
"//base/third_party/dynamic_annotations",
|
|
|
|
"//cc",
|
2020-06-25 04:34:12 +02:00
|
|
|
"//chrome:browser_dependencies",
|
|
|
|
"//chrome:child_dependencies",
|
|
|
|
"//chrome:packed_resources",
|
|
|
|
"//chrome:resources",
|
|
|
|
"//chrome:strings",
|
2020-06-27 22:43:23 +02:00
|
|
|
"//chrome/common:buildflags",
|
2018-02-15 01:12:09 +01:00
|
|
|
"//chrome/services/printing:lib",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//components/cdm/renderer",
|
2018-05-21 14:54:08 +02:00
|
|
|
"//components/certificate_transparency",
|
2021-08-09 23:18:43 +02:00
|
|
|
"//components/component_updater",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//components/content_settings/core/browser",
|
|
|
|
"//components/content_settings/core/common",
|
|
|
|
"//components/crx_file",
|
|
|
|
"//components/data_use_measurement/core",
|
2019-10-01 15:55:16 +02:00
|
|
|
"//components/google/core/common",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//components/keyed_service/content:content",
|
|
|
|
"//components/keyed_service/core:core",
|
2020-10-08 21:54:42 +02:00
|
|
|
"//components/media_router/common/mojom:media_router",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//components/navigation_interception",
|
2020-08-29 00:39:23 +02:00
|
|
|
"//components/network_session_configurator/common",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//components/pdf/browser",
|
|
|
|
"//components/pdf/renderer",
|
|
|
|
"//components/plugins/renderer",
|
|
|
|
"//components/pref_registry",
|
|
|
|
"//components/printing/browser",
|
|
|
|
"//components/printing/common",
|
|
|
|
"//components/printing/renderer",
|
2018-11-30 23:21:07 +01:00
|
|
|
"//components/proxy_config",
|
2020-03-04 01:29:39 +01:00
|
|
|
"//components/services/print_compositor/public/cpp",
|
|
|
|
"//components/services/print_compositor/public/mojom",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//components/update_client",
|
|
|
|
"//components/url_formatter",
|
|
|
|
"//components/user_prefs",
|
|
|
|
"//components/version_info",
|
|
|
|
"//components/visitedlink/browser",
|
|
|
|
"//components/visitedlink/common",
|
|
|
|
"//components/visitedlink/renderer",
|
2017-07-27 01:19:27 +02:00
|
|
|
"//components/viz/service",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//components/web_cache/renderer",
|
2020-06-09 19:48:00 +02:00
|
|
|
"//content/public/app",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//content/public/browser",
|
2017-05-31 17:33:30 +02:00
|
|
|
"//content/public/child",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//content/public/common",
|
|
|
|
"//content/public/gpu",
|
|
|
|
"//content/public/renderer",
|
|
|
|
"//content/public/utility",
|
|
|
|
"//crypto",
|
2016-11-23 21:54:29 +01:00
|
|
|
"//device/base",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//extensions/browser",
|
2018-09-04 11:43:21 +02:00
|
|
|
"//extensions/browser:core_api_provider",
|
2018-04-19 17:44:42 +02:00
|
|
|
"//extensions/buildflags",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//extensions/common/api",
|
2018-09-04 11:43:21 +02:00
|
|
|
"//extensions/common:core_api_provider",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//extensions/renderer",
|
|
|
|
"//gpu",
|
|
|
|
"//ipc",
|
|
|
|
"//media",
|
|
|
|
"//net",
|
|
|
|
"//pdf",
|
2018-04-19 17:44:42 +02:00
|
|
|
"//ppapi/buildflags",
|
|
|
|
"//printing/buildflags",
|
2018-02-15 01:12:09 +01:00
|
|
|
"//services/network:network_service",
|
|
|
|
"//services/network/public/cpp",
|
2018-03-20 21:15:08 +01:00
|
|
|
"//services/service_manager/public/cpp",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//skia",
|
|
|
|
"//storage/browser",
|
2018-04-19 17:44:42 +02:00
|
|
|
"//third_party/blink/public:blink",
|
2017-01-23 18:36:54 +01:00
|
|
|
"//third_party/brotli:dec",
|
2017-12-07 22:44:24 +01:00
|
|
|
"//third_party/cld_3/src/src:cld_3",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//third_party/hunspell",
|
|
|
|
"//third_party/leveldatabase",
|
2020-02-10 18:10:17 +01:00
|
|
|
"//third_party/libxml:libxml",
|
2016-11-23 21:54:29 +01:00
|
|
|
"//third_party/widevine/cdm:headers",
|
2018-04-19 17:44:42 +02:00
|
|
|
"//third_party/widevine/cdm",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//third_party/icu",
|
|
|
|
"//third_party/zlib:minizip",
|
|
|
|
"//ui/base",
|
|
|
|
"//ui/base/ime",
|
|
|
|
"//ui/events:events_base",
|
|
|
|
"//ui/gfx",
|
|
|
|
"//ui/gfx/geometry",
|
|
|
|
"//ui/gfx/ipc",
|
|
|
|
"//ui/gfx/ipc/geometry",
|
|
|
|
"//ui/gfx/ipc/skia",
|
|
|
|
"//ui/gl",
|
|
|
|
"//url",
|
|
|
|
"//v8",
|
|
|
|
]
|
|
|
|
|
|
|
|
if (is_win) {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources += includes_win + [
|
2020-06-28 20:29:44 +02:00
|
|
|
"libcef/browser/alloy/alloy_browser_main_win.cc",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/native/browser_platform_delegate_native_win.cc",
|
|
|
|
"libcef/browser/native/browser_platform_delegate_native_win.h",
|
2020-10-28 17:30:54 +01:00
|
|
|
"libcef/browser/native/cursor_util_win.cc",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/native/file_dialog_runner_win.cc",
|
|
|
|
"libcef/browser/native/file_dialog_runner_win.h",
|
|
|
|
"libcef/browser/native/javascript_dialog_runner_win.cc",
|
|
|
|
"libcef/browser/native/javascript_dialog_runner_win.h",
|
|
|
|
"libcef/browser/native/menu_2.cc",
|
|
|
|
"libcef/browser/native/menu_2.h",
|
|
|
|
"libcef/browser/native/menu_runner_win.cc",
|
|
|
|
"libcef/browser/native/menu_runner_win.h",
|
|
|
|
"libcef/browser/native/menu_wrapper.h",
|
|
|
|
"libcef/browser/native/native_menu_win.cc",
|
|
|
|
"libcef/browser/native/native_menu_win.h",
|
|
|
|
"libcef/browser/osr/browser_platform_delegate_osr_win.cc",
|
|
|
|
"libcef/browser/osr/browser_platform_delegate_osr_win.h",
|
2016-11-23 21:54:29 +01:00
|
|
|
|
|
|
|
# Part of //chrome/utility.
|
|
|
|
"//chrome/utility/printing_handler.cc",
|
|
|
|
"//chrome/utility/printing_handler.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
2016-10-17 20:14:44 +02:00
|
|
|
|
|
|
|
deps += [
|
2018-09-04 11:43:21 +02:00
|
|
|
"//chrome/install_static:secondary_module",
|
2019-07-16 19:59:21 +02:00
|
|
|
"//chrome/chrome_elf",
|
2016-10-17 20:14:44 +02:00
|
|
|
]
|
2017-07-06 22:39:37 +02:00
|
|
|
|
|
|
|
if (is_component_build) {
|
|
|
|
deps += [ "//content:sandbox_helper_win" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
libs = [
|
|
|
|
"comctl32.lib",
|
2018-07-02 19:11:49 +02:00
|
|
|
# For D3D11_DECODER_PROFILE_H264_VLD_NOFGT.
|
|
|
|
"dxguid.lib",
|
2017-07-06 22:39:37 +02:00
|
|
|
]
|
2019-01-17 10:56:52 +01:00
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
"//chrome/elevation_service",
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (is_linux) {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources += includes_linux + [
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/native/browser_platform_delegate_native_linux.cc",
|
|
|
|
"libcef/browser/native/browser_platform_delegate_native_linux.h",
|
2020-10-28 17:30:54 +01:00
|
|
|
"libcef/browser/native/cursor_util_linux.cc",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/native/menu_runner_linux.cc",
|
|
|
|
"libcef/browser/native/menu_runner_linux.h",
|
|
|
|
"libcef/browser/osr/browser_platform_delegate_osr_linux.cc",
|
|
|
|
"libcef/browser/osr/browser_platform_delegate_osr_linux.h",
|
|
|
|
"libcef/browser/printing/print_dialog_linux.cc",
|
|
|
|
"libcef/browser/printing/print_dialog_linux.h",
|
|
|
|
]
|
|
|
|
|
2019-04-23 19:00:14 +02:00
|
|
|
if (use_x11) {
|
|
|
|
sources += [
|
|
|
|
"libcef/browser/native/window_x11.cc",
|
|
|
|
"libcef/browser/native/window_x11.h",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
deps += [
|
2017-04-20 21:28:17 +02:00
|
|
|
"//build/config/freetype",
|
2017-07-27 01:19:27 +02:00
|
|
|
"//third_party/fontconfig",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
2019-04-23 19:00:14 +02:00
|
|
|
|
|
|
|
if (is_linux && !use_x11) {
|
|
|
|
deps += [
|
|
|
|
"//third_party/angle:libEGL",
|
|
|
|
]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (is_mac) {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources += includes_mac + [
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/native/browser_platform_delegate_native_mac.h",
|
|
|
|
"libcef/browser/native/browser_platform_delegate_native_mac.mm",
|
|
|
|
"libcef/browser/native/file_dialog_runner_mac.h",
|
|
|
|
"libcef/browser/native/file_dialog_runner_mac.mm",
|
|
|
|
"libcef/browser/native/javascript_dialog_runner_mac.h",
|
|
|
|
"libcef/browser/native/javascript_dialog_runner_mac.mm",
|
|
|
|
"libcef/browser/native/menu_runner_mac.h",
|
|
|
|
"libcef/browser/native/menu_runner_mac.mm",
|
|
|
|
"libcef/browser/osr/browser_platform_delegate_osr_mac.h",
|
|
|
|
"libcef/browser/osr/browser_platform_delegate_osr_mac.mm",
|
|
|
|
"libcef/common/util_mac.h",
|
|
|
|
"libcef/common/util_mac.mm",
|
2020-06-25 04:34:12 +02:00
|
|
|
|
|
|
|
# For Chrome runtime support.
|
|
|
|
"//chrome/app/chrome_main_mac.h",
|
|
|
|
"//chrome/app/chrome_main_mac.mm",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-12-12 11:05:29 +01:00
|
|
|
if (is_win || is_mac) {
|
2017-12-07 22:44:24 +01:00
|
|
|
deps += [ "//third_party/crashpad/crashpad/handler" ]
|
2016-12-12 11:05:29 +01:00
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
if (use_x11) {
|
|
|
|
deps += [ "//ui/events/devices/x11" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
if (is_posix && !is_mac) {
|
2018-02-15 01:12:09 +01:00
|
|
|
sources += [
|
|
|
|
"libcef/common/cef_crash_report_utils.cc",
|
|
|
|
"libcef/common/cef_crash_report_utils.h",
|
|
|
|
]
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
deps += [
|
2020-04-14 21:31:00 +02:00
|
|
|
"//components/crash/core/app",
|
2016-06-23 19:42:00 +02:00
|
|
|
"//components/crash/content/browser",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2018-02-15 01:12:09 +01:00
|
|
|
if (v8_use_external_startup_data && use_v8_context_snapshot) {
|
|
|
|
deps += [ "//tools/v8_context_snapshot" ]
|
|
|
|
}
|
|
|
|
|
2019-10-15 13:11:59 +02:00
|
|
|
if (toolkit_views) {
|
2016-06-23 19:42:00 +02:00
|
|
|
sources += [
|
2021-02-18 02:58:25 +01:00
|
|
|
"libcef/browser/chrome/views/browser_platform_delegate_chrome_views.cc",
|
|
|
|
"libcef/browser/chrome/views/browser_platform_delegate_chrome_views.h",
|
|
|
|
"libcef/browser/chrome/views/chrome_browser_frame.cc",
|
|
|
|
"libcef/browser/chrome/views/chrome_browser_frame.h",
|
|
|
|
"libcef/browser/chrome/views/chrome_browser_view.cc",
|
|
|
|
"libcef/browser/chrome/views/chrome_browser_view.h",
|
2021-08-28 03:55:15 +02:00
|
|
|
"libcef/browser/chrome/views/chrome_views_util.cc",
|
|
|
|
"libcef/browser/chrome/views/chrome_views_util.h",
|
2021-04-11 22:10:11 +02:00
|
|
|
"libcef/browser/chrome/views/toolbar_view_impl.cc",
|
|
|
|
"libcef/browser/chrome/views/toolbar_view_impl.h",
|
|
|
|
"libcef/browser/chrome/views/toolbar_view_view.cc",
|
|
|
|
"libcef/browser/chrome/views/toolbar_view_view.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/native/window_delegate_view.cc",
|
|
|
|
"libcef/browser/native/window_delegate_view.h",
|
|
|
|
"libcef/browser/views/basic_label_button_impl.cc",
|
|
|
|
"libcef/browser/views/basic_label_button_impl.h",
|
|
|
|
"libcef/browser/views/basic_label_button_view.cc",
|
|
|
|
"libcef/browser/views/basic_label_button_view.h",
|
|
|
|
"libcef/browser/views/basic_panel_impl.cc",
|
|
|
|
"libcef/browser/views/basic_panel_impl.h",
|
|
|
|
"libcef/browser/views/basic_panel_view.cc",
|
|
|
|
"libcef/browser/views/basic_panel_view.h",
|
|
|
|
"libcef/browser/views/box_layout_impl.cc",
|
|
|
|
"libcef/browser/views/box_layout_impl.h",
|
|
|
|
"libcef/browser/views/browser_platform_delegate_views.cc",
|
|
|
|
"libcef/browser/views/browser_platform_delegate_views.h",
|
|
|
|
"libcef/browser/views/browser_view_impl.cc",
|
|
|
|
"libcef/browser/views/browser_view_impl.h",
|
|
|
|
"libcef/browser/views/browser_view_view.cc",
|
|
|
|
"libcef/browser/views/browser_view_view.h",
|
|
|
|
"libcef/browser/views/button_impl.h",
|
|
|
|
"libcef/browser/views/button_view.h",
|
|
|
|
"libcef/browser/views/display_impl.cc",
|
|
|
|
"libcef/browser/views/display_impl.h",
|
|
|
|
"libcef/browser/views/fill_layout_impl.cc",
|
|
|
|
"libcef/browser/views/fill_layout_impl.h",
|
|
|
|
"libcef/browser/views/label_button_impl.h",
|
|
|
|
"libcef/browser/views/label_button_view.h",
|
|
|
|
"libcef/browser/views/layout_impl.h",
|
|
|
|
"libcef/browser/views/layout_adapter.cc",
|
|
|
|
"libcef/browser/views/layout_adapter.h",
|
|
|
|
"libcef/browser/views/layout_util.cc",
|
|
|
|
"libcef/browser/views/layout_util.h",
|
|
|
|
"libcef/browser/views/menu_button_impl.cc",
|
|
|
|
"libcef/browser/views/menu_button_impl.h",
|
|
|
|
"libcef/browser/views/menu_button_view.cc",
|
|
|
|
"libcef/browser/views/menu_button_view.h",
|
|
|
|
"libcef/browser/views/menu_runner_views.cc",
|
|
|
|
"libcef/browser/views/menu_runner_views.h",
|
2021-08-28 03:55:15 +02:00
|
|
|
"libcef/browser/views/overlay_view_host.cc",
|
|
|
|
"libcef/browser/views/overlay_view_host.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef/browser/views/panel_impl.h",
|
|
|
|
"libcef/browser/views/panel_view.h",
|
|
|
|
"libcef/browser/views/scroll_view_impl.cc",
|
|
|
|
"libcef/browser/views/scroll_view_impl.h",
|
|
|
|
"libcef/browser/views/scroll_view_view.cc",
|
|
|
|
"libcef/browser/views/scroll_view_view.h",
|
|
|
|
"libcef/browser/views/textfield_impl.cc",
|
|
|
|
"libcef/browser/views/textfield_impl.h",
|
|
|
|
"libcef/browser/views/textfield_view.cc",
|
|
|
|
"libcef/browser/views/textfield_view.h",
|
|
|
|
"libcef/browser/views/view_adapter.cc",
|
|
|
|
"libcef/browser/views/view_adapter.h",
|
|
|
|
"libcef/browser/views/view_impl.h",
|
|
|
|
"libcef/browser/views/view_util.cc",
|
|
|
|
"libcef/browser/views/view_util.h",
|
|
|
|
"libcef/browser/views/view_view.h",
|
|
|
|
"libcef/browser/views/window_impl.cc",
|
|
|
|
"libcef/browser/views/window_impl.h",
|
|
|
|
"libcef/browser/views/window_view.cc",
|
|
|
|
"libcef/browser/views/window_view.h",
|
2016-07-14 03:35:07 +02:00
|
|
|
|
|
|
|
# Part of //ui/views:test_support which is testingonly.
|
2016-06-23 19:42:00 +02:00
|
|
|
"//ui/views/test/desktop_test_views_delegate.h",
|
|
|
|
"//ui/views/test/test_views_delegate.h",
|
2016-07-14 03:35:07 +02:00
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
# Support for UI input events.
|
2016-07-14 03:35:07 +02:00
|
|
|
# Part of //ui/base:test_support which is testingonly.
|
2016-06-23 19:42:00 +02:00
|
|
|
"//ui/base/test/ui_controls.h",
|
|
|
|
]
|
|
|
|
|
|
|
|
deps += [
|
|
|
|
"//ui/events",
|
|
|
|
"//ui/strings",
|
2021-02-23 21:08:33 +01:00
|
|
|
"//ui/views",
|
|
|
|
"//ui/views/controls/webview",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
|
2021-02-23 21:08:33 +01:00
|
|
|
if (use_aura) {
|
2016-06-23 19:42:00 +02:00
|
|
|
sources += [
|
2021-02-23 21:08:33 +01:00
|
|
|
"libcef/browser/native/browser_platform_delegate_native_aura.cc",
|
|
|
|
"libcef/browser/native/browser_platform_delegate_native_aura.h",
|
|
|
|
"libcef/browser/views/view_util_aura.cc",
|
|
|
|
|
|
|
|
# Part of //ui/views:test_support which is testingonly.
|
|
|
|
"//ui/views/test/desktop_test_views_delegate_aura.cc",
|
|
|
|
"//ui/views/test/test_views_delegate_aura.cc",
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
# Support for UI input events.
|
2016-07-14 03:35:07 +02:00
|
|
|
# Part of //ui/base:test_support which is testingonly.
|
2021-02-23 21:08:33 +01:00
|
|
|
"//ui/base/test/ui_controls_aura.cc",
|
|
|
|
"//ui/aura/test/ui_controls_factory_aura.h",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
|
2021-02-23 21:08:33 +01:00
|
|
|
deps += [
|
|
|
|
"//ui/aura",
|
|
|
|
"//ui/wm",
|
|
|
|
"//ui/wm/public",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
2019-04-23 19:00:14 +02:00
|
|
|
|
2021-02-23 21:08:33 +01:00
|
|
|
if (is_win) {
|
|
|
|
sources += [
|
|
|
|
# Support for UI input events.
|
|
|
|
# Part of //base/test:test_config which is testingonly.
|
|
|
|
"//base/test/test_switches.cc",
|
|
|
|
"//base/test/test_switches.h",
|
|
|
|
"//base/test/test_timeouts.cc",
|
|
|
|
"//base/test/test_timeouts.h",
|
|
|
|
# Part of //ui/aura:test_support which is testingonly.
|
|
|
|
"//ui/aura/test/ui_controls_factory_aurawin.cc",
|
|
|
|
# Part of //ui/base:test_support which is testingonly.
|
|
|
|
"//ui/base/test/ui_controls_internal_win.cc",
|
|
|
|
"//ui/base/test/ui_controls_internal_win.h",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
if (is_linux) {
|
2019-04-23 19:00:14 +02:00
|
|
|
sources += [
|
|
|
|
# Support for UI input events.
|
|
|
|
# Part of //ui/aura:test_support which is testingonly.
|
2021-02-23 21:08:33 +01:00
|
|
|
"//ui/aura/test/aura_test_utils.cc",
|
|
|
|
"//ui/aura/test/aura_test_utils.h",
|
|
|
|
# Part of //ui/events:test_support which is testingonly.
|
|
|
|
"//ui/events/test/x11_event_waiter.cc",
|
|
|
|
"//ui/events/test/x11_event_waiter.h",
|
2019-04-23 19:00:14 +02:00
|
|
|
]
|
2021-02-23 21:08:33 +01:00
|
|
|
|
|
|
|
if (use_x11) {
|
|
|
|
sources += [
|
|
|
|
# Support for UI input events.
|
|
|
|
# Part of //ui/base/x:test_support which is testingonly.
|
|
|
|
"//ui/base/x/test/x11_ui_controls_test_helper.cc",
|
|
|
|
"//ui/base/x/test/x11_ui_controls_test_helper.h",
|
|
|
|
# Part of //ui/aura:test_support which is testingonly.
|
|
|
|
"//ui/aura/test/x11_event_sender.h",
|
|
|
|
# Part of //ui/views:test_support which is testingonly.
|
|
|
|
"//ui/views/test/ui_controls_factory_desktop_aurax11.cc",
|
|
|
|
"//ui/views/test/ui_controls_factory_desktop_aurax11.h",
|
|
|
|
]
|
|
|
|
} else {
|
|
|
|
sources += [
|
|
|
|
# Support for UI input events.
|
|
|
|
# Part of //ui/base:test_support which is testingonly.
|
|
|
|
"//ui/aura/test/ui_controls_factory_ozone.cc",
|
|
|
|
# Part of //ui//events:test_support which is testingonly.
|
|
|
|
"//ui/events/test/events_test_utils.cc"
|
|
|
|
]
|
|
|
|
}
|
2019-04-23 19:00:14 +02:00
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
2020-01-23 22:58:01 +01:00
|
|
|
|
2021-02-23 21:08:33 +01:00
|
|
|
if (is_mac) {
|
2020-01-23 22:58:01 +01:00
|
|
|
sources += [
|
2021-02-23 21:08:33 +01:00
|
|
|
"libcef/browser/views/view_util_mac.mm",
|
|
|
|
|
|
|
|
# Part of //ui/views:test_support which is testingonly.
|
|
|
|
"//ui/views/test/desktop_test_views_delegate_mac.mm",
|
|
|
|
"//ui/views/test/test_views_delegate_mac.mm",
|
|
|
|
|
|
|
|
# Support for UI input events.
|
|
|
|
# Part of //ui/base:test_support which is testingonly.
|
|
|
|
"//ui/base/test/ui_controls_mac.mm",
|
|
|
|
# Part of //ui//events:test_support which is testingonly.
|
|
|
|
"//ui/events/test/cocoa_test_event_utils.mm",
|
2020-01-23 22:58:01 +01:00
|
|
|
]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
} else {
|
|
|
|
sources += [
|
|
|
|
# Provides stub implementations for the views static methods.
|
|
|
|
"libcef_dll/views_stub.cc",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# libcef_dll_wrapper static targets.
|
|
|
|
#
|
|
|
|
|
2021-08-20 01:40:49 +02:00
|
|
|
# Configuration that will be applied to all targets that build autogen files.
|
|
|
|
config("libcef_autogen_config") {
|
|
|
|
if (is_clang) {
|
|
|
|
cflags = [
|
|
|
|
# Disable clang warnings related to CEF's translation layer templates.
|
|
|
|
"-Wno-undefined-var-template",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
# Configuration that will be applied to all targets that depend on
|
2016-11-16 21:24:13 +01:00
|
|
|
# libcef_dll_wrapper.
|
2016-06-23 19:42:00 +02:00
|
|
|
config("libcef_dll_wrapper_config") {
|
|
|
|
include_dirs = [
|
2016-11-18 00:52:42 +01:00
|
|
|
# CEF sources use include paths relative to the CEF root directory.
|
2016-06-23 19:42:00 +02:00
|
|
|
".",
|
2016-11-18 00:52:42 +01:00
|
|
|
# CEF generates some header files that also need to be discoverable.
|
|
|
|
# They will be copied to the include/ directory in the binary distribution.
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_out_dir/includes",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
2021-08-20 01:40:49 +02:00
|
|
|
|
|
|
|
configs = [ ":libcef_autogen_config" ]
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
2016-11-16 21:24:13 +01:00
|
|
|
# libcef_dll_wrapper target.
|
|
|
|
static_library("libcef_dll_wrapper") {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
2016-11-16 21:24:13 +01:00
|
|
|
gypi_paths.autogen_cpp_includes +
|
|
|
|
gypi_paths2.includes_capi +
|
|
|
|
gypi_paths.autogen_capi_includes +
|
|
|
|
gypi_paths2.includes_wrapper +
|
|
|
|
gypi_paths2.libcef_dll_wrapper_sources_base +
|
|
|
|
gypi_paths2.libcef_dll_wrapper_sources_common +
|
|
|
|
gypi_paths.autogen_client_side
|
|
|
|
|
2018-07-27 17:39:53 +02:00
|
|
|
if (is_mac) {
|
|
|
|
sources += gypi_paths2.libcef_dll_wrapper_sources_mac
|
|
|
|
}
|
|
|
|
|
2016-11-18 00:52:42 +01:00
|
|
|
defines = [ "WRAPPING_CEF_SHARED" ]
|
|
|
|
|
2016-11-16 21:24:13 +01:00
|
|
|
configs += [ ":libcef_dll_wrapper_config" ]
|
2016-06-23 19:42:00 +02:00
|
|
|
public_configs = [ ":libcef_dll_wrapper_config" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# cef_sandbox target.
|
|
|
|
#
|
|
|
|
|
|
|
|
if (is_win) {
|
|
|
|
static_library("cef_sandbox") {
|
|
|
|
sources = [ "libcef_dll/sandbox/sandbox_win.cc" ]
|
2016-11-18 00:52:42 +01:00
|
|
|
# CEF sources use include paths relative to the CEF root directory.
|
2016-06-23 19:42:00 +02:00
|
|
|
include_dirs = [ "." ]
|
2020-10-09 18:27:58 +02:00
|
|
|
deps = [ "libcef/features", "//sandbox" ]
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-27 23:28:12 +02:00
|
|
|
if (is_mac) {
|
|
|
|
static_library("cef_sandbox") {
|
|
|
|
sources = [ "libcef_dll/sandbox/sandbox_mac.mm" ]
|
|
|
|
# CEF sources use include paths relative to the CEF root directory.
|
|
|
|
include_dirs = [ "." ]
|
2020-11-20 22:00:56 +01:00
|
|
|
deps = [
|
|
|
|
"//build/config:executable_deps",
|
|
|
|
"//sandbox/mac:seatbelt"
|
|
|
|
]
|
2018-07-27 23:28:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
#
|
|
|
|
# Resource grit/pack targets.
|
|
|
|
#
|
|
|
|
|
2021-02-28 21:23:42 +01:00
|
|
|
# Included in locales/*.pak via //chrome/chrome_repack_locales.gni.
|
2016-06-23 19:42:00 +02:00
|
|
|
grit("cef_strings") {
|
|
|
|
source = "libcef/resources/cef_strings.grd"
|
|
|
|
outputs = [
|
|
|
|
"grit/cef_strings.h",
|
|
|
|
]
|
|
|
|
all_locales = locales + [ "fake-bidi" ]
|
|
|
|
foreach(locale, all_locales) {
|
|
|
|
outputs += [ "cef_strings_${locale}.pak" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-28 21:23:42 +01:00
|
|
|
# Included in resources.pak via //chrome/chrome_paks.gni.
|
2016-06-23 19:42:00 +02:00
|
|
|
grit("cef_resources") {
|
|
|
|
source = "libcef/resources/cef_resources.grd"
|
|
|
|
outputs = [
|
|
|
|
"grit/cef_resources.h",
|
|
|
|
"cef_resources.pak",
|
|
|
|
]
|
2017-12-07 22:44:24 +01:00
|
|
|
grit_flags = [
|
|
|
|
"-E",
|
|
|
|
"root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
2016-07-20 22:40:23 +02:00
|
|
|
# Helper for generating pack header files.
|
|
|
|
template("make_pack_header") {
|
|
|
|
assert(defined(invoker.header))
|
|
|
|
assert(defined(invoker.inputs))
|
2021-02-28 21:23:42 +01:00
|
|
|
assert(defined(invoker.deps))
|
2016-07-20 22:40:23 +02:00
|
|
|
|
|
|
|
action("make_pack_header_${target_name}") {
|
|
|
|
script = "tools/make_pack_header.py"
|
|
|
|
|
|
|
|
inputs = invoker.inputs
|
|
|
|
outputs = [ invoker.header ]
|
|
|
|
|
|
|
|
args = rebase_path(outputs, root_build_dir) +
|
|
|
|
rebase_path(inputs, root_build_dir)
|
|
|
|
|
2021-02-28 21:23:42 +01:00
|
|
|
deps = invoker.deps
|
2016-07-20 22:40:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Generate cef_pack_resources.h.
|
|
|
|
make_pack_header("resources") {
|
|
|
|
header = "$root_out_dir/includes/include/cef_pack_resources.h"
|
|
|
|
inputs = [
|
2020-12-02 23:31:49 +01:00
|
|
|
"$root_gen_dir/base/tracing/protos/grit/tracing_proto_resources.h",
|
2016-07-21 23:21:32 +02:00
|
|
|
"$root_gen_dir/cef/grit/cef_resources.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/chrome/grit/browser_resources.h",
|
|
|
|
"$root_gen_dir/chrome/grit/common_resources.h",
|
|
|
|
"$root_gen_dir/chrome/grit/component_extension_resources.h",
|
2020-03-04 01:29:39 +01:00
|
|
|
"$root_gen_dir/chrome/grit/dev_ui_browser_resources.h",
|
2016-11-07 20:14:09 +01:00
|
|
|
"$root_gen_dir/chrome/grit/renderer_resources.h",
|
|
|
|
"$root_gen_dir/components/grit/components_resources.h",
|
2020-03-04 01:29:39 +01:00
|
|
|
"$root_gen_dir/components/grit/dev_ui_components_resources.h",
|
2017-03-03 23:37:23 +01:00
|
|
|
"$root_gen_dir/content/browser/devtools/grit/devtools_resources.h",
|
2016-11-07 20:14:09 +01:00
|
|
|
"$root_gen_dir/content/browser/tracing/grit/tracing_resources.h",
|
2021-01-28 00:13:12 +01:00
|
|
|
"$root_gen_dir/content/browser/webrtc/resources/grit/webrtc_internals_resources.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/content/grit/content_resources.h",
|
2020-03-04 01:29:39 +01:00
|
|
|
"$root_gen_dir/content/grit/dev_ui_content_resources.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/extensions/grit/extensions_browser_resources.h",
|
|
|
|
"$root_gen_dir/extensions/grit/extensions_renderer_resources.h",
|
|
|
|
"$root_gen_dir/extensions/grit/extensions_resources.h",
|
2021-01-28 00:13:12 +01:00
|
|
|
"$root_gen_dir/mojo/public/js/grit/mojo_bindings_resources.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/net/grit/net_resources.h",
|
2018-04-19 17:44:42 +02:00
|
|
|
"$root_gen_dir/third_party/blink/public/resources/grit/blink_resources.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/ui/resources/grit/ui_resources.h",
|
2020-12-02 23:31:49 +01:00
|
|
|
"$root_gen_dir/ui/resources/grit/webui_generated_resources.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/ui/resources/grit/webui_resources.h",
|
|
|
|
]
|
2021-02-28 21:23:42 +01:00
|
|
|
|
|
|
|
deps = [
|
|
|
|
":cef_resources",
|
|
|
|
"//base/tracing/protos:chrome_track_event_resources",
|
|
|
|
"//chrome/browser:dev_ui_browser_resources",
|
|
|
|
"//chrome/browser:resources",
|
|
|
|
"//chrome/browser/resources:component_extension_resources",
|
|
|
|
"//chrome/common:resources",
|
|
|
|
"//chrome/renderer:resources",
|
|
|
|
"//components/resources:components_resources",
|
|
|
|
"//components/resources:dev_ui_components_resources",
|
|
|
|
"//content/browser/devtools:devtools_resources",
|
|
|
|
"//content/browser/tracing:resources",
|
|
|
|
"//content/browser/webrtc/resources",
|
|
|
|
"//content:content_resources",
|
|
|
|
"//content:dev_ui_content_resources",
|
|
|
|
"//extensions:extensions_browser_resources",
|
|
|
|
"//extensions:extensions_renderer_resources",
|
|
|
|
"//extensions:extensions_resources_grd",
|
|
|
|
"//mojo/public/js:resources",
|
|
|
|
"//net:net_resources",
|
|
|
|
"//third_party/blink/public:resources",
|
|
|
|
"//ui/resources:ui_resources_grd",
|
|
|
|
"//ui/resources:webui_generated_resources_grd",
|
|
|
|
"//ui/resources:webui_resources_grd",
|
|
|
|
]
|
|
|
|
|
|
|
|
if (toolkit_views) {
|
|
|
|
inputs += [ "$root_gen_dir/ui/views/resources/grit/views_resources.h" ]
|
|
|
|
deps += [ "//ui/views/resources:resources_grd" ]
|
|
|
|
}
|
2016-07-20 22:40:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# Generate cef_pack_strings.h.
|
|
|
|
make_pack_header("strings") {
|
|
|
|
header = "$root_out_dir/includes/include/cef_pack_strings.h"
|
|
|
|
inputs = [
|
2016-07-21 23:21:32 +02:00
|
|
|
"$root_gen_dir/cef/grit/cef_strings.h",
|
2016-11-07 20:14:09 +01:00
|
|
|
"$root_gen_dir/chrome/grit/chromium_strings.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/chrome/grit/generated_resources.h",
|
|
|
|
"$root_gen_dir/chrome/grit/locale_settings.h",
|
|
|
|
"$root_gen_dir/chrome/grit/platform_locale_settings.h",
|
2021-01-28 00:13:12 +01:00
|
|
|
"$root_gen_dir/components/omnibox/resources/grit/omnibox_resources.h",
|
2020-06-25 04:34:12 +02:00
|
|
|
"$root_gen_dir/components/strings/grit/components_chromium_strings.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/components/strings/grit/components_strings.h",
|
|
|
|
"$root_gen_dir/extensions/strings/grit/extensions_strings.h",
|
2019-10-02 12:56:17 +02:00
|
|
|
"$root_gen_dir/services/strings/grit/services_strings.h",
|
2019-11-12 17:11:44 +01:00
|
|
|
"$root_gen_dir/third_party/blink/public/strings/grit/blink_strings.h",
|
2016-07-20 22:40:23 +02:00
|
|
|
"$root_gen_dir/ui/strings/grit/ui_strings.h",
|
|
|
|
]
|
2021-02-28 21:23:42 +01:00
|
|
|
|
|
|
|
deps = [
|
|
|
|
":cef_strings",
|
|
|
|
"//chrome/app:chromium_strings",
|
|
|
|
"//chrome/app:generated_resources",
|
|
|
|
"//chrome/app/resources:locale_settings",
|
|
|
|
"//chrome/app/resources:platform_locale_settings",
|
|
|
|
"//components/omnibox/resources:omnibox_resources",
|
|
|
|
"//components/strings:components_chromium_strings",
|
|
|
|
"//components/strings:components_locale_settings",
|
|
|
|
"//components/strings:components_strings",
|
|
|
|
"//extensions/strings",
|
|
|
|
"//services/strings",
|
|
|
|
"//third_party/blink/public/strings",
|
|
|
|
"//ui/strings:app_locale_settings",
|
|
|
|
"//ui/strings:ui_strings",
|
|
|
|
]
|
2016-07-20 22:40:23 +02:00
|
|
|
}
|
|
|
|
|
2020-04-30 21:59:23 +02:00
|
|
|
# Generate cef_api_hash.h.
|
|
|
|
action("make_api_hash_header") {
|
|
|
|
script = "tools/make_api_hash_header.py"
|
|
|
|
|
|
|
|
# List of all C API files that will be checked for changes by cef_api_hash.py.
|
|
|
|
inputs = gypi_paths2.includes_common_capi +
|
|
|
|
gypi_paths2.includes_linux_capi +
|
|
|
|
gypi_paths2.includes_mac_capi +
|
|
|
|
gypi_paths2.includes_win_capi +
|
|
|
|
gypi_paths2.includes_capi +
|
|
|
|
gypi_paths.autogen_capi_includes
|
|
|
|
include_dir = [ "include" ]
|
|
|
|
outputs = [ "$root_out_dir/includes/include/cef_api_hash.h" ]
|
|
|
|
|
|
|
|
args = rebase_path(outputs + include_dir, root_build_dir)
|
|
|
|
}
|
|
|
|
|
2018-07-31 21:21:39 +02:00
|
|
|
# Generate pack files and associated CEF header files.
|
|
|
|
group("cef_make_headers") {
|
|
|
|
deps = [
|
|
|
|
":make_pack_header_resources",
|
|
|
|
":make_pack_header_strings",
|
2020-04-30 21:59:23 +02:00
|
|
|
":make_api_hash_header",
|
2018-07-31 21:21:39 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# libcef dll/framework target.
|
|
|
|
#
|
|
|
|
|
|
|
|
if (is_mac) {
|
|
|
|
cef_framework_name = "Chromium Embedded Framework"
|
|
|
|
|
|
|
|
tweak_info_plist("cef_framework_plist") {
|
|
|
|
info_plist = "libcef/resources/framework-Info.plist"
|
|
|
|
args = [
|
2016-08-31 13:25:56 +02:00
|
|
|
"--breakpad=0",
|
2016-06-23 19:42:00 +02:00
|
|
|
"--keystone=0",
|
|
|
|
"--scm=1",
|
|
|
|
"--version",
|
2017-02-07 00:15:42 +01:00
|
|
|
cef_plist_version,
|
2016-06-23 19:42:00 +02:00
|
|
|
"--branding",
|
|
|
|
cef_framework_name,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
bundle_data("cef_framework_resources") {
|
2021-02-28 21:23:42 +01:00
|
|
|
sources = []
|
|
|
|
public_deps = []
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2016-08-31 13:25:56 +02:00
|
|
|
if (icu_use_data_file) {
|
|
|
|
sources += [ "$root_out_dir/icudtl.dat" ]
|
|
|
|
public_deps += [ "//third_party/icu:icudata", ]
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
if (v8_use_external_startup_data) {
|
|
|
|
sources += [
|
|
|
|
"$root_out_dir/snapshot_blob.bin",
|
|
|
|
]
|
|
|
|
public_deps += [ "//v8" ]
|
2018-02-15 01:12:09 +01:00
|
|
|
if (use_v8_context_snapshot) {
|
2020-12-02 23:31:49 +01:00
|
|
|
sources += [ "$root_out_dir/$v8_context_snapshot_filename" ]
|
2018-02-15 01:12:09 +01:00
|
|
|
public_deps += [ "//tools/v8_context_snapshot" ]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_resources_dir}}/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2018-07-25 20:58:25 +02:00
|
|
|
if (use_egl) {
|
|
|
|
# Add the ANGLE .dylibs in the MODULE_DIR of the Framework app bundle.
|
|
|
|
bundle_data("cef_framework_angle_binaries") {
|
|
|
|
sources = [
|
|
|
|
"$root_out_dir/egl_intermediates/libEGL.dylib",
|
|
|
|
"$root_out_dir/egl_intermediates/libGLESv2.dylib",
|
|
|
|
]
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_contents_dir}}/Libraries/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
public_deps = [
|
|
|
|
"//ui/gl:angle_library_copy",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
# Add the SwiftShader .dylibs in the MODULE_DIR of the Framework app bundle.
|
|
|
|
bundle_data("cef_framework_swiftshader_binaries") {
|
|
|
|
sources = [
|
|
|
|
"$root_out_dir/egl_intermediates/libswiftshader_libEGL.dylib",
|
|
|
|
"$root_out_dir/egl_intermediates/libswiftshader_libGLESv2.dylib",
|
2020-03-30 22:13:42 +02:00
|
|
|
"$root_out_dir/vk_intermediates/libvk_swiftshader.dylib",
|
|
|
|
"$root_out_dir/vk_intermediates/vk_swiftshader_icd.json",
|
2018-07-25 20:58:25 +02:00
|
|
|
]
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_contents_dir}}/Libraries/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
public_deps = [
|
2020-03-30 22:13:42 +02:00
|
|
|
"//ui/gl:swiftshader_egl_library_copy",
|
|
|
|
"//ui/gl:swiftshader_vk_library_copy",
|
2018-07-25 20:58:25 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group("cef_framework_angle_library") {
|
|
|
|
if (use_egl) {
|
|
|
|
deps = [
|
|
|
|
":cef_framework_angle_binaries",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group("cef_framework_swiftshader_library") {
|
|
|
|
if (use_egl) {
|
|
|
|
deps = [
|
|
|
|
":cef_framework_swiftshader_binaries",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
mac_framework_bundle("cef_framework") {
|
|
|
|
output_name = cef_framework_name
|
|
|
|
|
2018-04-19 17:44:42 +02:00
|
|
|
framework_version = "A"
|
|
|
|
framework_contents = [
|
2018-07-25 20:58:25 +02:00
|
|
|
"Libraries",
|
2018-04-19 17:44:42 +02:00
|
|
|
"Resources",
|
|
|
|
]
|
|
|
|
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
|
|
|
includes_mac +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths.autogen_cpp_includes +
|
|
|
|
gypi_paths2.includes_capi +
|
|
|
|
gypi_paths.autogen_capi_includes +
|
|
|
|
gypi_paths2.libcef_sources_common +
|
|
|
|
gypi_paths.autogen_library_side
|
|
|
|
|
|
|
|
deps = [
|
2018-07-25 20:58:25 +02:00
|
|
|
":cef_framework_angle_library",
|
2016-06-23 19:42:00 +02:00
|
|
|
":cef_framework_resources",
|
2018-07-25 20:58:25 +02:00
|
|
|
":cef_framework_swiftshader_library",
|
2016-06-23 19:42:00 +02:00
|
|
|
":libcef_static",
|
|
|
|
]
|
|
|
|
|
2021-08-20 01:40:49 +02:00
|
|
|
configs += [
|
|
|
|
":libcef_autogen_config",
|
|
|
|
]
|
|
|
|
|
2018-07-27 17:39:53 +02:00
|
|
|
# We don't link the framework so just use the path from the main executable.
|
2017-02-07 00:15:42 +01:00
|
|
|
ldflags = [
|
2018-07-27 17:39:53 +02:00
|
|
|
"-Wl,-install_name,@executable_path/../Frameworks/$output_name.framework/$output_name",
|
2017-02-07 00:15:42 +01:00
|
|
|
"-compatibility_version",
|
|
|
|
cef_dylib_version,
|
|
|
|
"-current_version",
|
|
|
|
cef_dylib_version,
|
|
|
|
]
|
2016-07-06 21:34:09 +02:00
|
|
|
|
|
|
|
if (is_component_build) {
|
|
|
|
# Set up the rpath for the framework so that it can find dylibs in the
|
|
|
|
# root output directory. The framework is at
|
2018-04-19 17:44:42 +02:00
|
|
|
# $app_name.app/Contents/Frameworks/$output_name.framework/Versions/A/$output_name
|
2016-07-06 21:34:09 +02:00
|
|
|
# so use loader_path to go back to the root output directory.
|
|
|
|
ldflags += [
|
|
|
|
"-rpath",
|
2018-04-19 17:44:42 +02:00
|
|
|
"@loader_path/../../../../../..",
|
2016-07-06 21:34:09 +02:00
|
|
|
]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
info_plist_target = ":cef_framework_plist"
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
shared_library("libcef") {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths.autogen_cpp_includes +
|
|
|
|
gypi_paths2.includes_capi +
|
|
|
|
gypi_paths.autogen_capi_includes +
|
|
|
|
gypi_paths2.libcef_sources_common +
|
|
|
|
gypi_paths.autogen_library_side
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
":libcef_static",
|
|
|
|
]
|
|
|
|
|
2021-08-20 01:40:49 +02:00
|
|
|
configs += [
|
|
|
|
":libcef_autogen_config",
|
|
|
|
]
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
if (is_win) {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources += includes_win + [
|
2016-06-23 19:42:00 +02:00
|
|
|
"libcef_dll/libcef_dll.rc",
|
|
|
|
]
|
|
|
|
|
|
|
|
deps += [
|
|
|
|
# Bring in ui_unscaled_resources.rc which contains custom cursors.
|
|
|
|
# TODO(cef): Remove this once custom cursors can be loaded via
|
|
|
|
# ResourceBundle. See crbug.com/147663.
|
|
|
|
"//ui/resources:ui_unscaled_resources_grd",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2018-04-13 23:30:17 +02:00
|
|
|
if (is_linux && !is_debug && use_allocator=="none") {
|
2016-06-23 19:42:00 +02:00
|
|
|
# Only export necessary symbols from libcef.so.
|
2018-04-13 23:30:17 +02:00
|
|
|
# Don't do this in Debug builds because it causes the resulting
|
|
|
|
# application to crash.
|
|
|
|
# Also need to do this for ASAN builds to work around
|
|
|
|
# https://crbug.com/832808.
|
2016-06-23 19:42:00 +02:00
|
|
|
ldflags = [ "-Wl,--version-script=" +
|
|
|
|
rebase_path("//cef/libcef_dll/libcef.lst") ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Executable/app targets.
|
|
|
|
#
|
|
|
|
|
2021-06-24 22:52:37 +02:00
|
|
|
# Source files for TeamCity GTest integration.
|
|
|
|
# See tests/gtest/teamcity/README.cef for details.
|
|
|
|
source_set("gtest_teamcity") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"tests/gtest/teamcity/include/teamcity_gtest.h",
|
|
|
|
"tests/gtest/teamcity/src/teamcity_gtest.cpp",
|
|
|
|
"tests/gtest/teamcity/src/teamcity_gtest.h",
|
|
|
|
"tests/gtest/teamcity/src/teamcity_messages.cpp",
|
|
|
|
"tests/gtest/teamcity/src/teamcity_messages.h",
|
|
|
|
]
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
"//testing/gtest",
|
|
|
|
]
|
|
|
|
|
|
|
|
configs += [
|
|
|
|
"libcef/features:config",
|
|
|
|
"//build/config:precompiled_headers",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
if (is_mac) {
|
|
|
|
# Helper for generating the CEF app bundle.
|
|
|
|
template("cef_app") {
|
|
|
|
assert(defined(invoker.helper_info_plist))
|
|
|
|
assert(defined(invoker.helper_sources))
|
|
|
|
assert(defined(invoker.info_plist))
|
|
|
|
assert(defined(invoker.sources))
|
|
|
|
|
|
|
|
app_name = target_name
|
|
|
|
app_helper_name = "$app_name Helper"
|
|
|
|
app_testonly = defined(invoker.testonly) && invoker.testonly
|
|
|
|
|
|
|
|
tweak_info_plist("${app_name}_helper_plist") {
|
|
|
|
testonly = app_testonly
|
|
|
|
info_plist = invoker.helper_info_plist
|
|
|
|
args = [
|
|
|
|
"--breakpad=0",
|
|
|
|
"--keystone=0",
|
|
|
|
"--scm=0",
|
|
|
|
"--version",
|
2017-02-07 00:15:42 +01:00
|
|
|
cef_plist_version,
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-09-04 17:13:32 +02:00
|
|
|
template("cef_helper_app") {
|
|
|
|
mac_app_bundle(target_name) {
|
|
|
|
assert(defined(invoker.helper_sources))
|
|
|
|
assert(defined(invoker.helper_name_suffix))
|
|
|
|
assert(defined(invoker.helper_bundle_id_suffix))
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2019-09-04 17:13:32 +02:00
|
|
|
testonly = app_testonly
|
|
|
|
output_name = app_helper_name + invoker.helper_name_suffix
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2019-09-04 17:13:32 +02:00
|
|
|
sources = invoker.helper_sources
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2019-09-04 17:13:32 +02:00
|
|
|
extra_substitutions = [
|
|
|
|
"BUNDLE_ID_SUFFIX=${invoker.helper_bundle_id_suffix}",
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2019-09-04 17:13:32 +02:00
|
|
|
deps = [
|
|
|
|
":cef_make_headers",
|
|
|
|
":cef_sandbox",
|
|
|
|
":libcef_dll_wrapper",
|
|
|
|
]
|
|
|
|
if (defined(invoker.helper_deps)) {
|
|
|
|
deps += invoker.helper_deps
|
|
|
|
}
|
2018-07-27 23:28:12 +02:00
|
|
|
|
2019-09-04 17:13:32 +02:00
|
|
|
ldflags = [
|
|
|
|
# The helper is in $app_name.app/Contents/Frameworks/$app_name Helper.app/Contents/MacOS/
|
|
|
|
# so set rpath up to the base.
|
|
|
|
"-rpath",
|
|
|
|
"@executable_path/../../../../../..",
|
|
|
|
]
|
|
|
|
|
|
|
|
info_plist_target = ":${app_name}_helper_plist"
|
|
|
|
|
2021-07-30 19:27:24 +02:00
|
|
|
if (defined(invoker.helper_frameworks)) {
|
|
|
|
frameworks = invoker.helper_frameworks
|
|
|
|
}
|
|
|
|
|
2019-09-04 17:13:32 +02:00
|
|
|
if (defined(invoker.helper_defines)) {
|
|
|
|
defines = invoker.helper_defines
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach(helper_params, content_mac_helpers) {
|
|
|
|
_helper_target = helper_params[0]
|
|
|
|
_helper_bundle_id = helper_params[1]
|
|
|
|
_helper_suffix = helper_params[2]
|
|
|
|
cef_helper_app("${app_name}_helper_app_${_helper_target}") {
|
|
|
|
helper_sources = invoker.helper_sources
|
|
|
|
if (defined(invoker.helper_deps)) {
|
|
|
|
helper_deps = invoker.helper_deps
|
|
|
|
}
|
2021-07-30 19:27:24 +02:00
|
|
|
if (defined(invoker.helper_frameworks)) {
|
|
|
|
helper_frameworks = invoker.helper_frameworks
|
|
|
|
}
|
2019-09-04 17:13:32 +02:00
|
|
|
if (defined(invoker.helper_defines)) {
|
|
|
|
helper_defines = invoker.helper_defines
|
|
|
|
}
|
|
|
|
|
|
|
|
helper_name_suffix = _helper_suffix
|
|
|
|
helper_bundle_id_suffix = _helper_bundle_id
|
2018-07-27 23:28:12 +02:00
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
bundle_data("${app_name}_framework_bundle_data") {
|
|
|
|
testonly = app_testonly
|
|
|
|
sources = [
|
|
|
|
"$root_out_dir/$cef_framework_name.framework",
|
|
|
|
]
|
|
|
|
|
|
|
|
public_deps = [
|
2018-07-27 17:39:53 +02:00
|
|
|
":cef_framework",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
|
2019-09-04 17:13:32 +02:00
|
|
|
foreach(helper_params, content_mac_helpers) {
|
|
|
|
sources += [
|
|
|
|
"$root_out_dir/${app_helper_name}${helper_params[2]}.app",
|
|
|
|
]
|
|
|
|
public_deps += [ ":${app_name}_helper_app_${helper_params[0]}" ]
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
outputs = [
|
2017-10-20 19:45:20 +02:00
|
|
|
"{{bundle_contents_dir}}/Frameworks/{{source_file_part}}",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
tweak_info_plist("${app_name}_plist") {
|
|
|
|
testonly = app_testonly
|
|
|
|
info_plist = invoker.info_plist
|
|
|
|
args = [
|
|
|
|
"--scm=1",
|
|
|
|
"--version",
|
2017-02-07 00:15:42 +01:00
|
|
|
cef_plist_version,
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
mac_app_bundle(app_name) {
|
|
|
|
testonly = app_testonly
|
|
|
|
output_name = app_name
|
|
|
|
|
|
|
|
sources = invoker.sources
|
|
|
|
|
2021-01-28 00:13:12 +01:00
|
|
|
public_deps = [ ":libcef_dll_wrapper" ]
|
2016-06-23 19:42:00 +02:00
|
|
|
deps = [
|
2021-03-23 00:35:56 +01:00
|
|
|
":cef_make_headers",
|
2018-07-31 21:21:39 +02:00
|
|
|
":libcef_dll_wrapper",
|
2016-06-23 19:42:00 +02:00
|
|
|
":${app_name}_framework_bundle_data",
|
|
|
|
]
|
|
|
|
if (defined(invoker.deps)) {
|
|
|
|
deps += invoker.deps
|
|
|
|
}
|
|
|
|
|
2020-08-29 00:39:23 +02:00
|
|
|
if (defined(invoker.frameworks)) {
|
|
|
|
frameworks = invoker.frameworks
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
2018-07-27 23:28:12 +02:00
|
|
|
if (defined(invoker.defines)) {
|
|
|
|
defines = invoker.defines
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
info_plist_target = ":${app_name}_plist"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# cefclient app targets.
|
|
|
|
#
|
|
|
|
|
|
|
|
bundle_data("cefclient_resources_bundle_data") {
|
2016-11-18 00:52:42 +01:00
|
|
|
sources = gypi_paths2.shared_sources_resources +
|
|
|
|
gypi_paths2.cefclient_sources_resources + [
|
2016-06-23 19:42:00 +02:00
|
|
|
"tests/cefclient/resources/mac/cefclient.icns",
|
|
|
|
]
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_resources_dir}}/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2017-08-04 00:55:19 +02:00
|
|
|
bundle_data("cefclient_resources_bundle_data_extensions_set_page_color") {
|
|
|
|
sources = gypi_paths2.cefclient_sources_resources_extensions_set_page_color
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_resources_dir}}/extensions/set_page_color/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
bundle_data("cefclient_resources_bundle_data_english") {
|
|
|
|
sources = [
|
|
|
|
"tests/cefclient/resources/mac/English.lproj/InfoPlist.strings",
|
|
|
|
]
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_resources_dir}}/English.lproj/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
mac_xib_bundle_data("cefclient_xibs") {
|
|
|
|
sources = [
|
|
|
|
"tests/cefclient/resources/mac/English.lproj/MainMenu.xib",
|
|
|
|
]
|
|
|
|
|
|
|
|
output_path = "{{bundle_resources_dir}}/English.lproj"
|
|
|
|
}
|
|
|
|
|
|
|
|
cef_app("cefclient") {
|
|
|
|
helper_info_plist = "tests/cefclient/resources/mac/helper-Info.plist"
|
2020-04-30 21:59:23 +02:00
|
|
|
helper_sources = includes_common +
|
|
|
|
includes_mac +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.includes_wrapper +
|
2018-07-27 17:39:53 +02:00
|
|
|
gypi_paths2.includes_wrapper_mac +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.shared_sources_common +
|
|
|
|
gypi_paths2.shared_sources_renderer +
|
|
|
|
gypi_paths2.shared_sources_mac_helper +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefclient_sources_common +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.cefclient_sources_renderer
|
2018-07-27 23:28:12 +02:00
|
|
|
helper_defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
info_plist = "tests/cefclient/resources/mac/Info.plist"
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
|
|
|
includes_mac +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.includes_wrapper +
|
2018-07-27 17:39:53 +02:00
|
|
|
gypi_paths2.includes_wrapper_mac +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.shared_sources_browser +
|
|
|
|
gypi_paths2.shared_sources_common +
|
|
|
|
gypi_paths2.shared_sources_mac +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefclient_sources_browser +
|
|
|
|
gypi_paths2.cefclient_sources_common +
|
|
|
|
gypi_paths2.cefclient_sources_mac
|
|
|
|
deps = [
|
|
|
|
":cefclient_resources_bundle_data",
|
2017-08-04 00:55:19 +02:00
|
|
|
":cefclient_resources_bundle_data_extensions_set_page_color",
|
2016-06-23 19:42:00 +02:00
|
|
|
":cefclient_resources_bundle_data_english",
|
|
|
|
":cefclient_xibs",
|
|
|
|
]
|
2020-08-29 00:39:23 +02:00
|
|
|
frameworks = [
|
2016-06-23 19:42:00 +02:00
|
|
|
"AppKit.framework",
|
|
|
|
"OpenGL.framework",
|
|
|
|
]
|
2018-07-27 23:28:12 +02:00
|
|
|
defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# cefsimple app targets.
|
|
|
|
#
|
|
|
|
|
|
|
|
bundle_data("cefsimple_resources_bundle_data") {
|
|
|
|
sources = [
|
|
|
|
"tests/cefsimple/mac/cefsimple.icns",
|
|
|
|
]
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_resources_dir}}/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
bundle_data("cefsimple_resources_bundle_data_english") {
|
|
|
|
sources = [
|
|
|
|
"tests/cefsimple/mac/English.lproj/InfoPlist.strings",
|
|
|
|
]
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_resources_dir}}/English.lproj/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
mac_xib_bundle_data("cefsimple_xibs") {
|
|
|
|
sources = [
|
|
|
|
"tests/cefsimple/mac/English.lproj/MainMenu.xib",
|
|
|
|
]
|
|
|
|
output_path = "{{bundle_resources_dir}}/English.lproj"
|
|
|
|
}
|
|
|
|
|
|
|
|
cef_app("cefsimple") {
|
|
|
|
helper_info_plist = "tests/cefsimple/mac/helper-Info.plist"
|
2020-04-30 21:59:23 +02:00
|
|
|
helper_sources = includes_common +
|
|
|
|
includes_mac +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.includes_wrapper +
|
2018-07-27 17:39:53 +02:00
|
|
|
gypi_paths2.includes_wrapper_mac +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefsimple_sources_mac_helper
|
2018-07-27 23:28:12 +02:00
|
|
|
helper_defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
info_plist = "tests/cefsimple/mac/Info.plist"
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
|
|
|
includes_mac +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.includes_wrapper +
|
2018-07-27 17:39:53 +02:00
|
|
|
gypi_paths2.includes_wrapper_mac +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefsimple_sources_common +
|
|
|
|
gypi_paths2.cefsimple_sources_mac
|
|
|
|
deps = [
|
|
|
|
":cefsimple_resources_bundle_data",
|
|
|
|
":cefsimple_resources_bundle_data_english",
|
|
|
|
":cefsimple_xibs",
|
|
|
|
]
|
2020-08-29 00:39:23 +02:00
|
|
|
frameworks = [
|
2019-10-14 17:37:37 +02:00
|
|
|
"AppKit.framework",
|
|
|
|
]
|
2018-07-27 23:28:12 +02:00
|
|
|
defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
2016-11-18 18:31:21 +01:00
|
|
|
# ceftests app targets.
|
2016-06-23 19:42:00 +02:00
|
|
|
#
|
|
|
|
|
2016-11-18 18:31:21 +01:00
|
|
|
bundle_data("ceftests_resources_bundle_data") {
|
2016-11-18 00:52:42 +01:00
|
|
|
sources = gypi_paths2.shared_sources_resources + [
|
2016-11-18 18:31:21 +01:00
|
|
|
"tests/ceftests/resources/mac/ceftests.icns",
|
2016-11-18 00:52:42 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_resources_dir}}/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-11-18 18:31:21 +01:00
|
|
|
bundle_data("ceftests_resources_bundle_data_english") {
|
2016-11-18 00:52:42 +01:00
|
|
|
sources = [
|
2016-11-18 18:31:21 +01:00
|
|
|
"tests/ceftests/resources/mac/English.lproj/InfoPlist.strings",
|
2016-11-18 00:52:42 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"{{bundle_resources_dir}}/English.lproj/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2016-11-18 18:31:21 +01:00
|
|
|
mac_xib_bundle_data("ceftests_xibs") {
|
2016-11-18 00:52:42 +01:00
|
|
|
sources = [
|
2016-11-18 18:31:21 +01:00
|
|
|
"tests/ceftests/resources/mac/English.lproj/MainMenu.xib",
|
2016-11-18 00:52:42 +01:00
|
|
|
]
|
|
|
|
output_path = "{{bundle_resources_dir}}/English.lproj"
|
|
|
|
}
|
|
|
|
|
2016-11-18 18:31:21 +01:00
|
|
|
cef_app("ceftests") {
|
2016-06-23 19:42:00 +02:00
|
|
|
testonly = true
|
|
|
|
|
2016-11-18 18:31:21 +01:00
|
|
|
helper_info_plist = "tests/ceftests/resources/mac/helper-Info.plist"
|
2016-11-18 00:52:42 +01:00
|
|
|
helper_sources = gypi_paths2.shared_sources_common +
|
|
|
|
gypi_paths2.shared_sources_renderer +
|
|
|
|
gypi_paths2.shared_sources_mac_helper +
|
2016-11-18 18:31:21 +01:00
|
|
|
gypi_paths2.ceftests_sources_mac_helper
|
2016-11-18 00:52:42 +01:00
|
|
|
helper_deps = [
|
2021-07-23 18:40:13 +02:00
|
|
|
":gtest_teamcity",
|
2016-11-18 00:52:42 +01:00
|
|
|
"//testing/gtest",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
2021-07-30 19:27:24 +02:00
|
|
|
helper_frameworks = [
|
|
|
|
"AppKit.framework",
|
|
|
|
]
|
2018-07-27 23:28:12 +02:00
|
|
|
helper_defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2016-11-18 18:31:21 +01:00
|
|
|
info_plist = "tests/ceftests/resources/mac/Info.plist"
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
|
|
|
includes_mac +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.includes_wrapper +
|
2018-07-27 17:39:53 +02:00
|
|
|
gypi_paths2.includes_wrapper_mac +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.shared_sources_browser +
|
|
|
|
gypi_paths2.shared_sources_common +
|
|
|
|
gypi_paths2.shared_sources_mac +
|
2016-11-18 18:31:21 +01:00
|
|
|
gypi_paths2.ceftests_sources_common +
|
|
|
|
gypi_paths2.ceftests_sources_mac
|
2016-11-18 00:52:42 +01:00
|
|
|
deps = [
|
2016-11-18 18:31:21 +01:00
|
|
|
":ceftests_resources_bundle_data",
|
|
|
|
":ceftests_resources_bundle_data_english",
|
|
|
|
":ceftests_xibs",
|
2021-06-24 22:52:37 +02:00
|
|
|
":gtest_teamcity",
|
2016-11-18 00:52:42 +01:00
|
|
|
"//testing/gtest",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
2020-08-29 00:39:23 +02:00
|
|
|
frameworks = [
|
2016-06-23 19:42:00 +02:00
|
|
|
"AppKit.framework",
|
|
|
|
]
|
2018-07-27 23:28:12 +02:00
|
|
|
defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
#
|
|
|
|
# cefclient targets.
|
|
|
|
#
|
|
|
|
|
|
|
|
# The cefclient target depends on packages that are not available in the
|
|
|
|
# default sysroot environment.
|
|
|
|
if (is_linux && !use_sysroot) {
|
2019-04-23 19:00:14 +02:00
|
|
|
pkg_config("glib") {
|
|
|
|
packages = [
|
|
|
|
"glib-2.0",
|
|
|
|
]
|
|
|
|
}
|
2019-11-05 22:12:20 +01:00
|
|
|
}
|
2019-04-23 19:00:14 +02:00
|
|
|
|
2019-11-05 22:12:20 +01:00
|
|
|
if (is_linux && cef_use_gtk) {
|
2016-06-23 19:42:00 +02:00
|
|
|
pkg_config("gtk") {
|
|
|
|
packages = [
|
|
|
|
"gmodule-2.0",
|
2021-03-01 20:41:27 +01:00
|
|
|
"gtk+-3.0",
|
2016-06-23 19:42:00 +02:00
|
|
|
"gthread-2.0",
|
2021-03-01 20:41:27 +01:00
|
|
|
"gtk+-unix-print-3.0",
|
2019-02-25 22:17:28 +01:00
|
|
|
"xi",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (is_linux) {
|
|
|
|
copy("copy_cefclient_files") {
|
2016-11-18 00:52:42 +01:00
|
|
|
sources = gypi_paths2.shared_sources_resources +
|
|
|
|
gypi_paths2.cefclient_sources_resources
|
|
|
|
outputs = [ "${root_out_dir}/cefclient_files/{{source_file_part}}" ]
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
2017-08-04 00:55:19 +02:00
|
|
|
|
|
|
|
copy("copy_cefclient_files_extensions_set_page_color") {
|
|
|
|
sources = gypi_paths2.cefclient_sources_resources_extensions_set_page_color
|
|
|
|
outputs = [ "${root_out_dir}/cefclient_files/extensions/set_page_color/{{source_file_part}}" ]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
executable("cefclient") {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.includes_wrapper +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.shared_sources_browser +
|
|
|
|
gypi_paths2.shared_sources_common +
|
|
|
|
gypi_paths2.shared_sources_renderer +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefclient_sources_browser +
|
|
|
|
gypi_paths2.cefclient_sources_common +
|
2019-09-04 17:13:32 +02:00
|
|
|
gypi_paths2.cefclient_sources_renderer
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
deps = [
|
|
|
|
":libcef",
|
|
|
|
":libcef_dll_wrapper",
|
|
|
|
]
|
|
|
|
|
2018-07-27 23:28:12 +02:00
|
|
|
defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
if (is_win) {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources += includes_win +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.shared_sources_win +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefclient_sources_win
|
|
|
|
|
|
|
|
# Set /SUBSYSTEM:WINDOWS.
|
|
|
|
configs -= [ "//build/config/win:console" ]
|
|
|
|
configs += [ "//build/config/win:windowed" ]
|
|
|
|
|
2018-07-27 23:28:12 +02:00
|
|
|
defines += [
|
2016-06-23 19:42:00 +02:00
|
|
|
"CEF_USE_ATL",
|
|
|
|
]
|
|
|
|
|
|
|
|
deps += [
|
|
|
|
":cef_sandbox",
|
|
|
|
"//build/win:default_exe_manifest",
|
|
|
|
]
|
|
|
|
|
|
|
|
libs = [
|
|
|
|
"comctl32.lib",
|
2018-09-26 13:25:58 +02:00
|
|
|
"d3d11.lib",
|
2016-10-28 18:11:24 +02:00
|
|
|
"imm32.lib",
|
2017-05-12 20:28:25 +02:00
|
|
|
"oleacc.lib",
|
|
|
|
"rpcrt4.lib",
|
|
|
|
"shlwapi.lib",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
2020-02-19 17:33:27 +01:00
|
|
|
|
|
|
|
if (target_cpu != "arm64") {
|
|
|
|
libs += [
|
|
|
|
"opengl32.lib",
|
|
|
|
"glu32.lib"
|
|
|
|
]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (is_linux) {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources += includes_linux +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.shared_sources_linux +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefclient_sources_linux
|
|
|
|
|
|
|
|
deps += [
|
|
|
|
":copy_cefclient_files",
|
2017-08-04 00:55:19 +02:00
|
|
|
":copy_cefclient_files_extensions_set_page_color",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
libs = [
|
2021-03-01 20:41:27 +01:00
|
|
|
"GL",
|
2016-06-23 19:42:00 +02:00
|
|
|
"X11",
|
|
|
|
]
|
|
|
|
|
2019-11-05 22:12:20 +01:00
|
|
|
if (cef_use_gtk) {
|
2016-06-23 19:42:00 +02:00
|
|
|
configs += [
|
|
|
|
":gtk",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-02-27 20:16:35 +01:00
|
|
|
if (is_component_build) {
|
|
|
|
if (use_allocator=="tcmalloc") {
|
|
|
|
# Link to base to initialize tcmalloc allocator shims, otherwise
|
|
|
|
# base::allocator::IsAllocatorInitialized check fails
|
|
|
|
deps += [ "//base" ]
|
|
|
|
}
|
|
|
|
} else {
|
2016-06-23 19:42:00 +02:00
|
|
|
# Set rpath to find our own libfreetype even in a non-component build.
|
|
|
|
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# cefsimple targets.
|
|
|
|
#
|
|
|
|
|
|
|
|
executable("cefsimple") {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.includes_wrapper +
|
|
|
|
gypi_paths2.cefsimple_sources_common
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
":libcef",
|
|
|
|
":libcef_dll_wrapper",
|
|
|
|
]
|
|
|
|
|
2018-07-27 23:28:12 +02:00
|
|
|
defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
if (is_win) {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources += includes_win +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefsimple_sources_win
|
|
|
|
|
|
|
|
# Set /SUBSYSTEM:WINDOWS.
|
|
|
|
configs -= [ "//build/config/win:console" ]
|
|
|
|
configs += [ "//build/config/win:windowed" ]
|
|
|
|
|
|
|
|
deps += [
|
|
|
|
":cef_sandbox",
|
|
|
|
"//build/win:default_exe_manifest",
|
|
|
|
]
|
|
|
|
|
|
|
|
libs = [
|
|
|
|
"comctl32.lib",
|
|
|
|
"shlwapi.lib",
|
|
|
|
"rpcrt4.lib",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
if (is_linux) {
|
2020-04-30 21:59:23 +02:00
|
|
|
sources += includes_linux +
|
2016-06-23 19:42:00 +02:00
|
|
|
gypi_paths2.cefsimple_sources_linux
|
|
|
|
|
2019-04-23 19:00:14 +02:00
|
|
|
if (use_x11) {
|
|
|
|
libs = [
|
|
|
|
"X11",
|
|
|
|
]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
if (!is_component_build) {
|
|
|
|
# Set rpath to find our own libfreetype even in a non-component build.
|
|
|
|
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
2016-11-18 18:31:21 +01:00
|
|
|
# ceftests targets.
|
2016-06-23 19:42:00 +02:00
|
|
|
#
|
2016-11-18 00:52:42 +01:00
|
|
|
|
|
|
|
if (is_linux) {
|
2016-11-18 18:31:21 +01:00
|
|
|
copy("copy_ceftests_files") {
|
2016-11-18 00:52:42 +01:00
|
|
|
sources = gypi_paths2.shared_sources_resources
|
2016-11-18 18:31:21 +01:00
|
|
|
outputs = [ "${root_out_dir}/ceftests_files/{{source_file_part}}" ]
|
2016-11-18 00:52:42 +01:00
|
|
|
}
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2016-11-18 18:31:21 +01:00
|
|
|
executable("ceftests") {
|
2016-06-23 19:42:00 +02:00
|
|
|
testonly = true
|
|
|
|
|
2020-04-30 21:59:23 +02:00
|
|
|
sources = includes_common +
|
2016-11-18 00:52:42 +01:00
|
|
|
gypi_paths2.includes_wrapper +
|
|
|
|
gypi_paths2.shared_sources_browser +
|
|
|
|
gypi_paths2.shared_sources_common +
|
|
|
|
gypi_paths2.shared_sources_renderer +
|
2021-02-23 21:08:33 +01:00
|
|
|
gypi_paths2.ceftests_sources_common
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2016-11-18 00:52:42 +01:00
|
|
|
deps = [
|
2016-06-23 19:42:00 +02:00
|
|
|
":libcef",
|
2016-11-16 21:24:13 +01:00
|
|
|
":libcef_dll_wrapper",
|
2021-06-24 22:52:37 +02:00
|
|
|
":gtest_teamcity",
|
2016-11-18 00:52:42 +01:00
|
|
|
"//testing/gtest",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
|
2018-07-27 23:28:12 +02:00
|
|
|
defines = [
|
|
|
|
"CEF_USE_SANDBOX",
|
|
|
|
]
|
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
if (is_win) {
|
2016-11-18 00:52:42 +01:00
|
|
|
sources += gypi_paths2.shared_sources_win +
|
2016-11-18 18:31:21 +01:00
|
|
|
gypi_paths2.ceftests_sources_win
|
2016-06-23 19:42:00 +02:00
|
|
|
|
|
|
|
deps += [
|
|
|
|
":cef_sandbox",
|
|
|
|
"//build/win:default_exe_manifest",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
if (is_linux) {
|
2016-11-18 00:52:42 +01:00
|
|
|
sources += gypi_paths2.shared_sources_linux +
|
2016-11-18 18:31:21 +01:00
|
|
|
gypi_paths2.ceftests_sources_linux
|
2016-06-23 19:42:00 +02:00
|
|
|
|
2019-04-23 19:00:14 +02:00
|
|
|
if (use_x11) {
|
|
|
|
libs = [
|
|
|
|
"X11",
|
|
|
|
]
|
|
|
|
} else {
|
|
|
|
if (!use_sysroot) {
|
|
|
|
configs += [ ":glib" ]
|
|
|
|
}
|
|
|
|
}
|
2016-11-16 21:24:13 +01:00
|
|
|
|
2016-06-23 19:42:00 +02:00
|
|
|
deps += [
|
2016-11-18 18:31:21 +01:00
|
|
|
":copy_ceftests_files",
|
2016-06-23 19:42:00 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
if (is_linux && !is_component_build) {
|
|
|
|
# Set rpath to find our own libfreetype even in a non-component build.
|
|
|
|
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|