OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
7 | 7 |
8 # Applied by targets internal to content. | 8 # Applied by targets internal to content. |
9 config("content_implementation") { | 9 config("content_implementation") { |
10 defines = [ "CONTENT_IMPLEMENTATION" ] | 10 defines = [ "CONTENT_IMPLEMENTATION" ] |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 ] | 82 ] |
83 } | 83 } |
84 } else if (is_nacl_nonsfi) { | 84 } else if (is_nacl_nonsfi) { |
85 source_set("content") { | 85 source_set("content") { |
86 set_sources_assignment_filter([]) | 86 set_sources_assignment_filter([]) |
87 sources = [ | 87 sources = [ |
88 "common/sandbox_linux/sandbox_init_linux.cc", | 88 "common/sandbox_linux/sandbox_init_linux.cc", |
89 "common/sandbox_linux/sandbox_seccomp_bpf_linux.cc", | 89 "common/sandbox_linux/sandbox_seccomp_bpf_linux.cc", |
90 "common/send_zygote_child_ping_linux.cc", | 90 "common/send_zygote_child_ping_linux.cc", |
91 "public/common/content_switches.cc", | 91 "public/common/content_switches.cc", |
| 92 "public/common/mojo_channel_switches.cc", |
92 ] | 93 ] |
93 set_sources_assignment_filter(sources_assignment_filter) | 94 set_sources_assignment_filter(sources_assignment_filter) |
94 | 95 |
95 defines = [ "USE_SECCOMP_BPF=1" ] | 96 defines = [ "USE_SECCOMP_BPF=1" ] |
96 | 97 |
97 deps = [ | 98 deps = [ |
98 "//base", | 99 "//base", |
99 "//sandbox/linux:sandbox", | 100 "//sandbox/linux:sandbox", |
100 ] | 101 ] |
101 } | 102 } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 sources = [ | 145 sources = [ |
145 "app/sandbox_helper_win.cc", | 146 "app/sandbox_helper_win.cc", |
146 "public/app/sandbox_helper_win.h", | 147 "public/app/sandbox_helper_win.h", |
147 ] | 148 ] |
148 | 149 |
149 deps = [ | 150 deps = [ |
150 "//sandbox", | 151 "//sandbox", |
151 ] | 152 ] |
152 } | 153 } |
153 } | 154 } |
OLD | NEW |