2019-01-28 17:55:20 +03:00
|
|
|
# Copyright 2019 The ANGLE Project Authors. All rights reserved.
|
2014-06-23 23:13:02 +04:00
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
2015-05-26 18:32:58 +03:00
|
|
|
# import the use_x11 variable
|
2016-05-27 15:35:36 +03:00
|
|
|
import("//build/config/dcheck_always_on.gni")
|
2016-06-13 23:39:01 +03:00
|
|
|
import("//build/config/linux/pkg_config.gni")
|
2015-05-26 18:32:58 +03:00
|
|
|
import("//build/config/ui.gni")
|
2016-06-16 17:24:50 +03:00
|
|
|
import("//testing/libfuzzer/fuzzer_test.gni")
|
2017-08-29 05:53:24 +03:00
|
|
|
import("gni/angle.gni")
|
2018-04-13 02:06:48 +03:00
|
|
|
if (is_android) {
|
|
|
|
# android/rules.gni can only be imported for Android targets
|
2018-12-13 03:06:47 +03:00
|
|
|
import("//build/config/android/config.gni")
|
2018-04-13 02:06:48 +03:00
|
|
|
import("//build/config/android/rules.gni")
|
2018-12-01 02:24:11 +03:00
|
|
|
import("android/angle_apk.gni")
|
2018-04-13 02:06:48 +03:00
|
|
|
}
|
2015-05-26 18:32:58 +03:00
|
|
|
|
2017-03-20 20:06:19 +03:00
|
|
|
declare_args() {
|
|
|
|
# Use the PCI lib to collect GPU information on Linux.
|
|
|
|
use_libpci = is_linux && (!is_chromecast || is_cast_desktop_build) &&
|
|
|
|
(use_x11 || use_ozone)
|
2017-12-12 07:58:53 +03:00
|
|
|
|
|
|
|
# Link in system libGL, to work with apitrace. See doc/DebuggingTips.md.
|
|
|
|
angle_link_glx = false
|
2017-03-20 20:06:19 +03:00
|
|
|
}
|
|
|
|
|
2017-08-29 05:53:24 +03:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
group("all") {
|
|
|
|
testonly = true
|
|
|
|
deps = [
|
|
|
|
":angle_shader_translator",
|
|
|
|
":translator_fuzzer",
|
2019-02-07 17:09:41 +03:00
|
|
|
":xxhash_fuzzer",
|
2017-08-29 05:53:24 +03:00
|
|
|
"//samples:all",
|
|
|
|
"//src/tests:all",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-07-07 20:17:47 +03:00
|
|
|
if (ozone_platform_gbm) {
|
2016-06-28 00:08:28 +03:00
|
|
|
pkg_config("libdrm") {
|
|
|
|
packages = [ "libdrm" ]
|
|
|
|
}
|
2016-06-13 23:39:01 +03:00
|
|
|
}
|
|
|
|
|
2015-07-30 15:34:54 +03:00
|
|
|
angle_git_is_present = exec_script("src/commit_id.py",
|
|
|
|
[
|
|
|
|
"check",
|
|
|
|
rebase_path(".", root_build_dir),
|
|
|
|
],
|
|
|
|
"value")
|
|
|
|
|
|
|
|
angle_use_commit_id = angle_git_is_present == 1
|
|
|
|
|
Revert "Enhance ANGLE for Android Developer Options"
This reverts commit fdbdb2b247ffa4cf66bc2cd3a5bb45a056bd88a3.
Reason for revert:
I didn't mean to land this quite yet, since we are still working on the Android side of things. It seems doing CQ+2 merges it while I was trying for just a dry run while replying to Jamie's comments with updates (after checking with Boulder folks, I want CQ+1 next time).
Once the Android changes are ready, I'll work on getting this landed again.
Original change's description:
> Enhance ANGLE for Android Developer Options
>
> Update ANGLE Developer Options
>
> Update ANGLE developer options to allow selecting the OpenGL driver
> (default, ANGLE, native) for each app as well as forcing ANGLE for all
> apps.
>
> Bug: angleproject:2962
> Test: Verify the default/ANGLE/native values are saved and applied and
> used by the loader.
>
> Change-Id: I6041e7e49ca5cc65f90fc8ae6f1b084e4639d769
> Reviewed-on: https://chromium-review.googlesource.com/c/1330315
> Commit-Queue: Tim Van Patten <timvp@google.com>
> Reviewed-by: Geoff Lang <geofflang@chromium.org>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
TBR=ynovikov@chromium.org,geofflang@chromium.org,jmadill@chromium.org,cnorthrop@google.com,tobine@google.com,courtneygo@google.com,ianelliott@google.com,timvp@google.com
Change-Id: If3a4e917973c56b858244a0ca7f1b164143524f5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: angleproject:2962
Reviewed-on: https://chromium-review.googlesource.com/c/1354099
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Tim Van Patten <timvp@google.com>
2018-11-28 19:08:11 +03:00
|
|
|
import("src/compiler.gni")
|
2018-11-02 02:47:10 +03:00
|
|
|
import("src/libGLESv2.gni")
|
2014-07-17 01:19:18 +04:00
|
|
|
|
2014-07-23 04:00:17 +04:00
|
|
|
# This config is exported to dependent targets (and also applied to internal
|
|
|
|
# ones).
|
|
|
|
config("external_config") {
|
2016-01-04 19:25:00 +03:00
|
|
|
include_dirs = [ "include" ]
|
2014-07-23 04:00:17 +04:00
|
|
|
}
|
|
|
|
|
2018-12-17 21:13:49 +03:00
|
|
|
# Prevent the GL headers from redeclaring ANGLE entry points.
|
|
|
|
config("no_gl_prototypes") {
|
|
|
|
defines = [
|
|
|
|
"GL_GLES_PROTOTYPES=0",
|
|
|
|
"EGL_EGL_PROTOTYPES=0",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
config("gl_prototypes") {
|
|
|
|
defines = [
|
|
|
|
"GL_GLES_PROTOTYPES=1",
|
|
|
|
"EGL_EGL_PROTOTYPES=1",
|
|
|
|
"GL_GLEXT_PROTOTYPES",
|
|
|
|
"EGL_EGLEXT_PROTOTYPES",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2014-06-23 23:13:02 +04:00
|
|
|
# This config is applied to internal Angle targets (not pushed to dependents).
|
|
|
|
config("internal_config") {
|
|
|
|
include_dirs = [
|
|
|
|
"include",
|
|
|
|
"src",
|
|
|
|
]
|
2017-01-03 19:03:23 +03:00
|
|
|
|
2018-12-17 21:13:49 +03:00
|
|
|
defines = []
|
2017-04-12 16:53:01 +03:00
|
|
|
|
2018-05-19 01:48:50 +03:00
|
|
|
if (angle_64bit_current_cpu) {
|
2017-10-26 00:02:29 +03:00
|
|
|
defines += [ "ANGLE_IS_64_BIT_CPU" ]
|
2018-05-19 01:48:50 +03:00
|
|
|
} else {
|
|
|
|
defines += [ "ANGLE_IS_32_BIT_CPU" ]
|
2017-04-12 16:53:01 +03:00
|
|
|
}
|
2018-08-21 16:48:01 +03:00
|
|
|
|
|
|
|
if (angle_force_thread_safety) {
|
|
|
|
defines += [ "ANGLE_FORCE_THREAD_SAFETY=1" ]
|
|
|
|
}
|
2018-10-22 18:56:02 +03:00
|
|
|
|
|
|
|
if (angle_enable_vulkan) {
|
|
|
|
if (angle_enable_vulkan_gpu_trace_events) {
|
|
|
|
defines += [ "ANGLE_ENABLE_VULKAN_GPU_TRACE_EVENTS=1" ]
|
|
|
|
}
|
|
|
|
}
|
2018-05-03 20:10:44 +03:00
|
|
|
|
|
|
|
if (angle_enable_trace) {
|
|
|
|
defines += [ "ANGLE_ENABLE_DEBUG_TRACE=1" ]
|
|
|
|
}
|
2014-06-23 23:13:02 +04:00
|
|
|
}
|
|
|
|
|
2016-07-18 17:10:29 +03:00
|
|
|
config("extra_warnings") {
|
2017-10-11 06:53:20 +03:00
|
|
|
cflags = []
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2016-07-18 17:10:29 +03:00
|
|
|
# Enable more default warnings on Windows.
|
|
|
|
if (is_win) {
|
2017-10-11 06:53:20 +03:00
|
|
|
cflags += [
|
2016-07-18 17:10:29 +03:00
|
|
|
"/we4244", # Conversion: possible loss of data.
|
|
|
|
"/we4456", # Variable shadowing.
|
2016-09-22 20:53:47 +03:00
|
|
|
"/we4458", # declaration hides class member.
|
2017-11-28 21:26:34 +03:00
|
|
|
"/we4800", # forcing value to bool.
|
|
|
|
"/we4838", # narrowing conversion.
|
2016-07-18 17:10:29 +03:00
|
|
|
]
|
|
|
|
}
|
2017-10-11 06:53:20 +03:00
|
|
|
if (is_clang) {
|
2019-01-22 02:09:15 +03:00
|
|
|
if (!is_fuchsia) {
|
|
|
|
cflags += [
|
|
|
|
# Remove when crbug.com/926235 is resolved.
|
|
|
|
"-Wextra-semi",
|
|
|
|
]
|
|
|
|
}
|
2019-02-02 08:30:58 +03:00
|
|
|
|
2019-01-22 02:09:15 +03:00
|
|
|
cflags += [
|
2019-02-02 08:30:58 +03:00
|
|
|
# Enable after anglebug.com/3128 is fixed.
|
|
|
|
# "-Wextra-semi-stmt",
|
2019-02-01 22:16:32 +03:00
|
|
|
|
2018-01-31 18:47:14 +03:00
|
|
|
# Remove when crbug.com/428099 is resolved.
|
|
|
|
"-Winconsistent-missing-override",
|
2018-05-09 16:41:39 +03:00
|
|
|
"-Wnon-virtual-dtor",
|
2019-02-01 22:16:32 +03:00
|
|
|
"-Wunneeded-internal-declaration",
|
2018-01-31 18:47:14 +03:00
|
|
|
]
|
2017-10-11 06:53:20 +03:00
|
|
|
}
|
2016-07-18 17:10:29 +03:00
|
|
|
}
|
|
|
|
|
2018-05-15 22:35:15 +03:00
|
|
|
# This config adds build-ids to the associated library.
|
|
|
|
# -Wl is a special option that indicates that clang should pass the associated
|
|
|
|
# option --build-id to the linker. This will cause a build-id section to be added
|
|
|
|
# to the associated library. The build-id makes it possible for a debugger to
|
|
|
|
# find the right symbol file to use.
|
|
|
|
config("build_id_config") {
|
|
|
|
ldflags = [ "-Wl,--build-id" ]
|
|
|
|
}
|
|
|
|
|
2018-12-01 04:01:01 +03:00
|
|
|
# Windows ARM64 is available since 10.0.16299 so no need to copy
|
|
|
|
# d3dcompiler_47.dll because this file is available as inbox.
|
|
|
|
if (is_win && target_cpu != "arm64") {
|
2015-02-25 16:34:49 +03:00
|
|
|
copy("copy_compiler_dll") {
|
2016-01-04 19:25:00 +03:00
|
|
|
sources = [
|
|
|
|
"$windows_sdk_path/Redist/D3D/$target_cpu/d3dcompiler_47.dll",
|
|
|
|
]
|
|
|
|
outputs = [
|
|
|
|
"$root_out_dir/d3dcompiler_47.dll",
|
|
|
|
]
|
2015-02-25 16:34:49 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-07 23:26:10 +03:00
|
|
|
config("includes_config") {
|
|
|
|
include_dirs = [ "include" ]
|
|
|
|
}
|
|
|
|
|
2014-06-23 23:13:02 +04:00
|
|
|
# Holds the shared includes so we only need to list them once.
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_source_set("includes") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libangle_includes
|
2019-02-07 23:26:10 +03:00
|
|
|
public_configs = [ ":includes_config" ]
|
2014-06-23 23:13:02 +04:00
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("preprocessor") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = angle_preprocessor_sources
|
2014-06-23 23:13:02 +04:00
|
|
|
|
2016-09-21 00:15:59 +03:00
|
|
|
public_deps = [
|
|
|
|
":angle_common",
|
|
|
|
]
|
2014-06-23 23:13:02 +04:00
|
|
|
}
|
|
|
|
|
2016-09-19 16:54:44 +03:00
|
|
|
config("translator_disable_pool_alloc") {
|
2019-01-23 19:11:41 +03:00
|
|
|
defines = [ "ANGLE_TRANSLATOR_DISABLE_POOL_ALLOC" ]
|
2014-08-07 20:31:38 +04:00
|
|
|
}
|
|
|
|
|
2015-06-17 01:03:14 +03:00
|
|
|
config("debug_annotations_config") {
|
|
|
|
if (is_debug) {
|
2016-01-04 19:25:00 +03:00
|
|
|
defines = [ "ANGLE_ENABLE_DEBUG_ANNOTATIONS" ]
|
2015-06-17 01:03:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-27 15:35:36 +03:00
|
|
|
config("angle_release_asserts_config") {
|
|
|
|
if (dcheck_always_on) {
|
|
|
|
defines = [ "ANGLE_ENABLE_RELEASE_ASSERTS" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-02 20:04:10 +03:00
|
|
|
config("angle_common_config") {
|
2017-06-07 21:59:51 +03:00
|
|
|
include_dirs = [ "src/common/third_party/base" ]
|
2018-01-28 02:27:07 +03:00
|
|
|
if (is_android) {
|
|
|
|
libs = [ "log" ]
|
|
|
|
}
|
2016-06-02 20:04:10 +03:00
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_source_set("angle_system_utils") {
|
2018-12-17 21:13:49 +03:00
|
|
|
sources = angle_system_utils_sources
|
|
|
|
}
|
2018-12-16 22:53:23 +03:00
|
|
|
|
2019-02-01 22:16:32 +03:00
|
|
|
angle_source_set("xxhash") {
|
|
|
|
sources = xxhash_sources
|
|
|
|
configs -= [ "${angle_root}:extra_warnings" ]
|
|
|
|
}
|
|
|
|
|
2019-02-07 17:09:41 +03:00
|
|
|
fuzzer_test("xxhash_fuzzer") {
|
|
|
|
sources = [
|
|
|
|
"src/common/third_party/xxhash/xxhash_fuzzer.cpp",
|
|
|
|
]
|
|
|
|
deps = [
|
|
|
|
":xxhash",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("angle_common") {
|
2018-12-17 21:13:49 +03:00
|
|
|
sources = libangle_common_sources
|
2018-12-16 22:53:23 +03:00
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
configs += [
|
2016-06-02 20:04:10 +03:00
|
|
|
":angle_common_config",
|
2015-06-17 01:03:14 +03:00
|
|
|
":debug_annotations_config",
|
2015-01-14 22:31:02 +03:00
|
|
|
]
|
2016-04-06 23:39:52 +03:00
|
|
|
|
2019-02-01 22:16:32 +03:00
|
|
|
deps = [
|
|
|
|
":xxhash",
|
|
|
|
]
|
|
|
|
|
2016-05-20 00:59:55 +03:00
|
|
|
public_deps = [
|
2018-12-17 21:13:49 +03:00
|
|
|
":angle_system_utils",
|
|
|
|
":angle_version",
|
2018-02-21 16:28:01 +03:00
|
|
|
":includes",
|
2016-05-20 00:59:55 +03:00
|
|
|
]
|
2019-01-16 02:33:42 +03:00
|
|
|
public_configs += [ ":angle_common_config" ]
|
2017-04-26 23:46:48 +03:00
|
|
|
all_dependent_configs = [ ":angle_release_asserts_config" ]
|
2015-01-14 22:31:02 +03:00
|
|
|
}
|
|
|
|
|
2016-06-13 22:06:31 +03:00
|
|
|
config("angle_image_util_config") {
|
|
|
|
include_dirs = [
|
|
|
|
"include",
|
|
|
|
"src",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("angle_image_util") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libangle_image_util_sources
|
2019-01-16 02:33:42 +03:00
|
|
|
public_configs += [ ":angle_image_util_config" ]
|
2016-06-13 22:06:31 +03:00
|
|
|
public_deps = [
|
|
|
|
":angle_common",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2018-10-09 04:25:19 +03:00
|
|
|
config("angle_gl_visibility_config") {
|
|
|
|
if (is_win) {
|
|
|
|
defines = [
|
|
|
|
"GL_APICALL=",
|
|
|
|
"GL_API=",
|
|
|
|
]
|
|
|
|
} else {
|
|
|
|
defines = [
|
|
|
|
"GL_APICALL=__attribute__((visibility(\"default\")))",
|
|
|
|
"GL_API=__attribute__((visibility(\"default\")))",
|
|
|
|
]
|
2018-10-09 01:43:43 +03:00
|
|
|
}
|
2018-08-30 02:04:15 +03:00
|
|
|
}
|
|
|
|
|
2017-02-08 18:43:47 +03:00
|
|
|
config("angle_gpu_info_util_config") {
|
|
|
|
include_dirs = [
|
|
|
|
"include",
|
|
|
|
"src",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("angle_gpu_info_util") {
|
|
|
|
public_configs += [ ":angle_gpu_info_util_config" ]
|
2017-02-08 18:43:47 +03:00
|
|
|
public_deps = [
|
|
|
|
":angle_common",
|
|
|
|
]
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libangle_gpu_info_util_sources
|
2017-02-08 18:43:47 +03:00
|
|
|
deps = []
|
|
|
|
libs = []
|
|
|
|
defines = []
|
|
|
|
|
2018-06-23 00:42:09 +03:00
|
|
|
if (is_android) {
|
|
|
|
sources += [ "src/gpu_info_util/SystemInfo_android.cpp" ]
|
|
|
|
}
|
|
|
|
|
2017-03-24 21:58:59 +03:00
|
|
|
if (is_win) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gpu_info_util_win_sources
|
2017-03-24 21:58:59 +03:00
|
|
|
libs += [ "setupapi.lib" ]
|
|
|
|
defines += [ "GPU_INFO_USE_SETUPAPI" ]
|
|
|
|
}
|
|
|
|
|
2018-12-03 18:13:36 +03:00
|
|
|
if (is_linux || is_fuchsia) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gpu_info_util_linux_sources
|
2017-02-08 18:43:47 +03:00
|
|
|
|
|
|
|
if (use_x11) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gpu_info_util_x11_sources
|
2017-02-08 18:43:47 +03:00
|
|
|
deps += [ "src/third_party/libXNVCtrl:libXNVCtrl" ]
|
|
|
|
defines += [ "GPU_INFO_USE_X11" ]
|
|
|
|
libs += [
|
|
|
|
"X11",
|
|
|
|
"Xi",
|
|
|
|
"Xext",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (use_libpci) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gpu_info_util_libpci_sources
|
2017-02-08 18:43:47 +03:00
|
|
|
defines += [ "GPU_INFO_USE_LIBPCI" ]
|
|
|
|
libs += [ "pci" ]
|
|
|
|
}
|
2017-02-16 18:58:46 +03:00
|
|
|
|
|
|
|
if (is_mac) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gpu_info_util_mac_sources
|
2017-02-16 18:58:46 +03:00
|
|
|
libs += [
|
|
|
|
"IOKit.framework",
|
|
|
|
"CoreFoundation.framework",
|
2017-10-11 18:38:55 +03:00
|
|
|
"CoreGraphics.framework",
|
2017-02-16 18:58:46 +03:00
|
|
|
]
|
|
|
|
}
|
2017-02-08 18:43:47 +03:00
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("translator") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = angle_translator_sources
|
2015-12-11 20:30:15 +03:00
|
|
|
defines = []
|
|
|
|
|
2017-10-10 02:14:06 +03:00
|
|
|
if (angle_enable_essl || use_fuzzing_engine) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += angle_translator_essl_sources
|
2015-12-11 20:30:15 +03:00
|
|
|
defines += [ "ANGLE_ENABLE_ESSL" ]
|
|
|
|
}
|
|
|
|
|
2017-10-10 02:14:06 +03:00
|
|
|
if (angle_enable_glsl || use_fuzzing_engine) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += angle_translator_glsl_sources
|
2015-12-11 20:30:15 +03:00
|
|
|
defines += [ "ANGLE_ENABLE_GLSL" ]
|
|
|
|
}
|
2014-06-23 23:13:02 +04:00
|
|
|
|
2017-10-10 02:14:06 +03:00
|
|
|
if (angle_enable_hlsl || use_fuzzing_engine) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += angle_translator_hlsl_sources
|
2015-12-11 20:30:15 +03:00
|
|
|
defines += [ "ANGLE_ENABLE_HLSL" ]
|
2015-02-25 16:34:49 +03:00
|
|
|
}
|
2017-01-14 01:29:51 +03:00
|
|
|
|
2017-10-10 02:14:06 +03:00
|
|
|
if (angle_enable_vulkan || use_fuzzing_engine) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += angle_translator_lib_vulkan_sources
|
2017-01-14 01:29:51 +03:00
|
|
|
defines += [ "ANGLE_ENABLE_VULKAN" ]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
public_configs += [ ":external_config" ]
|
2017-10-10 02:14:06 +03:00
|
|
|
if (use_fuzzing_engine) {
|
2016-09-19 16:54:44 +03:00
|
|
|
all_dependent_configs = [ ":translator_disable_pool_alloc" ]
|
|
|
|
}
|
2014-06-23 23:13:02 +04:00
|
|
|
|
|
|
|
deps = [
|
|
|
|
":includes",
|
|
|
|
":preprocessor",
|
|
|
|
]
|
2015-01-14 22:31:02 +03:00
|
|
|
|
|
|
|
public_deps = [
|
|
|
|
":angle_common",
|
|
|
|
]
|
2016-07-18 20:47:12 +03:00
|
|
|
|
|
|
|
if (is_win) {
|
|
|
|
# Necessary to suppress some system header xtree warnigns in Release.
|
|
|
|
# For some reason this warning doesn't get triggered in Chromium
|
|
|
|
cflags = [ "/wd4718" ]
|
|
|
|
}
|
2014-06-23 23:13:02 +04:00
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_source_set("translator_fuzzer") {
|
2016-06-16 17:24:50 +03:00
|
|
|
sources = [
|
|
|
|
"src/compiler/fuzz/translator_fuzzer.cpp",
|
|
|
|
]
|
|
|
|
|
|
|
|
include_dirs = [
|
|
|
|
"include",
|
|
|
|
"src",
|
|
|
|
]
|
|
|
|
|
|
|
|
deps = [
|
2016-11-02 01:19:06 +03:00
|
|
|
":translator",
|
2016-06-16 17:24:50 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2014-06-23 23:13:02 +04:00
|
|
|
config("commit_id_config") {
|
|
|
|
include_dirs = [ "$root_gen_dir/angle" ]
|
2018-12-17 22:04:10 +03:00
|
|
|
visibility = [ ":commit_id" ]
|
|
|
|
}
|
|
|
|
|
2015-07-30 15:34:54 +03:00
|
|
|
commit_id_output_file = "$root_gen_dir/angle/id/commit.h"
|
|
|
|
if (angle_use_commit_id) {
|
|
|
|
action("commit_id") {
|
|
|
|
script = "src/commit_id.py"
|
|
|
|
outputs = [
|
|
|
|
commit_id_output_file,
|
|
|
|
]
|
2014-06-23 23:13:02 +04:00
|
|
|
|
2018-08-07 10:25:42 +03:00
|
|
|
# commit id should depend on angle's HEAD revision
|
2018-08-21 07:04:05 +03:00
|
|
|
inputs = [
|
|
|
|
".git/HEAD",
|
|
|
|
]
|
2018-08-07 10:25:42 +03:00
|
|
|
|
2015-07-30 15:34:54 +03:00
|
|
|
args = [
|
|
|
|
"gen",
|
|
|
|
rebase_path(".", root_build_dir),
|
|
|
|
rebase_path(commit_id_output_file, root_build_dir),
|
|
|
|
]
|
2014-06-23 23:13:02 +04:00
|
|
|
|
2015-07-30 15:34:54 +03:00
|
|
|
public_configs = [ ":commit_id_config" ]
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
copy("commit_id") {
|
|
|
|
sources = [
|
|
|
|
"src/commit.h",
|
|
|
|
]
|
|
|
|
outputs = [
|
|
|
|
commit_id_output_file,
|
|
|
|
]
|
|
|
|
public_configs = [ ":commit_id_config" ]
|
|
|
|
}
|
2014-06-23 23:13:02 +04:00
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_source_set("angle_version") {
|
2018-12-17 21:13:49 +03:00
|
|
|
sources = [
|
|
|
|
"src/common/version.h",
|
|
|
|
]
|
|
|
|
public_deps = [
|
|
|
|
":commit_id",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
config("libANGLE_config") {
|
2015-02-12 21:39:56 +03:00
|
|
|
cflags = []
|
2015-01-14 22:31:02 +03:00
|
|
|
defines = []
|
2018-11-28 18:09:39 +03:00
|
|
|
libs = []
|
2015-01-14 22:31:02 +03:00
|
|
|
if (angle_enable_d3d9) {
|
|
|
|
defines += [ "ANGLE_ENABLE_D3D9" ]
|
|
|
|
}
|
|
|
|
if (angle_enable_d3d11) {
|
|
|
|
defines += [ "ANGLE_ENABLE_D3D11" ]
|
2014-11-19 22:20:15 +03:00
|
|
|
}
|
2015-02-13 23:41:41 +03:00
|
|
|
if (angle_enable_gl) {
|
|
|
|
defines += [ "ANGLE_ENABLE_OPENGL" ]
|
2016-05-05 20:37:38 +03:00
|
|
|
if (use_x11) {
|
|
|
|
defines += [ "ANGLE_USE_X11" ]
|
|
|
|
}
|
2017-10-22 05:19:40 +03:00
|
|
|
if (angle_enable_gl_null) {
|
|
|
|
defines += [ "ANGLE_ENABLE_OPENGL_NULL" ]
|
|
|
|
}
|
2015-05-26 18:32:58 +03:00
|
|
|
}
|
2016-05-25 19:57:39 +03:00
|
|
|
if (angle_enable_vulkan) {
|
|
|
|
defines += [ "ANGLE_ENABLE_VULKAN" ]
|
|
|
|
}
|
2016-09-23 22:56:30 +03:00
|
|
|
if (angle_enable_null) {
|
|
|
|
defines += [ "ANGLE_ENABLE_NULL" ]
|
|
|
|
}
|
2017-01-03 19:03:23 +03:00
|
|
|
defines += [ "LIBANGLE_IMPLEMENTATION" ]
|
2015-09-02 17:30:55 +03:00
|
|
|
|
2015-02-12 21:39:56 +03:00
|
|
|
if (is_win) {
|
|
|
|
cflags += [ "/wd4530" ] # C++ exception handler used, but unwind semantics are not enabled.
|
|
|
|
}
|
2018-11-28 18:09:39 +03:00
|
|
|
|
|
|
|
if (is_android && (angle_enable_gl || angle_enable_vulkan)) {
|
2019-02-12 20:41:01 +03:00
|
|
|
# In API level 26 ANativeWindow APIs were moved from libandroid.so
|
|
|
|
# into a separate library, libnativewindow.so
|
|
|
|
if (ndk_api_level_at_least_26) {
|
2018-11-28 18:09:39 +03:00
|
|
|
libs += [ "nativewindow" ]
|
|
|
|
} else {
|
|
|
|
libs += [ "android" ]
|
|
|
|
}
|
|
|
|
}
|
2015-01-14 22:31:02 +03:00
|
|
|
}
|
2014-11-19 22:20:15 +03:00
|
|
|
|
2018-02-06 17:54:02 +03:00
|
|
|
if (angle_enable_vulkan) {
|
2019-02-06 21:05:21 +03:00
|
|
|
config("vulkan_config") {
|
|
|
|
if (is_win) {
|
|
|
|
defines = [
|
|
|
|
"VK_USE_PLATFORM_WIN32_KHR",
|
|
|
|
"VK_USE_PLATFORM_WIN32_KHX",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
if (is_linux) {
|
|
|
|
defines = [
|
|
|
|
"VK_USE_PLATFORM_XCB_KHR",
|
|
|
|
"VK_USE_PLATFORM_XCB_KHX",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
if (is_android) {
|
|
|
|
defines = [
|
|
|
|
"VK_USE_PLATFORM_ANDROID_KHR",
|
|
|
|
"VK_USE_PLATFORM_ANDROID_KHX",
|
|
|
|
]
|
|
|
|
libs = [ "vulkan" ]
|
|
|
|
}
|
2019-01-22 02:09:15 +03:00
|
|
|
if (is_fuchsia) {
|
|
|
|
defines = [ "VK_USE_PLATFORM_FUCHSIA" ]
|
|
|
|
}
|
2019-02-06 21:05:21 +03:00
|
|
|
}
|
|
|
|
|
2018-02-06 17:54:02 +03:00
|
|
|
# Use this target to include everything ANGLE needs for Vulkan.
|
|
|
|
group("angle_vulkan") {
|
|
|
|
public_deps = [
|
2018-05-24 19:56:17 +03:00
|
|
|
"$angle_root/third_party/vulkan-headers:vulkan_headers",
|
2018-02-06 17:54:02 +03:00
|
|
|
]
|
2019-02-06 21:05:21 +03:00
|
|
|
public_configs = [ ":vulkan_config" ]
|
2018-04-26 17:05:18 +03:00
|
|
|
data_deps = []
|
2019-01-22 02:09:15 +03:00
|
|
|
if (!is_android && !is_fuchsia) {
|
2019-01-28 17:55:20 +03:00
|
|
|
deps = [
|
|
|
|
"$angle_root/third_party/vulkan-loader:libvulkan",
|
|
|
|
]
|
2018-05-24 19:56:17 +03:00
|
|
|
data_deps += [ "$angle_root/third_party/vulkan-tools:VkICD_mock_icd" ]
|
|
|
|
public_configs +=
|
|
|
|
[ "$angle_root/third_party/vulkan-loader:vulkan_loader_config" ]
|
2018-04-10 22:43:46 +03:00
|
|
|
}
|
2019-01-22 02:09:15 +03:00
|
|
|
if (is_fuchsia) {
|
|
|
|
public_deps += [
|
|
|
|
"$angle_root/src/common/fuchsia_egl",
|
|
|
|
"//third_party/fuchsia-sdk:vulkan_base",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:vulkan",
|
|
|
|
]
|
|
|
|
}
|
2018-04-10 22:43:46 +03:00
|
|
|
|
|
|
|
if (angle_enable_vulkan_validation_layers) {
|
2019-01-22 02:09:15 +03:00
|
|
|
if (is_fuchsia) {
|
|
|
|
deps = [
|
|
|
|
"//third_party/fuchsia-sdk:vulkan_validation",
|
|
|
|
]
|
|
|
|
} else {
|
|
|
|
data_deps += [ "$angle_root/third_party/vulkan-validation-layers:vulkan_validation_layers" ]
|
|
|
|
if (!is_android) {
|
|
|
|
data_deps += [ "$angle_root/third_party/vulkan-validation-layers:vulkan_gen_json_files" ]
|
|
|
|
}
|
2018-04-10 22:43:46 +03:00
|
|
|
}
|
2018-02-06 17:54:02 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("libANGLE") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libangle_sources
|
2015-01-14 22:31:02 +03:00
|
|
|
|
2017-06-07 21:59:51 +03:00
|
|
|
include_dirs = []
|
2015-01-14 22:31:02 +03:00
|
|
|
libs = []
|
2016-11-11 16:25:44 +03:00
|
|
|
defines = []
|
2017-12-12 07:58:53 +03:00
|
|
|
if (angle_link_glx) {
|
|
|
|
libs += [ "GL" ]
|
|
|
|
defines += [ "ANGLE_LINK_GLX" ]
|
|
|
|
}
|
2016-06-02 20:04:10 +03:00
|
|
|
public_deps = [
|
2016-03-01 00:37:04 +03:00
|
|
|
":angle_common",
|
2018-12-17 22:04:10 +03:00
|
|
|
":angle_gpu_info_util",
|
2018-12-17 21:13:49 +03:00
|
|
|
":angle_version",
|
2018-12-17 22:04:10 +03:00
|
|
|
":translator",
|
2016-06-02 20:04:10 +03:00
|
|
|
]
|
|
|
|
deps = [
|
2017-02-15 21:57:16 +03:00
|
|
|
":angle_image_util",
|
2016-03-01 00:37:04 +03:00
|
|
|
":includes",
|
|
|
|
]
|
|
|
|
|
2019-01-16 03:06:47 +03:00
|
|
|
# Enable extra Chromium style warnings for libANGLE.
|
|
|
|
if (is_clang) {
|
|
|
|
suppressed_configs -= [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
}
|
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
# Shared D3D sources.
|
|
|
|
if (angle_enable_d3d9 || angle_enable_d3d11) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_d3d_shared_sources
|
2014-06-23 23:13:02 +04:00
|
|
|
|
2016-01-04 19:25:00 +03:00
|
|
|
defines += [ "ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES={ " + "\"d3dcompiler_47.dll\", \"d3dcompiler_46.dll\", \"d3dcompiler_43.dll\" }" ]
|
2015-01-14 22:31:02 +03:00
|
|
|
}
|
2014-11-19 22:20:15 +03:00
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
if (angle_enable_d3d9) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_d3d9_sources
|
2015-01-14 22:31:02 +03:00
|
|
|
libs += [ "d3d9.lib" ]
|
2015-01-09 19:51:16 +03:00
|
|
|
}
|
2015-01-07 21:22:02 +03:00
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
if (angle_enable_d3d11) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_d3d11_sources
|
|
|
|
sources += libangle_d3d11_win32_sources
|
2016-08-23 19:29:22 +03:00
|
|
|
libs += [ "dxguid.lib" ]
|
2018-10-10 19:07:12 +03:00
|
|
|
import("src/libANGLE/renderer/d3d/d3d11/d3d11_blit_shaders_autogen.gni")
|
|
|
|
sources += libangle_d3d11_blit_shaders
|
2015-01-14 22:31:02 +03:00
|
|
|
}
|
2015-01-07 21:22:02 +03:00
|
|
|
|
2015-02-13 23:41:41 +03:00
|
|
|
if (angle_enable_gl) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gl_sources
|
2015-02-13 23:41:41 +03:00
|
|
|
include_dirs += [ "src/third_party/khronos" ]
|
|
|
|
|
2017-10-22 05:19:40 +03:00
|
|
|
if (angle_enable_gl_null) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gl_null_sources
|
2017-10-22 05:19:40 +03:00
|
|
|
}
|
2015-02-13 23:41:41 +03:00
|
|
|
if (is_win) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gl_wgl_sources
|
2015-02-13 23:41:41 +03:00
|
|
|
}
|
2015-05-26 18:32:58 +03:00
|
|
|
if (use_x11) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gl_glx_sources
|
2016-05-20 00:59:55 +03:00
|
|
|
deps += [ "src/third_party/libXNVCtrl:libXNVCtrl" ]
|
2016-03-01 00:37:04 +03:00
|
|
|
libs += [
|
|
|
|
"X11",
|
|
|
|
"Xi",
|
|
|
|
"Xext",
|
|
|
|
]
|
2015-05-14 17:54:18 +03:00
|
|
|
}
|
2016-05-14 00:27:57 +03:00
|
|
|
if (is_mac) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gl_cgl_sources
|
2016-05-14 00:27:57 +03:00
|
|
|
libs += [
|
|
|
|
"Cocoa.framework",
|
|
|
|
"IOSurface.framework",
|
|
|
|
"OpenGL.framework",
|
|
|
|
"QuartzCore.framework",
|
|
|
|
]
|
|
|
|
}
|
2016-06-03 07:18:38 +03:00
|
|
|
if (is_android) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gl_egl_sources
|
|
|
|
sources += libangle_gl_egl_dl_sources
|
|
|
|
sources += libangle_gl_egl_android_sources
|
2016-06-03 07:18:38 +03:00
|
|
|
}
|
2016-07-07 20:17:47 +03:00
|
|
|
if (ozone_platform_gbm) {
|
2016-06-13 23:39:01 +03:00
|
|
|
configs += [ ":libdrm" ]
|
|
|
|
defines += [ "ANGLE_USE_OZONE" ]
|
|
|
|
deps += [ "//third_party/minigbm" ]
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_gl_egl_sources
|
|
|
|
sources += libangle_gl_egl_dl_sources
|
|
|
|
sources += libangle_gl_ozone_sources
|
2016-06-13 23:39:01 +03:00
|
|
|
}
|
2015-02-13 23:41:41 +03:00
|
|
|
}
|
|
|
|
|
2016-05-25 19:57:39 +03:00
|
|
|
if (angle_enable_vulkan) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_vulkan_sources
|
2016-11-24 05:05:36 +03:00
|
|
|
if (is_win) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_vulkan_win32_sources
|
2016-11-24 05:05:36 +03:00
|
|
|
}
|
|
|
|
if (is_linux) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_vulkan_xcb_sources
|
2016-11-24 05:05:36 +03:00
|
|
|
}
|
2019-01-22 02:09:15 +03:00
|
|
|
if (is_fuchsia) {
|
|
|
|
sources += libangle_vulkan_fuchsia_sources
|
|
|
|
deps += [
|
|
|
|
"$angle_root/src/common/fuchsia_egl",
|
|
|
|
"$angle_root/src/common/fuchsia_egl:backend",
|
|
|
|
]
|
|
|
|
}
|
2018-01-20 03:04:05 +03:00
|
|
|
if (is_android) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_vulkan_android_sources
|
2018-10-25 19:48:49 +03:00
|
|
|
libs += [ "vulkan" ]
|
2018-01-20 03:04:05 +03:00
|
|
|
}
|
2019-01-28 17:55:20 +03:00
|
|
|
deps += [
|
|
|
|
":angle_vulkan",
|
|
|
|
"${angle_glslang_dir}:glslang_default_resource_limits_sources",
|
|
|
|
"${angle_glslang_dir}:glslang_sources",
|
|
|
|
"${angle_spirv_tools_dir}:spvtools_val",
|
|
|
|
]
|
2018-05-24 19:56:17 +03:00
|
|
|
public_deps += [ "$angle_root/third_party/vulkan-headers:vulkan_headers" ]
|
2018-04-27 18:45:03 +03:00
|
|
|
|
|
|
|
# Include generated shaders.
|
|
|
|
import("src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.gni")
|
|
|
|
sources += angle_vulkan_internal_shaders
|
2016-05-25 19:57:39 +03:00
|
|
|
}
|
|
|
|
|
2016-09-23 22:56:30 +03:00
|
|
|
if (angle_enable_null) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += libangle_null_sources
|
2016-09-23 22:56:30 +03:00
|
|
|
}
|
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
if (is_debug) {
|
2016-01-04 19:25:00 +03:00
|
|
|
defines += [ "ANGLE_GENERATE_SHADER_DEBUG_INFO" ]
|
2015-01-14 22:31:02 +03:00
|
|
|
}
|
2015-01-07 21:22:02 +03:00
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
configs += [ ":debug_annotations_config" ]
|
|
|
|
public_configs += [ ":libANGLE_config" ]
|
2017-01-03 19:03:23 +03:00
|
|
|
|
2018-12-01 04:01:01 +03:00
|
|
|
# Windows ARM64 is available since 10.0.16299 so no need to copy
|
|
|
|
# d3dcompiler_47.dll because this file is available as inbox.
|
|
|
|
if (is_win && target_cpu != "arm64") {
|
2016-06-02 20:04:10 +03:00
|
|
|
data_deps = [
|
|
|
|
":copy_compiler_dll",
|
|
|
|
]
|
2015-01-14 01:52:17 +03:00
|
|
|
}
|
2015-01-14 22:31:02 +03:00
|
|
|
}
|
2015-01-13 19:13:56 +03:00
|
|
|
|
2016-06-21 18:47:03 +03:00
|
|
|
config("shared_library_public_config") {
|
|
|
|
if (is_mac && !is_component_build) {
|
|
|
|
# Executable targets that depend on the shared libraries below need to have
|
|
|
|
# the rpath setup in non-component build configurations.
|
2016-07-18 20:47:12 +03:00
|
|
|
ldflags = [
|
|
|
|
"-rpath",
|
|
|
|
"@executable_path/",
|
|
|
|
]
|
2016-06-21 18:47:03 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-17 21:13:49 +03:00
|
|
|
config("library_name_config") {
|
|
|
|
defines = [
|
|
|
|
"ANGLE_EGL_LIBRARY_NAME=\"libEGL${angle_libs_suffix}\"",
|
|
|
|
"ANGLE_GLESV2_LIBRARY_NAME=\"libGLESv2${angle_libs_suffix}\"",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
# This config controls export definitions on ANGLE API calls.
|
|
|
|
config("angle_static") {
|
|
|
|
defines = [
|
|
|
|
"ANGLE_EXPORT=",
|
2018-12-29 18:29:33 +03:00
|
|
|
"ANGLE_UTIL_EXPORT=",
|
2017-01-03 19:03:23 +03:00
|
|
|
"EGLAPI=",
|
|
|
|
"GL_APICALL=",
|
2018-01-13 01:17:27 +03:00
|
|
|
"GL_API=",
|
2017-01-03 19:03:23 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_shared_library("libGLESv2${angle_libs_suffix}") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libglesv2_sources
|
2015-01-13 19:13:56 +03:00
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
if (is_win) {
|
2019-01-04 22:47:27 +03:00
|
|
|
sources += [ "src/libGLESv2/libGLESv2_autogen.def" ]
|
2015-01-14 22:31:02 +03:00
|
|
|
}
|
2015-01-13 19:13:56 +03:00
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
configs += [
|
2018-10-09 04:25:19 +03:00
|
|
|
":angle_gl_visibility_config",
|
2015-06-17 01:03:14 +03:00
|
|
|
":debug_annotations_config",
|
2018-12-17 21:13:49 +03:00
|
|
|
":gl_prototypes",
|
2015-01-14 22:31:02 +03:00
|
|
|
]
|
2015-01-13 19:13:56 +03:00
|
|
|
|
2016-01-04 19:25:00 +03:00
|
|
|
defines = [ "LIBGLESV2_IMPLEMENTATION" ]
|
2017-01-03 19:03:23 +03:00
|
|
|
|
|
|
|
deps = [
|
|
|
|
":includes",
|
|
|
|
":libANGLE",
|
|
|
|
]
|
2018-12-17 22:04:10 +03:00
|
|
|
|
|
|
|
public_deps = [
|
2018-12-17 21:13:49 +03:00
|
|
|
":angle_version",
|
2018-12-17 22:04:10 +03:00
|
|
|
]
|
2017-01-03 19:03:23 +03:00
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("libGLESv2_static") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libglesv2_sources
|
2019-01-16 02:33:42 +03:00
|
|
|
configs += [ ":debug_annotations_config" ]
|
|
|
|
public_configs += [ ":angle_static" ]
|
2015-01-14 22:31:02 +03:00
|
|
|
deps = [
|
|
|
|
":includes",
|
2018-12-17 22:04:10 +03:00
|
|
|
]
|
|
|
|
public_deps = [
|
2015-01-14 22:31:02 +03:00
|
|
|
":libANGLE",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_shared_library("libGLESv1_CM${angle_libs_suffix}") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libglesv1_cm_sources
|
2018-01-13 01:17:27 +03:00
|
|
|
|
|
|
|
configs += [
|
2018-10-09 04:25:19 +03:00
|
|
|
":angle_gl_visibility_config",
|
2018-01-13 01:17:27 +03:00
|
|
|
":debug_annotations_config",
|
2018-12-29 18:29:33 +03:00
|
|
|
":gl_prototypes",
|
2018-01-13 01:17:27 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
defines = []
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
":includes",
|
2018-02-09 01:58:46 +03:00
|
|
|
":libGLESv2${angle_libs_suffix}",
|
2018-01-13 01:17:27 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("libGLESv1_CM_static") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libglesv1_cm_sources
|
2019-01-16 02:33:42 +03:00
|
|
|
configs += [ ":debug_annotations_config" ]
|
|
|
|
public_configs += [ ":angle_static" ]
|
2018-01-13 01:17:27 +03:00
|
|
|
deps = [
|
|
|
|
":includes",
|
|
|
|
":libGLESv2_static",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2018-12-17 21:13:49 +03:00
|
|
|
config("libEGL_egl_loader_config") {
|
|
|
|
defines = [ "ANGLE_USE_EGL_LOADER" ]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_source_set("libEGL_egl_loader") {
|
2018-12-17 21:13:49 +03:00
|
|
|
sources = [
|
|
|
|
"src/libEGL/egl_loader_autogen.cpp",
|
|
|
|
"src/libEGL/egl_loader_autogen.h",
|
|
|
|
]
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
public_configs += [
|
2018-12-17 21:13:49 +03:00
|
|
|
":libEGL_egl_loader_config",
|
|
|
|
":gl_prototypes",
|
|
|
|
]
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
":includes",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_shared_library("libEGL${angle_libs_suffix}") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libegl_sources
|
2015-01-14 22:31:02 +03:00
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
configs += [
|
|
|
|
":debug_annotations_config",
|
2018-12-17 21:13:49 +03:00
|
|
|
":library_name_config",
|
2017-01-03 19:03:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
defines = [ "LIBEGL_IMPLEMENTATION" ]
|
|
|
|
if (is_win) {
|
|
|
|
defines += [ "EGLAPI=" ]
|
|
|
|
} else {
|
|
|
|
defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ]
|
|
|
|
}
|
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
if (is_win) {
|
2019-01-04 22:47:27 +03:00
|
|
|
sources += [ "src/libEGL/libEGL.def" ]
|
2015-01-14 01:52:17 +03:00
|
|
|
}
|
2015-01-14 22:31:02 +03:00
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
deps = [
|
2018-12-17 21:13:49 +03:00
|
|
|
":angle_system_utils",
|
|
|
|
":angle_version",
|
|
|
|
":libEGL_egl_loader",
|
2017-01-03 19:03:23 +03:00
|
|
|
]
|
2018-12-17 22:04:10 +03:00
|
|
|
|
|
|
|
public_deps = [
|
|
|
|
":includes",
|
|
|
|
]
|
2018-12-17 21:13:49 +03:00
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
":libGLESv2${angle_libs_suffix}",
|
|
|
|
]
|
2017-01-03 19:03:23 +03:00
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_static_library("libEGL_static") {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = libegl_sources
|
2017-01-03 19:03:23 +03:00
|
|
|
|
2015-01-14 22:31:02 +03:00
|
|
|
configs += [
|
2015-09-02 17:30:55 +03:00
|
|
|
":debug_annotations_config",
|
2018-12-17 21:13:49 +03:00
|
|
|
":library_name_config",
|
2015-01-14 22:31:02 +03:00
|
|
|
]
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
public_configs += [ ":angle_static" ]
|
2015-01-14 22:31:02 +03:00
|
|
|
|
|
|
|
deps = [
|
|
|
|
":includes",
|
2017-01-03 19:03:23 +03:00
|
|
|
":libGLESv2_static",
|
2015-01-14 22:31:02 +03:00
|
|
|
]
|
|
|
|
}
|
2015-09-02 17:30:55 +03:00
|
|
|
|
2018-08-24 05:11:55 +03:00
|
|
|
import("util/util.gni")
|
2016-01-04 19:25:00 +03:00
|
|
|
|
2018-12-29 18:29:33 +03:00
|
|
|
config("angle_util_loader_config") {
|
|
|
|
defines = [ "ANGLE_USE_UTIL_LOADER" ]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_source_set("angle_util_loader_headers") {
|
2018-12-29 18:29:33 +03:00
|
|
|
sources = [
|
|
|
|
"util/egl_loader_autogen.h",
|
|
|
|
"util/gles_loader_autogen.h",
|
|
|
|
"util/util_export.h",
|
|
|
|
]
|
|
|
|
|
2019-01-04 22:17:24 +03:00
|
|
|
if (is_win) {
|
|
|
|
sources += [ "util/windows/wgl_loader_autogen.h" ]
|
|
|
|
}
|
2018-12-29 18:29:33 +03:00
|
|
|
|
|
|
|
public_deps = [
|
|
|
|
":includes",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_source_set("angle_util_loader") {
|
2018-12-29 18:29:33 +03:00
|
|
|
defines = [ "LIBANGLE_UTIL_IMPLEMENTATION" ]
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"util/egl_loader_autogen.cpp",
|
|
|
|
"util/gles_loader_autogen.cpp",
|
|
|
|
]
|
|
|
|
|
2019-01-03 23:24:22 +03:00
|
|
|
if (is_win) {
|
2019-01-04 22:17:24 +03:00
|
|
|
sources += [ "util/windows/wgl_loader_autogen.cpp" ]
|
2019-01-03 23:24:22 +03:00
|
|
|
}
|
|
|
|
|
2019-01-04 22:17:24 +03:00
|
|
|
deps = [
|
2018-12-29 18:29:33 +03:00
|
|
|
":angle_util_loader_headers",
|
|
|
|
]
|
2019-01-04 22:17:24 +03:00
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
public_configs += [
|
2019-01-04 22:17:24 +03:00
|
|
|
":angle_util_config",
|
|
|
|
":angle_util_loader_config",
|
|
|
|
":no_gl_prototypes",
|
|
|
|
]
|
2018-12-29 18:29:33 +03:00
|
|
|
}
|
|
|
|
|
2016-01-04 19:25:00 +03:00
|
|
|
config("angle_util_config") {
|
2018-12-29 18:29:33 +03:00
|
|
|
include_dirs = [ "." ]
|
2016-06-13 23:39:01 +03:00
|
|
|
if (is_linux && use_x11) {
|
2016-01-07 22:33:48 +03:00
|
|
|
libs = [ "X11" ]
|
|
|
|
}
|
2016-01-04 19:25:00 +03:00
|
|
|
}
|
2015-09-02 17:30:55 +03:00
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
foreach(is_shared_library,
|
|
|
|
[
|
|
|
|
true,
|
|
|
|
false,
|
|
|
|
]) {
|
|
|
|
if (is_shared_library) {
|
2019-01-16 02:33:42 +03:00
|
|
|
library_type = "angle_shared_library"
|
2017-01-03 19:03:23 +03:00
|
|
|
library_name = "angle_util"
|
2018-02-09 01:58:46 +03:00
|
|
|
dep_suffix = "${angle_libs_suffix}"
|
2017-01-03 19:03:23 +03:00
|
|
|
} else {
|
2019-01-16 02:33:42 +03:00
|
|
|
library_type = "angle_static_library"
|
2017-01-03 19:03:23 +03:00
|
|
|
library_name = "angle_util_static"
|
|
|
|
dep_suffix = "_static"
|
2015-09-02 17:30:55 +03:00
|
|
|
}
|
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
target(library_type, library_name) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources = util_sources
|
2015-09-02 17:30:55 +03:00
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
if (is_win) {
|
2019-01-04 22:17:24 +03:00
|
|
|
sources += util_win_sources
|
2017-01-03 19:03:23 +03:00
|
|
|
}
|
2015-09-02 17:30:55 +03:00
|
|
|
|
2018-05-19 01:48:50 +03:00
|
|
|
libs = []
|
2017-01-03 19:03:23 +03:00
|
|
|
if (is_linux) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += util_linux_sources
|
2018-05-19 01:48:50 +03:00
|
|
|
libs += [
|
2017-01-03 19:03:23 +03:00
|
|
|
"rt",
|
|
|
|
"dl",
|
|
|
|
]
|
|
|
|
}
|
2015-09-02 17:30:55 +03:00
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
if (is_mac) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += util_osx_sources
|
2018-05-19 01:48:50 +03:00
|
|
|
libs += [
|
2017-01-03 19:03:23 +03:00
|
|
|
"AppKit.framework",
|
|
|
|
"QuartzCore.framework",
|
|
|
|
]
|
|
|
|
}
|
2016-06-03 07:18:38 +03:00
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
if (use_x11) {
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += util_x11_sources
|
2017-01-03 19:03:23 +03:00
|
|
|
}
|
2016-06-13 23:39:01 +03:00
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
if (is_android) {
|
|
|
|
# To prevent linux sources filtering on android
|
|
|
|
set_sources_assignment_filter([])
|
2018-08-30 00:31:27 +03:00
|
|
|
sources += util_linux_sources
|
|
|
|
sources += util_android_sources
|
2018-06-21 00:05:32 +03:00
|
|
|
libs += [
|
|
|
|
"android",
|
|
|
|
"log",
|
|
|
|
]
|
2017-01-03 19:03:23 +03:00
|
|
|
}
|
2015-09-15 20:12:07 +03:00
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
configs += [ ":debug_annotations_config" ]
|
2015-09-02 17:30:55 +03:00
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
public_configs += [ ":angle_util_config" ]
|
2017-01-03 19:03:23 +03:00
|
|
|
|
|
|
|
deps = [
|
|
|
|
":angle_common",
|
2019-01-04 22:17:24 +03:00
|
|
|
":angle_util_loader_headers",
|
2017-01-03 19:03:23 +03:00
|
|
|
]
|
|
|
|
|
2019-01-22 02:09:15 +03:00
|
|
|
public_deps = []
|
|
|
|
if (is_fuchsia) {
|
|
|
|
sources += util_fuchsia_sources
|
|
|
|
public_deps += [
|
|
|
|
"$angle_root/src/common/fuchsia_egl",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:async_loop_cpp",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:fdio",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:images",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:scenic_cpp",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:ui_gfx",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:ui_policy",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:ui_scenic",
|
|
|
|
"//third_party/fuchsia-sdk/sdk:ui_viewsv1",
|
|
|
|
]
|
|
|
|
} else if (use_ozone) {
|
|
|
|
sources += util_ozone_sources
|
|
|
|
}
|
|
|
|
|
2017-01-03 19:03:23 +03:00
|
|
|
if (is_shared_library) {
|
|
|
|
defines = [ "LIBANGLE_UTIL_IMPLEMENTATION" ]
|
|
|
|
|
2019-01-04 22:17:24 +03:00
|
|
|
if (is_win) {
|
|
|
|
sources += util_win_shared_sources
|
|
|
|
}
|
|
|
|
|
2019-01-22 02:09:15 +03:00
|
|
|
public_deps += [ ":angle_util_loader" ]
|
2019-01-16 02:33:42 +03:00
|
|
|
|
|
|
|
if (is_mac && !is_component_build) {
|
|
|
|
ldflags = [
|
|
|
|
"-install_name",
|
|
|
|
"@rpath/libangle_util.dylib",
|
|
|
|
]
|
|
|
|
}
|
2018-12-29 18:29:33 +03:00
|
|
|
} else {
|
|
|
|
public_configs += [
|
|
|
|
":angle_static",
|
|
|
|
":gl_prototypes",
|
|
|
|
]
|
2017-01-03 19:03:23 +03:00
|
|
|
}
|
|
|
|
}
|
2015-09-02 17:30:55 +03:00
|
|
|
}
|
2017-06-29 00:01:15 +03:00
|
|
|
|
|
|
|
# Convenience targets for some of the samples so they can be built
|
|
|
|
# with Chromium's toolchain.
|
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_executable("angle_shader_translator") {
|
2017-06-29 00:01:15 +03:00
|
|
|
testonly = true
|
|
|
|
|
|
|
|
sources = [
|
2017-06-30 04:25:56 +03:00
|
|
|
"samples/shader_translator/shader_translator.cpp",
|
2017-06-29 00:01:15 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
deps = [
|
2017-06-30 04:25:56 +03:00
|
|
|
":translator",
|
2017-06-29 00:01:15 +03:00
|
|
|
]
|
|
|
|
}
|
2018-04-13 02:06:48 +03:00
|
|
|
|
2018-11-28 21:44:48 +03:00
|
|
|
config("angle_feature_support_config") {
|
|
|
|
include_dirs = [
|
|
|
|
"include",
|
|
|
|
"src",
|
|
|
|
]
|
|
|
|
defines = [ "LIBFEATURE_SUPPORT_IMPLEMENTATION" ]
|
|
|
|
if (is_debug) {
|
|
|
|
defines += [ "ANGLE_FEATURE_UTIL_LOG_VERBOSE" ]
|
2018-10-09 04:25:19 +03:00
|
|
|
}
|
2018-11-28 21:44:48 +03:00
|
|
|
}
|
2018-10-09 04:25:19 +03:00
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
angle_shared_library("libfeature_support${angle_libs_suffix}") {
|
2018-11-28 21:44:48 +03:00
|
|
|
if (is_android) {
|
2018-10-09 04:25:19 +03:00
|
|
|
libs = [ "log" ]
|
2018-11-28 21:44:48 +03:00
|
|
|
}
|
2018-10-09 04:25:19 +03:00
|
|
|
|
2019-01-16 02:33:42 +03:00
|
|
|
public_configs += [
|
2018-11-28 21:44:48 +03:00
|
|
|
":angle_feature_support_config",
|
2019-01-28 17:55:20 +03:00
|
|
|
"${angle_jsoncpp_dir}:jsoncpp_config",
|
2018-11-28 21:44:48 +03:00
|
|
|
]
|
|
|
|
|
2019-02-01 12:53:44 +03:00
|
|
|
if (is_mac && !is_component_build) {
|
|
|
|
ldflags = [
|
|
|
|
"-install_name",
|
|
|
|
"@rpath/${target_name}.dylib",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2018-11-28 21:44:48 +03:00
|
|
|
sources = [
|
|
|
|
"src/feature_support_util/feature_support_util.cpp",
|
|
|
|
"src/feature_support_util/feature_support_util.h",
|
|
|
|
]
|
2019-01-16 02:33:42 +03:00
|
|
|
|
2018-11-28 21:44:48 +03:00
|
|
|
deps = [
|
|
|
|
":angle_gpu_info_util",
|
2019-01-28 17:55:20 +03:00
|
|
|
"${angle_jsoncpp_dir}:jsoncpp",
|
2018-11-28 21:44:48 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:24:22 +03:00
|
|
|
if (!is_component_build && is_android && symbol_level != 0) {
|
|
|
|
action_foreach("compressed_symbols") {
|
2019-01-03 22:40:13 +03:00
|
|
|
sources = []
|
|
|
|
foreach(_library, angle_libraries) {
|
|
|
|
sources += [ "${root_out_dir}/lib${_library}${angle_libs_suffix}.so" ]
|
|
|
|
}
|
|
|
|
if (angle_enable_vulkan_validation_layers) {
|
|
|
|
foreach(_layer, vulkan_validation_layers) {
|
|
|
|
sources += [ "${root_out_dir}/lib${_layer}.so" ]
|
|
|
|
}
|
|
|
|
}
|
2019-01-03 23:24:22 +03:00
|
|
|
|
|
|
|
script = rebase_path("${root_build_dir}/android/compress_symbols.py",
|
|
|
|
root_build_dir)
|
|
|
|
|
2019-01-03 22:40:13 +03:00
|
|
|
deps = []
|
|
|
|
foreach(_library, angle_libraries) {
|
|
|
|
deps += [ "${angle_root}:lib${_library}${angle_libs_suffix}" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
if (angle_enable_vulkan_validation_layers) {
|
|
|
|
foreach(_layer, vulkan_validation_layers) {
|
2019-01-16 02:33:42 +03:00
|
|
|
deps +=
|
|
|
|
[ "${angle_root}/third_party/vulkan-validation-layers:${_layer}" ]
|
2019-01-03 22:40:13 +03:00
|
|
|
}
|
|
|
|
}
|
2019-01-03 23:24:22 +03:00
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"$root_out_dir/lib.compressed/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
|
|
|
|
android_nm = "${android_tool_prefix}nm"
|
|
|
|
|
|
|
|
args = [
|
|
|
|
"--objcopy",
|
|
|
|
rebase_path(android_objcopy, root_build_dir),
|
|
|
|
"--nm",
|
|
|
|
rebase_path(android_nm, root_build_dir),
|
|
|
|
"--sofile",
|
|
|
|
"{{source}}",
|
|
|
|
"--unstrippedsofile",
|
|
|
|
"{{source_dir}}/lib.unstripped/{{source_file_part}}",
|
|
|
|
"--output",
|
|
|
|
"{{source_dir}}/lib.compressed/{{source_file_part}}",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-13 03:06:47 +03:00
|
|
|
if (!is_component_build && is_android &&
|
|
|
|
current_toolchain == default_toolchain) {
|
2018-04-13 02:06:48 +03:00
|
|
|
# Package ANGLE libraries for pre-installed system image
|
2018-12-01 02:24:11 +03:00
|
|
|
angle_apk("aosp_apk") {
|
|
|
|
package_name = "com.android.angle"
|
Reland "Create Container ANGLE APK"
This reverts commit 902ceed3998617e97aad25d6b632f9e34dff2644.
Reason for revert:
Re-landing this since the Chromium build fix has landed:
https://bugs.chromium.org/p/chromium/issues/detail?id=933783#c29
Comment 29 by gbeaty@chromium.org, Today (13 minutes ago)
Tim, you should be able to re-land your change now.
Original change's description:
> Revert "Create Container ANGLE APK"
>
> This reverts commit e82c857d38549da44de2c055e9e677a368e8793f.
>
> Reason for revert:
> This is breaking the ANGLE build in the Chromium build process:
>
> https://bugs.chromium.org/p/chromium/issues/detail?id=933783#c6
>
> Original change's description:
> > Create Container ANGLE APK
> >
> > The ANGLE APK needs to be reverted back to just being a container
> > for the ANGLE shared object libraries, since the rest of the APK
> > contents are in the Android source tree.
> >
> > Bug: angleproject:3154
> > Test: 'adb sync' the APK on to a device
> > Change-Id: Id245f1e3d269c71054d9759e8ba8be0532afe659
> > Reviewed-on: https://chromium-review.googlesource.com/c/1474341
> > Commit-Queue: Tim Van Patten <timvp@google.com>
> > Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
>
> TBR=ynovikov@chromium.org,jmadill@google.com,cnorthrop@google.com,courtneygo@google.com,timvp@google.com
>
> Change-Id: I71a739faa2052a707a06bce616ab43a621d5a4ff
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: angleproject:3154
> Reviewed-on: https://chromium-review.googlesource.com/c/1478333
> Reviewed-by: Tim Van Patten <timvp@google.com>
> Commit-Queue: Tim Van Patten <timvp@google.com>
TBR=ynovikov@chromium.org,jmadill@google.com,cnorthrop@google.com,courtneygo@google.com,timvp@google.com
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: angleproject:3154
Change-Id: If3a9abfb1c00aab3278437a233bef29d5febe5a5
Reviewed-on: https://chromium-review.googlesource.com/c/1480865
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Tim Van Patten <timvp@google.com>
2019-02-21 22:21:09 +03:00
|
|
|
apk_name = "AngleLibraries"
|
2018-11-29 19:00:08 +03:00
|
|
|
}
|
|
|
|
|
2018-12-01 02:24:11 +03:00
|
|
|
group("angle_apks") {
|
2018-09-05 22:50:35 +03:00
|
|
|
deps = [
|
2018-12-01 02:24:11 +03:00
|
|
|
":aosp_apk",
|
2018-09-05 22:50:35 +03:00
|
|
|
]
|
2018-12-01 02:24:11 +03:00
|
|
|
}
|
2018-04-26 17:05:18 +03:00
|
|
|
|
2018-12-01 02:24:11 +03:00
|
|
|
# Include a temporary target until we update builders to use angle_apks
|
|
|
|
group("angle_apk") {
|
|
|
|
deps = [
|
|
|
|
":angle_apks",
|
2018-04-13 02:06:48 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|