Chromium Code Reviews| Index: components/nacl/browser/BUILD.gn |
| diff --git a/components/nacl/browser/BUILD.gn b/components/nacl/browser/BUILD.gn |
| index 9b247f42a17d909e2a02a96e2cdc63e449dbf362..f45b44b9180d61c449ea75504638d8a29321f2ca 100644 |
| --- a/components/nacl/browser/BUILD.gn |
| +++ b/components/nacl/browser/BUILD.gn |
| @@ -75,3 +75,37 @@ source_set("browser") { |
| data_deps += [ "//components/nacl/broker:nacl64" ] |
| } |
| } |
| + |
| +source_set("unit_tests") { |
| + testonly = true |
| + sources = [ |
| + "nacl_file_host_unittest.cc", |
| + "nacl_process_host_unittest.cc", |
| + "nacl_validation_cache_unittest.cc", |
| + "pnacl_host_unittest.cc", |
| + "pnacl_translation_cache_unittest.cc", |
| + "test_nacl_browser_delegate.cc", |
| + ] |
| + |
| + deps = [ |
| + ":browser", |
| + "//base", |
| + "//components/nacl/common", |
| + "//content/test:test_support", |
| + "//net:test_support", |
| + ] |
| + |
| + data_deps = [] |
| + |
| + if (is_linux) { |
| + sources += [ "../zygote/nacl_fork_delegate_linux_unittest.cc" ] |
|
Dirk Pranke
2016/05/05 18:00:13
nit: I think GN style would change this to //compo
brucedawson
2016/05/05 21:36:38
If nothing else this is consistent with lines 53-5
|
| + |
| + deps += [ |
| + #"//components/nacl/loader:nacl_helper_integration", |
| + #"//sandbox/linux:sandbox_services", |
| + #"//sandbox/linux:suid_sandbox_client", |
| + ] |
| + |
| + #data_deps += [ "//components/nacl/loader:helper_nonsfi" ] |
| + } |
| +} |