Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Side by Side Diff: components/nacl/browser/BUILD.gn

Issue 1949423002: Adding nacl component unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjusting deps Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 data_deps = []
99
100 if (is_linux) {
101 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
102
103 deps += [
104 #"//components/nacl/loader:nacl_helper_integration",
105 #"//sandbox/linux:sandbox_services",
106 #"//sandbox/linux:suid_sandbox_client",
107 ]
108
109 #data_deps += [ "//components/nacl/loader:helper_nonsfi" ]
110 }
111 }
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698