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

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

Issue 2242893002: [MIPS] Adding NaCl/PNaCl support for mipsel to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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 import("//build/config/nacl/config.gni")
6 7
7 assert(enable_nacl) 8 assert(enable_nacl)
8 9
9 static_library("browser") { 10 static_library("browser") {
10 sources = [ 11 sources = [
11 "bad_message.cc", 12 "bad_message.cc",
12 "bad_message.h", 13 "bad_message.h",
13 "nacl_broker_host_win.cc", 14 "nacl_broker_host_win.cc",
14 "nacl_broker_host_win.h", 15 "nacl_broker_host_win.h",
15 "nacl_broker_service_win.cc", 16 "nacl_broker_service_win.cc",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 "../zygote/nacl_fork_delegate_linux.cc", 54 "../zygote/nacl_fork_delegate_linux.cc",
54 "../zygote/nacl_fork_delegate_linux.h", 55 "../zygote/nacl_fork_delegate_linux.h",
55 ] 56 ]
56 57
57 deps += [ 58 deps += [
58 "//components/nacl/loader:nacl_helper_integration", 59 "//components/nacl/loader:nacl_helper_integration",
59 "//sandbox/linux:sandbox_services", 60 "//sandbox/linux:sandbox_services",
60 "//sandbox/linux:suid_sandbox_client", 61 "//sandbox/linux:suid_sandbox_client",
61 ] 62 ]
62 63
63 data_deps += [ "//components/nacl/loader:helper_nonsfi" ] 64 if (is_nacl_nonsfi) {
65 data_deps += [ "//components/nacl/loader:helper_nonsfi" ]
66 }
64 } 67 }
65 68
66 if (is_win && current_cpu == "x86") { 69 if (is_win && current_cpu == "x86") {
67 data_deps += [ "//components/nacl/broker:nacl64" ] 70 data_deps += [ "//components/nacl/broker:nacl64" ]
68 } 71 }
69 } 72 }
70 73
71 source_set("unit_tests") { 74 source_set("unit_tests") {
72 testonly = true 75 testonly = true
73 sources = [ 76 sources = [
(...skipping 10 matching lines...) Expand all
84 "//base", 87 "//base",
85 "//components/nacl/common", 88 "//components/nacl/common",
86 "//content/test:test_support", 89 "//content/test:test_support",
87 "//net:test_support", 90 "//net:test_support",
88 ] 91 ]
89 92
90 if (is_linux) { 93 if (is_linux) {
91 sources += [ "../zygote/nacl_fork_delegate_linux_unittest.cc" ] 94 sources += [ "../zygote/nacl_fork_delegate_linux_unittest.cc" ]
92 } 95 }
93 } 96 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698