| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 deps += [ | 57 deps += [ |
| 58 "//components/nacl/loader:nacl_helper_integration", | 58 "//components/nacl/loader:nacl_helper_integration", |
| 59 "//sandbox/linux:sandbox_services", | 59 "//sandbox/linux:sandbox_services", |
| 60 "//sandbox/linux:suid_sandbox_client", | 60 "//sandbox/linux:suid_sandbox_client", |
| 61 ] | 61 ] |
| 62 | 62 |
| 63 data_deps += [ "//components/nacl/loader:helper_nonsfi" ] | 63 data_deps += [ "//components/nacl/loader:helper_nonsfi" ] |
| 64 } | 64 } |
| 65 | 65 |
| 66 if (is_win) { | |
| 67 deps += [ | |
| 68 # TODO(fdoray): Remove this once the PreRead field trial has expired. | |
| 69 # crbug.com/577698 | |
| 70 "//components/startup_metric_utils/common", | |
| 71 ] | |
| 72 } | |
| 73 | |
| 74 if (is_win && current_cpu == "x86") { | 66 if (is_win && current_cpu == "x86") { |
| 75 data_deps += [ "//components/nacl/broker:nacl64" ] | 67 data_deps += [ "//components/nacl/broker:nacl64" ] |
| 76 } | 68 } |
| 77 } | 69 } |
| 78 | 70 |
| 79 source_set("unit_tests") { | 71 source_set("unit_tests") { |
| 80 testonly = true | 72 testonly = true |
| 81 sources = [ | 73 sources = [ |
| 82 "nacl_file_host_unittest.cc", | 74 "nacl_file_host_unittest.cc", |
| 83 "nacl_process_host_unittest.cc", | 75 "nacl_process_host_unittest.cc", |
| 84 "nacl_validation_cache_unittest.cc", | 76 "nacl_validation_cache_unittest.cc", |
| 85 "pnacl_host_unittest.cc", | 77 "pnacl_host_unittest.cc", |
| 86 "pnacl_translation_cache_unittest.cc", | 78 "pnacl_translation_cache_unittest.cc", |
| 87 "test_nacl_browser_delegate.cc", | 79 "test_nacl_browser_delegate.cc", |
| 88 ] | 80 ] |
| 89 | 81 |
| 90 deps = [ | 82 deps = [ |
| 91 ":browser", | 83 ":browser", |
| 92 "//base", | 84 "//base", |
| 93 "//components/nacl/common", | 85 "//components/nacl/common", |
| 94 "//content/test:test_support", | 86 "//content/test:test_support", |
| 95 "//net:test_support", | 87 "//net:test_support", |
| 96 ] | 88 ] |
| 97 | 89 |
| 98 if (is_linux) { | 90 if (is_linux) { |
| 99 sources += [ "../zygote/nacl_fork_delegate_linux_unittest.cc" ] | 91 sources += [ "../zygote/nacl_fork_delegate_linux_unittest.cc" ] |
| 100 } | 92 } |
| 101 } | 93 } |
| OLD | NEW |