Commit 544064fe authored by tfarina's avatar tfarina Committed by Commit bot

nacl_loader_unittests should be a test target.

Tested with the following command lines on Linux:

$ gn gen out-gn --args=enable_nacl=true
$ ninja -C out-gn nacl_loader_unittests

Note: There are still many link errors with this target. They will be
addressed in followup patches.

BUG=432959
TEST=see above
R=bradn@google.com,dpranke@chromium.org
TBR=bradnelson@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#322365}
parent f9096353
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import("//build/config/features.gni") import("//build/config/features.gni")
import("//build/config/ui.gni") import("//build/config/ui.gni")
import("//testing/test.gni")
if (enable_nacl) { if (enable_nacl) {
source_set("nacl") { source_set("nacl") {
...@@ -126,8 +127,7 @@ if (enable_nacl) { ...@@ -126,8 +127,7 @@ if (enable_nacl) {
] ]
} }
executable("nacl_loader_unittests") { test("nacl_loader_unittests") {
testonly = true
sources = [ sources = [
"loader/run_all_unittests.cc", "loader/run_all_unittests.cc",
] ]
......
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