| 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 import("//ppapi/features/features.gni") | 7 import("//ppapi/features/features.gni") |
| 8 | 8 |
| 9 # Applied by targets internal to content. | 9 # Applied by targets internal to content. |
| 10 config("content_implementation") { | 10 config("content_implementation") { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 set_sources_assignment_filter([]) | 87 set_sources_assignment_filter([]) |
| 88 sources = [ | 88 sources = [ |
| 89 "common/sandbox_linux/sandbox_init_linux.cc", | 89 "common/sandbox_linux/sandbox_init_linux.cc", |
| 90 "common/sandbox_linux/sandbox_seccomp_bpf_linux.cc", | 90 "common/sandbox_linux/sandbox_seccomp_bpf_linux.cc", |
| 91 "common/send_zygote_child_ping_linux.cc", | 91 "common/send_zygote_child_ping_linux.cc", |
| 92 "public/common/content_switches.cc", | 92 "public/common/content_switches.cc", |
| 93 "public/common/mojo_channel_switches.cc", | 93 "public/common/mojo_channel_switches.cc", |
| 94 ] | 94 ] |
| 95 set_sources_assignment_filter(sources_assignment_filter) | 95 set_sources_assignment_filter(sources_assignment_filter) |
| 96 | 96 |
| 97 defines = [ "USE_SECCOMP_BPF=1" ] | |
| 98 | |
| 99 deps = [ | 97 deps = [ |
| 100 "//base", | 98 "//base", |
| 101 "//media:media_features", | 99 "//media:media_features", |
| 100 "//sandbox:sandbox_features", |
| 102 "//sandbox/linux:sandbox", | 101 "//sandbox/linux:sandbox", |
| 103 ] | 102 ] |
| 104 } | 103 } |
| 105 } else { | 104 } else { |
| 106 group("content") { | 105 group("content") { |
| 107 public_deps = content_shared_components | 106 public_deps = content_shared_components |
| 108 } | 107 } |
| 109 } | 108 } |
| 110 | 109 |
| 111 grit("resources") { | 110 grit("resources") { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 sources = [ | 146 sources = [ |
| 148 "app/sandbox_helper_win.cc", | 147 "app/sandbox_helper_win.cc", |
| 149 "public/app/sandbox_helper_win.h", | 148 "public/app/sandbox_helper_win.h", |
| 150 ] | 149 ] |
| 151 | 150 |
| 152 deps = [ | 151 deps = [ |
| 153 "//sandbox", | 152 "//sandbox", |
| 154 ] | 153 ] |
| 155 } | 154 } |
| 156 } | 155 } |
| OLD | NEW |