Commit 86da06c7 authored by rockot's avatar rockot Committed by Commit bot

Add GN for sandbox_linux_jni_unittests

BUG=

Review URL: https://codereview.chromium.org/936163003

Cr-Commit-Position: refs/heads/master@{#317445}
parent 6b1c1e08
...@@ -63,8 +63,10 @@ source_set("sandbox_linux_test_utils") { ...@@ -63,8 +63,10 @@ source_set("sandbox_linux_test_utils") {
} }
} }
# The main sandboxing test target. # Sources shared by sandbox_linux_unittests and sandbox_linux_jni_unittests.
test("sandbox_linux_unittests") { source_set("sandbox_linux_unittests_sources") {
testonly = true
sources = [ sources = [
"services/proc_util_unittest.cc", "services/proc_util_unittest.cc",
"services/resource_limits_unittests.cc", "services/resource_limits_unittests.cc",
...@@ -127,23 +129,24 @@ test("sandbox_linux_unittests") { ...@@ -127,23 +129,24 @@ test("sandbox_linux_unittests") {
} }
} }
# TODO(GYP) Android version of this test. # The main sandboxing test target.
# { test("sandbox_linux_unittests") {
# # This target is the shared library used by Android APK (i.e. deps = [
# # JNI-friendly) tests. ":sandbox_linux_unittests_sources",
# "target_name": "sandbox_linux_jni_unittests", ]
# "includes": [ }
# "sandbox_linux_test_sources.gypi",
# ], # This target is the shared library used by Android APK (i.e.
# "type": "shared_library", # JNI-friendly) tests.
# "conditions": [ shared_library("sandbox_linux_jni_unittests") {
# [ "OS == "android"", { testonly = true
# "dependencies": [ deps = [
# "../testing/android/native_test.gyp:native_test_native_code", ":sandbox_linux_unittests_sources",
# ], ]
# }], if (is_android) {
# ], deps += [ "//testing/android:native_test_native_code" ]
# }, }
}
component("seccomp_bpf") { component("seccomp_bpf") {
sources = [ sources = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment