| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 assert(enable_nacl) | 7 assert(enable_nacl) |
| 8 | 8 |
| 9 source_set("browser") { | 9 source_set("browser") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 # TODO(fdoray): Remove this once the PreRead field trial has expired. | 68 # TODO(fdoray): Remove this once the PreRead field trial has expired. |
| 69 # crbug.com/577698 | 69 # crbug.com/577698 |
| 70 "//components/startup_metric_utils/common", | 70 "//components/startup_metric_utils/common", |
| 71 ] | 71 ] |
| 72 } | 72 } |
| 73 | 73 |
| 74 if (is_win && current_cpu == "x86") { | 74 if (is_win && current_cpu == "x86") { |
| 75 data_deps += [ "//components/nacl/broker:nacl64" ] | 75 data_deps += [ "//components/nacl/broker:nacl64" ] |
| 76 } | 76 } |
| 77 } | 77 } |
| 78 |
| 79 source_set("unit_tests") { |
| 80 testonly = true |
| 81 sources = [ |
| 82 "nacl_file_host_unittest.cc", |
| 83 "nacl_process_host_unittest.cc", |
| 84 "nacl_validation_cache_unittest.cc", |
| 85 "pnacl_host_unittest.cc", |
| 86 "pnacl_translation_cache_unittest.cc", |
| 87 "test_nacl_browser_delegate.cc", |
| 88 ] |
| 89 |
| 90 deps = [ |
| 91 ":browser", |
| 92 "//base", |
| 93 "//components/nacl/common", |
| 94 "//content/test:test_support", |
| 95 "//net:test_support", |
| 96 ] |
| 97 |
| 98 if (is_linux) { |
| 99 sources += [ "../zygote/nacl_fork_delegate_linux_unittest.cc" ] |
| 100 } |
| 101 } |
| OLD | NEW |