security/sandbox/objs.mozbuild
author Jan-Ivar Bruaroey <jib@mozilla.com>
Mon, 10 Aug 2015 12:16:30 -0400
changeset 289964 0a170e64625c2d06c62b829352f0eece1455a0a5
parent 276691 a2d46c1cdb8e88d10c21c473eb2f86fe39bd50cc
permissions -rw-r--r--
Bug 1191298 - don't fail on unknown audio constraints e.g. getUserMedia({ audio: {} }) (regression) r=jesup

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

if CONFIG['OS_ARCH'] == 'WINNT':
    security_sandbox_lcppsrcs = [
        'chromium-shim/base/logging.cpp',
        'chromium-shim/sandbox/win/sandboxLogging.cpp',
        'chromium/base/at_exit.cc',
        'chromium/base/base_switches.cc',
        'chromium/base/callback_internal.cc',
        'chromium/base/cpu.cc',
        'chromium/base/debug/alias.cc',
        'chromium/base/debug/profiler.cc',
        'chromium/base/hash.cc',
        'chromium/base/lazy_instance.cc',
        'chromium/base/location.cc',
        'chromium/base/memory/ref_counted.cc',
        'chromium/base/memory/singleton.cc',
        'chromium/base/strings/nullable_string16.cc',
        'chromium/base/strings/string_number_conversions.cc',
        'chromium/base/strings/string_piece.cc',
        'chromium/base/strings/string_split.cc',
        'chromium/base/strings/string_util.cc',
        'chromium/base/strings/string_util_constants.cc',
        'chromium/base/strings/stringprintf.cc',
        'chromium/base/strings/utf_string_conversion_utils.cc',
        'chromium/base/strings/utf_string_conversions.cc',
        'chromium/base/synchronization/lock.cc',
        'chromium/base/synchronization/lock_impl_win.cc',
        'chromium/base/third_party/dmg_fp/dtoa.cc',
        'chromium/base/third_party/dmg_fp/g_fmt.cc',
        'chromium/base/third_party/icu/icu_utf.cc',
        'chromium/base/third_party/superfasthash/superfasthash.c',
        'chromium/base/threading/platform_thread_win.cc',
        'chromium/base/threading/thread_collision_warner.cc',
        'chromium/base/threading/thread_id_name_manager.cc',
        'chromium/base/threading/thread_local_win.cc',
        'chromium/base/threading/thread_restrictions.cc',
        'chromium/base/time/time.cc',
        'chromium/base/time/time_win.cc',
        'chromium/base/win/pe_image.cc',
        'chromium/base/win/scoped_handle.cc',
        'chromium/base/win/scoped_process_information.cc',
        'chromium/base/win/startup_information.cc',
        'chromium/base/win/windows_version.cc',
        'chromium/sandbox/win/src/acl.cc',
        'chromium/sandbox/win/src/app_container.cc',
        'chromium/sandbox/win/src/broker_services.cc',
        'chromium/sandbox/win/src/crosscall_server.cc',
        'chromium/sandbox/win/src/eat_resolver.cc',
        'chromium/sandbox/win/src/filesystem_dispatcher.cc',
        'chromium/sandbox/win/src/filesystem_interception.cc',
        'chromium/sandbox/win/src/filesystem_policy.cc',
        'chromium/sandbox/win/src/handle_closer.cc',
        'chromium/sandbox/win/src/handle_closer_agent.cc',
        'chromium/sandbox/win/src/handle_dispatcher.cc',
        'chromium/sandbox/win/src/handle_interception.cc',
        'chromium/sandbox/win/src/handle_policy.cc',
        'chromium/sandbox/win/src/handle_table.cc',
        'chromium/sandbox/win/src/interception.cc',
        'chromium/sandbox/win/src/interception_agent.cc',
        'chromium/sandbox/win/src/job.cc',
        'chromium/sandbox/win/src/named_pipe_dispatcher.cc',
        'chromium/sandbox/win/src/named_pipe_interception.cc',
        'chromium/sandbox/win/src/named_pipe_policy.cc',
        'chromium/sandbox/win/src/policy_broker.cc',
        'chromium/sandbox/win/src/policy_engine_opcodes.cc',
        'chromium/sandbox/win/src/policy_engine_processor.cc',
        'chromium/sandbox/win/src/policy_low_level.cc',
        'chromium/sandbox/win/src/policy_target.cc',
        'chromium/sandbox/win/src/process_mitigations.cc',
        'chromium/sandbox/win/src/process_mitigations_win32k_dispatcher.cc',
        'chromium/sandbox/win/src/process_mitigations_win32k_interception.cc',
        'chromium/sandbox/win/src/process_mitigations_win32k_policy.cc',
        'chromium/sandbox/win/src/process_thread_dispatcher.cc',
        'chromium/sandbox/win/src/process_thread_interception.cc',
        'chromium/sandbox/win/src/process_thread_policy.cc',
        'chromium/sandbox/win/src/registry_dispatcher.cc',
        'chromium/sandbox/win/src/registry_interception.cc',
        'chromium/sandbox/win/src/registry_policy.cc',
        'chromium/sandbox/win/src/resolver.cc',
        'chromium/sandbox/win/src/restricted_token.cc',
        'chromium/sandbox/win/src/restricted_token_utils.cc',
        'chromium/sandbox/win/src/sandbox.cc',
        'chromium/sandbox/win/src/sandbox_globals.cc',
        'chromium/sandbox/win/src/sandbox_nt_util.cc',
        'chromium/sandbox/win/src/sandbox_policy_base.cc',
        'chromium/sandbox/win/src/sandbox_utils.cc',
        'chromium/sandbox/win/src/service_resolver.cc',
        'chromium/sandbox/win/src/shared_handles.cc',
        'chromium/sandbox/win/src/sharedmem_ipc_client.cc',
        'chromium/sandbox/win/src/sharedmem_ipc_server.cc',
        'chromium/sandbox/win/src/sid.cc',
        'chromium/sandbox/win/src/sync_dispatcher.cc',
        'chromium/sandbox/win/src/sync_interception.cc',
        'chromium/sandbox/win/src/sync_policy.cc',
        'chromium/sandbox/win/src/target_interceptions.cc',
        'chromium/sandbox/win/src/target_process.cc',
        'chromium/sandbox/win/src/target_services.cc',
        'chromium/sandbox/win/src/win2k_threadpool.cc',
        'chromium/sandbox/win/src/win_utils.cc',
        'chromium/sandbox/win/src/window.cc',
    ]

    if CONFIG['CPU_ARCH'] == 'x86_64':
        security_sandbox_lcppsrcs += [
            'chromium/sandbox/win/src/interceptors_64.cc',
            'chromium/sandbox/win/src/resolver_64.cc',
            'chromium/sandbox/win/src/service_resolver_64.cc',
            'chromium/sandbox/win/src/Wow64_64.cc',
        ]
    else:
        security_sandbox_lcppsrcs += [
            'chromium/sandbox/win/src/resolver_32.cc',
            'chromium/sandbox/win/src/service_resolver_32.cc',
            'chromium/sandbox/win/src/sidestep/ia32_modrm_map.cpp',
            'chromium/sandbox/win/src/sidestep/ia32_opcode_map.cpp',
            'chromium/sandbox/win/src/sidestep/mini_disassembler.cpp',
            'chromium/sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp',
            'chromium/sandbox/win/src/sidestep_resolver.cc',
            'chromium/sandbox/win/src/Wow64.cc',
        ]

    security_sandbox_cppsrcs = [
        '/security/sandbox/%s' % s
            for s in sorted(security_sandbox_lcppsrcs)
    ]