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

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: Move to //content 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 '../net/net.gyp:net', 9 '../net/net.gyp:net',
10 '../skia/skia.gyp:skia', 10 '../skia/skia.gyp:skia',
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 'common/android/address_parser.cc', 125 'common/android/address_parser.cc',
126 'common/android/address_parser.h', 126 'common/android/address_parser.h',
127 'common/android/address_parser_internal.cc', 127 'common/android/address_parser_internal.cc',
128 'common/android/address_parser_internal.h', 128 'common/android/address_parser_internal.h',
129 'common/android/common_jni_registrar.cc', 129 'common/android/common_jni_registrar.cc',
130 'common/android/common_jni_registrar.h', 130 'common/android/common_jni_registrar.h',
131 'common/android/device_telephony_info.cc', 131 'common/android/device_telephony_info.cc',
132 'common/android/device_telephony_info.h', 132 'common/android/device_telephony_info.h',
133 'common/android/hash_set.cc', 133 'common/android/hash_set.cc',
134 'common/android/hash_set.h', 134 'common/android/hash_set.h',
135 'common/android/sandbox_bpf_base_policy_android.cc',
jln (very slow on Chromium) 2014/03/31 22:57:43 Shouldn't we have this in common/sandbox_linux/ wi
Robert Sesek 2014/04/08 20:33:45 I don't know if it makes more sense to organize th
jln (very slow on Chromium) 2014/04/09 05:11:07 Maybe //content/common/sandbox_bpf/{linux,android}
Robert Sesek 2014/04/09 21:00:58 OK that SG. I've moved these into //content/common
136 'common/android/sandbox_bpf_base_policy_android.h',
135 'common/android/surface_texture_lookup.cc', 137 'common/android/surface_texture_lookup.cc',
136 'common/android/surface_texture_lookup.h', 138 'common/android/surface_texture_lookup.h',
137 'common/android/surface_texture_peer.cc', 139 'common/android/surface_texture_peer.cc',
138 'common/android/surface_texture_peer.h', 140 'common/android/surface_texture_peer.h',
139 'common/appcache_messages.h', 141 'common/appcache_messages.h',
140 'common/browser_plugin/browser_plugin_constants.cc', 142 'common/browser_plugin/browser_plugin_constants.cc',
141 'common/browser_plugin/browser_plugin_constants.h', 143 'common/browser_plugin/browser_plugin_constants.h',
142 'common/browser_plugin/browser_plugin_messages.h', 144 'common/browser_plugin/browser_plugin_messages.h',
143 'common/cc_messages.cc', 145 'common/cc_messages.cc',
144 'common/cc_messages.h', 146 'common/cc_messages.h',
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 'common/view_messages.h', 442 'common/view_messages.h',
441 'common/webplugin_geometry.cc', 443 'common/webplugin_geometry.cc',
442 'common/webplugin_geometry.h', 444 'common/webplugin_geometry.h',
443 'common/websocket.cc', 445 'common/websocket.cc',
444 'common/websocket.h', 446 'common/websocket.h',
445 'common/websocket_messages.h', 447 'common/websocket_messages.h',
446 'common/worker_messages.h', 448 'common/worker_messages.h',
447 'common/zygote_commands_linux.h', 449 'common/zygote_commands_linux.h',
448 'port/common/input_event_ack_state.h', 450 'port/common/input_event_ack_state.h',
449 ], 451 ],
452 'target_conditions': [
453 ['OS=="android"', {
454 'sources/': [
455 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'] ,
456 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
457 ],
458 }],
459 ],
450 'conditions': [ 460 'conditions': [
451 ['use_aura==1', { 461 ['use_aura==1', {
452 'sources!': [ 462 'sources!': [
453 'common/cursors/webcursor_mac.mm', 463 'common/cursors/webcursor_mac.mm',
454 'common/cursors/webcursor_win.cc', 464 'common/cursors/webcursor_win.cc',
455 ], 465 ],
456 }], 466 }],
457 ['OS=="ios"', { 467 ['OS=="ios"', {
458 # iOS has different user-agent construction utilities, since the 468 # iOS has different user-agent construction utilities, since the
459 # version strings is not derived from webkit_version, and follows 469 # version strings is not derived from webkit_version, and follows
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 'common/sandbox_linux/bpf_renderer_policy_linux.cc', 770 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
761 'common/sandbox_linux/bpf_renderer_policy_linux.h', 771 'common/sandbox_linux/bpf_renderer_policy_linux.h',
762 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc', 772 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
763 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h', 773 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
764 ], 774 ],
765 }, { 775 }, {
766 'defines': ['USE_SECCOMP_BPF'], 776 'defines': ['USE_SECCOMP_BPF'],
767 }], 777 }],
768 ], 778 ],
769 } 779 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698