0

Remove GYP files from some smaller toplevel dirs.

These are now unused.

TBR=dpranke

Review-Url: https://codereview.chromium.org/2295963002
Cr-Commit-Position: refs/heads/master@{#415409}
This commit is contained in:
brettw
2016-08-30 13:33:10 -07:00
committed by Commit bot
parent 5772bc071f
commit cd1547c425
18 changed files with 0 additions and 5111 deletions

@ -1,96 +0,0 @@
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
# GN version: //apps
'target_name': 'apps',
'type': 'static_library',
'variables': { 'enable_wexit_time_destructors': 1, },
# Since browser and browser_extensions actually depend on each other,
# we must omit the dependency from browser_extensions to browser.
# However, this means browser_extensions and browser should more or less
# have the same dependencies. Once browser_extensions is untangled from
# browser, then we can clean up these dependencies.
'dependencies': [
'browser_extensions',
'chrome_resources.gyp:theme_resources',
'common/extensions/api/api.gyp:chrome_api',
'../skia/skia.gyp:skia',
],
'include_dirs': [
'<(INTERMEDIATE_DIR)',
'<(grit_out_dir)',
],
'sources': [
# Note: file list duplicated in GN build.
'app_lifetime_monitor.cc',
'app_lifetime_monitor.h',
'app_lifetime_monitor_factory.cc',
'app_lifetime_monitor_factory.h',
'app_load_service.cc',
'app_load_service.h',
'app_load_service_factory.cc',
'app_load_service_factory.h',
'app_restore_service.cc',
'app_restore_service.h',
'app_restore_service_factory.cc',
'app_restore_service_factory.h',
'browser_context_keyed_service_factories.cc',
'browser_context_keyed_service_factories.h',
'custom_launcher_page_contents.cc',
'custom_launcher_page_contents.h',
'launcher.cc',
'launcher.h',
'metrics_names.h',
'saved_files_service.cc',
'saved_files_service.h',
'saved_files_service_factory.cc',
'saved_files_service_factory.h',
'switches.cc',
'switches.h',
'ui/views/app_window_frame_view.cc',
'ui/views/app_window_frame_view.h',
],
'conditions': [
['chromeos==1',
{
'dependencies': [
'browser_chromeos',
]
}
],
['enable_extensions==0',
{
'dependencies!': [
'browser_extensions',
'common/extensions/api/api.gyp:chrome_api',
],
'sources/': [
['exclude', '.*'],
],
}
],
['toolkit_views==1', {
'dependencies': [
'../ui/strings/ui_strings.gyp:ui_strings',
'../ui/views/views.gyp:views',
],
}, { # toolkit_views==0
'sources/': [
['exclude', 'ui/views/'],
],
}],
['toolkit_views==1 and enable_extensions==1', {
'dependencies': [
'../extensions/extensions.gyp:extensions_browser',
],
}],
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
},
], # targets
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,159 +0,0 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'includes': [
# base.gypi must be included before common_untrusted.gypi.
#
# TODO(sergeyu): Replace the target_defaults magic in base.gypi with a
# sources variables lists. That way order of includes will not matter.
'base.gypi',
'../build/common_untrusted.gypi',
],
'conditions': [
['disable_nacl==0 and disable_nacl_untrusted==0', {
'targets': [
{
'target_name': 'base_nacl',
'type': 'none',
'variables': {
'base_target': 1,
'nacl_untrusted_build': 1,
'nlib_target': 'libbase_nacl.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 1,
'build_pnacl_newlib': 1,
'sources': [
'base_switches.cc',
'base_switches.h',
'strings/string16.cc',
'sync_socket_nacl.cc',
'time/time_posix.cc',
],
'compile_flags': [
'-fno-strict-aliasing',
],
},
'dependencies': [
'allocator/allocator.gyp:allocator_features#target',
'base.gyp:base_debugging_flags',
'base.gyp:base_build_date',
],
},
{
'target_name': 'base_i18n_nacl',
'type': 'none',
'variables': {
'base_i18n_target': 1,
'nacl_untrusted_build': 1,
'nlib_target': 'libbase_i18n_nacl.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 0,
'build_pnacl_newlib': 1,
'sources': [
'base_switches.cc',
'base_switches.h',
'strings/string16.cc',
'sync_socket_nacl.cc',
'time/time_posix.cc',
],
},
'dependencies': [
'allocator/allocator.gyp:allocator_features#target',
'base.gyp:base_build_date',
'../third_party/ced/ced_nacl.gyp:ced_nacl',
'../third_party/icu/icu_nacl.gyp:icudata_nacl',
'../third_party/icu/icu_nacl.gyp:icui18n_nacl',
'../third_party/icu/icu_nacl.gyp:icuuc_nacl',
],
},
{
'target_name': 'base_nacl_nonsfi',
'type': 'none',
'variables': {
'base_target': 1,
'nacl_untrusted_build': 1,
'nlib_target': 'libbase_nacl_nonsfi.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 0,
'build_pnacl_newlib': 0,
'build_nonsfi_helper': 1,
'sources': [
'base_switches.cc',
'base_switches.h',
# For PathExists and ReadFromFD.
'files/file_util.cc',
'files/file_util_posix.cc',
# For MessageLoopForIO based on libevent.
'message_loop/message_pump_libevent.cc',
'message_loop/message_pump_libevent.h',
# For UnixDomainSocket::SendMsg and RecvMsg.
'posix/unix_domain_socket_linux.cc',
# For GetKnownDeadTerminationStatus and GetTerminationStatus.
'process/kill_posix.cc',
# For ForkWithFlags.
'process/launch.h',
'process/launch_posix.cc',
# Unlike libbase_nacl, for Non-SFI build, we need to use
# rand_util_posix for random implementation, instead of
# rand_util_nacl.cc, which is based on IRT. rand_util_nacl.cc is
# excluded below.
'rand_util_posix.cc',
# For CancelableSyncSocket.
'sync_socket_nacl.cc',
],
},
'sources!': [
'rand_util_nacl.cc',
],
'dependencies': [
'allocator/allocator.gyp:allocator_features#target',
'base.gyp:base_debugging_flags',
'base.gyp:base_build_date',
'third_party/libevent/libevent_nacl_nonsfi.gyp:event_nacl_nonsfi',
],
},
{
'target_name': 'test_support_base_nacl_nonsfi',
'type': 'none',
'variables': {
'nacl_untrusted_build': 1,
'nlib_target': 'libtest_support_base_nacl_nonsfi.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 0,
'build_pnacl_newlib': 0,
'build_nonsfi_helper': 1,
'sources': [
'test/gtest_util.cc',
'test/launcher/unit_test_launcher_nacl_nonsfi.cc',
'test/gtest_xml_unittest_result_printer.cc',
'test/test_switches.cc',
],
},
'dependencies': [
'base.gyp:base_build_date',
'base_nacl_nonsfi',
'../testing/gtest_nacl.gyp:gtest_nacl',
],
},
],
}],
],
}

@ -1,90 +0,0 @@
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'blacklist',
'type': 'static_library',
'include_dirs': [
'..',
'<(SHARED_INTERMEDIATE_DIR)',
],
'sources': [
'blacklist/blacklist.cc',
'blacklist/blacklist.h',
'blacklist/blacklist_interceptions.cc',
'blacklist/blacklist_interceptions.h',
],
'dependencies': [
'../base/base.gyp:base',
'../chrome/chrome.gyp:install_static_util',
'../chrome_elf/chrome_elf.gyp:chrome_elf_constants',
'../chrome_elf/chrome_elf.gyp:chrome_elf_hook_util',
'../chrome_elf/nt_registry/nt_registry.gyp:chrome_elf_nt_registry',
'../sandbox/sandbox.gyp:sandbox',
],
},
{
'target_name': 'blacklist_test_main_dll',
'type': 'shared_library',
'sources': [
'blacklist/test/blacklist_test_main_dll.cc',
'blacklist/test/blacklist_test_main_dll.def',
],
'dependencies': [
'../base/base.gyp:base',
'../chrome/chrome.gyp:install_static_util',
'../chrome_elf/chrome_elf.gyp:chrome_elf_crash',
'../chrome_elf/nt_registry/nt_registry.gyp:chrome_elf_nt_registry',
'blacklist',
],
'msvs_settings': {
'VCLinkerTool': {
'DelayLoadDLLs': [
'dbghelp.dll',
'ole32.dll',
'psapi.dll',
'rpcrt4.dll',
'shell32.dll',
'shlwapi.dll',
'user32.dll',
'winhttp.dll',
'winmm.dll',
'ws2_32.dll',
],
},
},
},
{
'target_name': 'blacklist_test_dll_1',
'type': 'loadable_module',
'sources': [
'blacklist/test/blacklist_test_dll_1.cc',
'blacklist/test/blacklist_test_dll_1.def',
],
},
{
'target_name': 'blacklist_test_dll_2',
'type': 'loadable_module',
'sources': [
'blacklist/test/blacklist_test_dll_2.cc',
'blacklist/test/blacklist_test_dll_2.def',
],
},
{
'target_name': 'blacklist_test_dll_3',
'type': 'loadable_module',
'sources': [
'blacklist/test/blacklist_test_dll_3.cc',
],
'msvs_settings': {
# There's no exports in this DLL, this tells ninja not to expect an
# import lib so that it doesn't keep rebuilding unnecessarily due to
# the .lib being "missing".
'NoImportLibrary': 'true',
},
},
],
}

@ -1,223 +0,0 @@
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'includes': [
'../build/util/version.gypi',
'../build/win_precompile.gypi',
'blacklist.gypi',
'dll_hash.gypi',
],
'targets': [
##--------------------------------------------------------------------------
## chrome_elf
##--------------------------------------------------------------------------
{
'target_name': 'chrome_elf_resources',
'type': 'none',
'variables': {
'output_dir': 'chrome_elf',
'branding_path': '../chrome/app/theme/<(branding_path_component)/BRANDING',
'template_input_path': '../chrome/app/chrome_version.rc.version',
},
'sources': [
'chrome_elf.ver',
],
'includes': [
'../chrome/version_resource_rules.gypi',
],
},
{
'target_name': 'chrome_elf',
'type': 'shared_library',
'include_dirs': [
'..',
],
'sources': [
'chrome_elf.def',
'chrome_elf_main.cc',
'chrome_elf_main.h',
'<(SHARED_INTERMEDIATE_DIR)/chrome_elf/chrome_elf_version.rc',
],
'dependencies': [
'../chrome/chrome.gyp:install_static_util',
'blacklist',
'chrome_elf_crash',
'chrome_elf_hook_util',
'chrome_elf_resources',
'chrome_elf_security',
'nt_registry/nt_registry.gyp:chrome_elf_nt_registry',
],
'msvs_settings': {
'VCLinkerTool': {
'conditions': [
['target_arch=="ia32"', {
# Don't set an x64 base address (to avoid breaking HE-ASLR).
'BaseAddress': '0x01c20000',
}],
],
# Set /SUBSYSTEM:WINDOWS.
'SubSystem': '2',
'AdditionalDependencies!': [
'user32.lib',
],
'IgnoreDefaultLibraryNames': [
'user32.lib',
],
},
},
},
##--------------------------------------------------------------------------
## chrome_elf sub targets
##--------------------------------------------------------------------------
{
'target_name': 'chrome_elf_constants',
'type': 'static_library',
'include_dirs': [
'..',
],
'sources': [
'chrome_elf_constants.cc',
'chrome_elf_constants.h',
],
},
{
'target_name': 'chrome_elf_crash',
'type': 'static_library',
'include_dirs': [
'..',
],
'sources': [
'../chrome/app/chrome_crash_reporter_client_win.cc',
'../chrome/app/chrome_crash_reporter_client_win.h',
'../chrome/common/chrome_result_codes.h',
'crash/crash_helper.cc',
'crash/crash_helper.h',
],
'dependencies': [
'../base/base.gyp:base', # This needs to go.
'../base/base.gyp:base_static', # pe_image
'../chrome/chrome.gyp:install_static_util',
'../components/components.gyp:crash_component',
'../components/components.gyp:crash_core_common', #crash_keys
'chrome_elf_hook_util',
],
},
{
'target_name': 'chrome_elf_hook_util',
'type': 'static_library',
'include_dirs': [
'..',
],
'sources': [
'../base/macros.h',
'hook_util/hook_util.cc',
'hook_util/hook_util.h',
],
'dependencies': [
'../base/base.gyp:base_static', # pe_image
'../sandbox/sandbox.gyp:sandbox',
],
},
{
'target_name': 'chrome_elf_security',
'type': 'static_library',
'include_dirs': [
'..',
],
'sources': [
'chrome_elf_security.cc',
'chrome_elf_security.h',
],
'dependencies': [
'chrome_elf_constants',
'nt_registry/nt_registry.gyp:chrome_elf_nt_registry',
]
},
##--------------------------------------------------------------------------
## tests
##--------------------------------------------------------------------------
{
'target_name': 'chrome_elf_unittests_exe',
'product_name': 'chrome_elf_unittests',
'type': 'executable',
'sources': [
'blacklist/test/blacklist_test.cc',
'chrome_elf_util_unittest.cc',
'elf_imports_unittest.cc',
'run_all_unittests.cc',
],
'include_dirs': [
'..',
'<(SHARED_INTERMEDIATE_DIR)',
],
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:run_all_unittests',
'../base/base.gyp:test_support_base',
'../chrome/chrome.gyp:install_static_util',
'../sandbox/sandbox.gyp:sandbox',
'../testing/gtest.gyp:gtest',
'blacklist',
'blacklist_test_dll_1',
'blacklist_test_dll_2',
'blacklist_test_dll_3',
'blacklist_test_main_dll',
'chrome_elf_crash',
'chrome_elf_hook_util',
'chrome_elf_security',
'nt_registry/nt_registry.gyp:chrome_elf_nt_registry',
],
'msvs_settings': {
'VCLinkerTool': {
'DelayLoadDLLs': [
'dbghelp.dll',
'ole32.dll',
'psapi.dll',
'rpcrt4.dll',
'shell32.dll',
'shlwapi.dll',
'user32.dll',
'winhttp.dll',
'winmm.dll',
'ws2_32.dll',
],
},
},
},
{
# A dummy target to ensure that chrome_elf.dll and chrome.exe gets built
# when building chrome_elf_unittests.exe without introducing an
# explicit runtime dependency.
'target_name': 'chrome_elf_unittests',
'type': 'none',
'dependencies': [
'../chrome/chrome.gyp:chrome',
'../chrome/chrome.gyp:install_static_util',
'chrome_elf',
'chrome_elf_unittests_exe',
],
},
], # targets
##----------------------------------------------------------------------------
## conditionals
##----------------------------------------------------------------------------
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'chrome_elf_unittests_run',
'type': 'none',
'dependencies': [
'chrome_elf_unittests',
],
'includes': [ '../build/isolate.gypi' ],
'sources': [ 'chrome_elf_unittests.isolate' ],
},
],
}],
],
}

@ -1,31 +0,0 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'dll_hash',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
],
'sources': [
'dll_hash/dll_hash.cc',
'dll_hash/dll_hash.h',
],
},
{
'target_name': 'dll_hash_main',
'type': 'executable',
'dependencies': [
'dll_hash',
],
'include_dirs': [
'..',
],
'sources': [
'dll_hash/dll_hash_main.cc',
],
}
]
}

@ -1,51 +0,0 @@
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# The nt_registry target should only depend on functions in kernel32.
# Please don't add dependencies on other system libraries.
{
'target_defaults': {
# This part is shared between the two versions of the target.
'type': 'static_library',
'sources': [
'nt_registry.cc',
'nt_registry.h',
],
'include_dirs': [
'../..',
'<(SHARED_INTERMEDIATE_DIR)',
],
'msvs_settings': {
'VCLinkerTool': {
# Please don't add dependencies on other system libraries.
'AdditionalDependencies': [
'kernel32.lib',
],
},
},
},
'conditions': [
['OS=="win"', {
'targets': [
{
# GN version: "//chrome_elf/nt_registry",
'target_name': 'chrome_elf_nt_registry',
},
],
}],
['OS=="win" and target_arch=="ia32"', {
'targets': [
{
# GN version: "//chrome_elf/nt_registry",
'target_name': 'chrome_elf_nt_registry_nacl_win64',
'configurations': {
'Common_Base': {
'msvs_target_platform': 'x64',
},
},
},
],
}],
],
}

@ -1,236 +0,0 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'includes': [
'crypto.gypi',
],
'targets': [
{
'target_name': 'crypto',
'type': '<(component)',
'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto
'dependencies': [
'../base/base.gyp:base',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../third_party/boringssl/boringssl.gyp:boringssl',
],
'defines': [
'CRYPTO_IMPLEMENTATION',
],
'conditions': [
[ 'os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
'dependencies': [
'../build/linux/system.gyp:nss',
],
'export_dependent_settings': [
'../build/linux/system.gyp:nss',
],
'conditions': [
[ 'chromeos==1', {
'sources/': [ ['include', '_chromeos\\.cc$'] ]
},
],
],
}],
[ 'OS != "mac" and OS != "ios"', {
'sources!': [
'apple_keychain.h',
'mock_apple_keychain.cc',
'mock_apple_keychain.h',
],
}],
[ 'os_bsd==1', {
'link_settings': {
'libraries': [
'-L/usr/local/lib -lexecinfo',
],
},
},
],
[ 'OS == "mac"', {
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Security.framework',
],
},
}, { # OS != "mac"
'sources!': [
'cssm_init.cc',
'cssm_init.h',
'mac_security_services_lock.cc',
'mac_security_services_lock.h',
],
}],
[ 'OS != "win"', {
'sources!': [
'capi_util.h',
'capi_util.cc',
],
}],
[ 'OS == "win"', {
'msvs_disabled_warnings': [
4267, # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
],
}],
[ 'use_nss_certs==0', {
# Some files are built when NSS is used for the platform certificate library.
'sources!': [
'nss_key_util.cc',
'nss_key_util.h',
'nss_util.cc',
'nss_util.h',
'nss_util_internal.h',
],
},],
],
'sources': [
'<@(crypto_sources)',
],
},
{
'target_name': 'crypto_unittests',
'type': 'executable',
'sources': [
'aead_unittest.cc',
'curve25519_unittest.cc',
'ec_private_key_unittest.cc',
'ec_signature_creator_unittest.cc',
'encryptor_unittest.cc',
'hkdf_unittest.cc',
'hmac_unittest.cc',
'nss_key_util_unittest.cc',
'nss_util_unittest.cc',
'openssl_bio_string_unittest.cc',
'p224_unittest.cc',
'p224_spake_unittest.cc',
'random_unittest.cc',
'rsa_private_key_unittest.cc',
'secure_hash_unittest.cc',
'sha2_unittest.cc',
'signature_creator_unittest.cc',
'signature_verifier_unittest.cc',
'symmetric_key_unittest.cc',
],
'dependencies': [
'crypto',
'crypto_test_support',
'../base/base.gyp:base',
'../base/base.gyp:run_all_unittests',
'../base/base.gyp:test_support_base',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'../third_party/boringssl/boringssl.gyp:boringssl',
],
'conditions': [
[ 'use_nss_certs == 1', {
'dependencies': [
'../build/linux/system.gyp:nss',
],
}],
[ 'use_nss_certs == 0', {
# Some files are built when NSS is used for the platform certificate library.
'sources!': [
'nss_key_util_unittest.cc',
'nss_util_unittest.cc',
],
}],
[ 'OS == "win"', {
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
}],
],
},
],
'conditions': [
['OS == "win" and target_arch=="ia32"', {
'targets': [
{
'target_name': 'crypto_nacl_win64',
# We use the native APIs for the helper.
'type': '<(component)',
'dependencies': [
'../base/base.gyp:base_win64',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
'../third_party/boringssl/boringssl.gyp:boringssl_nacl_win64',
],
'sources': [
'<@(nacl_win64_sources)',
],
'defines': [
'CRYPTO_IMPLEMENTATION',
'<@(nacl_win64_defines)',
],
'configurations': {
'Common_Base': {
'msvs_target_platform': 'x64',
},
},
},
],
}],
['use_nss_certs==1', {
'targets': [
{
'target_name': 'crypto_test_support',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'crypto',
],
'sources': [
'scoped_test_nss_db.cc',
'scoped_test_nss_db.h',
'scoped_test_nss_chromeos_user.cc',
'scoped_test_nss_chromeos_user.h',
'scoped_test_system_nss_key_slot.cc',
'scoped_test_system_nss_key_slot.h',
],
'conditions': [
['use_nss_certs==0', {
'sources!': [
'scoped_test_nss_db.cc',
'scoped_test_nss_db.h',
],
}],
[ 'chromeos==0', {
'sources!': [
'scoped_test_nss_chromeos_user.cc',
'scoped_test_nss_chromeos_user.h',
'scoped_test_system_nss_key_slot.cc',
'scoped_test_system_nss_key_slot.h',
],
}],
],
}
]}, { # use_nss_certs==0
'targets': [
{
'target_name': 'crypto_test_support',
'type': 'none',
'sources': [],
}
]}],
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'crypto_unittests_run',
'type': 'none',
'dependencies': [
'crypto_unittests',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'crypto_unittests.isolate',
],
},
],
}],
],
}

@ -1,88 +0,0 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
# Put all transitive dependencies for Windows HMAC here.
# This is required so that we can build them for nacl win64.
'variables': {
'hmac_win64_related_sources': [
'crypto_export.h',
'hmac.cc',
'hmac.h',
'openssl_util.cc',
'openssl_util.h',
'secure_util.cc',
'secure_util.h',
'symmetric_key.cc',
'symmetric_key.h',
],
},
'crypto_sources': [
# NOTE: all transitive dependencies of HMAC on windows need
# to be placed in the source list above.
'<@(hmac_win64_related_sources)',
'aead.cc',
'aead.h',
'apple_keychain.h',
'apple_keychain_ios.mm',
'apple_keychain_mac.mm',
'auto_cbb.h',
'capi_util.cc',
'capi_util.h',
'cssm_init.cc',
'cssm_init.h',
'curve25519.cc',
'curve25519.h',
'ec_private_key.cc',
'ec_private_key.h',
'ec_signature_creator.cc',
'ec_signature_creator.h',
'ec_signature_creator_impl.cc',
'ec_signature_creator_impl.h',
'encryptor.cc',
'encryptor.h',
'hkdf.cc',
'hkdf.h',
'mac_security_services_lock.cc',
'mac_security_services_lock.h',
'mock_apple_keychain.cc',
'mock_apple_keychain.h',
'mock_apple_keychain_ios.cc',
'mock_apple_keychain_mac.cc',
'p224_spake.cc',
'p224_spake.h',
'nss_crypto_module_delegate.h',
'nss_key_util.cc',
'nss_key_util.h',
'nss_util.cc',
'nss_util.h',
'nss_util_internal.h',
'openssl_bio_string.cc',
'openssl_bio_string.h',
'p224.cc',
'p224.h',
'random.h',
'random.cc',
'rsa_private_key.cc',
'rsa_private_key.h',
'scoped_capi_types.h',
'scoped_nss_types.h',
'secure_hash.cc',
'secure_hash.h',
'sha2.cc',
'sha2.h',
'signature_creator.cc',
'signature_creator.h',
'signature_verifier.cc',
'signature_verifier.h',
'wincrypt_shim.h',
],
'nacl_win64_sources': [
'<@(hmac_win64_related_sources)',
'random.cc',
'random.h',
],
}
}

@ -1,44 +0,0 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'includes': [
'../native_client/build/untrusted.gypi',
'crypto.gypi',
],
'targets': [
{
'target_name': 'crypto_nacl',
'type': 'none',
'variables': {
'nacl_untrusted_build': 1,
'nlib_target': 'libcrypto_nacl.a',
'build_glibc': 0,
'build_newlib': 0,
'build_pnacl_newlib': 1,
},
'dependencies': [
'../third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl',
'../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
],
'defines': [
'CRYPTO_IMPLEMENTATION',
],
'sources': [
'<@(crypto_sources)',
],
'sources/': [
['exclude', '_nss\.(cc|h)$'],
['exclude', '^(mock_)?apple_'],
['exclude', '^capi_'],
['exclude', '^cssm_'],
['exclude', '^nss_'],
['exclude', '^mac_'],
],
},
],
}

@ -1,141 +0,0 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'dbus',
'type': '<(component)',
'dependencies': [
'../base/base.gyp:base',
'../build/linux/system.gyp:dbus',
'../third_party/protobuf/protobuf.gyp:protobuf_lite',
],
'export_dependent_settings': [
'../base/base.gyp:base',
],
'defines': [
'DBUS_IMPLEMENTATION',
],
'sources': [
'bus.cc',
'bus.h',
'dbus_export.h',
'dbus_statistics.cc',
'dbus_statistics.h',
'exported_object.cc',
'exported_object.h',
'file_descriptor.cc',
'file_descriptor.h',
'message.cc',
'message.h',
'object_manager.cc',
'object_manager.h',
'object_path.cc',
'object_path.h',
'object_proxy.cc',
'object_proxy.h',
'property.cc',
'property.h',
'scoped_dbus_error.cc',
'scoped_dbus_error.h',
'string_util.cc',
'string_util.h',
'util.cc',
'util.h',
'values_util.cc',
'values_util.h',
],
},
{
# Protobuf compiler / generator test protocol buffer
'target_name': 'dbus_test_proto',
'type': 'static_library',
'sources': [ 'test_proto.proto' ],
'variables': {
'proto_out_dir': 'dbus',
},
'includes': [ '../build/protoc.gypi' ],
},
{
# This target contains mocks that can be used to write unit tests
# without issuing actual D-Bus calls.
'target_name': 'dbus_test_support',
'type': 'static_library',
'dependencies': [
'../build/linux/system.gyp:dbus',
'../testing/gmock.gyp:gmock',
'dbus',
],
'sources': [
'mock_bus.cc',
'mock_bus.h',
'mock_exported_object.cc',
'mock_exported_object.h',
'mock_object_manager.cc',
'mock_object_manager.h',
'mock_object_proxy.cc',
'mock_object_proxy.h',
],
'include_dirs': [
'..',
],
},
{
'target_name': 'dbus_unittests',
'type': 'executable',
'dependencies': [
'../base/base.gyp:run_all_unittests',
'../base/base.gyp:test_support_base',
'../build/linux/system.gyp:dbus',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'dbus',
'dbus_test_proto',
'dbus_test_support',
],
'sources': [
'bus_unittest.cc',
'dbus_statistics_unittest.cc',
'end_to_end_async_unittest.cc',
'end_to_end_sync_unittest.cc',
'message_unittest.cc',
'mock_unittest.cc',
'object_manager_unittest.cc',
'object_proxy_unittest.cc',
'property_unittest.cc',
'signal_sender_verification_unittest.cc',
'string_util_unittest.cc',
'test_service.cc',
'test_service.h',
'util_unittest.cc',
'values_util_unittest.cc',
],
'include_dirs': [
'..',
],
},
{
'target_name': 'dbus_test_server',
'type': 'executable',
'dependencies': [
'../base/base.gyp:test_support_base',
'../base/base.gyp:base',
'../build/linux/system.gyp:dbus',
'dbus',
],
'sources': [
'test_server.cc',
'test_service.cc',
'test_service.h',
],
'include_dirs': [
'..',
],
},
],
}

@ -1,323 +0,0 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'includes': [
'ipc.gypi',
],
'targets': [
{
'target_name': 'ipc',
'type': '<(component)',
'variables': {
'ipc_target': 1,
},
'dependencies': [
'ipc_interfaces',
'../base/base.gyp:base',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_system',
],
# TODO(gregoryd): direct_dependent_settings should be shared with the
# 64-bit target, but it doesn't work due to a bug in gyp
'direct_dependent_settings': {
'include_dirs': [
'..',
],
},
'conditions': [
['OS == "win" or OS == "mac"', {
'dependencies': [
'../crypto/crypto.gyp:crypto',
],
}],
],
},
{
'target_name': 'ipc_interfaces_mojom',
'type': 'none',
'variables': {
'require_interface_bindings': 0,
'mojom_files': [
'ipc.mojom',
],
},
'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
},
{
'target_name': 'ipc_interfaces',
'type': 'static_library',
'dependencies': [
'ipc_interfaces_mojom',
'../base/base.gyp:base',
'../mojo/mojo_public.gyp:mojo_interface_bindings_generation',
],
'include_dirs': [
'..',
],
},
{
'target_name': 'ipc_test_interfaces',
'type': 'static_library',
'sources': [
'ipc_test.mojom',
],
'includes': [ '../mojo/mojom_bindings_generator.gypi' ],
},
{
'target_name': 'ipc_run_all_unittests',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:test_support_base',
'../mojo/mojo_edk.gyp:mojo_common_test_support',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../testing/gtest.gyp:gtest',
],
'include_dirs': [
'..',
],
'sources': [
'run_all_unittests.cc',
],
},
{
'target_name': 'ipc_tests',
'type': '<(gtest_target_type)',
'dependencies': [
'ipc',
'ipc_run_all_unittests',
'ipc_test_interfaces',
'test_support_ipc',
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../base/base.gyp:test_support_base',
'../crypto/crypto.gyp:crypto',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_system',
'../testing/gtest.gyp:gtest',
],
'include_dirs': [
'..'
],
'sources': [
'attachment_broker_mac_unittest.cc',
'attachment_broker_privileged_mac_unittest.cc',
'attachment_broker_privileged_win_unittest.cc',
'ipc_channel_mojo_unittest.cc',
'ipc_channel_posix_unittest.cc',
'ipc_channel_proxy_unittest.cc',
'ipc_channel_reader_unittest.cc',
'ipc_channel_unittest.cc',
'ipc_fuzzing_tests.cc',
'ipc_message_attachment_set_posix_unittest.cc',
'ipc_message_unittest.cc',
'ipc_message_utils_unittest.cc',
'ipc_mojo_bootstrap_unittest.cc',
'ipc_send_fds_test.cc',
'ipc_sync_channel_unittest.cc',
'ipc_sync_message_unittest.cc',
'ipc_sync_message_unittest.h',
'ipc_test_messages.h',
'ipc_test_message_generator.cc',
'ipc_test_message_generator.h',
'sync_socket_unittest.cc',
'unix_domain_socket_util_unittest.cc',
],
'conditions': [
['OS == "win" or OS == "ios"', {
'sources!': [
'unix_domain_socket_util_unittest.cc',
],
}],
['OS == "android"', {
'sources!': [
# These multiprocess tests don't work on Android.
'ipc_channel_unittest.cc',
],
'dependencies': [
'../testing/android/native_test.gyp:native_test_native_code',
],
}],
['OS == "mac"', {
'dependencies': [
'../sandbox/sandbox.gyp:seatbelt',
],
}],
],
},
{
'target_name': 'ipc_perftests',
'type': '<(gtest_target_type)',
# TODO(viettrungluu): Figure out which dependencies are really needed.
'dependencies': [
'ipc',
'test_support_ipc',
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../base/base.gyp:test_support_base',
'../mojo/mojo_edk.gyp:mojo_common_test_support',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../testing/gtest.gyp:gtest',
],
'include_dirs': [
'..'
],
'sources': [
'ipc_mojo_perftest.cc',
'ipc_perftests.cc',
'ipc_test_base.cc',
'ipc_test_base.h',
'run_all_perftests.cc',
],
'conditions': [
['OS == "android"', {
'dependencies': [
'../testing/android/native_test.gyp:native_test_native_code',
],
}],
],
},
{
'target_name': 'test_support_ipc',
'type': 'static_library',
'dependencies': [
'ipc',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
],
'sources': [
'ipc_multiprocess_test.cc',
'ipc_multiprocess_test.h',
'ipc_perftest_support.cc',
'ipc_perftest_support.h',
'ipc_security_test_util.cc',
'ipc_security_test_util.h',
'ipc_test_base.cc',
'ipc_test_base.h',
'ipc_test_channel_listener.cc',
'ipc_test_channel_listener.h',
'ipc_test_sink.cc',
'ipc_test_sink.h',
'test_util_mac.cc',
'test_util_mac.h',
],
},
],
'conditions': [
['OS=="win" and target_arch=="ia32"', {
'targets': [
{
'target_name': 'ipc_interfaces_win64',
'type': 'static_library',
'dependencies': [
'ipc_interfaces_mojom',
'../base/base.gyp:base_win64',
'../mojo/mojo_public.gyp:mojo_interface_bindings_generation',
],
'include_dirs': [
'..',
],
'configurations': {
'Common_Base': {
'msvs_target_platform': 'x64',
},
},
},
{
'target_name': 'ipc_win64',
'type': '<(component)',
'variables': {
'ipc_target': 1,
},
'dependencies': [
'ipc_interfaces_win64',
'../base/base.gyp:base_win64',
'../crypto/crypto.gyp:crypto_nacl_win64',
'../mojo/mojo_public.gyp:mojo_cpp_bindings_win64',
'../mojo/mojo_public.gyp:mojo_cpp_system_win64',
],
# TODO(gregoryd): direct_dependent_settings should be shared with the
# 32-bit target, but it doesn't work due to a bug in gyp
'direct_dependent_settings': {
'include_dirs': [
'..',
],
},
'configurations': {
'Common_Base': {
'msvs_target_platform': 'x64',
},
},
},
],
}],
['OS == "android"', {
'targets': [
{
'target_name': 'ipc_tests_apk',
'type': 'none',
'dependencies': [
'ipc_tests',
],
'variables': {
'test_suite_name': 'ipc_tests',
},
'includes': [ '../build/apk_test.gypi' ],
},
{
'target_name': 'ipc_perftests_apk',
'type': 'none',
'dependencies': [
'ipc_perftests',
],
'variables': {
'test_suite_name': 'ipc_perftests',
},
'includes': [ '../build/apk_test.gypi' ],
}
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'ipc_tests_apk_run',
'type': 'none',
'dependencies': [
'ipc_tests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'ipc_tests_apk.isolate',
],
},
],
}],
],
}],
['test_isolation_mode != "noop" and OS != "android"', {
'targets': [
{
'target_name': 'ipc_tests_run',
'type': 'none',
'dependencies': [
'ipc_tests',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'ipc_tests.isolate',
],
},
],
}],
],
}

@ -1,147 +0,0 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'target_defaults': {
'variables': {
'ipc_target': 0,
},
'target_conditions': [
# This part is shared between the targets defined below.
['ipc_target==1', {
'sources': [
'attachment_broker.cc',
'attachment_broker.h',
'attachment_broker_messages.h',
'attachment_broker_privileged.cc',
'attachment_broker_privileged.h',
'attachment_broker_privileged_mac.cc',
'attachment_broker_privileged_mac.h',
'attachment_broker_privileged_win.cc',
'attachment_broker_privileged_win.h',
'attachment_broker_unprivileged.cc',
'attachment_broker_unprivileged.h',
'attachment_broker_unprivileged_mac.cc',
'attachment_broker_unprivileged_mac.h',
'attachment_broker_unprivileged_win.cc',
'attachment_broker_unprivileged_win.h',
'brokerable_attachment.cc',
'brokerable_attachment.h',
'brokerable_attachment_mac.cc',
'brokerable_attachment_win.cc',
'export_template.h',
'handle_attachment_win.cc',
'handle_attachment_win.h',
'handle_win.cc',
'handle_win.h',
'ipc_channel.cc',
'ipc_channel.h',
'ipc_channel_factory.cc',
'ipc_channel_factory.h',
'ipc_channel_common.cc',
'ipc_channel_handle.h',
'ipc_channel_mojo.cc',
'ipc_channel_mojo.h',
'ipc_channel_nacl.cc',
'ipc_channel_nacl.h',
'ipc_channel_posix.cc',
'ipc_channel_posix.h',
'ipc_channel_proxy.cc',
'ipc_channel_proxy.h',
'ipc_channel_reader.cc',
'ipc_channel_reader.h',
'ipc_channel_win.cc',
'ipc_channel_win.h',
'ipc_descriptors.h',
'ipc_endpoint.cc',
'ipc_endpoint.h',
'ipc_export.h',
'ipc_listener.h',
'ipc_logging.cc',
'ipc_logging.h',
'ipc_message.cc',
'ipc_message.h',
'ipc_message_attachment.cc',
'ipc_message_attachment.h',
'ipc_message_attachment_set.cc',
'ipc_message_attachment_set.h',
'ipc_message_generator.cc',
'ipc_message_generator.h',
'ipc_message_macros.h',
'ipc_message_pipe_reader.cc',
'ipc_message_pipe_reader.h',
'ipc_message_start.h',
'ipc_message_templates.h',
'ipc_message_templates_impl.h',
'ipc_message_utils.cc',
'ipc_message_utils.h',
'ipc_mojo_bootstrap.cc',
'ipc_mojo_bootstrap.h',
'ipc_mojo_handle_attachment.cc',
'ipc_mojo_handle_attachment.h',
'ipc_mojo_message_helper.cc',
'ipc_mojo_message_helper.h',
'ipc_mojo_param_traits.cc',
'ipc_mojo_param_traits.h',
'ipc_param_traits.h',
'ipc_platform_file.cc',
'ipc_platform_file.h',
'ipc_platform_file_attachment_posix.cc',
'ipc_platform_file_attachment_posix.h',
'ipc_sender.h',
'ipc_switches.cc',
'ipc_switches.h',
'ipc_sync_channel.cc',
'ipc_sync_channel.h',
'ipc_sync_message.cc',
'ipc_sync_message.h',
'ipc_sync_message_filter.cc',
'ipc_sync_message_filter.h',
'mach_port_attachment_mac.cc',
'mach_port_attachment_mac.h',
'mach_port_mac.cc',
'mach_port_mac.h',
'message_filter.cc',
'message_filter.h',
'message_filter_router.cc',
'message_filter_router.h',
'message_router.cc',
'message_router.h',
'mojo_event.cc',
'mojo_event.h',
'param_traits_log_macros.h',
'param_traits_macros.h',
'param_traits_read_macros.h',
'param_traits_write_macros.h',
'placeholder_brokerable_attachment.cc',
'placeholder_brokerable_attachment.h',
'struct_constructor_macros.h',
'struct_destructor_macros.h',
'unix_domain_socket_util.cc',
'unix_domain_socket_util.h',
],
'defines': [
'IPC_IMPLEMENTATION',
],
'include_dirs': [
'..',
],
'target_conditions': [
['>(nacl_untrusted_build)==1', {
'sources!': [
'ipc_channel.cc',
'ipc_channel_posix.cc',
'unix_domain_socket_util.cc',
],
}],
['OS == "win" or OS == "ios"', {
'sources!': [
'unix_domain_socket_util.cc',
],
}],
],
}],
],
},
}

@ -1,71 +0,0 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'includes': [
'../build/common_untrusted.gypi',
'ipc.gypi',
],
'conditions': [
['disable_nacl==0 and disable_nacl_untrusted==0', {
'targets': [
{
'target_name': 'ipc_nacl',
'type': 'none',
'variables': {
'ipc_target': 1,
'nacl_untrusted_build': 1,
'nlib_target': 'libipc_nacl.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 1,
},
'dependencies': [
'ipc.gyp:ipc_interfaces_mojom',
'../base/base_nacl.gyp:base_nacl',
'../mojo/mojo_public.gyp:mojo_interface_bindings_generation',
'../mojo/mojo_public_nacl.gyp:mojo_cpp_bindings_nacl',
'../mojo/mojo_public_nacl.gyp:mojo_cpp_system_nacl',
],
},
{
'target_name': 'ipc_nacl_nonsfi',
'type': 'none',
'variables': {
'ipc_target': 1,
'nacl_untrusted_build': 1,
'nlib_target': 'libipc_nacl_nonsfi.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 0,
'build_pnacl_newlib': 0,
'build_nonsfi_helper': 1,
# Use linux IPC channel implementation for nacl_helper_nonsfi,
# instead of NaCl's IPC implementation (ipc_channel_nacl.cc),
# because nacl_helper_nonsfi will be running directly on Linux.
# ipc_channel_nacl.cc is excluded below.
'sources': [
'ipc_channel.cc',
'ipc_channel_posix.cc',
],
},
'sources!': [
'ipc_channel_nacl.cc',
],
'dependencies': [
'ipc.gyp:ipc_interfaces_mojom',
'../base/base_nacl.gyp:base_nacl_nonsfi',
'../mojo/mojo_public.gyp:mojo_interface_bindings_generation',
'../mojo/mojo_public_nacl.gyp:mojo_cpp_bindings_nacl',
'../mojo/mojo_public_nacl.gyp:mojo_cpp_system_nacl',
],
},
],
}],
],
}

@ -1,187 +0,0 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
'variables': {
# Force rlz to use chrome's networking stack.
'force_rlz_use_chrome_net%': 1,
},
'conditions': [
['force_rlz_use_chrome_net or OS!="win"', {
'rlz_use_chrome_net%': 1,
}, {
'rlz_use_chrome_net%': 0,
}],
],
},
'target_defaults': {
'include_dirs': [
'..',
],
},
'targets': [
{
'target_name': 'rlz_lib',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
],
'sources': [
'chromeos/lib/machine_id_chromeos.cc',
'chromeos/lib/rlz_value_store_chromeos.cc',
'chromeos/lib/rlz_value_store_chromeos.h',
'ios/lib/machine_id_ios.cc',
'lib/assert.cc',
'lib/assert.h',
'lib/crc32.h',
'lib/crc32_wrapper.cc',
'lib/crc8.h',
'lib/crc8.cc',
'lib/financial_ping.cc',
'lib/financial_ping.h',
'lib/lib_values.cc',
'lib/machine_id.cc',
'lib/machine_id.h',
'lib/recursive_cross_process_lock_posix.cc',
'lib/recursive_cross_process_lock_posix.h',
'lib/rlz_enums.h',
'lib/rlz_lib.cc',
'lib/rlz_lib.h',
'lib/rlz_lib_clear.cc',
'lib/lib_values.h',
'lib/rlz_value_store.h',
'lib/string_utils.cc',
'lib/string_utils.h',
'mac/lib/machine_id_mac.cc',
'mac/lib/rlz_value_store_mac.mm',
'mac/lib/rlz_value_store_mac.h',
'win/lib/lib_mutex.cc',
'win/lib/lib_mutex.h',
'win/lib/machine_deal.cc',
'win/lib/machine_deal.h',
'win/lib/machine_id_win.cc',
'win/lib/process_info.cc',
'win/lib/process_info.h',
'win/lib/registry_util.cc',
'win/lib/registry_util.h',
'win/lib/rlz_lib_win.cc',
'win/lib/rlz_value_store_registry.cc',
'win/lib/rlz_value_store_registry.h',
],
'conditions': [
['rlz_use_chrome_net==1', {
'defines': [
'RLZ_NETWORK_IMPLEMENTATION_CHROME_NET',
],
'direct_dependent_settings': {
'defines': [
'RLZ_NETWORK_IMPLEMENTATION_CHROME_NET',
],
},
'dependencies': [
'../net/net.gyp:net',
'../url/url.gyp:url_lib',
],
}, {
'defines': [
'RLZ_NETWORK_IMPLEMENTATION_WIN_INET',
],
'direct_dependent_settings': {
'defines': [
'RLZ_NETWORK_IMPLEMENTATION_WIN_INET',
],
},
}],
],
'target_conditions': [
# Need 'target_conditions' to override default filename_rules to include
# the files on iOS.
['OS=="ios"', {
'sources/': [
['include', '^mac/lib/rlz_value_store_mac\\.'],
],
}],
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
},
{
'target_name': 'test_support_rlz',
'type': 'static_library',
'dependencies': [
':rlz_lib',
'../base/base.gyp:base',
'../base/base.gyp:test_support_base',
'../testing/gtest.gyp:gtest',
],
'sources': [
'test/rlz_test_helpers.cc',
'test/rlz_test_helpers.h',
],
},
{
'target_name': 'rlz_unittests',
'type': 'executable',
'dependencies': [
':rlz_lib',
':test_support_rlz',
'../base/base.gyp:base',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'../third_party/zlib/zlib.gyp:zlib',
],
'sources': [
'lib/crc32_unittest.cc',
'lib/crc8_unittest.cc',
'lib/financial_ping_test.cc',
'lib/lib_values_unittest.cc',
'lib/machine_id_unittest.cc',
'lib/rlz_lib_test.cc',
'lib/string_utils_unittest.cc',
'test/rlz_unittest_main.cc',
'win/lib/machine_deal_test.cc',
],
'conditions': [
['rlz_use_chrome_net==1', {
'dependencies': [
'../net/net.gyp:net_test_support',
],
}],
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
},
{
'target_name': 'rlz_id',
'type': 'executable',
'dependencies': [
':rlz_lib',
],
'sources': [
'examples/rlz_id.cc',
],
},
],
'conditions': [
['OS=="win"', {
'targets': [
{
'target_name': 'rlz',
'type': 'shared_library',
'sources': [
'win/dll/dll_main.cc',
'win/dll/exports.cc',
],
'dependencies': [
':rlz_lib',
'../third_party/zlib/zlib.gyp:zlib',
],
},
],
}],
],
}

@ -1,107 +0,0 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'sdch',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../third_party/zlib/zlib.gyp:zlib',
],
'sources': [
'logging_forward.h',
'open-vcdiff/src/addrcache.cc',
'open-vcdiff/src/blockhash.cc',
'open-vcdiff/src/blockhash.h',
'open-vcdiff/src/checksum.h',
'open-vcdiff/src/codetable.cc',
'open-vcdiff/src/codetable.h',
'open-vcdiff/src/compile_assert.h',
'open-vcdiff/src/decodetable.cc',
'open-vcdiff/src/decodetable.h',
'open-vcdiff/src/encodetable.cc',
'open-vcdiff/src/encodetable.h',
'open-vcdiff/src/google/output_string.h',
'open-vcdiff/src/google/vcdecoder.h',
'open-vcdiff/src/google/vcencoder.h',
'open-vcdiff/src/headerparser.cc',
'open-vcdiff/src/headerparser.h',
'open-vcdiff/src/instruction_map.cc',
'open-vcdiff/src/instruction_map.h',
'open-vcdiff/src/jsonwriter.h',
'open-vcdiff/src/jsonwriter.cc',
'open-vcdiff/src/rolling_hash.h',
'open-vcdiff/src/testing.h',
'open-vcdiff/src/varint_bigendian.cc',
'open-vcdiff/src/varint_bigendian.h',
'open-vcdiff/src/vcdecoder.cc',
'open-vcdiff/src/vcencoder.cc',
'open-vcdiff/src/vcdiff_defs.h',
'open-vcdiff/src/vcdiffengine.cc',
'open-vcdiff/src/vcdiffengine.h',
'open-vcdiff/vsprojects/config.h',
'open-vcdiff/vsprojects/stdint.h',
],
'include_dirs': [
'open-vcdiff/src',
],
'direct_dependent_settings': {
'include_dirs': [
'open-vcdiff/src',
],
},
'conditions': [
[ 'OS == "linux" or OS == "android"', { 'include_dirs': [ 'linux' ] } ],
[ 'os_bsd==1 or OS=="solaris"', { 'include_dirs': [ 'bsd' ] } ],
[ 'OS == "ios"', { 'include_dirs': [ 'ios' ] } ],
[ 'OS == "mac"', {
'include_dirs': [ 'mac' ],
'defines': [ 'OPEN_VCDIFF_USE_AUTO_PTR' ],
}],
[ 'OS == "win"', { 'include_dirs': [ 'win' ] } ],
],
# open-vcdiff's logging.h introduces static initializers. This was
# reported upstream years ago (
# https://github.com/google/open-vcdiff/issues/33 ). Since
# upstream won't fix this, work around it on the chromium side:
# Inject a header that forwards to base/logging.h instead (which doesn't
# introduce static initializers, and which prevents open-vcdiff's
# logging.h from being used).
'variables': {
'logging_path': 'logging_forward.h',
'conditions': [
# gyp leaves unspecified what the cwd is when running the compiler,
# and gyp/linux doesn't have a built-in way for forcing an include.
# So hardcode the base directory. If this spreads, provide native
# support in gyp, like we have for gyp/mac and gyp/windows.
# path.
['"<(GENERATOR)"=="ninja"', { 'logging_dir': '../..' },
{ 'logging_dir': '.' }
],
],
},
# GCC_PREFIX_HEADER is relative to the current directory,
# ForcedIncludeFiles is relative to include_dirs, cflags relative to the
# build directory.
'xcode_settings': { 'GCC_PREFIX_HEADER': '<(logging_path)' },
'msvs_settings': {
'VCCLCompilerTool': {
'ForcedIncludeFiles': [
'sdch/<(logging_path)',
]
}
},
'cflags': [
'-include', '<(logging_dir)/sdch/<(logging_path)',
# TODO(mostynb): remove this if open-vcdiff is ever updated for c++11:
'-Wno-deprecated-declarations',
],
},
],
}

@ -1,188 +0,0 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'sql',
'type': '<(component)',
'dependencies': [
'../base/base.gyp:base',
'../third_party/sqlite/sqlite.gyp:sqlite',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
],
'export_dependent_settings': [
'../base/base.gyp:base',
],
'defines': [ 'SQL_IMPLEMENTATION' ],
'sources': [
'connection.cc',
'connection.h',
'connection_memory_dump_provider.cc',
'connection_memory_dump_provider.h',
'error_delegate_util.cc',
'error_delegate_util.h',
'init_status.h',
'meta_table.cc',
'meta_table.h',
'recovery.cc',
'recovery.h',
'sql_memory_dump_provider.cc',
'sql_memory_dump_provider.h',
'statement.cc',
'statement.h',
'transaction.cc',
'transaction.h',
],
'include_dirs': [
'..',
],
'direct_dependent_settings': {
'include_dirs': [
'..',
],
},
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'test_support_sql',
'type': 'static_library',
'dependencies': [
'sql',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
'../third_party/sqlite/sqlite.gyp:sqlite',
],
'export_dependent_settings': [
'sql',
'../base/base.gyp:base',
],
'sources': [
'test/error_callback_support.cc',
'test/error_callback_support.h',
'test/scoped_error_expecter.cc',
'test/scoped_error_expecter.h',
'test/test_helpers.cc',
'test/test_helpers.h',
],
'include_dirs': [
'..',
],
'direct_dependent_settings': {
'include_dirs': [
'..',
],
},
},
{
'target_name': 'sql_unittests',
'type': '<(gtest_target_type)',
'dependencies': [
'sql',
'test_support_sql',
'../base/base.gyp:test_support_base',
'../testing/gtest.gyp:gtest',
'../third_party/sqlite/sqlite.gyp:sqlite',
],
'sources': [
'connection_unittest.cc',
'meta_table_unittest.cc',
'recovery_unittest.cc',
'sql_memory_dump_provider_unittest.cc',
'sqlite_features_unittest.cc',
'statement_unittest.cc',
'test/paths.cc',
'test/paths.h',
'test/run_all_unittests.cc',
'test/sql_test_base.cc',
'test/sql_test_base.h',
'test/sql_test_suite.cc',
'test/sql_test_suite.h',
'transaction_unittest.cc',
],
'include_dirs': [
'..',
],
'conditions': [
['OS == "android"', {
'dependencies': [
'../testing/android/native_test.gyp:native_test_native_code',
],
}],
['OS == "ios"', {
'actions': [{
'action_name': 'copy_test_data',
'variables': {
'test_data_files': [
'test/data',
],
'test_data_prefix' : 'sql',
},
'includes': [ '../build/copy_test_data_ios.gypi' ],
}],
}],
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
'conditions': [
['OS == "android"', {
'targets': [
{
'target_name': 'sql_unittests_apk',
'type': 'none',
'dependencies': [
'sql_unittests',
],
'variables': {
'test_suite_name': 'sql_unittests',
'isolate_file': 'sql_unittests.isolate',
},
'includes': [ '../build/apk_test.gypi' ],
},
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'sql_unittests_apk_run',
'type': 'none',
'dependencies': [
'sql_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'sql_unittests_apk.isolate',
],
},
]
}],
]
}],
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'sql_unittests_run',
'type': 'none',
'dependencies': [
'sql_unittests',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'sql_unittests.isolate',
],
},
],
}],
],
}