| 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/content_switches.h", |
| 92 "public/common/mojo_channel_switches.cc", | 93 "public/common/mojo_channel_switches.cc", |
| 94 "public/common/mojo_channel_switches.h", |
| 93 ] | 95 ] |
| 94 set_sources_assignment_filter(sources_assignment_filter) | 96 set_sources_assignment_filter(sources_assignment_filter) |
| 95 | 97 |
| 96 defines = [ "USE_SECCOMP_BPF=1" ] | 98 defines = [ "USE_SECCOMP_BPF=1" ] |
| 97 | 99 |
| 98 deps = [ | 100 deps = [ |
| 99 "//base", | 101 "//base", |
| 100 "//sandbox/linux:sandbox", | 102 "//sandbox/linux:sandbox", |
| 101 ] | 103 ] |
| 102 } | 104 } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 sources = [ | 147 sources = [ |
| 146 "app/sandbox_helper_win.cc", | 148 "app/sandbox_helper_win.cc", |
| 147 "public/app/sandbox_helper_win.h", | 149 "public/app/sandbox_helper_win.h", |
| 148 ] | 150 ] |
| 149 | 151 |
| 150 deps = [ | 152 deps = [ |
| 151 "//sandbox", | 153 "//sandbox", |
| 152 ] | 154 ] |
| 153 } | 155 } |
| 154 } | 156 } |
| OLD | NEW |