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

Side by Side Diff: content/content_common.gypi

Issue 180783019: [Android] Define a baseline seccomp-bpf sandbox policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase & address comments Created 6 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'dependencies': [ 6 'dependencies': [
7 '../base/base.gyp:base', 7 '../base/base.gyp:base',
8 '../components/tracing.gyp:tracing', 8 '../components/tracing.gyp:tracing',
9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', 9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
10 '../net/net.gyp:net', 10 '../net/net.gyp:net',
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 'common/android/address_parser.cc', 127 'common/android/address_parser.cc',
128 'common/android/address_parser.h', 128 'common/android/address_parser.h',
129 'common/android/address_parser_internal.cc', 129 'common/android/address_parser_internal.cc',
130 'common/android/address_parser_internal.h', 130 'common/android/address_parser_internal.h',
131 'common/android/common_jni_registrar.cc', 131 'common/android/common_jni_registrar.cc',
132 'common/android/common_jni_registrar.h', 132 'common/android/common_jni_registrar.h',
133 'common/android/device_telephony_info.cc', 133 'common/android/device_telephony_info.cc',
134 'common/android/device_telephony_info.h', 134 'common/android/device_telephony_info.h',
135 'common/android/hash_set.cc', 135 'common/android/hash_set.cc',
136 'common/android/hash_set.h', 136 'common/android/hash_set.h',
137 'common/android/sandbox_bpf_base_policy_android.cc',
138 'common/android/sandbox_bpf_base_policy_android.h',
137 'common/android/surface_texture_lookup.cc', 139 'common/android/surface_texture_lookup.cc',
138 'common/android/surface_texture_lookup.h', 140 'common/android/surface_texture_lookup.h',
139 'common/android/surface_texture_peer.cc', 141 'common/android/surface_texture_peer.cc',
140 'common/android/surface_texture_peer.h', 142 'common/android/surface_texture_peer.h',
141 'common/appcache_messages.h', 143 'common/appcache_messages.h',
142 'common/browser_plugin/browser_plugin_constants.cc', 144 'common/browser_plugin/browser_plugin_constants.cc',
143 'common/browser_plugin/browser_plugin_constants.h', 145 'common/browser_plugin/browser_plugin_constants.h',
144 'common/browser_plugin/browser_plugin_messages.h', 146 'common/browser_plugin/browser_plugin_messages.h',
145 'common/cc_messages.cc', 147 'common/cc_messages.cc',
146 'common/cc_messages.h', 148 'common/cc_messages.h',
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 'common/view_messages.h', 445 'common/view_messages.h',
444 'common/webplugin_geometry.cc', 446 'common/webplugin_geometry.cc',
445 'common/webplugin_geometry.h', 447 'common/webplugin_geometry.h',
446 'common/websocket.cc', 448 'common/websocket.cc',
447 'common/websocket.h', 449 'common/websocket.h',
448 'common/websocket_messages.h', 450 'common/websocket_messages.h',
449 'common/worker_messages.h', 451 'common/worker_messages.h',
450 'common/zygote_commands_linux.h', 452 'common/zygote_commands_linux.h',
451 'port/common/input_event_ack_state.h', 453 'port/common/input_event_ack_state.h',
452 ], 454 ],
455 'target_conditions': [
456 ['OS=="android"', {
457 'sources/': [
458 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'] ,
459 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
460 ],
461 }],
462 ],
453 'conditions': [ 463 'conditions': [
454 ['use_aura==1', { 464 ['use_aura==1', {
455 'sources!': [ 465 'sources!': [
456 'common/cursors/webcursor_mac.mm', 466 'common/cursors/webcursor_mac.mm',
457 'common/cursors/webcursor_win.cc', 467 'common/cursors/webcursor_win.cc',
458 ], 468 ],
459 }], 469 }],
460 ['OS=="ios"', { 470 ['OS=="ios"', {
461 # iOS has different user-agent construction utilities, since the 471 # iOS has different user-agent construction utilities, since the
462 # version strings is not derived from webkit_version, and follows 472 # version strings is not derived from webkit_version, and follows
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 'common/sandbox_linux/bpf_renderer_policy_linux.cc', 757 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
748 'common/sandbox_linux/bpf_renderer_policy_linux.h', 758 'common/sandbox_linux/bpf_renderer_policy_linux.h',
749 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', 759 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
750 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', 760 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
751 ], 761 ],
752 }, { 762 }, {
753 'defines': ['USE_SECCOMP_BPF'], 763 'defines': ['USE_SECCOMP_BPF'],
754 }], 764 }],
755 ], 765 ],
756 } 766 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698