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 ] | 100 ] |
100 } | 101 } |
101 } else { | 102 } else { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 sources = [ | 143 sources = [ |
143 "app/sandbox_helper_win.cc", | 144 "app/sandbox_helper_win.cc", |
144 "public/app/sandbox_helper_win.h", | 145 "public/app/sandbox_helper_win.h", |
145 ] | 146 ] |
146 | 147 |
147 deps = [ | 148 deps = [ |
148 "//sandbox", | 149 "//sandbox", |
149 ] | 150 ] |
150 } | 151 } |
151 } | 152 } |
OLD | NEW |