Reformat remaining gn files.
`gn format` recently changed its formatting behavior for deps, source, and a few other elements when they are assigned (with =) single-element lists to be consistent with the formatting of updates (with +=) with single-element. Now that we've rolled in a GN binary with the change, reformat all files so that people don't get presubmit warnings due to this. Most changes have landed by now via `git cl split`. This is what remains after two weeks. Bug: 1041419 Change-Id: Ia813d744e57e5647266a91d4f6c725bf921fb11c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024471 Commit-Queue: Nico Weber <thakis@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#735958}
This commit is contained in:
android_webview/nonembedded
ash/keyboard/ui
buildtools/third_party/libc++abi
chrome
content
gin
google_update
gpu
jingle
media
net/base/registry_controlled_domains
skia
sql
storage/browser
testing
third_party
adobe
flash
afl
android_protobuf
blink
public
devtools_protocol
renderer
byte_buddy
crashpad
decklink
dom_distiller_js
gestures
google_benchmark
google_input_tools
gvr-android-keyboard
hamcrest
hunspell
iaccessible2
iccjpeg
libFuzzer
liblouis
libprotobuf-mutator
libxml
libxslt
microsoft_webauthn
minizip
netty-tcnative
openvr
opus
rnnoise
sudden_motion_sensor
usrsctp
wayland-protocols
zlib
@ -7,9 +7,7 @@ import("//android_webview/variables.gni")
|
||||
import("//build/config/android/rules.gni")
|
||||
|
||||
generate_jni("nonembedded_jni_headers") {
|
||||
sources = [
|
||||
"java/src/org/chromium/android_webview/nonembedded/WebViewApkApplication.java",
|
||||
]
|
||||
sources = [ "java/src/org/chromium/android_webview/nonembedded/WebViewApkApplication.java" ]
|
||||
}
|
||||
|
||||
# Contains classes needed by the webview apk, but not used when loading the apk
|
||||
@ -94,9 +92,7 @@ android_library("services_java") {
|
||||
}
|
||||
|
||||
source_set("nonembedded") {
|
||||
sources = [
|
||||
"webview_apk_application.cc",
|
||||
]
|
||||
sources = [ "webview_apk_application.cc" ]
|
||||
deps = [
|
||||
":nonembedded_jni_headers",
|
||||
"//android_webview/common",
|
||||
|
@ -75,9 +75,7 @@ jumbo_component("ui") {
|
||||
deps += [ "//ui/ozone" ]
|
||||
}
|
||||
|
||||
data_deps = [
|
||||
":resources",
|
||||
]
|
||||
data_deps = [ ":resources" ]
|
||||
}
|
||||
|
||||
static_library("test_support") {
|
||||
@ -120,21 +118,13 @@ grit("resources_grit") {
|
||||
"inputview_gen_js=" + rebase_path(inputview_gen_js, root_build_dir),
|
||||
]
|
||||
|
||||
deps = [
|
||||
":inputview",
|
||||
]
|
||||
deps = [ ":inputview" ]
|
||||
}
|
||||
|
||||
copy("resources") {
|
||||
sources = [
|
||||
"$target_gen_dir/keyboard_resources.pak",
|
||||
]
|
||||
outputs = [
|
||||
"$root_out_dir/keyboard_resources.pak",
|
||||
]
|
||||
public_deps = [
|
||||
":resources_grit",
|
||||
]
|
||||
sources = [ "$target_gen_dir/keyboard_resources.pak" ]
|
||||
outputs = [ "$root_out_dir/keyboard_resources.pak" ]
|
||||
public_deps = [ ":resources_grit" ]
|
||||
}
|
||||
|
||||
build_closure("inputview") {
|
||||
@ -179,9 +169,7 @@ test("keyboard_unittests") {
|
||||
"//ui/wm",
|
||||
]
|
||||
|
||||
data_deps = [
|
||||
"//ui/resources:ui_test_pak_data",
|
||||
]
|
||||
data_deps = [ "//ui/resources:ui_test_pak_data" ]
|
||||
|
||||
if (use_ozone) {
|
||||
deps += [ "//ui/ozone" ]
|
||||
|
4
buildtools/third_party/libc++abi/BUILD.gn
vendored
4
buildtools/third_party/libc++abi/BUILD.gn
vendored
@ -15,9 +15,7 @@ source_set("libc++abi") {
|
||||
# unwinding symbols, unlike Linux does with glibc. Build and link against
|
||||
# libunwind manually to get this functionality.
|
||||
if (is_fuchsia) {
|
||||
deps = [
|
||||
"//buildtools/third_party/libunwind",
|
||||
]
|
||||
deps = [ "//buildtools/third_party/libunwind" ]
|
||||
}
|
||||
|
||||
sources = [
|
||||
|
@ -487,8 +487,9 @@ template("monochrome_public_common_apk_or_module_tmpl") {
|
||||
[ "//chrome/android:libmonochrome_64($_hwasan_toolchain)" ]
|
||||
|
||||
if (use_chromium_linker) {
|
||||
shared_libraries +=
|
||||
[ "//base/android/linker:chromium_android_linker($_hwasan_toolchain)" ]
|
||||
shared_libraries += [
|
||||
"//base/android/linker:chromium_android_linker($_hwasan_toolchain)",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -518,9 +518,7 @@ test("vr_common_unittests") {
|
||||
]
|
||||
}
|
||||
if (is_win) {
|
||||
configs += [
|
||||
"//build/config/win:delayloads",
|
||||
]
|
||||
configs += [ "//build/config/win:delayloads" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,5 @@
|
||||
import("//third_party/protobuf/proto_library.gni")
|
||||
|
||||
proto_library("background_sync_proto") {
|
||||
sources = [
|
||||
"background_sync.proto",
|
||||
]
|
||||
sources = [ "background_sync.proto" ]
|
||||
}
|
||||
|
@ -5,7 +5,5 @@
|
||||
import("//third_party/protobuf/proto_library.gni")
|
||||
|
||||
proto_library("cookie_store_proto") {
|
||||
sources = [
|
||||
"cookie_change_subscriptions.proto",
|
||||
]
|
||||
sources = [ "cookie_change_subscriptions.proto" ]
|
||||
}
|
||||
|
@ -5,7 +5,5 @@
|
||||
import("//third_party/protobuf/proto_library.gni")
|
||||
|
||||
proto_library("payment_app_proto") {
|
||||
sources = [
|
||||
"payment_app.proto",
|
||||
]
|
||||
sources = [ "payment_app.proto" ]
|
||||
}
|
||||
|
@ -178,8 +178,6 @@ target(link_target_type, "child") {
|
||||
group("for_content_tests") {
|
||||
visibility = [ "//content/test/*" ]
|
||||
if (!is_component_build) {
|
||||
public_deps = [
|
||||
":child",
|
||||
]
|
||||
public_deps = [ ":child" ]
|
||||
}
|
||||
}
|
||||
|
@ -39,9 +39,7 @@ shared_library("libcontent_shell_content_view") {
|
||||
"//media/midi",
|
||||
]
|
||||
}
|
||||
sources = [
|
||||
"shell_library_loader.cc",
|
||||
]
|
||||
sources = [ "shell_library_loader.cc" ]
|
||||
configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
|
||||
configs += [ "//build/config/android:hide_all_but_jni" ]
|
||||
}
|
||||
@ -55,9 +53,7 @@ shared_library("libcontent_native_test") {
|
||||
"//content/shell:content_shell_lib",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"shell_test_library_loader.cc",
|
||||
]
|
||||
sources = [ "shell_test_library_loader.cc" ]
|
||||
configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
|
||||
configs += [ "//build/config/android:hide_all_but_jni" ]
|
||||
}
|
||||
@ -114,9 +110,7 @@ jinja_template("content_shell_test_manifest") {
|
||||
android_resources("content_shell_apk_resources") {
|
||||
testonly = true
|
||||
resource_dirs = [ "shell_apk/res" ]
|
||||
deps = [
|
||||
":content_shell_java_resources",
|
||||
]
|
||||
deps = [ ":content_shell_java_resources" ]
|
||||
custom_package = "org.chromium.content_shell_apk"
|
||||
}
|
||||
|
||||
@ -151,16 +145,13 @@ android_library("content_shell_apk_java") {
|
||||
|
||||
android_aidl("content_javatests_aidl") {
|
||||
import_include = [ "shell_apk/src" ]
|
||||
sources = [
|
||||
"shell_apk/src/org/chromium/content_shell_apk/IChildProcessTest.aidl",
|
||||
]
|
||||
sources =
|
||||
[ "shell_apk/src/org/chromium/content_shell_apk/IChildProcessTest.aidl" ]
|
||||
}
|
||||
|
||||
android_assets("content_shell_assets") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"$root_out_dir/content_shell.pak",
|
||||
]
|
||||
sources = [ "$root_out_dir/content_shell.pak" ]
|
||||
disable_compression = true
|
||||
deps = [
|
||||
"//content/shell:pak",
|
||||
@ -223,9 +214,7 @@ content_shell_apk_tmpl("content_shell_test_apk") {
|
||||
"//net/android:net_javatests",
|
||||
"//third_party/android_support_test_runner:runner_java",
|
||||
]
|
||||
data_deps = [
|
||||
"//testing/buildbot/filters:content_shell_test_apk_filters",
|
||||
]
|
||||
data_deps = [ "//testing/buildbot/filters:content_shell_test_apk_filters" ]
|
||||
if (enable_chrome_android_internal) {
|
||||
data_deps += [ "//clank/build/bot/filters:content_shell_test_apk_filters" ]
|
||||
}
|
||||
@ -351,9 +340,7 @@ if (current_cpu != "x64") {
|
||||
|
||||
generate_jni("linker_test_jni_headers") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java",
|
||||
]
|
||||
sources = [ "linker_test_apk/src/org/chromium/chromium_linker_test_apk/LinkerTests.java" ]
|
||||
}
|
||||
}
|
||||
|
||||
@ -367,7 +354,5 @@ android_library("content_shell_browsertests_java") {
|
||||
"//third_party/android_deps:com_android_support_support_compat_java",
|
||||
"//ui/android:ui_java",
|
||||
]
|
||||
sources = [
|
||||
"browsertests/src/org/chromium/content_shell/browsertests/ContentShellBrowserTestActivity.java",
|
||||
]
|
||||
sources = [ "browsertests/src/org/chromium/content_shell/browsertests/ContentShellBrowserTestActivity.java" ]
|
||||
}
|
||||
|
16
gin/BUILD.gn
16
gin/BUILD.gn
@ -71,9 +71,7 @@ component("gin") {
|
||||
]
|
||||
|
||||
if (v8_use_external_startup_data) {
|
||||
data = [
|
||||
"$root_out_dir/snapshot_blob.bin",
|
||||
]
|
||||
data = [ "$root_out_dir/snapshot_blob.bin" ]
|
||||
}
|
||||
|
||||
defines = [ "GIN_IMPLEMENTATION" ]
|
||||
@ -82,9 +80,7 @@ component("gin") {
|
||||
"//base",
|
||||
"//v8",
|
||||
]
|
||||
deps = [
|
||||
"//base/third_party/dynamic_annotations",
|
||||
]
|
||||
deps = [ "//base/third_party/dynamic_annotations" ]
|
||||
|
||||
if (is_mac) {
|
||||
libs = [ "CoreFoundation.framework" ]
|
||||
@ -94,9 +90,7 @@ component("gin") {
|
||||
}
|
||||
|
||||
executable("gin_shell") {
|
||||
sources = [
|
||||
"shell/gin_main.cc",
|
||||
]
|
||||
sources = [ "shell/gin_main.cc" ]
|
||||
|
||||
deps = [
|
||||
":gin",
|
||||
@ -157,9 +151,7 @@ test("gin_unittests") {
|
||||
"//v8:external_startup_data",
|
||||
]
|
||||
|
||||
data_deps = [
|
||||
"//tools/v8_context_snapshot:v8_context_snapshot",
|
||||
]
|
||||
data_deps = [ "//tools/v8_context_snapshot:v8_context_snapshot" ]
|
||||
data = []
|
||||
|
||||
# gin_shell is not an Android app.
|
||||
|
@ -5,7 +5,5 @@
|
||||
import("//build/toolchain/win/midl.gni")
|
||||
|
||||
midl("google_update") {
|
||||
sources = [
|
||||
"google_update_idl.idl",
|
||||
]
|
||||
sources = [ "google_update_idl.idl" ]
|
||||
}
|
||||
|
56
gpu/BUILD.gn
56
gpu/BUILD.gn
@ -70,15 +70,11 @@ component("gles2") {
|
||||
}
|
||||
|
||||
component("raster") {
|
||||
public_deps = [
|
||||
"//gpu/command_buffer/client:raster_sources",
|
||||
]
|
||||
public_deps = [ "//gpu/command_buffer/client:raster_sources" ]
|
||||
}
|
||||
|
||||
component("webgpu") {
|
||||
public_deps = [
|
||||
"//gpu/command_buffer/client:webgpu_sources",
|
||||
]
|
||||
public_deps = [ "//gpu/command_buffer/client:webgpu_sources" ]
|
||||
}
|
||||
|
||||
if (!use_static_angle) {
|
||||
@ -221,14 +217,10 @@ jumbo_static_library("test_support") {
|
||||
|
||||
if (!is_android && !is_fuchsia && !is_chromeos) {
|
||||
proto_library("gl_lpm_fuzzer_proto") {
|
||||
sources = [
|
||||
"command_buffer/tests/lpm/gl_lpm_fuzzer.proto",
|
||||
]
|
||||
sources = [ "command_buffer/tests/lpm/gl_lpm_fuzzer.proto" ]
|
||||
|
||||
use_protobuf_full = true
|
||||
deps = [
|
||||
"//third_party/protobuf:protobuf_full",
|
||||
]
|
||||
deps = [ "//third_party/protobuf:protobuf_full" ]
|
||||
}
|
||||
|
||||
static_library("gl_lpm_shader_to_string") {
|
||||
@ -244,9 +236,7 @@ if (!is_android && !is_fuchsia && !is_chromeos) {
|
||||
}
|
||||
|
||||
test("gl_lpm_shader_to_string_unittest") {
|
||||
sources = [
|
||||
"command_buffer/tests/lpm/gl_lpm_shader_to_string_unittest.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/lpm/gl_lpm_shader_to_string_unittest.cc" ]
|
||||
|
||||
deps = [
|
||||
":gl_lpm_shader_to_string",
|
||||
@ -430,9 +420,7 @@ test("gl_tests") {
|
||||
]
|
||||
}
|
||||
|
||||
data_deps = [
|
||||
"//testing/buildbot/filters:gl_tests_filters",
|
||||
]
|
||||
data_deps = [ "//testing/buildbot/filters:gl_tests_filters" ]
|
||||
}
|
||||
|
||||
test("gpu_unittests") {
|
||||
@ -752,9 +740,7 @@ test("command_buffer_perftests") {
|
||||
}
|
||||
|
||||
fuzzer_test("gpu_fuzzer") {
|
||||
sources = [
|
||||
"command_buffer/tests/fuzzer_main.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/fuzzer_main.cc" ]
|
||||
|
||||
deps = [
|
||||
":gles2",
|
||||
@ -772,9 +758,7 @@ fuzzer_test("gpu_fuzzer") {
|
||||
|
||||
if (is_linux) {
|
||||
fuzzer_test("gpu_angle_fuzzer") {
|
||||
sources = [
|
||||
"command_buffer/tests/fuzzer_main.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/fuzzer_main.cc" ]
|
||||
|
||||
defines = [ "GPU_FUZZER_USE_ANGLE" ]
|
||||
|
||||
@ -792,9 +776,7 @@ if (is_linux) {
|
||||
}
|
||||
|
||||
fuzzer_test("gpu_angle_passthrough_fuzzer") {
|
||||
sources = [
|
||||
"command_buffer/tests/fuzzer_main.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/fuzzer_main.cc" ]
|
||||
|
||||
defines = [
|
||||
"GPU_FUZZER_USE_ANGLE",
|
||||
@ -815,9 +797,7 @@ if (is_linux) {
|
||||
}
|
||||
|
||||
fuzzer_test("gpu_swiftshader_fuzzer") {
|
||||
sources = [
|
||||
"command_buffer/tests/fuzzer_main.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/fuzzer_main.cc" ]
|
||||
|
||||
defines = [ "GPU_FUZZER_USE_SWIFTSHADER" ]
|
||||
|
||||
@ -835,9 +815,7 @@ if (is_linux) {
|
||||
}
|
||||
|
||||
fuzzer_test("gpu_raster_fuzzer") {
|
||||
sources = [
|
||||
"command_buffer/tests/fuzzer_main.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/fuzzer_main.cc" ]
|
||||
|
||||
defines = [ "GPU_FUZZER_USE_RASTER_DECODER" ]
|
||||
|
||||
@ -855,9 +833,7 @@ if (is_linux) {
|
||||
}
|
||||
|
||||
fuzzer_test("gpu_raster_passthrough_fuzzer") {
|
||||
sources = [
|
||||
"command_buffer/tests/fuzzer_main.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/fuzzer_main.cc" ]
|
||||
|
||||
defines = [
|
||||
"GPU_FUZZER_USE_ANGLE",
|
||||
@ -879,9 +855,7 @@ if (is_linux) {
|
||||
}
|
||||
|
||||
fuzzer_test("gpu_raster_swiftshader_fuzzer") {
|
||||
sources = [
|
||||
"command_buffer/tests/fuzzer_main.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/fuzzer_main.cc" ]
|
||||
|
||||
defines = [
|
||||
"GPU_FUZZER_USE_RASTER_DECODER",
|
||||
@ -902,9 +876,7 @@ if (is_linux) {
|
||||
}
|
||||
|
||||
fuzzer_test("gpu_raster_angle_fuzzer") {
|
||||
sources = [
|
||||
"command_buffer/tests/fuzzer_main.cc",
|
||||
]
|
||||
sources = [ "command_buffer/tests/fuzzer_main.cc" ]
|
||||
|
||||
defines = [
|
||||
"GPU_FUZZER_USE_RASTER_DECODER",
|
||||
|
@ -82,18 +82,14 @@ if (internal_gles2_conform_tests) {
|
||||
}
|
||||
action("generate_gles2_conform_tests") {
|
||||
script = "generate_gles2_conform_tests.py"
|
||||
outputs = [
|
||||
"$target_gen_dir/gles2_conform_test_autogen.cc",
|
||||
]
|
||||
outputs = [ "$target_gen_dir/gles2_conform_test_autogen.cc" ]
|
||||
args = [ rebase_path("$target_gen_dir") ]
|
||||
}
|
||||
executable("gles2_conform_test_windowless") {
|
||||
testonly = true
|
||||
|
||||
# Include a dummy c++ file to force linking of libstdc++.
|
||||
sources = [
|
||||
"dummy.cc",
|
||||
]
|
||||
sources = [ "dummy.cc" ]
|
||||
|
||||
gtf_source = "//third_party/gles2_conform/GTF_ES/glsl/GTF/Source"
|
||||
sources += [
|
||||
@ -476,14 +472,10 @@ test("gles2_conform_test") {
|
||||
"//testing/gtest",
|
||||
]
|
||||
|
||||
data = [
|
||||
"gles2_conform_test_expectations.txt",
|
||||
]
|
||||
data = [ "gles2_conform_test_expectations.txt" ]
|
||||
|
||||
if (internal_gles2_conform_tests) {
|
||||
data_deps = [
|
||||
":gles2_conform_test_windowless",
|
||||
]
|
||||
data_deps = [ ":gles2_conform_test_windowless" ]
|
||||
deps += [ ":generate_gles2_conform_tests" ]
|
||||
sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ]
|
||||
data += [ "//third_party/gles2_conform/GTF_ES/" ]
|
||||
|
@ -148,9 +148,7 @@ jumbo_component("service") {
|
||||
|
||||
source_set("test_support") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"gpu_memory_buffer_factory_test_template.h",
|
||||
]
|
||||
sources = [ "gpu_memory_buffer_factory_test_template.h" ]
|
||||
public_deps = [
|
||||
":service",
|
||||
"//testing/gtest:gtest",
|
||||
|
@ -13,12 +13,8 @@ if (internal_khronos_glcts_tests) {
|
||||
[ "//third_party/khronos_glcts/GTF_ES/glsl/GTF/mustpass_es20.run" ]
|
||||
|
||||
copy("glcts_resources") {
|
||||
sources = [
|
||||
"//third_party/khronos_glcts/cts/data",
|
||||
]
|
||||
outputs = [
|
||||
"$root_out_dir/khronos_glcts_data/gl_cts/{{source_file_part}}",
|
||||
]
|
||||
sources = [ "//third_party/khronos_glcts/cts/data" ]
|
||||
outputs = [ "$root_out_dir/khronos_glcts_data/gl_cts/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
copy("glcts_gtf_resources") {
|
||||
@ -29,17 +25,14 @@ if (internal_khronos_glcts_tests) {
|
||||
"//third_party/khronos_glcts/GTF_ES/glsl/GTF/GL2Tests",
|
||||
"//third_party/khronos_glcts/GTF_ES/glsl/GTF/GLCoverage",
|
||||
] + glcts_gtf_runfiles
|
||||
outputs = [
|
||||
"$root_out_dir/khronos_glcts_data/gl_cts/GTF/{{source_file_part}}",
|
||||
]
|
||||
outputs =
|
||||
[ "$root_out_dir/khronos_glcts_data/gl_cts/GTF/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
action("generate_khronos_glcts_tests") {
|
||||
script = "generate_khronos_glcts_tests.py"
|
||||
sources = [ "khronos_glcts_test.h" ] + glcts_gtf_runfiles
|
||||
outputs = [
|
||||
"$target_gen_dir/khronos_glcts_test_autogen.cc",
|
||||
]
|
||||
outputs = [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ]
|
||||
args = [ "--outdir=" + rebase_path("$target_gen_dir") ] + glcts_gtf_runfiles
|
||||
}
|
||||
|
||||
@ -118,9 +111,7 @@ if (internal_khronos_glcts_tests) {
|
||||
"//third_party/khronos_glcts/framework/delibs/depool/dePoolTest.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":debase",
|
||||
]
|
||||
deps = [ ":debase" ]
|
||||
|
||||
configs += [ ":defaults_config" ]
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
@ -146,9 +137,7 @@ if (internal_khronos_glcts_tests) {
|
||||
"//third_party/khronos_glcts/framework/delibs/dethread/deThreadTest.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":debase",
|
||||
]
|
||||
deps = [ ":debase" ]
|
||||
|
||||
configs += [ ":defaults_config" ]
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
@ -390,9 +379,7 @@ if (internal_khronos_glcts_tests) {
|
||||
"//third_party/libpng:libpng",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
":qphelper",
|
||||
]
|
||||
public_deps = [ ":qphelper" ]
|
||||
|
||||
include_dirs = [ "//third_party/khronos_glcts/framework/delibs/libpng" ] #png.hpp
|
||||
|
||||
@ -485,9 +472,7 @@ if (internal_khronos_glcts_tests) {
|
||||
"//third_party/khronos_glcts/framework/opengl/gluVarTypeUtil.hpp",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
":glwrapper",
|
||||
]
|
||||
public_deps = [ ":glwrapper" ]
|
||||
|
||||
deps = [
|
||||
":delibs",
|
||||
@ -884,9 +869,7 @@ if (internal_khronos_glcts_tests) {
|
||||
"//third_party/khronos_glcts/cts/gles2/es2cTestPackage.hpp",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
":glcts_common",
|
||||
]
|
||||
public_deps = [ ":glcts_common" ]
|
||||
|
||||
deps = [
|
||||
":delibs",
|
||||
@ -907,13 +890,9 @@ if (internal_khronos_glcts_tests) {
|
||||
}
|
||||
|
||||
source_set("tcutil_platform_windowless") {
|
||||
sources = [
|
||||
"native/egl_native_windowless.cc",
|
||||
]
|
||||
sources = [ "native/egl_native_windowless.cc" ]
|
||||
|
||||
deps = [
|
||||
":khronos_glcts_framework",
|
||||
]
|
||||
deps = [ ":khronos_glcts_framework" ]
|
||||
|
||||
configs -= [ "//build/config/compiler:no_rtti" ]
|
||||
configs += [ "//build/config/compiler:rtti" ]
|
||||
@ -956,9 +935,7 @@ if (!is_android) {
|
||||
"//testing/gtest",
|
||||
]
|
||||
|
||||
data = [
|
||||
"khronos_glcts_test_expectations.txt",
|
||||
]
|
||||
data = [ "khronos_glcts_test_expectations.txt" ]
|
||||
|
||||
if (internal_khronos_glcts_tests) {
|
||||
sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ]
|
||||
|
@ -28,9 +28,7 @@ static_library("jingle_glue") {
|
||||
"glue/task_pump.cc",
|
||||
"glue/task_pump.h",
|
||||
]
|
||||
public_deps = [
|
||||
"//services/network/public/mojom",
|
||||
]
|
||||
public_deps = [ "//services/network/public/mojom" ]
|
||||
deps = [
|
||||
"//base",
|
||||
"//net",
|
||||
|
@ -30,9 +30,7 @@ source_set("android") {
|
||||
}
|
||||
|
||||
generate_jni("screen_capture_jni_headers") {
|
||||
sources = [
|
||||
"java/src/org/chromium/media/ScreenCapture.java",
|
||||
]
|
||||
sources = [ "java/src/org/chromium/media/ScreenCapture.java" ]
|
||||
}
|
||||
|
||||
android_library("screen_capture_java") {
|
||||
@ -40,8 +38,6 @@ android_library("screen_capture_java") {
|
||||
"//base:base_java",
|
||||
"//base:jni_java",
|
||||
]
|
||||
sources = [
|
||||
"java/src/org/chromium/media/ScreenCapture.java",
|
||||
]
|
||||
sources = [ "java/src/org/chromium/media/ScreenCapture.java" ]
|
||||
annotation_processor_deps = [ "//base/android/jni_generator:jni_processor" ]
|
||||
}
|
||||
|
@ -25,9 +25,7 @@ source_set("helpers") {
|
||||
"//mojo/core/embedder:embedder",
|
||||
"//third_party/libyuv",
|
||||
]
|
||||
public_deps = [
|
||||
"//testing/gtest",
|
||||
]
|
||||
public_deps = [ "//testing/gtest" ]
|
||||
|
||||
if (use_ozone) {
|
||||
deps += [ "//ui/ozone" ]
|
||||
@ -69,9 +67,7 @@ source_set("decode_helpers") {
|
||||
"video_decode_accelerator_unittest_helpers.cc",
|
||||
"video_decode_accelerator_unittest_helpers.h",
|
||||
]
|
||||
public_deps = [
|
||||
":helpers",
|
||||
]
|
||||
public_deps = [ ":helpers" ]
|
||||
deps = [
|
||||
"//media/gpu",
|
||||
"//testing/gtest",
|
||||
@ -126,9 +122,7 @@ static_library("video_player_test_environment") {
|
||||
"video_player/video_player_test_environment.cc",
|
||||
"video_player/video_player_test_environment.h",
|
||||
]
|
||||
data = [
|
||||
"//media/test/data/",
|
||||
]
|
||||
data = [ "//media/test/data/" ]
|
||||
deps = [
|
||||
":frame_file_writer",
|
||||
":helpers",
|
||||
@ -152,9 +146,7 @@ if (use_vaapi || use_v4l2_codec) {
|
||||
"//testing/gtest",
|
||||
"//third_party/libyuv",
|
||||
]
|
||||
data = [
|
||||
"//media/test/data/",
|
||||
]
|
||||
data = [ "//media/test/data/" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -58,8 +58,6 @@ source_set("unit_tests") {
|
||||
"//testing/gtest",
|
||||
"//third_party/webrtc_overrides:webrtc_component",
|
||||
]
|
||||
sources = [
|
||||
"audio_processor_unittest.cc",
|
||||
]
|
||||
sources = [ "audio_processor_unittest.cc" ]
|
||||
}
|
||||
}
|
||||
|
@ -13,9 +13,7 @@ action_foreach("registry_controlled_domains") {
|
||||
"effective_tld_names_unittest5.gperf",
|
||||
"effective_tld_names_unittest6.gperf",
|
||||
]
|
||||
outputs = [
|
||||
"${target_gen_dir}/{{source_name_part}}-inc.cc",
|
||||
]
|
||||
outputs = [ "${target_gen_dir}/{{source_name_part}}-inc.cc" ]
|
||||
args = [
|
||||
"{{source}}",
|
||||
rebase_path("${target_gen_dir}/{{source_name_part}}-inc.cc",
|
||||
|
@ -223,9 +223,7 @@ source_set("skcms") {
|
||||
cflags += [ "-mfp16-format=ieee" ]
|
||||
}
|
||||
|
||||
public = [
|
||||
"//third_party/skia/include/third_party/skcms/skcms.h",
|
||||
]
|
||||
public = [ "//third_party/skia/include/third_party/skcms/skcms.h" ]
|
||||
include_dirs = [ "//third_party/skia/include/third_party/skcms" ]
|
||||
sources =
|
||||
rebase_path(skcms_sources, ".", "//third_party/skia/third_party/skcms")
|
||||
@ -660,9 +658,7 @@ skia_source_set("skia_core_and_effects") {
|
||||
sources += skia_effects_sources
|
||||
sources += skia_effects_imagefilter_sources
|
||||
if (skia_support_gpu) {
|
||||
deps = [
|
||||
"//gpu/config:workaround_list",
|
||||
]
|
||||
deps = [ "//gpu/config:workaround_list" ]
|
||||
}
|
||||
if (skia_use_dawn) {
|
||||
deps += [ "//third_party/dawn/src/dawn:dawncpp_headers" ]
|
||||
@ -742,9 +738,7 @@ skia_source_set("skia_opts") {
|
||||
cflags = []
|
||||
defines = []
|
||||
|
||||
deps = [
|
||||
"//base",
|
||||
]
|
||||
deps = [ "//base" ]
|
||||
|
||||
if (current_cpu == "x86" || current_cpu == "x64") {
|
||||
sources = skia_opts.sse2_sources
|
||||
@ -811,9 +805,7 @@ if (is_mac) {
|
||||
"-Wno-unguarded-availability",
|
||||
"-fobjc-arc",
|
||||
]
|
||||
deps = [
|
||||
"//gpu/config:workaround_list",
|
||||
]
|
||||
deps = [ "//gpu/config:workaround_list" ]
|
||||
if (skia_use_dawn) {
|
||||
deps += [ "//third_party/dawn/src/dawn:dawncpp_headers" ]
|
||||
}
|
||||
@ -827,35 +819,25 @@ if (is_android) {
|
||||
"ext/data/test_fonts/android_fallback_fonts.xml",
|
||||
"ext/data/test_fonts/android_main_fonts.xml",
|
||||
]
|
||||
outputs = [
|
||||
"$root_out_dir/test_fonts/{{source_file_part}}",
|
||||
]
|
||||
outputs = [ "$root_out_dir/test_fonts/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
if (is_fuchsia) {
|
||||
copy("copy_fuchsia_fonts_manifest") {
|
||||
sources = [
|
||||
"ext/data/test_fonts/fuchsia_test_fonts_manifest.json",
|
||||
]
|
||||
outputs = [
|
||||
"$root_out_dir/test_fonts/{{source_file_part}}",
|
||||
]
|
||||
sources = [ "ext/data/test_fonts/fuchsia_test_fonts_manifest.json" ]
|
||||
outputs = [ "$root_out_dir/test_fonts/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
if (is_mac || is_ios) {
|
||||
bundle_data("test_fonts_bundle_data") {
|
||||
public_deps = [
|
||||
"//third_party/test_fonts",
|
||||
]
|
||||
public_deps = [ "//third_party/test_fonts" ]
|
||||
|
||||
sources = [
|
||||
"$root_out_dir/test_fonts/Ahem.ttf",
|
||||
"ext/data/test_fonts/ChromiumAATTest.ttf",
|
||||
]
|
||||
|
||||
outputs = [
|
||||
"{{bundle_resources_dir}}/{{source_file_part}}",
|
||||
]
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
||||
@ -884,9 +866,7 @@ group("test_fonts_resources") {
|
||||
source_set("test_fonts") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"ext/test_fonts.h",
|
||||
]
|
||||
sources = [ "ext/test_fonts.h" ]
|
||||
deps = [
|
||||
":test_fonts_resources",
|
||||
"//base/test:test_support",
|
||||
@ -958,9 +938,7 @@ test("skia_unittests") {
|
||||
"//third_party/fuchsia-sdk/sdk:fuchsia-fonts",
|
||||
"//third_party/test_fonts",
|
||||
]
|
||||
data_deps = [
|
||||
"//third_party/test_fonts",
|
||||
]
|
||||
data_deps = [ "//third_party/test_fonts" ]
|
||||
}
|
||||
|
||||
if (skia_support_skottie) {
|
||||
@ -970,9 +948,7 @@ test("skia_unittests") {
|
||||
|
||||
if (!is_ios) {
|
||||
executable("image_operations_bench") {
|
||||
sources = [
|
||||
"ext/image_operations_bench.cc",
|
||||
]
|
||||
sources = [ "ext/image_operations_bench.cc" ]
|
||||
|
||||
deps = [
|
||||
":skia",
|
||||
@ -983,9 +959,7 @@ if (!is_ios) {
|
||||
|
||||
executable("filter_fuzz_stub") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"tools/filter_fuzz_stub/filter_fuzz_stub.cc",
|
||||
]
|
||||
sources = [ "tools/filter_fuzz_stub/filter_fuzz_stub.cc" ]
|
||||
|
||||
deps = [
|
||||
":skia",
|
||||
@ -997,7 +971,5 @@ if (!is_ios) {
|
||||
}
|
||||
|
||||
group("fuzzers") {
|
||||
deps = [
|
||||
"//skia/tools/fuzzers",
|
||||
]
|
||||
deps = [ "//skia/tools/fuzzers" ]
|
||||
}
|
||||
|
@ -36,18 +36,12 @@ mojom("mojom") {
|
||||
"skcolor.mojom",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//mojo/public/mojom/base",
|
||||
]
|
||||
public_deps = [ "//mojo/public/mojom/base" ]
|
||||
}
|
||||
|
||||
mojom("test_interfaces") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"test/traits_test_service.mojom",
|
||||
]
|
||||
sources = [ "test/traits_test_service.mojom" ]
|
||||
|
||||
public_deps = [
|
||||
":mojom",
|
||||
]
|
||||
public_deps = [ ":mojom" ]
|
||||
}
|
||||
|
@ -20,23 +20,15 @@ if (is_win && use_libfuzzer) {
|
||||
|
||||
# Use public_deps and public_configs so each fuzzer_test doesn't need to
|
||||
# explicitly depend on "//skia" and "//skia:skia_library_config".
|
||||
public_deps = [
|
||||
"//skia",
|
||||
]
|
||||
public_deps = [ "//skia" ]
|
||||
public_configs = [ "//skia:skia_library_config" ]
|
||||
deps = [
|
||||
"//base/test:test_support",
|
||||
]
|
||||
deps = [ "//base/test:test_support" ]
|
||||
}
|
||||
|
||||
static_library("skia_encoder_fuzzer_lib") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/FuzzEncoders.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/FuzzEncoders.cpp" ]
|
||||
configs += [ "//skia:skia_library_config" ]
|
||||
deps = [
|
||||
"//skia",
|
||||
]
|
||||
deps = [ "//skia" ]
|
||||
}
|
||||
|
||||
config("skia_test_fonts_includes_config") {
|
||||
@ -55,26 +47,19 @@ if (is_win && use_libfuzzer) {
|
||||
configs += [ "//skia:skia_library_config" ]
|
||||
|
||||
public_configs = [ ":skia_test_fonts_includes_config" ]
|
||||
deps = [
|
||||
"//skia",
|
||||
]
|
||||
deps = [ "//skia" ]
|
||||
}
|
||||
|
||||
# TODO(metzman): Enable the other fuzzers that cannot yet build in Chromium.
|
||||
fuzzer_test("skia_region_deserialize_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzRegionDeserialize.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzRegionDeserialize.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_fuzzer_sources",
|
||||
]
|
||||
deps = [ ":skia_fuzzer_sources" ]
|
||||
}
|
||||
|
||||
fuzzer_test("skia_image_filter_deserialize_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzImageFilterDeserialize.cpp",
|
||||
]
|
||||
sources =
|
||||
[ "//third_party/skia/fuzz/oss_fuzz/FuzzImageFilterDeserialize.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_fuzzer_sources",
|
||||
@ -83,19 +68,13 @@ if (is_win && use_libfuzzer) {
|
||||
}
|
||||
|
||||
fuzzer_test("skia_region_set_path_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzRegionSetPath.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzRegionSetPath.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_fuzzer_sources",
|
||||
]
|
||||
deps = [ ":skia_fuzzer_sources" ]
|
||||
}
|
||||
|
||||
fuzzer_test("skia_textblob_deserialize_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzTextBlobDeserialize.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzTextBlobDeserialize.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_fuzzer_sources",
|
||||
@ -104,29 +83,19 @@ if (is_win && use_libfuzzer) {
|
||||
}
|
||||
|
||||
fuzzer_test("skia_path_deserialize_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzPathDeserialize.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzPathDeserialize.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_fuzzer_sources",
|
||||
]
|
||||
deps = [ ":skia_fuzzer_sources" ]
|
||||
}
|
||||
|
||||
fuzzer_test("skia_image_decode_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzImage.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzImage.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_fuzzer_sources",
|
||||
]
|
||||
deps = [ ":skia_fuzzer_sources" ]
|
||||
}
|
||||
|
||||
fuzzer_test("skia_png_encoder_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzPNGEncoder.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzPNGEncoder.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_encoder_fuzzer_lib",
|
||||
@ -135,9 +104,7 @@ if (is_win && use_libfuzzer) {
|
||||
}
|
||||
|
||||
fuzzer_test("skia_jpeg_encoder_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzJPEGEncoder.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzJPEGEncoder.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_encoder_fuzzer_lib",
|
||||
@ -146,9 +113,7 @@ if (is_win && use_libfuzzer) {
|
||||
}
|
||||
|
||||
fuzzer_test("skia_webp_encoder_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzWEBPEncoder.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzWEBPEncoder.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_encoder_fuzzer_lib",
|
||||
@ -157,22 +122,14 @@ if (is_win && use_libfuzzer) {
|
||||
}
|
||||
|
||||
fuzzer_test("skia_skjson_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzJSON.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzJSON.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_fuzzer_sources",
|
||||
]
|
||||
deps = [ ":skia_fuzzer_sources" ]
|
||||
}
|
||||
|
||||
fuzzer_test("skia_image_decode_incremental_fuzzer") {
|
||||
sources = [
|
||||
"//third_party/skia/fuzz/oss_fuzz/FuzzIncrementalImage.cpp",
|
||||
]
|
||||
sources = [ "//third_party/skia/fuzz/oss_fuzz/FuzzIncrementalImage.cpp" ]
|
||||
defines = [ "IS_FUZZING_WITH_LIBFUZZER" ]
|
||||
deps = [
|
||||
":skia_fuzzer_sources",
|
||||
]
|
||||
deps = [ ":skia_fuzzer_sources" ]
|
||||
}
|
||||
}
|
||||
|
18
sql/BUILD.gn
18
sql/BUILD.gn
@ -87,9 +87,7 @@ static_library("test_support") {
|
||||
"test/test_helpers.h",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
":sql",
|
||||
]
|
||||
public_deps = [ ":sql" ]
|
||||
deps = [
|
||||
"//base",
|
||||
"//testing/gtest",
|
||||
@ -99,13 +97,9 @@ static_library("test_support") {
|
||||
|
||||
bundle_data("sql_unittests_bundle_data") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"test/data/recovery_387868",
|
||||
]
|
||||
outputs = [
|
||||
"{{bundle_resources_dir}}/" +
|
||||
"{{source_root_relative_dir}}/{{source_file_part}}",
|
||||
]
|
||||
sources = [ "test/data/recovery_387868" ]
|
||||
outputs = [ "{{bundle_resources_dir}}/" +
|
||||
"{{source_root_relative_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
test("sql_unittests") {
|
||||
@ -130,9 +124,7 @@ test("sql_unittests") {
|
||||
"transaction_unittest.cc",
|
||||
]
|
||||
|
||||
data = [
|
||||
"test/data/",
|
||||
]
|
||||
data = [ "test/data/" ]
|
||||
|
||||
deps = [
|
||||
":sql",
|
||||
|
@ -6,9 +6,7 @@ import("//mojo/public/tools/bindings/mojom.gni")
|
||||
import("//testing/test.gni")
|
||||
|
||||
mojom("mojom") {
|
||||
sources = [
|
||||
"blob/mojom/blob_storage_context.mojom",
|
||||
]
|
||||
sources = [ "blob/mojom/blob_storage_context.mojom" ]
|
||||
|
||||
public_deps = [
|
||||
"//mojo/public/mojom/base",
|
||||
@ -249,9 +247,7 @@ jumbo_component("browser") {
|
||||
}
|
||||
|
||||
executable("dump_file_system") {
|
||||
sources = [
|
||||
"file_system/dump_file_system.cc",
|
||||
]
|
||||
sources = [ "file_system/dump_file_system.cc" ]
|
||||
|
||||
deps = [
|
||||
":browser",
|
||||
|
@ -4,9 +4,7 @@
|
||||
|
||||
# Used by linux-gcc-rel to ensure gcc doesn't choke on clang-only flags.
|
||||
executable("empty_main") {
|
||||
sources = [
|
||||
"empty_main.cc",
|
||||
]
|
||||
sources = [ "empty_main.cc" ]
|
||||
}
|
||||
|
||||
# Targets needed for isolate script to execute.
|
||||
|
@ -7,7 +7,6 @@ import("//build/config/android/rules.gni")
|
||||
android_library("broker_java") {
|
||||
chromium_code = true
|
||||
|
||||
sources = [
|
||||
"java/src/org/chromium/test/broker/OnDeviceInstrumentationBroker.java",
|
||||
]
|
||||
sources =
|
||||
[ "java/src/org/chromium/test/broker/OnDeviceInstrumentationBroker.java" ]
|
||||
}
|
||||
|
@ -16,7 +16,6 @@ android_apk("driver_apk") {
|
||||
"//testing/android/reporter:reporter_java",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java",
|
||||
]
|
||||
sources =
|
||||
[ "java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java" ]
|
||||
}
|
||||
|
@ -29,16 +29,12 @@ source_set("native_browser_test_support") {
|
||||
"native_browser_test_support.cc",
|
||||
"native_browser_test_support.h",
|
||||
]
|
||||
deps = [
|
||||
":native_browser_test_jni_headers",
|
||||
]
|
||||
deps = [ ":native_browser_test_jni_headers" ]
|
||||
}
|
||||
|
||||
source_set("native_test_native_code") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"native_test_jni_onload.cc",
|
||||
]
|
||||
sources = [ "native_test_jni_onload.cc" ]
|
||||
libs = [ "log" ]
|
||||
deps = [
|
||||
":native_test_support",
|
||||
@ -48,12 +44,8 @@ source_set("native_test_native_code") {
|
||||
|
||||
android_library("native_main_runner_java") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"java/src/org/chromium/native_test/MainRunner.java",
|
||||
]
|
||||
deps = [
|
||||
"//base:base_java",
|
||||
]
|
||||
sources = [ "java/src/org/chromium/native_test/MainRunner.java" ]
|
||||
deps = [ "//base:base_java" ]
|
||||
}
|
||||
|
||||
android_library("native_test_java") {
|
||||
@ -88,7 +80,5 @@ generate_jni("native_test_jni_headers") {
|
||||
|
||||
generate_jni("native_browser_test_jni_headers") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"java/src/org/chromium/native_test/NativeBrowserTest.java",
|
||||
]
|
||||
sources = [ "java/src/org/chromium/native_test/NativeBrowserTest.java" ]
|
||||
}
|
||||
|
@ -14,9 +14,7 @@ source_set("gmock") {
|
||||
"include/gmock/gmock-matchers.h",
|
||||
"include/gmock/gmock.h",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/googletest:gmock",
|
||||
]
|
||||
deps = [ "//third_party/googletest:gmock" ]
|
||||
|
||||
public_configs = [
|
||||
"//third_party/googletest:gmock_config",
|
||||
@ -29,7 +27,5 @@ source_set("gmock") {
|
||||
# into //third_party/googletest.
|
||||
source_set("gmock_main") {
|
||||
testonly = true
|
||||
deps = [
|
||||
"//third_party/googletest:gmock_main",
|
||||
]
|
||||
deps = [ "//third_party/googletest:gmock_main" ]
|
||||
}
|
||||
|
@ -28,9 +28,7 @@ source_set("libfuzzer_main") {
|
||||
# appropriate parameter passing to run the target in an isolate. This
|
||||
# directive makes this script and its dependencies to be included in the
|
||||
# target's isolate.
|
||||
data = [
|
||||
"//tools/code_coverage/",
|
||||
]
|
||||
data = [ "//tools/code_coverage/" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -77,9 +77,7 @@ template("fuzzer_test") {
|
||||
}
|
||||
}
|
||||
|
||||
outputs = [
|
||||
out,
|
||||
]
|
||||
outputs = [ out ]
|
||||
|
||||
deps = [ "//testing/libfuzzer:seed_corpus" ] + seed_corpus_deps
|
||||
}
|
||||
@ -96,12 +94,8 @@ template("fuzzer_test") {
|
||||
if (defined(invoker.dict)) {
|
||||
# Copy dictionary to output.
|
||||
copy(target_name + "_dict_copy") {
|
||||
sources = [
|
||||
invoker.dict,
|
||||
]
|
||||
outputs = [
|
||||
"$root_build_dir/" + target_name + ".dict",
|
||||
]
|
||||
sources = [ invoker.dict ]
|
||||
outputs = [ "$root_build_dir/" + target_name + ".dict" ]
|
||||
}
|
||||
test_deps += [ ":" + target_name + "_dict_copy" ]
|
||||
}
|
||||
@ -148,9 +142,7 @@ template("fuzzer_test") {
|
||||
args += invoker.environment_variables
|
||||
}
|
||||
|
||||
outputs = [
|
||||
"$root_build_dir/$config_file_name",
|
||||
]
|
||||
outputs = [ "$root_build_dir/$config_file_name" ]
|
||||
}
|
||||
test_deps += [ ":" + config_file_name ]
|
||||
}
|
||||
@ -182,9 +174,7 @@ template("fuzzer_test") {
|
||||
] + _full_deps
|
||||
}
|
||||
|
||||
outputs = [
|
||||
"$root_build_dir/$owners_file_name",
|
||||
]
|
||||
outputs = [ "$root_build_dir/$owners_file_name" ]
|
||||
}
|
||||
test_data_deps += [ ":" + owners_file_name ]
|
||||
}
|
||||
|
@ -13,16 +13,12 @@ group("fuzzers") {
|
||||
}
|
||||
|
||||
fuzzer_test("empty_fuzzer") {
|
||||
sources = [
|
||||
"empty_fuzzer.cc",
|
||||
]
|
||||
sources = [ "empty_fuzzer.cc" ]
|
||||
additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ]
|
||||
}
|
||||
|
||||
fuzzer_test("courgette_fuzzer") {
|
||||
sources = [
|
||||
"courgette_fuzzer.cc",
|
||||
]
|
||||
sources = [ "courgette_fuzzer.cc" ]
|
||||
deps = [
|
||||
"//base",
|
||||
"//courgette:courgette_lib",
|
||||
@ -30,9 +26,7 @@ fuzzer_test("courgette_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("language_detection_fuzzer") {
|
||||
sources = [
|
||||
"language_detection_fuzzer.cc",
|
||||
]
|
||||
sources = [ "language_detection_fuzzer.cc" ]
|
||||
deps = [
|
||||
"//base",
|
||||
"//components/translate/core/language_detection:language_detection",
|
||||
@ -40,29 +34,19 @@ fuzzer_test("language_detection_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("snappy_compress_fuzzer") {
|
||||
sources = [
|
||||
"snappy_compress_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/snappy:snappy",
|
||||
]
|
||||
sources = [ "snappy_compress_fuzzer.cc" ]
|
||||
deps = [ "//third_party/snappy:snappy" ]
|
||||
seed_corpus = "//third_party/snappy/src/testdata"
|
||||
}
|
||||
|
||||
fuzzer_test("snappy_uncompress_fuzzer") {
|
||||
sources = [
|
||||
"snappy_uncompress_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/snappy:snappy",
|
||||
]
|
||||
sources = [ "snappy_uncompress_fuzzer.cc" ]
|
||||
deps = [ "//third_party/snappy:snappy" ]
|
||||
seed_corpus = "//third_party/snappy/src/testdata"
|
||||
}
|
||||
|
||||
fuzzer_test("template_url_parser_fuzzer") {
|
||||
sources = [
|
||||
"template_url_parser_fuzzer.cc",
|
||||
]
|
||||
sources = [ "template_url_parser_fuzzer.cc" ]
|
||||
deps = [
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
@ -77,9 +61,7 @@ fuzzer_test("template_url_parser_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("url_parse_proto_fuzzer") {
|
||||
sources = [
|
||||
"url_parse_proto_fuzzer.cc",
|
||||
]
|
||||
sources = [ "url_parse_proto_fuzzer.cc" ]
|
||||
deps = [
|
||||
":url_proto",
|
||||
"//base",
|
||||
@ -90,27 +72,17 @@ fuzzer_test("url_parse_proto_fuzzer") {
|
||||
}
|
||||
|
||||
proto_library("url_proto") {
|
||||
sources = [
|
||||
"url.proto",
|
||||
]
|
||||
sources = [ "url.proto" ]
|
||||
}
|
||||
|
||||
fuzzer_test("usrsctp_fuzzer") {
|
||||
sources = [
|
||||
"usrsctp_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/usrsctp",
|
||||
]
|
||||
sources = [ "usrsctp_fuzzer.cc" ]
|
||||
deps = [ "//third_party/usrsctp" ]
|
||||
}
|
||||
|
||||
fuzzer_test("libsrtp_fuzzer") {
|
||||
sources = [
|
||||
"libsrtp_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/libsrtp",
|
||||
]
|
||||
sources = [ "libsrtp_fuzzer.cc" ]
|
||||
deps = [ "//third_party/libsrtp" ]
|
||||
libfuzzer_options = [ "max_len=1500" ]
|
||||
}
|
||||
|
||||
@ -121,9 +93,7 @@ libpng_seed_corpuses = [
|
||||
]
|
||||
|
||||
fuzzer_test("gfx_png_image_fuzzer") {
|
||||
sources = [
|
||||
"gfx_png_image_fuzzer.cc",
|
||||
]
|
||||
sources = [ "gfx_png_image_fuzzer.cc" ]
|
||||
deps = [
|
||||
"//base",
|
||||
"//ui/gfx",
|
||||
@ -133,20 +103,14 @@ fuzzer_test("gfx_png_image_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("libxml_xml_read_memory_fuzzer") {
|
||||
sources = [
|
||||
"libxml_xml_read_memory_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/libxml:libxml",
|
||||
]
|
||||
sources = [ "libxml_xml_read_memory_fuzzer.cc" ]
|
||||
deps = [ "//third_party/libxml:libxml" ]
|
||||
dict = "//third_party/libxml/fuzz/xml.dict"
|
||||
seed_corpus = "//third_party/libxml/fuzz/seed_corpus"
|
||||
}
|
||||
|
||||
fuzzer_test("libpng_progressive_read_fuzzer") {
|
||||
sources = [
|
||||
"libpng_read_fuzzer.cc",
|
||||
]
|
||||
sources = [ "libpng_read_fuzzer.cc" ]
|
||||
deps = [
|
||||
"//base",
|
||||
"//third_party/libpng",
|
||||
@ -157,9 +121,7 @@ fuzzer_test("libpng_progressive_read_fuzzer") {
|
||||
|
||||
fuzzer_test("v8_script_parser_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:parser_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:parser_fuzzer" ]
|
||||
dict = "dicts/generated/javascript.dict"
|
||||
seed_corpus = "//v8/test/mjsunit/regress/"
|
||||
libfuzzer_options = [ "only_ascii=1" ]
|
||||
@ -168,18 +130,14 @@ fuzzer_test("v8_script_parser_fuzzer") {
|
||||
|
||||
fuzzer_test("v8_json_parser_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:json_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:json_fuzzer" ]
|
||||
dict = "dicts/json.dict"
|
||||
environment_variables = [ "AFL_DRIVER_DONT_DEFER=1" ]
|
||||
}
|
||||
|
||||
fuzzer_test("v8_regexp_parser_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:regexp_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:regexp_fuzzer" ]
|
||||
dict = "dicts/regexp.dict"
|
||||
seed_corpus = "//v8/test/fuzzer/regexp/"
|
||||
libfuzzer_options = [ "max_len=64" ]
|
||||
@ -188,17 +146,13 @@ fuzzer_test("v8_regexp_parser_fuzzer") {
|
||||
|
||||
fuzzer_test("v8_regexp_builtins_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:regexp_builtins_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:regexp_builtins_fuzzer" ]
|
||||
environment_variables = [ "AFL_DRIVER_DONT_DEFER=1" ]
|
||||
}
|
||||
|
||||
fuzzer_test("v8_multi_return_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:multi_return_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:multi_return_fuzzer" ]
|
||||
asan_options = [
|
||||
"allow_user_segv_handler=1",
|
||||
"handle_sigtrap=1",
|
||||
@ -210,9 +164,7 @@ fuzzer_test("v8_multi_return_fuzzer") {
|
||||
|
||||
fuzzer_test("v8_wasm_code_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:wasm_code_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:wasm_code_fuzzer" ]
|
||||
libfuzzer_options = [ "max_len=500" ]
|
||||
asan_options = [
|
||||
"allow_user_segv_handler=1",
|
||||
@ -225,9 +177,7 @@ fuzzer_test("v8_wasm_code_fuzzer") {
|
||||
|
||||
fuzzer_test("v8_wasm_compile_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:wasm_compile_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:wasm_compile_fuzzer" ]
|
||||
libfuzzer_options = [ "max_len=500" ]
|
||||
asan_options = [
|
||||
"allow_user_segv_handler=1",
|
||||
@ -240,9 +190,7 @@ fuzzer_test("v8_wasm_compile_fuzzer") {
|
||||
|
||||
fuzzer_test("v8_wasm_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:wasm_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:wasm_fuzzer" ]
|
||||
dict = "dicts/v8_wasm.dict"
|
||||
seed_corpus = "//v8/test/fuzzer/wasm_corpus/"
|
||||
libfuzzer_options = [ "max_len=500" ]
|
||||
@ -257,9 +205,7 @@ fuzzer_test("v8_wasm_fuzzer") {
|
||||
|
||||
fuzzer_test("v8_wasm_async_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//v8:wasm_async_fuzzer",
|
||||
]
|
||||
deps = [ "//v8:wasm_async_fuzzer" ]
|
||||
dict = "dicts/v8_wasm.dict"
|
||||
seed_corpus = "//v8/test/fuzzer/wasm_corpus/"
|
||||
libfuzzer_options = [ "max_len=500" ]
|
||||
@ -273,20 +219,14 @@ fuzzer_test("v8_wasm_async_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("convert_woff2ttf_fuzzer") {
|
||||
sources = [
|
||||
"convert_woff2ttf_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/woff2:woff2_dec",
|
||||
]
|
||||
sources = [ "convert_woff2ttf_fuzzer.cc" ]
|
||||
deps = [ "//third_party/woff2:woff2_dec" ]
|
||||
seed_corpus = "//testing/libfuzzer/fuzzers/woff2_corpus"
|
||||
libfuzzer_options = [ "max_len=803500" ]
|
||||
}
|
||||
|
||||
fuzzer_test("flatbuffers_verifier_fuzzer") {
|
||||
sources = [
|
||||
"flatbuffers_verifier_fuzzer.cc",
|
||||
]
|
||||
sources = [ "flatbuffers_verifier_fuzzer.cc" ]
|
||||
deps = [
|
||||
"//third_party/flatbuffers",
|
||||
"//third_party/flatbuffers:flatbuffers_samplebuffer",
|
||||
@ -301,9 +241,7 @@ fuzzer_test("skia_path_fuzzer") {
|
||||
"skia_path_common.h",
|
||||
"skia_path_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//skia",
|
||||
]
|
||||
deps = [ "//skia" ]
|
||||
libfuzzer_options = [ "max_len=256" ]
|
||||
if (is_debug) {
|
||||
# Disabled due to crashing on SkASSERT (crbug.com/642750, crbug.com/643275).
|
||||
@ -329,21 +267,15 @@ fuzzer_test("skia_pathop_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("prtime_fuzzer") {
|
||||
sources = [
|
||||
"prtime_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//base",
|
||||
]
|
||||
sources = [ "prtime_fuzzer.cc" ]
|
||||
deps = [ "//base" ]
|
||||
dict = "dicts/prtime.dict"
|
||||
libfuzzer_options = [ "max_len=1024" ]
|
||||
}
|
||||
|
||||
fuzzer_test("angle_translator_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//third_party/angle:translator_fuzzer",
|
||||
]
|
||||
deps = [ "//third_party/angle:translator_fuzzer" ]
|
||||
libfuzzer_options = [ "max_len=1000" ]
|
||||
dict = "dicts/webgl-glsl.dict"
|
||||
}
|
||||
@ -351,28 +283,18 @@ fuzzer_test("angle_translator_fuzzer") {
|
||||
if (target_cpu == "x86" || target_cpu == "x64") {
|
||||
fuzzer_test("swiftshader_vertex_routine_fuzzer") {
|
||||
sources = []
|
||||
deps = [
|
||||
"//third_party/swiftshader:vertex_routine_fuzzer",
|
||||
]
|
||||
deps = [ "//third_party/swiftshader:vertex_routine_fuzzer" ]
|
||||
}
|
||||
}
|
||||
|
||||
fuzzer_test("sha1_fuzzer") {
|
||||
sources = [
|
||||
"sha1_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//base",
|
||||
]
|
||||
sources = [ "sha1_fuzzer.cc" ]
|
||||
deps = [ "//base" ]
|
||||
}
|
||||
|
||||
fuzzer_test("hash_fuzzer") {
|
||||
sources = [
|
||||
"hash_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
"//base",
|
||||
]
|
||||
sources = [ "hash_fuzzer.cc" ]
|
||||
deps = [ "//base" ]
|
||||
}
|
||||
|
||||
action("gen_javascript_parser_proto") {
|
||||
@ -385,9 +307,7 @@ action("gen_javascript_parser_proto") {
|
||||
|
||||
script = "generate_javascript_parser_proto.py"
|
||||
|
||||
sources = [
|
||||
"dicts/javascript_parser_proto.dict",
|
||||
]
|
||||
sources = [ "dicts/javascript_parser_proto.dict" ]
|
||||
|
||||
outputs = [
|
||||
"$target_gen_dir/javascript_parser.proto",
|
||||
@ -399,9 +319,7 @@ action("gen_javascript_parser_proto") {
|
||||
}
|
||||
|
||||
proto_library("javascript_parser_proto") {
|
||||
sources = [
|
||||
"$target_gen_dir/javascript_parser.proto",
|
||||
]
|
||||
sources = [ "$target_gen_dir/javascript_parser.proto" ]
|
||||
proto_deps = [ ":gen_javascript_parser_proto" ]
|
||||
proto_out_dir = ""
|
||||
}
|
||||
@ -422,9 +340,7 @@ fuzzer_test("javascript_parser_proto_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("v8_fully_instrumented_fuzzer") {
|
||||
sources = [
|
||||
"v8_fuzzer.cc",
|
||||
]
|
||||
sources = [ "v8_fuzzer.cc" ]
|
||||
deps = [
|
||||
"//base",
|
||||
"//v8:v8",
|
||||
@ -441,9 +357,7 @@ fuzzer_test("v8_fully_instrumented_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("skia_image_filter_proto_fuzzer") {
|
||||
sources = [
|
||||
"skia_image_filter_proto_fuzzer.cc",
|
||||
]
|
||||
sources = [ "skia_image_filter_proto_fuzzer.cc" ]
|
||||
|
||||
deps = [
|
||||
"//base",
|
||||
@ -456,11 +370,7 @@ fuzzer_test("skia_image_filter_proto_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("libyuv_scale_fuzzer") {
|
||||
sources = [
|
||||
"libyuv_scale_fuzzer.cc",
|
||||
]
|
||||
sources = [ "libyuv_scale_fuzzer.cc" ]
|
||||
|
||||
deps = [
|
||||
"//third_party/libyuv",
|
||||
]
|
||||
deps = [ "//third_party/libyuv" ]
|
||||
}
|
||||
|
@ -6,9 +6,7 @@ import("//third_party/protobuf/proto_library.gni")
|
||||
|
||||
proto_library("proto") {
|
||||
proto_in_dir = "//"
|
||||
sources = [
|
||||
"mach_message.proto",
|
||||
]
|
||||
sources = [ "mach_message.proto" ]
|
||||
}
|
||||
|
||||
source_set("converter") {
|
||||
@ -16,10 +14,6 @@ source_set("converter") {
|
||||
"mach_message_converter.cc",
|
||||
"mach_message_converter.h",
|
||||
]
|
||||
public_deps = [
|
||||
":proto",
|
||||
]
|
||||
deps = [
|
||||
"//base",
|
||||
]
|
||||
public_deps = [ ":proto" ]
|
||||
deps = [ "//base" ]
|
||||
}
|
||||
|
@ -6,9 +6,7 @@ import("//third_party/protobuf/proto_library.gni")
|
||||
|
||||
proto_library("json_proto") {
|
||||
proto_in_dir = "//"
|
||||
sources = [
|
||||
"json.proto",
|
||||
]
|
||||
sources = [ "json.proto" ]
|
||||
}
|
||||
|
||||
source_set("json_proto_converter") {
|
||||
@ -16,9 +14,7 @@ source_set("json_proto_converter") {
|
||||
"json_proto_converter.cc",
|
||||
"json_proto_converter.h",
|
||||
]
|
||||
deps = [
|
||||
":json_proto",
|
||||
]
|
||||
deps = [ ":json_proto" ]
|
||||
}
|
||||
|
||||
static_library("skia_image_filter_converter") {
|
||||
@ -43,7 +39,5 @@ static_library("skia_image_filter_converter") {
|
||||
}
|
||||
}
|
||||
proto_library("skia_image_filter_proto") {
|
||||
sources = [
|
||||
"skia_image_filter.proto",
|
||||
]
|
||||
sources = [ "skia_image_filter.proto" ]
|
||||
}
|
||||
|
@ -4,16 +4,14 @@
|
||||
#
|
||||
# Fuzzing Infrastructure Tests
|
||||
|
||||
import("//testing/test.gni")
|
||||
import("//testing/libfuzzer/fuzzer_test.gni")
|
||||
import("//testing/test.gni")
|
||||
|
||||
# TODO(crbug.com/906751): Get the tests working on Windows. Disable them for now
|
||||
# becaue they cause the Windows clang ToT builder to fail.
|
||||
# because they cause the Windows clang ToT builder to fail.
|
||||
if (!is_win) {
|
||||
test("libfuzzer_tests") {
|
||||
sources = [
|
||||
"fuzzer_launcher_test.cc",
|
||||
]
|
||||
sources = [ "fuzzer_launcher_test.cc" ]
|
||||
deps = [
|
||||
":test_config_and_dict",
|
||||
":test_config_and_seed_corpus",
|
||||
@ -34,17 +32,13 @@ if (!is_win) {
|
||||
}
|
||||
|
||||
fuzzer_test("test_dict_only") {
|
||||
sources = [
|
||||
"../fuzzers/empty_fuzzer.cc",
|
||||
]
|
||||
sources = [ "../fuzzers/empty_fuzzer.cc" ]
|
||||
dict = "test.dict"
|
||||
additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ]
|
||||
}
|
||||
|
||||
fuzzer_test("test_config_only") {
|
||||
sources = [
|
||||
"../fuzzers/empty_fuzzer.cc",
|
||||
]
|
||||
sources = [ "../fuzzers/empty_fuzzer.cc" ]
|
||||
libfuzzer_options = [
|
||||
"some_test_option=test_value",
|
||||
"max_len=1024",
|
||||
@ -53,9 +47,7 @@ fuzzer_test("test_config_only") {
|
||||
}
|
||||
|
||||
fuzzer_test("test_config_and_dict") {
|
||||
sources = [
|
||||
"../fuzzers/empty_fuzzer.cc",
|
||||
]
|
||||
sources = [ "../fuzzers/empty_fuzzer.cc" ]
|
||||
dict = "test.dict"
|
||||
libfuzzer_options = [
|
||||
"max_len=random(1337, 31337)",
|
||||
@ -66,9 +58,7 @@ fuzzer_test("test_config_and_dict") {
|
||||
}
|
||||
|
||||
fuzzer_test("test_config_and_seed_corpus") {
|
||||
sources = [
|
||||
"../fuzzers/empty_fuzzer.cc",
|
||||
]
|
||||
sources = [ "../fuzzers/empty_fuzzer.cc" ]
|
||||
seed_corpus = "test_corpus"
|
||||
libfuzzer_options = [
|
||||
"some_test_option=test_value",
|
||||
@ -78,9 +68,7 @@ fuzzer_test("test_config_and_seed_corpus") {
|
||||
}
|
||||
|
||||
fuzzer_test("test_config_and_seed_corpuses") {
|
||||
sources = [
|
||||
"../fuzzers/empty_fuzzer.cc",
|
||||
]
|
||||
sources = [ "../fuzzers/empty_fuzzer.cc" ]
|
||||
seed_corpuses = [
|
||||
"test_corpus",
|
||||
"test_corpus_2",
|
||||
@ -93,27 +81,17 @@ fuzzer_test("test_config_and_seed_corpuses") {
|
||||
}
|
||||
|
||||
fuzzer_test("test_dict_from_subdir") {
|
||||
sources = [
|
||||
"../fuzzers/empty_fuzzer.cc",
|
||||
]
|
||||
sources = [ "../fuzzers/empty_fuzzer.cc" ]
|
||||
dict = "dicts_subdir/test_subdir.dict"
|
||||
additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ]
|
||||
}
|
||||
|
||||
copy("check_fuzzer_config") {
|
||||
sources = [
|
||||
"check_fuzzer_config.py",
|
||||
]
|
||||
outputs = [
|
||||
"$root_build_dir/check_fuzzer_config.py",
|
||||
]
|
||||
sources = [ "check_fuzzer_config.py" ]
|
||||
outputs = [ "$root_build_dir/check_fuzzer_config.py" ]
|
||||
}
|
||||
|
||||
copy("check_seed_corpus_archive") {
|
||||
sources = [
|
||||
"check_seed_corpus_archive.py",
|
||||
]
|
||||
outputs = [
|
||||
"$root_build_dir/check_seed_corpus_archive.py",
|
||||
]
|
||||
sources = [ "check_seed_corpus_archive.py" ]
|
||||
outputs = [ "$root_build_dir/check_seed_corpus_archive.py" ]
|
||||
}
|
||||
|
@ -79,9 +79,7 @@ template("test") {
|
||||
testonly = true
|
||||
dist_dir = "$root_out_dir/$target_name"
|
||||
binary = _exec_output
|
||||
deps = [
|
||||
":$_exec_target",
|
||||
]
|
||||
deps = [ ":$_exec_target" ]
|
||||
if (defined(invoker.extra_dist_files)) {
|
||||
extra_files = invoker.extra_dist_files
|
||||
}
|
||||
@ -112,9 +110,7 @@ template("test") {
|
||||
unwind_table_asset(_unwind_table_asset_name) {
|
||||
testonly = true
|
||||
library_target = _library_target
|
||||
deps = [
|
||||
":$_library_target",
|
||||
]
|
||||
deps = [ ":$_library_target" ]
|
||||
}
|
||||
}
|
||||
|
||||
@ -170,9 +166,7 @@ template("test") {
|
||||
|
||||
# Dep needed for the test runner .runtime_deps file to pick up data
|
||||
# deps from the forward_variables_from(invoker, "*") on the library.
|
||||
data_deps = [
|
||||
":$_library_target",
|
||||
]
|
||||
data_deps = [ ":$_library_target" ]
|
||||
}
|
||||
test_name = _output_name
|
||||
test_suite = _output_name
|
||||
@ -188,9 +182,7 @@ template("test") {
|
||||
testonly = true
|
||||
executable = "$root_build_dir/bin/run_$_output_name"
|
||||
wrapper_script = "$root_build_dir/$_output_name"
|
||||
deps = [
|
||||
":$_test_runner_target",
|
||||
]
|
||||
deps = [ ":$_test_runner_target" ]
|
||||
if (_use_raw_android_executable) {
|
||||
deps += [ ":$_dist_target" ]
|
||||
} else {
|
||||
@ -218,9 +210,7 @@ template("test") {
|
||||
package = ":$_pkg_target"
|
||||
package_name_override = _output_name
|
||||
|
||||
deps = [
|
||||
"//testing/buildbot/filters:fuchsia_filters",
|
||||
]
|
||||
deps = [ "//testing/buildbot/filters:fuchsia_filters" ]
|
||||
}
|
||||
|
||||
fuchsia_package(_pkg_target) {
|
||||
@ -252,12 +242,8 @@ template("test") {
|
||||
|
||||
bundle_data(_resources_bundle_data) {
|
||||
visibility = [ ":$_test_target" ]
|
||||
sources = [
|
||||
"//testing/gtest_ios/Default.png",
|
||||
]
|
||||
outputs = [
|
||||
"{{bundle_resources_dir}}/{{source_file_part}}",
|
||||
]
|
||||
sources = [ "//testing/gtest_ios/Default.png" ]
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
if (enable_run_ios_unittests_with_xctest) {
|
||||
|
12
third_party/adobe/flash/BUILD.gn
vendored
12
third_party/adobe/flash/BUILD.gn
vendored
@ -51,12 +51,8 @@ if (is_chrome_branded) {
|
||||
}
|
||||
|
||||
copy("flapper_version_h") {
|
||||
sources = [
|
||||
flapper_version_h_file,
|
||||
]
|
||||
outputs = [
|
||||
"$root_gen_dir/{{source_file_part}}",
|
||||
]
|
||||
sources = [ flapper_version_h_file ]
|
||||
outputs = [ "$root_gen_dir/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
if (flapper_binary_files == []) {
|
||||
@ -66,8 +62,6 @@ if (flapper_binary_files == []) {
|
||||
} else {
|
||||
copy("flapper_binaries") {
|
||||
sources = flapper_binary_files
|
||||
outputs = [
|
||||
"$root_out_dir/PepperFlash/{{source_file_part}}",
|
||||
]
|
||||
outputs = [ "$root_out_dir/PepperFlash/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
36
third_party/afl/BUILD.gn
vendored
36
third_party/afl/BUILD.gn
vendored
@ -32,9 +32,7 @@ source_set("afl_runtime") {
|
||||
"//build/config/gcc:symbol_visibility_hidden",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"src/llvm_mode/afl-llvm-rt.o.c",
|
||||
]
|
||||
sources = [ "src/llvm_mode/afl-llvm-rt.o.c" ]
|
||||
}
|
||||
|
||||
afl_headers = [
|
||||
@ -68,26 +66,16 @@ config("afl-tool") {
|
||||
copy("afl-cmin") {
|
||||
# afl-cmin is a bash script used to minimize the corpus, therefore we can just
|
||||
# copy it over.
|
||||
sources = [
|
||||
"src/afl-cmin",
|
||||
]
|
||||
outputs = [
|
||||
"$root_build_dir/{{source_file_part}}",
|
||||
]
|
||||
deps = [
|
||||
":afl-showmap",
|
||||
]
|
||||
sources = [ "src/afl-cmin" ]
|
||||
outputs = [ "$root_build_dir/{{source_file_part}}" ]
|
||||
deps = [ ":afl-showmap" ]
|
||||
}
|
||||
|
||||
copy("afl_docs") {
|
||||
# Copy the docs folder. This is so that we can use a real value for for
|
||||
# -DDOC_PATH when compiling.
|
||||
sources = [
|
||||
"src/docs",
|
||||
]
|
||||
outputs = [
|
||||
"$root_build_dir/afl/{{source_file_part}}",
|
||||
]
|
||||
sources = [ "src/docs" ]
|
||||
outputs = [ "$root_build_dir/afl/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
executable("afl-fuzz") {
|
||||
@ -97,9 +85,7 @@ executable("afl-fuzz") {
|
||||
|
||||
no_default_deps = true
|
||||
|
||||
sources = [
|
||||
"src/afl-fuzz.c",
|
||||
]
|
||||
sources = [ "src/afl-fuzz.c" ]
|
||||
sources += afl_headers
|
||||
}
|
||||
|
||||
@ -109,9 +95,7 @@ executable("afl-tmin") {
|
||||
|
||||
no_default_deps = true
|
||||
|
||||
sources = [
|
||||
"src/afl-tmin.c",
|
||||
]
|
||||
sources = [ "src/afl-tmin.c" ]
|
||||
sources += afl_headers
|
||||
}
|
||||
|
||||
@ -121,8 +105,6 @@ executable("afl-showmap") {
|
||||
|
||||
no_default_deps = true
|
||||
|
||||
sources = [
|
||||
"src/afl-showmap.c",
|
||||
]
|
||||
sources = [ "src/afl-showmap.c" ]
|
||||
sources += afl_headers
|
||||
}
|
||||
|
4
third_party/android_protobuf/BUILD.gn
vendored
4
third_party/android_protobuf/BUILD.gn
vendored
@ -28,9 +28,7 @@ if (current_toolchain == host_toolchain) {
|
||||
":android_protoc_warnings",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//third_party/zlib",
|
||||
]
|
||||
deps = [ "//third_party/zlib" ]
|
||||
|
||||
sources = [
|
||||
"src/src/google/protobuf/compiler/code_generator.cc",
|
||||
|
@ -13,9 +13,7 @@ action("protocol_compatibility_check") {
|
||||
v8_inspector_js_protocol,
|
||||
]
|
||||
_stamp = "$_protocol_out_dir/browser_protocol.stamp"
|
||||
outputs = [
|
||||
_stamp,
|
||||
]
|
||||
outputs = [ _stamp ]
|
||||
|
||||
args = [
|
||||
"--stamp",
|
||||
@ -26,9 +24,7 @@ action("protocol_compatibility_check") {
|
||||
}
|
||||
|
||||
action("protocol_version") {
|
||||
deps = [
|
||||
":protocol_compatibility_check",
|
||||
]
|
||||
deps = [ ":protocol_compatibility_check" ]
|
||||
script = _inspector_protocol_dir + "/concatenate_protocols.py"
|
||||
|
||||
inputs = [
|
||||
@ -36,9 +32,7 @@ action("protocol_version") {
|
||||
v8_inspector_js_protocol,
|
||||
]
|
||||
output_file = "$_protocol_out_dir/protocol.json"
|
||||
outputs = [
|
||||
output_file,
|
||||
]
|
||||
outputs = [ output_file ]
|
||||
|
||||
args = [
|
||||
rebase_path("browser_protocol.pdl", root_build_dir),
|
||||
|
20
third_party/blink/renderer/controller/BUILD.gn
vendored
20
third_party/blink/renderer/controller/BUILD.gn
vendored
@ -108,15 +108,11 @@ group("webkit_unit_tests") {
|
||||
visibility = [] # Allow re-assignment of list.
|
||||
visibility = [ "*" ]
|
||||
testonly = true
|
||||
deps = [
|
||||
":blink_unittests",
|
||||
]
|
||||
deps = [ ":blink_unittests" ]
|
||||
}
|
||||
|
||||
test("blink_unittests") {
|
||||
deps = [
|
||||
":blink_unittests_sources",
|
||||
]
|
||||
deps = [ ":blink_unittests_sources" ]
|
||||
|
||||
data_deps = [
|
||||
":blink_unittests_data",
|
||||
@ -138,9 +134,7 @@ test("blink_unittests") {
|
||||
}
|
||||
|
||||
test("blink_perf_tests") {
|
||||
deps = [
|
||||
":blink_perf_tests_sources",
|
||||
]
|
||||
deps = [ ":blink_perf_tests_sources" ]
|
||||
}
|
||||
|
||||
jumbo_source_set("blink_perf_tests_sources") {
|
||||
@ -148,9 +142,7 @@ jumbo_source_set("blink_perf_tests_sources") {
|
||||
visibility = [ "*" ]
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"tests/run_all_tests.cc",
|
||||
]
|
||||
sources = [ "tests/run_all_tests.cc" ]
|
||||
|
||||
deps = [
|
||||
":controller",
|
||||
@ -171,9 +163,7 @@ jumbo_source_set("blink_unittests_sources") {
|
||||
visibility = [ "*" ]
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"tests/run_all_tests.cc",
|
||||
]
|
||||
sources = [ "tests/run_all_tests.cc" ]
|
||||
sources += bindings_unittest_files
|
||||
if (is_linux) {
|
||||
sources += [ "memory_usage_monitor_posix_test.cc" ]
|
||||
|
@ -264,9 +264,7 @@ blink_core_sources("animation") {
|
||||
"worklet_animation_controller.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":buildflags",
|
||||
]
|
||||
deps = [ ":buildflags" ]
|
||||
}
|
||||
|
||||
blink_core_tests("unit_tests") {
|
||||
|
@ -9,7 +9,5 @@ blink_core_sources("animation_frame") {
|
||||
"worker_animation_frame_provider.cc",
|
||||
"worker_animation_frame_provider.h",
|
||||
]
|
||||
deps = [
|
||||
"//mojo/public/cpp/bindings:bindings",
|
||||
]
|
||||
deps = [ "//mojo/public/cpp/bindings:bindings" ]
|
||||
}
|
||||
|
12
third_party/blink/renderer/core/script/BUILD.gn
vendored
12
third_party/blink/renderer/core/script/BUILD.gn
vendored
@ -70,9 +70,7 @@ blink_core_sources("script") {
|
||||
"xml_parser_script_runner_host.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//third_party/blink/public:resources",
|
||||
]
|
||||
deps = [ "//third_party/blink/public:resources" ]
|
||||
|
||||
jumbo_excluded_sources = [ "modulator.cc" ] # https://crbug.com/716395
|
||||
}
|
||||
@ -86,14 +84,10 @@ copy("layered_apis_elements_virtual_scroller_js") {
|
||||
"resources/layered_api/elements/virtual-scroller/visibility-manager.mjs",
|
||||
]
|
||||
|
||||
outputs = [
|
||||
"{{source_gen_dir}}/{{source_file_part}}",
|
||||
]
|
||||
outputs = [ "{{source_gen_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
group("js_files_for_web_tests") {
|
||||
testonly = true
|
||||
data_deps = [
|
||||
":layered_apis_elements_virtual_scroller_js",
|
||||
]
|
||||
data_deps = [ ":layered_apis_elements_virtual_scroller_js" ]
|
||||
}
|
||||
|
@ -42,9 +42,7 @@ blink_modules_sources("canvas") {
|
||||
}
|
||||
|
||||
fuzzer_test("canvas_fuzzer") {
|
||||
sources = [
|
||||
"canvas_fuzzer.cc",
|
||||
]
|
||||
sources = [ "canvas_fuzzer.cc" ]
|
||||
seed_corpuses = [ "//third_party/blink/web_tests/fast/canvas" ]
|
||||
deps = [
|
||||
"../../platform:blink_fuzzer_test_support",
|
||||
|
@ -25,7 +25,5 @@ blink_modules_sources("crypto") {
|
||||
"worker_global_scope_crypto.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//crypto",
|
||||
]
|
||||
deps = [ "//crypto" ]
|
||||
}
|
||||
|
@ -78,7 +78,5 @@ blink_modules_sources("webgpu") {
|
||||
"worker_navigator_gpu.cc",
|
||||
"worker_navigator_gpu.h",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/dawn/src/dawn:dawn_headers",
|
||||
]
|
||||
deps = [ "//third_party/dawn/src/dawn:dawn_headers" ]
|
||||
}
|
||||
|
4
third_party/byte_buddy/BUILD.gn
vendored
4
third_party/byte_buddy/BUILD.gn
vendored
@ -31,9 +31,7 @@ java_prebuilt("dx_25_0_2_java") {
|
||||
android_java_prebuilt("byte_buddy_android_java") {
|
||||
testonly = true
|
||||
enable_bytecode_checks = false
|
||||
deps = [
|
||||
":dx_25_0_2_java",
|
||||
]
|
||||
deps = [ ":dx_25_0_2_java" ]
|
||||
proguard_configs = [ "//third_party/byte_buddy/proguard.flags" ]
|
||||
jar_path = "lib/byte-buddy-android.jar"
|
||||
}
|
||||
|
8
third_party/crashpad/crashpad/build/test.gni
vendored
8
third_party/crashpad/crashpad/build/test.gni
vendored
@ -24,12 +24,8 @@ if (crashpad_is_in_chromium) {
|
||||
_launch_image_bundle_target = target_name + "_launch_image"
|
||||
bundle_data(_launch_image_bundle_target) {
|
||||
forward_variables_from(invoker, [ "testonly" ])
|
||||
sources = [
|
||||
"//build/ios/Default.png",
|
||||
]
|
||||
outputs = [
|
||||
"{{bundle_contents_dir}}/{{source_file_part}}",
|
||||
]
|
||||
sources = [ "//build/ios/Default.png" ]
|
||||
outputs = [ "{{bundle_contents_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
ios_app_bundle(target_name) {
|
||||
|
4
third_party/crashpad/crashpad/test/BUILD.gn
vendored
4
third_party/crashpad/crashpad/test/BUILD.gn
vendored
@ -241,9 +241,7 @@ if (crashpad_is_ios) {
|
||||
"gtest_runner_ios.mm",
|
||||
]
|
||||
configs += [ "..:crashpad_config" ]
|
||||
deps = [
|
||||
"../third_party/gtest:gtest",
|
||||
]
|
||||
deps = [ "../third_party/gtest:gtest" ]
|
||||
libs = [ "UIKit.framework" ]
|
||||
}
|
||||
}
|
||||
|
4
third_party/decklink/BUILD.gn
vendored
4
third_party/decklink/BUILD.gn
vendored
@ -4,9 +4,7 @@
|
||||
|
||||
if (is_mac) {
|
||||
static_library("decklink") {
|
||||
sources = [
|
||||
"mac/include/DeckLinkAPIDispatch.cpp",
|
||||
]
|
||||
sources = [ "mac/include/DeckLinkAPIDispatch.cpp" ]
|
||||
libs = [
|
||||
"CoreFoundation.framework",
|
||||
"IOKit.framework",
|
||||
|
36
third_party/dom_distiller_js/BUILD.gn
vendored
36
third_party/dom_distiller_js/BUILD.gn
vendored
@ -5,12 +5,8 @@
|
||||
import("//third_party/protobuf/proto_library.gni")
|
||||
|
||||
group("proto") {
|
||||
public_deps = [
|
||||
":dom_distiller_proto",
|
||||
]
|
||||
deps = [
|
||||
":json_values_converter_tests",
|
||||
]
|
||||
public_deps = [ ":dom_distiller_proto" ]
|
||||
deps = [ ":json_values_converter_tests" ]
|
||||
}
|
||||
|
||||
protoc_plugin_files = [
|
||||
@ -30,12 +26,8 @@ if (host_os == "win") {
|
||||
|
||||
proto_library("dom_distiller_proto") {
|
||||
visibility = [ ":*" ]
|
||||
sources = [
|
||||
"dist/proto/dom_distiller.proto",
|
||||
]
|
||||
deps = [
|
||||
"//base",
|
||||
]
|
||||
sources = [ "dist/proto/dom_distiller.proto" ]
|
||||
deps = [ "//base" ]
|
||||
proto_out_dir = "third_party/dom_distiller_js"
|
||||
|
||||
generator_plugin_script = json_converter_plugin_script
|
||||
@ -48,12 +40,8 @@ proto_library("dom_distiller_proto") {
|
||||
# protoc_plugins by generating the json_converter.h file.
|
||||
proto_library("json_values_converter_test_proto") {
|
||||
visibility = [ ":*" ]
|
||||
sources = [
|
||||
"test_sample.proto",
|
||||
]
|
||||
deps = [
|
||||
"//base",
|
||||
]
|
||||
sources = [ "test_sample.proto" ]
|
||||
deps = [ "//base" ]
|
||||
proto_out_dir = "third_party/dom_distiller_js"
|
||||
|
||||
generator_plugin_script = json_converter_plugin_script
|
||||
@ -64,15 +52,9 @@ proto_library("json_values_converter_test_proto") {
|
||||
|
||||
action("json_values_converter_tests") {
|
||||
_stamp = "$target_gen_dir/json_values_converter_tests.stamp"
|
||||
deps = [
|
||||
":json_values_converter_test_proto",
|
||||
]
|
||||
inputs = [
|
||||
"test_sample_json_converter.h.golden",
|
||||
]
|
||||
outputs = [
|
||||
_stamp,
|
||||
]
|
||||
deps = [ ":json_values_converter_test_proto" ]
|
||||
inputs = [ "test_sample_json_converter.h.golden" ]
|
||||
outputs = [ _stamp ]
|
||||
|
||||
script = "protoc_plugins/json_values_converter_tests.py"
|
||||
args = [
|
||||
|
4
third_party/gestures/BUILD.gn
vendored
4
third_party/gestures/BUILD.gn
vendored
@ -61,9 +61,7 @@ if (!use_system_gestures) {
|
||||
"gestures/src/util.cc",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//third_party/jsoncpp",
|
||||
]
|
||||
deps = [ "//third_party/jsoncpp" ]
|
||||
|
||||
defines = [ "GESTURES_INTERNAL=1" ]
|
||||
|
||||
|
12
third_party/google_benchmark/BUILD.gn
vendored
12
third_party/google_benchmark/BUILD.gn
vendored
@ -12,9 +12,7 @@ if (enable_google_benchmarks) {
|
||||
source_set("google_benchmark") {
|
||||
testonly = true
|
||||
|
||||
public = [
|
||||
"src/include/benchmark/benchmark.h",
|
||||
]
|
||||
public = [ "src/include/benchmark/benchmark.h" ]
|
||||
|
||||
sources = [
|
||||
"src/src/arraysize.h",
|
||||
@ -72,11 +70,7 @@ if (enable_google_benchmarks) {
|
||||
|
||||
source_set("benchmark_main") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"src/src/benchmark_main.cc",
|
||||
]
|
||||
deps = [
|
||||
":google_benchmark",
|
||||
]
|
||||
sources = [ "src/src/benchmark_main.cc" ]
|
||||
deps = [ ":google_benchmark" ]
|
||||
}
|
||||
}
|
||||
|
4
third_party/google_input_tools/closure.gni
vendored
4
third_party/google_input_tools/closure.gni
vendored
@ -8,9 +8,7 @@ template("build_closure") {
|
||||
action(target_name) {
|
||||
script = "//third_party/google_input_tools/builder.py"
|
||||
sources = invoker.sources
|
||||
outputs = [
|
||||
invoker.target,
|
||||
]
|
||||
outputs = [ invoker.target ]
|
||||
response_file_contents = sources
|
||||
args = [
|
||||
"--target",
|
||||
|
4
third_party/gvr-android-keyboard/BUILD.gn
vendored
4
third_party/gvr-android-keyboard/BUILD.gn
vendored
@ -9,9 +9,7 @@ android_library("kb_java") {
|
||||
}
|
||||
|
||||
android_aidl("aidl") {
|
||||
sources = [
|
||||
"com/google/vr/keyboard/IGvrKeyboardLoader.aidl",
|
||||
]
|
||||
sources = [ "com/google/vr/keyboard/IGvrKeyboardLoader.aidl" ]
|
||||
}
|
||||
|
||||
config("kb_config") {
|
||||
|
4
third_party/hamcrest/BUILD.gn
vendored
4
third_party/hamcrest/BUILD.gn
vendored
@ -24,7 +24,5 @@ java_prebuilt("hamcrest_library_java") {
|
||||
testonly = true
|
||||
jar_path = "lib/hamcrest-library.jar"
|
||||
proguard_configs = [ "//third_party/hamcrest/proguard.flags" ]
|
||||
deps = [
|
||||
":hamcrest_core_java",
|
||||
]
|
||||
deps = [ ":hamcrest_core_java" ]
|
||||
}
|
||||
|
4
third_party/hunspell/BUILD.gn
vendored
4
third_party/hunspell/BUILD.gn
vendored
@ -138,9 +138,7 @@ fuzzer_test("hunspell_suggest_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("bdict_fuzzer") {
|
||||
sources = [
|
||||
"fuzz/bdict_fuzzer.cc",
|
||||
]
|
||||
sources = [ "fuzz/bdict_fuzzer.cc" ]
|
||||
deps = [
|
||||
":hunspell",
|
||||
"//base:base",
|
||||
|
4
third_party/iaccessible2/BUILD.gn
vendored
4
third_party/iaccessible2/BUILD.gn
vendored
@ -7,7 +7,5 @@ assert(is_win)
|
||||
import("//build/toolchain/win/midl.gni")
|
||||
|
||||
midl("iaccessible2") {
|
||||
sources = [
|
||||
"ia2_api_all.idl",
|
||||
]
|
||||
sources = [ "ia2_api_all.idl" ]
|
||||
}
|
||||
|
4
third_party/iccjpeg/BUILD.gn
vendored
4
third_party/iccjpeg/BUILD.gn
vendored
@ -13,7 +13,5 @@ static_library("iccjpeg") {
|
||||
]
|
||||
|
||||
public_configs = [ ":iccjpeg_config" ]
|
||||
deps = [
|
||||
"//third_party:jpeg",
|
||||
]
|
||||
deps = [ "//third_party:jpeg" ]
|
||||
}
|
||||
|
4
third_party/libFuzzer/BUILD.gn
vendored
4
third_party/libFuzzer/BUILD.gn
vendored
@ -72,9 +72,7 @@ source_set("libfuzzer") {
|
||||
|
||||
if (use_afl) {
|
||||
source_set("afl_driver") {
|
||||
sources = [
|
||||
"src/afl/afl_driver.cpp",
|
||||
]
|
||||
sources = [ "src/afl/afl_driver.cpp" ]
|
||||
|
||||
configs -= fuzzing_engine_remove_configs
|
||||
configs += fuzzing_engine_add_configs
|
||||
|
8
third_party/liblouis/BUILD.gn
vendored
8
third_party/liblouis/BUILD.gn
vendored
@ -16,9 +16,7 @@ if (!is_chromecast) {
|
||||
liblouis_library("liblouis_test_data") {
|
||||
testonly = true
|
||||
dest_dir = chromevox_test_data_dir
|
||||
deps = [
|
||||
":liblouis_test_files",
|
||||
]
|
||||
deps = [ ":liblouis_test_files" ]
|
||||
}
|
||||
|
||||
copy("liblouis_test_files") {
|
||||
@ -28,8 +26,6 @@ if (!is_chromecast) {
|
||||
"//chrome/test/data/chromeos/liblouis_wasm/manifest.json",
|
||||
"//chrome/test/data/chromeos/liblouis_wasm/test.js",
|
||||
]
|
||||
outputs = [
|
||||
"${chromevox_test_data_dir}/{{source_file_part}}",
|
||||
]
|
||||
outputs = [ "${chromevox_test_data_dir}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
12
third_party/liblouis/liblouis_library.gni
vendored
12
third_party/liblouis/liblouis_library.gni
vendored
@ -21,12 +21,8 @@ template("liblouis_library") {
|
||||
copy(tables_json_target_name) {
|
||||
forward_variables_from(invoker, [ "testonly" ])
|
||||
visibility = [ ":$final_target_name" ]
|
||||
sources = [
|
||||
"//third_party/liblouis/tables.json",
|
||||
]
|
||||
outputs = [
|
||||
"$dest_dir/{{source_file_part}}",
|
||||
]
|
||||
sources = [ "//third_party/liblouis/tables.json" ]
|
||||
outputs = [ "$dest_dir/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
copy(wasm_target_name) {
|
||||
@ -38,9 +34,7 @@ template("liblouis_library") {
|
||||
"//third_party/liblouis/wasm/liblouis_wasm.wasm",
|
||||
"//third_party/liblouis/wasm/liblouis_wrapper.js",
|
||||
]
|
||||
outputs = [
|
||||
"$dest_dir/{{source_file_part}}",
|
||||
]
|
||||
outputs = [ "$dest_dir/{{source_file_part}}" ]
|
||||
}
|
||||
|
||||
group(target_name) {
|
||||
|
24
third_party/libprotobuf-mutator/BUILD.gn
vendored
24
third_party/libprotobuf-mutator/BUILD.gn
vendored
@ -31,9 +31,7 @@ source_set("libprotobuf-mutator") {
|
||||
|
||||
# Allow users of LPM to use protobuf reflection and other features from
|
||||
# protobuf_full.
|
||||
public_deps = [
|
||||
"//third_party/protobuf:protobuf_full",
|
||||
]
|
||||
public_deps = [ "//third_party/protobuf:protobuf_full" ]
|
||||
|
||||
# Let ClusterFuzz builders know to not build targets that depend on
|
||||
# libprotobuf-mutator for AFL or Chrome OS.
|
||||
@ -54,12 +52,8 @@ if (current_toolchain == host_toolchain) {
|
||||
# features (such as reflection). The plugin simply compiles a proto library
|
||||
# as normal but ensures that is compiled with the full protobuf runtime.
|
||||
executable("override_lite_runtime_plugin") {
|
||||
sources = [
|
||||
"protoc_plugin/protoc_plugin.cc",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/protobuf:protoc_lib",
|
||||
]
|
||||
sources = [ "protoc_plugin/protoc_plugin.cc" ]
|
||||
deps = [ "//third_party/protobuf:protoc_lib" ]
|
||||
public_configs = [ "//third_party/protobuf:protobuf_config" ]
|
||||
}
|
||||
# To use the plugin in a proto_library you want to fuzz, change the build
|
||||
@ -75,9 +69,7 @@ if (use_libfuzzer) {
|
||||
# contains files that are optimized for LITE_RUNTIME and which import other
|
||||
# files that are also optimized for LITE_RUNTIME.
|
||||
fuzzer_test("override_lite_runtime_plugin_test_fuzzer") {
|
||||
sources = [
|
||||
"protoc_plugin/test_fuzzer.cc",
|
||||
]
|
||||
sources = [ "protoc_plugin/test_fuzzer.cc" ]
|
||||
deps = [
|
||||
":libprotobuf-mutator",
|
||||
":override_lite_runtime_plugin_test_fuzzer_proto",
|
||||
@ -103,11 +95,7 @@ fuzzable_proto_library("override_lite_runtime_plugin_test_fuzzer_proto") {
|
||||
if (use_libfuzzer) {
|
||||
# Component that can provide protobuf_full to non-testonly targets
|
||||
static_library("protobuf_full") {
|
||||
public_deps = [
|
||||
"//third_party/protobuf:protobuf_full",
|
||||
]
|
||||
sources = [
|
||||
"dummy.cc",
|
||||
]
|
||||
public_deps = [ "//third_party/protobuf:protobuf_full" ]
|
||||
sources = [ "dummy.cc" ]
|
||||
}
|
||||
}
|
||||
|
@ -51,9 +51,7 @@ template("fuzzable_proto_library") {
|
||||
if (defined(invoker.testonly)) {
|
||||
testonly = invoker.testonly
|
||||
}
|
||||
sources = [
|
||||
"//third_party/libprotobuf-mutator/dummy.cc",
|
||||
]
|
||||
sources = [ "//third_party/libprotobuf-mutator/dummy.cc" ]
|
||||
public_deps = [
|
||||
":proto_library_" + target_name,
|
||||
"//third_party/libprotobuf-mutator:protobuf_full",
|
||||
|
16
third_party/libxml/BUILD.gn
vendored
16
third_party/libxml/BUILD.gn
vendored
@ -125,12 +125,8 @@ static_library("libxml_utils") {
|
||||
"chromium/libxml_utils.cc",
|
||||
"chromium/libxml_utils.h",
|
||||
]
|
||||
deps = [
|
||||
":libxml",
|
||||
]
|
||||
public_deps = [
|
||||
"//third_party/icu:icuuc",
|
||||
]
|
||||
deps = [ ":libxml" ]
|
||||
public_deps = [ "//third_party/icu:icuuc" ]
|
||||
public_configs = [ ":libxml_config" ]
|
||||
}
|
||||
|
||||
@ -300,12 +296,8 @@ static_library("libxml") {
|
||||
}
|
||||
|
||||
public_configs = [ ":libxml_config" ]
|
||||
public_deps = [
|
||||
"//third_party/icu:icuuc",
|
||||
]
|
||||
deps = [
|
||||
"//third_party/zlib",
|
||||
]
|
||||
public_deps = [ "//third_party/icu:icuuc" ]
|
||||
deps = [ "//third_party/zlib" ]
|
||||
|
||||
if (is_mac || is_ios || is_android || is_fuchsia) {
|
||||
# http://www.xmlsoft.org/threads.html says that this is required when using
|
||||
|
4
third_party/libxslt/BUILD.gn
vendored
4
third_party/libxslt/BUILD.gn
vendored
@ -96,9 +96,7 @@ static_library("libxslt") {
|
||||
include_dirs = [ "mac" ]
|
||||
}
|
||||
|
||||
deps = [
|
||||
"//third_party/libxml",
|
||||
]
|
||||
deps = [ "//third_party/libxml" ]
|
||||
|
||||
visibility = [ "//third_party/blink/renderer/*" ]
|
||||
}
|
||||
|
4
third_party/microsoft_webauthn/BUILD.gn
vendored
4
third_party/microsoft_webauthn/BUILD.gn
vendored
@ -3,7 +3,5 @@
|
||||
# found in the LICENSE file.
|
||||
|
||||
source_set("microsoft_webauthn") {
|
||||
sources = [
|
||||
"webauthn.h",
|
||||
]
|
||||
sources = [ "webauthn.h" ]
|
||||
}
|
||||
|
12
third_party/minizip/BUILD.gn
vendored
12
third_party/minizip/BUILD.gn
vendored
@ -97,9 +97,7 @@ static_library("minizip") {
|
||||
}
|
||||
|
||||
fuzzer_test("minizip_compress_fuzzer") {
|
||||
sources = [
|
||||
"minizip_compress_fuzzer.cc",
|
||||
]
|
||||
sources = [ "minizip_compress_fuzzer.cc" ]
|
||||
deps = [
|
||||
":minizip",
|
||||
"//base",
|
||||
@ -108,11 +106,7 @@ fuzzer_test("minizip_compress_fuzzer") {
|
||||
}
|
||||
|
||||
fuzzer_test("minizip_uncompress_fuzzer") {
|
||||
sources = [
|
||||
"minizip_uncompress_fuzzer.cc",
|
||||
]
|
||||
deps = [
|
||||
":minizip",
|
||||
]
|
||||
sources = [ "minizip_uncompress_fuzzer.cc" ]
|
||||
deps = [ ":minizip" ]
|
||||
seed_corpus = "minizip_uncompress_corpus"
|
||||
}
|
||||
|
4
third_party/netty-tcnative/BUILD.gn
vendored
4
third_party/netty-tcnative/BUILD.gn
vendored
@ -43,7 +43,5 @@ android_library("netty-tcnative_java") {
|
||||
"src/java/io/netty/internal/tcnative/SSLContext.java",
|
||||
"src/java/io/netty/internal/tcnative/SessionTicketKey.java",
|
||||
]
|
||||
deps = [
|
||||
"//base:base_java",
|
||||
]
|
||||
deps = [ "//base:base_java" ]
|
||||
}
|
||||
|
4
third_party/openvr/BUILD.gn
vendored
4
third_party/openvr/BUILD.gn
vendored
@ -57,9 +57,7 @@ component("openvr") {
|
||||
"src/src/vrcommon/vrpathregistry_public.h",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//third_party/jsoncpp",
|
||||
]
|
||||
public_deps = [ "//third_party/jsoncpp" ]
|
||||
|
||||
if (target_cpu == "x64" && is_win) {
|
||||
defines += [ "WIN64" ]
|
||||
|
48
third_party/opus/BUILD.gn
vendored
48
third_party/opus/BUILD.gn
vendored
@ -151,9 +151,7 @@ config("opus_test_config") {
|
||||
if (use_opus_arm_rtcd) {
|
||||
action("convert_rtcd_assembler") {
|
||||
script = "convert_rtcd_assembler.py"
|
||||
outputs = [
|
||||
"$target_gen_dir/celt_pitch_xcorr_arm_gnu.S",
|
||||
]
|
||||
outputs = [ "$target_gen_dir/celt_pitch_xcorr_arm_gnu.S" ]
|
||||
args = [
|
||||
rebase_path("//third_party/opus/src/celt/arm/arm2gnu.pl", root_build_dir),
|
||||
rebase_path("//third_party/opus/src/celt/arm/celt_pitch_xcorr_arm.s",
|
||||
@ -502,9 +500,7 @@ static_library("opus") {
|
||||
}
|
||||
|
||||
executable("opus_compare") {
|
||||
sources = [
|
||||
"src/src/opus_compare.c",
|
||||
]
|
||||
sources = [ "src/src/opus_compare.c" ]
|
||||
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [
|
||||
@ -519,9 +515,7 @@ executable("opus_compare") {
|
||||
}
|
||||
|
||||
executable("opus_demo") {
|
||||
sources = [
|
||||
"src/src/opus_demo.c",
|
||||
]
|
||||
sources = [ "src/src/opus_demo.c" ]
|
||||
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [
|
||||
@ -536,9 +530,7 @@ executable("opus_demo") {
|
||||
}
|
||||
|
||||
test("test_opus_api") {
|
||||
sources = [
|
||||
"src/tests/test_opus_api.c",
|
||||
]
|
||||
sources = [ "src/tests/test_opus_api.c" ]
|
||||
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [
|
||||
@ -546,9 +538,7 @@ test("test_opus_api") {
|
||||
":opus_test_config",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":opus",
|
||||
]
|
||||
deps = [ ":opus" ]
|
||||
}
|
||||
|
||||
test("test_opus_encode") {
|
||||
@ -563,9 +553,7 @@ test("test_opus_encode") {
|
||||
":opus_test_config",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":opus",
|
||||
]
|
||||
deps = [ ":opus" ]
|
||||
}
|
||||
|
||||
# GN orders flags on a target before flags from configs. The default config
|
||||
@ -582,9 +570,7 @@ config("test_opus_decode_config") {
|
||||
}
|
||||
|
||||
test("test_opus_decode") {
|
||||
sources = [
|
||||
"src/tests/test_opus_decode.c",
|
||||
]
|
||||
sources = [ "src/tests/test_opus_decode.c" ]
|
||||
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [
|
||||
@ -593,15 +579,11 @@ test("test_opus_decode") {
|
||||
":test_opus_decode_config",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":opus",
|
||||
]
|
||||
deps = [ ":opus" ]
|
||||
}
|
||||
|
||||
test("test_opus_padding") {
|
||||
sources = [
|
||||
"src/tests/test_opus_padding.c",
|
||||
]
|
||||
sources = [ "src/tests/test_opus_padding.c" ]
|
||||
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [
|
||||
@ -609,9 +591,7 @@ test("test_opus_padding") {
|
||||
":opus_test_config",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":opus",
|
||||
]
|
||||
deps = [ ":opus" ]
|
||||
}
|
||||
|
||||
# Compilation fails on windows due to wstring/string mistmatch.
|
||||
@ -619,13 +599,9 @@ test("test_opus_padding") {
|
||||
# It is ok to run it on linux though, for experimentation purpose.
|
||||
if (!is_win) {
|
||||
test("opus_tests") {
|
||||
sources = [
|
||||
"tests/opus_benchmark.cc",
|
||||
]
|
||||
sources = [ "tests/opus_benchmark.cc" ]
|
||||
|
||||
data = [
|
||||
"tests/resources/speech_mono_32_48kHz.pcm",
|
||||
]
|
||||
data = [ "tests/resources/speech_mono_32_48kHz.pcm" ]
|
||||
|
||||
deps = [
|
||||
":opus",
|
||||
|
4
third_party/rnnoise/BUILD.gn
vendored
4
third_party/rnnoise/BUILD.gn
vendored
@ -5,9 +5,7 @@
|
||||
import("//testing/test.gni")
|
||||
|
||||
group("rnnoise") {
|
||||
deps = [
|
||||
":rnn_vad",
|
||||
]
|
||||
deps = [ ":rnn_vad" ]
|
||||
}
|
||||
|
||||
source_set("rnn_vad") {
|
||||
|
4
third_party/sudden_motion_sensor/BUILD.gn
vendored
4
third_party/sudden_motion_sensor/BUILD.gn
vendored
@ -8,7 +8,5 @@ source_set("sudden_motion_sensor") {
|
||||
"sudden_motion_sensor_mac.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base",
|
||||
]
|
||||
deps = [ "//base" ]
|
||||
}
|
||||
|
4
third_party/usrsctp/BUILD.gn
vendored
4
third_party/usrsctp/BUILD.gn
vendored
@ -140,7 +140,5 @@ static_library("usrsctp") {
|
||||
if (is_fuchsia) {
|
||||
defines += [ "__Userspace_os_Fuchsia" ]
|
||||
}
|
||||
deps = [
|
||||
"//third_party/boringssl",
|
||||
]
|
||||
deps = [ "//third_party/boringssl" ]
|
||||
}
|
||||
|
97
third_party/wayland-protocols/BUILD.gn
vendored
97
third_party/wayland-protocols/BUILD.gn
vendored
@ -5,9 +5,7 @@
|
||||
import("//third_party/wayland/wayland_protocol.gni")
|
||||
|
||||
wayland_protocol("gtk_primary_selection_protocol") {
|
||||
sources = [
|
||||
"unstable/gtk-primary-selection/gtk-primary-selection.xml",
|
||||
]
|
||||
sources = [ "unstable/gtk-primary-selection/gtk-primary-selection.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("xdg_shell_protocol") {
|
||||
@ -18,139 +16,94 @@ wayland_protocol("xdg_shell_protocol") {
|
||||
}
|
||||
|
||||
wayland_protocol("linux_dmabuf_protocol") {
|
||||
sources = [
|
||||
"src/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "src/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("viewporter_protocol") {
|
||||
sources = [
|
||||
"src/stable/viewporter/viewporter.xml",
|
||||
]
|
||||
sources = [ "src/stable/viewporter/viewporter.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("presentation_time_protocol") {
|
||||
sources = [
|
||||
"src/stable/presentation-time/presentation-time.xml",
|
||||
]
|
||||
sources = [ "src/stable/presentation-time/presentation-time.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("vsync_feedback_protocol") {
|
||||
sources = [
|
||||
"unstable/vsync-feedback/vsync-feedback-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/vsync-feedback/vsync-feedback-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("secure_output_protocol") {
|
||||
sources = [
|
||||
"unstable/secure-output/secure-output-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/secure-output/secure-output-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("alpha_compositing_protocol") {
|
||||
sources = [
|
||||
"unstable/alpha-compositing/alpha-compositing-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/alpha-compositing/alpha-compositing-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("remote_shell_protocol") {
|
||||
sources = [
|
||||
"unstable/remote-shell/remote-shell-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/remote-shell/remote-shell-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("gaming_input_protocol") {
|
||||
sources = [
|
||||
"unstable/gaming-input/gaming-input-unstable-v2.xml",
|
||||
]
|
||||
sources = [ "unstable/gaming-input/gaming-input-unstable-v2.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("stylus_protocol") {
|
||||
sources = [
|
||||
"unstable/stylus/stylus-unstable-v2.xml",
|
||||
]
|
||||
sources = [ "unstable/stylus/stylus-unstable-v2.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("pointer_gestures_protocol") {
|
||||
sources = [
|
||||
"src/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "src/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("pointer_constraints_protocol") {
|
||||
sources = [
|
||||
"src/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml",
|
||||
]
|
||||
sources =
|
||||
[ "src/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("relative_pointer_protocol") {
|
||||
sources = [
|
||||
"src/unstable/relative-pointer/relative-pointer-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "src/unstable/relative-pointer/relative-pointer-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("keyboard_configuration_protocol") {
|
||||
sources = [
|
||||
"unstable/keyboard/keyboard-configuration-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/keyboard/keyboard-configuration-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("stylus_tools_protocol") {
|
||||
sources = [
|
||||
"unstable/stylus-tools/stylus-tools-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/stylus-tools/stylus-tools-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("keyboard_extension_protocol") {
|
||||
sources = [
|
||||
"unstable/keyboard/keyboard-extension-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/keyboard/keyboard-extension-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("input_timestamps_protocol") {
|
||||
sources = [
|
||||
"src/unstable/input-timestamps/input-timestamps-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "src/unstable/input-timestamps/input-timestamps-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("cursor_shapes_protocol") {
|
||||
sources = [
|
||||
"unstable/cursor-shapes/cursor-shapes-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/cursor-shapes/cursor-shapes-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("text_input_protocol") {
|
||||
sources = [
|
||||
"src/unstable/text-input/text-input-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "src/unstable/text-input/text-input-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("notification_shell_protocol") {
|
||||
sources = [
|
||||
"unstable/notification-shell/notification-shell-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/notification-shell/notification-shell-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("fullscreen_shell_protocol") {
|
||||
sources = [
|
||||
"src/unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "src/unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("linux_explicit_synchronization_protocol") {
|
||||
sources = [
|
||||
"src/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "src/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("wayland_drm_protocol") {
|
||||
sources = [
|
||||
"mesa/wayland-drm/wayland-drm.xml",
|
||||
]
|
||||
sources = [ "mesa/wayland-drm/wayland-drm.xml" ]
|
||||
}
|
||||
|
||||
wayland_protocol("color_space_protocol") {
|
||||
sources = [
|
||||
"unstable/color-space/color-space-unstable-v1.xml",
|
||||
]
|
||||
sources = [ "unstable/color-space/color-space-unstable-v1.xml" ]
|
||||
}
|
||||
|
12
third_party/zlib/BUILD.gn
vendored
12
third_party/zlib/BUILD.gn
vendored
@ -353,9 +353,7 @@ static_library("minizip") {
|
||||
defines = [ "USE_FILE32API" ]
|
||||
}
|
||||
|
||||
deps = [
|
||||
":zlib",
|
||||
]
|
||||
deps = [ ":zlib" ]
|
||||
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [
|
||||
@ -371,9 +369,7 @@ static_library("minizip") {
|
||||
executable("zlib_bench") {
|
||||
include_dirs = [ "." ]
|
||||
|
||||
sources = [
|
||||
"contrib/bench/zlib_bench.cc",
|
||||
]
|
||||
sources = [ "contrib/bench/zlib_bench.cc" ]
|
||||
|
||||
if (!is_debug) {
|
||||
configs -= [ "//build/config/compiler:default_optimization" ]
|
||||
@ -383,7 +379,5 @@ executable("zlib_bench") {
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||||
|
||||
deps = [
|
||||
":zlib",
|
||||
]
|
||||
deps = [ ":zlib" ]
|
||||
}
|
||||
|
Reference in New Issue
Block a user