allocator cleanup: remove dependencies on allocator from all targets
Overview of the cleanup: ------------------------ - In the context of the discussion in https://goo.gl/K2m649 our illustrious base/ owners suggested that having base being the only target depending on allocator (and having the other targets inherit that recursively) would be a more scalable solution, as opposite to having to remember to add an exec -> allocator to each target. - This base -> allocator dep landed in crrev.com/1616793003. - After that CL, until this point, many targets got two paths that lead to allocator: 1. The indirect one via base (content_shell -> base -> allocator) which is what we want to preserve. 2. The direct one (content_shell -> allocator) which is the inconsistent one we want to drop. This CL gets rid of all the instances of 2. The nice property of this sequencing of CLs is that the effect of this large change on the final .ninja files is minimal. See details below. Effect on the produced ninja files: ----------------------------------- GYP, Linux, static build: https://paste.ee/p/RaJLj Just some small reordering of include paths. Dropping --rdynamic (as expected) in keyboard_unittests GN, Linux, static build: https://paste.ee/p/zYtrQ Various targets lose the dependency on allocator.stamp (expected, the order is enforced by depending on base which depends on allocator.stamp) GN, Android (both component and static are similar): https://paste.ee/p/Iq6DD As above. GN, Linux, component build: https://paste.ee/p/jHUmv This is the most juicy change. As expected all the ODR goes away and random targets stop re-linking tcmalloc .o files. GYP, Win, static: https://paste.ee/p/j0IjL Extremely minimal changes: All.ninja stops depending on libcmt.lib. Sounds fine as base (which depends on that) is definitely depending on libcmt. GN, Win, static: https://paste.ee/p/Q6zTo Minimal change, like Linux GN, dropping dependencies on the .stamp files. BUG=564618 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1647453002 Cr-Commit-Position: refs/heads/master@{#372167}
This commit is contained in:
ash
build
cc
chrome
BUILD.gnchrome.gypchrome_dll.gypichrome_exe.gypichrome_installer.gypichrome_tests.gypichrome_tests_unit.gypi
android
browser
resources
chromeos
chromevox
installer
setup
test
tools
service_discovery_sniffer
chromeos
cloud_print
components
content
courgette
crypto
device
extensions
gpu
ipc
media
net
ppapi
printing
remoting
sql
sync
third_party/WebKit/Source
ui
app_list
aura
base
compositor
events
keyboard
message_center
snapshot
views
url
@ -289,7 +289,6 @@ test("ash_unittests") {
|
||||
"//ash/resources",
|
||||
"//ash/strings",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//components/signin/core/account_id",
|
||||
"//components/user_manager",
|
||||
@ -378,10 +377,6 @@ test("ash_unittests") {
|
||||
sources -= [ "touch/touch_transformer_controller_unittest.cc" ]
|
||||
}
|
||||
|
||||
# TODO(GYP) is this necessary?
|
||||
#['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
|
||||
# ldflags = "-rdynamic"
|
||||
|
||||
if (!is_chromeos) {
|
||||
sources -= [ "sticky_keys/sticky_keys_unittest.cc" ]
|
||||
}
|
||||
|
18
ash/ash.gyp
18
ash/ash.gyp
@ -1213,11 +1213,6 @@
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['chromeos==1', {
|
||||
'dependencies': [
|
||||
'../chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
|
||||
@ -1240,14 +1235,6 @@
|
||||
'touch/touchscreen_util_unittest.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
'link_settings': {
|
||||
'ldflags': ['-rdynamic'],
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -1335,11 +1322,6 @@
|
||||
'../device/bluetooth/bluetooth.gyp:device_bluetooth',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
|
@ -215,13 +215,6 @@
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:*',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'dependencies': [
|
||||
'../chrome/tools/crash_service/caps/caps.gyp:*',
|
||||
'../chrome_elf/chrome_elf.gyp:*',
|
||||
|
@ -352,19 +352,6 @@
|
||||
],
|
||||
}
|
||||
],
|
||||
[ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"',
|
||||
{
|
||||
'conditions': [
|
||||
[ 'use_allocator!="none"',
|
||||
{
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}
|
||||
],
|
||||
],
|
||||
}
|
||||
],
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -412,14 +399,6 @@
|
||||
],
|
||||
}
|
||||
],
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"',
|
||||
{
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}
|
||||
],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -178,7 +178,6 @@ if (!is_android) {
|
||||
":browser_dependencies",
|
||||
":child_dependencies",
|
||||
":manpage",
|
||||
"//base/allocator",
|
||||
|
||||
# Needed to use the master_preferences functions
|
||||
"//chrome/installer/util:with_no_strings",
|
||||
@ -293,7 +292,6 @@ if (is_mac || is_win) {
|
||||
|
||||
deps = [
|
||||
":browser_dependencies",
|
||||
"//base/allocator",
|
||||
"//build/config/sanitizers:deps",
|
||||
]
|
||||
if (is_win) {
|
||||
@ -394,7 +392,6 @@ if (is_mac || is_win) {
|
||||
":child_dependencies",
|
||||
":chrome_child_manifest",
|
||||
":chrome_dll_version",
|
||||
"//base/allocator",
|
||||
"//build/config/sanitizers:deps",
|
||||
"//components/browser_watcher:browser_watcher_client",
|
||||
"//components/crash/content/app",
|
||||
|
@ -127,11 +127,6 @@
|
||||
}],
|
||||
],
|
||||
}], # order_profiling!=0
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -316,7 +316,6 @@ test("chromevox_tests") {
|
||||
":chromevox_unitjs_tests",
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//chrome:browser_tests_pak",
|
||||
"//chrome:packed_extra_resources",
|
||||
|
@ -125,11 +125,6 @@
|
||||
'<(DEPTH)/native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'defines': [
|
||||
'HAS_OUT_OF_PROC_TEST_RUNNER',
|
||||
|
@ -22,7 +22,6 @@
|
||||
'common',
|
||||
'../sync/sync.gyp:sync',
|
||||
],
|
||||
'allocator_target': '../base/allocator/allocator.gyp:allocator',
|
||||
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
|
||||
'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
|
||||
'conditions': [
|
||||
|
@ -248,11 +248,6 @@
|
||||
},
|
||||
},
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
['enable_basic_printing==1 or enable_print_preview==1', {
|
||||
'dependencies': [
|
||||
'../printing/printing.gyp:printing',
|
||||
@ -365,11 +360,6 @@
|
||||
'app/chrome_main_delegate.h',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'conditions': [
|
||||
['chrome_pgo_phase!=0', {
|
||||
|
@ -160,12 +160,6 @@
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
},
|
||||
],
|
||||
['profiling==0 and linux_disable_pie==0', {
|
||||
'ldflags': [
|
||||
'-pie',
|
||||
|
@ -322,11 +322,6 @@
|
||||
},
|
||||
},
|
||||
}],
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -370,13 +365,6 @@
|
||||
'installer/setup/setup_util_unittest.h',
|
||||
'installer/setup/update_active_setup_version_work_item_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
},
|
||||
|
@ -1828,13 +1828,6 @@
|
||||
'<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'conditions': [
|
||||
@ -2419,13 +2412,6 @@
|
||||
'dependencies': [
|
||||
'chrome_version_resources',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, { # else: OS != "win"
|
||||
'sources!': [
|
||||
'app/chrome_command_ids.h',
|
||||
@ -2524,15 +2510,6 @@
|
||||
'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc',
|
||||
],
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac" and OS != "android"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['chromeos == 1', {
|
||||
'sources': [
|
||||
'browser/extensions/api/networking_private/networking_private_apitest.cc',
|
||||
@ -2749,13 +2726,6 @@
|
||||
'dependencies': [
|
||||
'chrome_version_resources',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'configurations': {
|
||||
'Debug_Base': {
|
||||
'msvs_settings': {
|
||||
@ -2804,20 +2774,6 @@
|
||||
'test/perf/mach_ports_performancetest.cc',
|
||||
],
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac" and OS != "android"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
], # conditions
|
||||
}, # target performance_browser_tests
|
||||
{
|
||||
@ -2954,13 +2910,6 @@
|
||||
'dependencies': [
|
||||
'chrome_version_resources',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'msvs_settings': {
|
||||
@ -3061,13 +3010,6 @@
|
||||
'dependencies': [
|
||||
'chrome_version_resources',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'msvs_settings': {
|
||||
|
@ -2603,15 +2603,6 @@
|
||||
},
|
||||
},
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
# The test fetches resources which means Mac need the app bundle to
|
||||
# exist on disk so it can pull from it.
|
||||
@ -2699,11 +2690,6 @@
|
||||
'../third_party/isimpledom/isimpledom.gyp:isimpledom',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
['branding!="Chrome"', {
|
||||
'sources!': [
|
||||
'browser/google/google_update_win_unittest.cc',
|
||||
@ -2925,13 +2911,6 @@
|
||||
'../breakpad/breakpad.gyp:*',
|
||||
'../components/components.gyp:crash_component',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(allocator_target)',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
|
@ -22,7 +22,6 @@ if (is_win) {
|
||||
|
||||
deps = [
|
||||
":lib",
|
||||
"//base/allocator",
|
||||
"//build/config/sanitizers:deps",
|
||||
"//components/crash/content/app:app_breakpad_mac_win_to_be_deleted",
|
||||
]
|
||||
@ -83,7 +82,6 @@ if (is_win) {
|
||||
":lib",
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//chrome/installer/mini_installer:unit_tests",
|
||||
"//testing/gmock",
|
||||
|
@ -337,7 +337,6 @@ if (!is_android) {
|
||||
deps = [
|
||||
":test_support",
|
||||
":test_support_ui",
|
||||
"//base/allocator",
|
||||
"//chrome:packed_extra_resources",
|
||||
"//chrome:packed_resources",
|
||||
"//chrome:resources",
|
||||
@ -850,7 +849,6 @@ if (!is_android) {
|
||||
":test_support_ui",
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//chrome:browser_tests_pak",
|
||||
"//chrome:packed_extra_resources",
|
||||
@ -1316,7 +1314,6 @@ if (!is_android) {
|
||||
":sync_integration_test_support",
|
||||
":test_support",
|
||||
":test_support_ui",
|
||||
"//base/allocator",
|
||||
"//chrome:packed_extra_resources",
|
||||
"//chrome:packed_resources",
|
||||
"//chrome:resources",
|
||||
@ -1400,7 +1397,6 @@ if (!is_android) {
|
||||
deps = [
|
||||
":sync_integration_test_support",
|
||||
":test_support_ui",
|
||||
"//base/allocator",
|
||||
"//crypto:platform",
|
||||
"//sync",
|
||||
"//testing/gmock",
|
||||
@ -1563,7 +1559,6 @@ test("unit_tests") {
|
||||
"//testing/gtest",
|
||||
|
||||
# 3) anything tests directly depend on
|
||||
"//base/allocator",
|
||||
"//chrome:resources",
|
||||
"//chrome:strings",
|
||||
"//components/safe_browsing_db:test_database_manager",
|
||||
@ -2131,7 +2126,6 @@ if (is_win || (is_linux && !is_chromeos)) {
|
||||
]
|
||||
deps = [
|
||||
":test_support",
|
||||
"//base/allocator",
|
||||
"//base/test:run_all_unittests",
|
||||
"//base/test:test_support",
|
||||
"//breakpad:client",
|
||||
@ -2161,7 +2155,6 @@ if (is_win || (is_linux && !is_chromeos)) {
|
||||
":test_support_ui",
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//chrome/browser",
|
||||
"//chrome/renderer",
|
||||
|
@ -13,7 +13,6 @@ executable("service_discovery_sniffer") {
|
||||
|
||||
deps = [
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//build/config/sanitizers:deps",
|
||||
"//chrome/browser",
|
||||
|
@ -2,7 +2,6 @@
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//build/config/allocator.gni")
|
||||
import("//build/config/ui.gni")
|
||||
import("//testing/test.gni")
|
||||
import("//third_party/protobuf/proto_library.gni")
|
||||
@ -162,9 +161,6 @@ test("chromeos_unittests") {
|
||||
"//url",
|
||||
]
|
||||
sources = gypi_values.chromeos_test_sources
|
||||
if (use_allocator != "none") {
|
||||
deps += [ "//base/allocator" ]
|
||||
}
|
||||
if (use_binder) {
|
||||
if (target_cpu == "arm" || target_cpu == "x86") {
|
||||
defines += [ "BINDER_IPC_32BIT" ]
|
||||
|
@ -671,12 +671,6 @@
|
||||
'..',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
},
|
||||
],
|
||||
['use_binder == 1', {
|
||||
'sources': [ '<@(chromeos_binder_test_sources)' ],
|
||||
'conditions': [
|
||||
|
@ -54,12 +54,6 @@
|
||||
'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib',
|
||||
],
|
||||
}],
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
|
@ -1155,11 +1155,6 @@
|
||||
'components.gyp:browser_watcher_client',
|
||||
]
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
[ 'cld_version==2', {
|
||||
'dependencies': [
|
||||
# Unit tests should always use statically-linked CLD data.
|
||||
@ -1457,19 +1452,6 @@
|
||||
['exclude', '^storage_monitor/'],
|
||||
],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
'link_settings': {
|
||||
'ldflags': ['-rdynamic'],
|
||||
},
|
||||
}],
|
||||
['configuration_policy==1', {
|
||||
'dependencies': [
|
||||
'components.gyp:policy_component',
|
||||
@ -1723,11 +1705,6 @@
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
@ -1825,11 +1802,6 @@
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'dependencies': [
|
||||
'../content/content_shell_and_tests.gyp:content_shell', # Needed for Content Shell.app's Helper.
|
||||
|
@ -254,15 +254,6 @@
|
||||
'../build/linux/system.gyp:glib',
|
||||
],
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['use_seccomp_bpf == 0', {
|
||||
'sources!': [
|
||||
'../content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
|
||||
|
@ -124,11 +124,6 @@
|
||||
},
|
||||
},
|
||||
'conditions': [
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'configurations': {
|
||||
'Debug_Base': {
|
||||
|
@ -25,11 +25,6 @@ content_app_sources = [
|
||||
content_app_deps = [
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
|
||||
# This is needed by app/content_main_runner.cc
|
||||
# TODO(brettw) this shouldn't be here, only final executables should be
|
||||
# picking the allocator. http://crbug.com/571731
|
||||
"//base/allocator",
|
||||
"//content:export",
|
||||
"//content:sandbox_helper_win",
|
||||
"//content/public/common:common_sources",
|
||||
|
@ -40,12 +40,6 @@
|
||||
'public/app/content_main_runner.h',
|
||||
],
|
||||
'conditions': [
|
||||
['((OS=="linux" and os_posix==1 and use_aura==1) or OS=="android") and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
# This is needed by app/content_main_runner.cc
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'sources!': [
|
||||
'app/content_main.cc',
|
||||
|
@ -802,11 +802,6 @@
|
||||
'renderer/webscrollbarbehavior_impl_mac.mm',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'sources': [
|
||||
'renderer/external_popup_menu.cc',
|
||||
|
@ -235,11 +235,6 @@
|
||||
},
|
||||
},
|
||||
'conditions': [
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'resource_include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/content/app/strings',
|
||||
@ -286,12 +281,6 @@
|
||||
'DEBUG_DEVTOOLS=1',
|
||||
],
|
||||
}],
|
||||
['(OS=="linux" or OS=="android") and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
# This is needed by content/app/content_main_runner.cc
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['use_aura==1', {
|
||||
'dependencies': [
|
||||
'../ui/aura/aura.gyp:aura',
|
||||
@ -492,11 +481,6 @@
|
||||
'../sandbox/sandbox.gyp:sandbox',
|
||||
],
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['win_console_app==1', {
|
||||
'defines': ['WIN_CONSOLE_APP'],
|
||||
}, { # else win_console_app==0
|
||||
|
@ -1227,11 +1227,6 @@
|
||||
'../dbus/dbus.gyp:dbus_test_support',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'dependencies': [
|
||||
'../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
|
||||
@ -1365,11 +1360,6 @@
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -1533,11 +1523,6 @@
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'sources': [ '<@(content_browsertests_android_sources)' ],
|
||||
'sources!': [
|
||||
@ -1637,11 +1622,6 @@
|
||||
'../third_party/mesa/mesa.gyp:osmesa',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -1666,13 +1646,6 @@
|
||||
'sources': [
|
||||
'common/gpu/client/gl_helper_benchmark.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
@ -1729,13 +1702,6 @@
|
||||
'<(angle_path)/src/angle.gyp:libGLESv2',
|
||||
],
|
||||
}],
|
||||
['(OS=="win" and win_use_allocator_shim==1) or '
|
||||
'(os_posix == 1 and OS != "android" and '
|
||||
' use_allocator!="none")', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
|
||||
'include_dirs': [
|
||||
'<(DEPTH)/third_party/libva',
|
||||
|
@ -25,10 +25,6 @@ source_set("renderer") {
|
||||
|
||||
deps = [
|
||||
"//base:i18n",
|
||||
|
||||
# TODO(GYP) bug 376846 remove this. This should be inherited from //net but
|
||||
# those don't cross component boundaries.
|
||||
"//base/allocator",
|
||||
"//cc",
|
||||
"//cc/blink",
|
||||
"//cc/proto",
|
||||
|
@ -195,7 +195,6 @@ static_library("content_shell_lib") {
|
||||
":resources",
|
||||
"//base",
|
||||
"//base:base_static",
|
||||
"//base/allocator",
|
||||
"//base/third_party/dynamic_annotations",
|
||||
"//cc",
|
||||
"//components/crash/content/app:app_breakpad_mac_win_to_be_deleted",
|
||||
@ -420,7 +419,6 @@ if (!is_android && !is_mac) {
|
||||
deps = [
|
||||
":content_shell_lib",
|
||||
":pak",
|
||||
"//base/allocator",
|
||||
"//build/config/sanitizers:deps",
|
||||
"//build/win:default_exe_manifest",
|
||||
]
|
||||
|
@ -360,7 +360,6 @@ test("content_browsertests") {
|
||||
deps = [
|
||||
":browsertest_support",
|
||||
":web_ui_test_mojo_bindings",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//content:resources",
|
||||
"//content/browser/background_sync:background_sync_proto",
|
||||
@ -558,7 +557,6 @@ test("content_unittests") {
|
||||
|
||||
deps = [
|
||||
":test_support",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//content/browser/background_sync:background_sync_proto",
|
||||
"//content/browser/cache_storage:cache_storage_proto",
|
||||
@ -783,7 +781,6 @@ test("content_perftests") {
|
||||
"../test/run_all_perftests.cc",
|
||||
]
|
||||
deps = [
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//cc",
|
||||
"//content/public/browser",
|
||||
@ -818,7 +815,6 @@ test("content_gl_tests") {
|
||||
|
||||
deps = [
|
||||
":test_support",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//content/public/common",
|
||||
"//gpu/blink",
|
||||
@ -854,7 +850,6 @@ test("content_gl_benchmark") {
|
||||
|
||||
deps = [
|
||||
":test_support",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//content/public/common",
|
||||
"//gpu/blink",
|
||||
|
@ -129,7 +129,6 @@ test("courgette_unittests") {
|
||||
":courgette_lib",
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base/allocator",
|
||||
"//base/test:run_all_unittests",
|
||||
"//base/test:test_support",
|
||||
"//testing/gtest",
|
||||
|
@ -131,17 +131,6 @@
|
||||
'../base/base.gyp:test_support_base',
|
||||
'../testing/gtest.gyp:gtest',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [4267, ],
|
||||
},
|
||||
|
@ -195,14 +195,6 @@
|
||||
],
|
||||
'conditions': [
|
||||
[ 'use_nss_certs == 1', {
|
||||
'conditions': [
|
||||
[ 'use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
},
|
||||
],
|
||||
],
|
||||
'dependencies': [
|
||||
'../build/linux/system.gyp:ssl',
|
||||
],
|
||||
|
@ -149,15 +149,6 @@
|
||||
],
|
||||
},
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['use_udev==1', {
|
||||
'dependencies': [
|
||||
'udev_linux/udev.gyp:udev_linux',
|
||||
|
@ -205,10 +205,6 @@ test("extensions_unittests") {
|
||||
"//third_party/mesa:osmesa",
|
||||
]
|
||||
|
||||
if (is_win) {
|
||||
deps += [ "//base/allocator" ]
|
||||
}
|
||||
|
||||
if (is_chromeos) {
|
||||
sources += [
|
||||
"browser/api/webcam_private/visca_webcam_unittest.cc",
|
||||
@ -276,8 +272,6 @@ test("extensions_browsertests") {
|
||||
]
|
||||
|
||||
if (is_win) {
|
||||
deps += [ "//base/allocator" ]
|
||||
|
||||
if (target_cpu == "x86") {
|
||||
data_deps += [
|
||||
# "$root_out_dir/wow_helper.exe" # TODO(GYP)
|
||||
@ -309,7 +303,6 @@ source_set("chrome_extensions_browsertests") {
|
||||
deps = [
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//chrome/browser",
|
||||
"//chrome/browser/resources:extension_resource_demo",
|
||||
@ -376,7 +369,6 @@ source_set("chrome_extensions_interactive_uitests") {
|
||||
# These are the deps from interactive_uitests minus some internal Chrome
|
||||
# ones that aren't allowed to be included here and that aren't needed.
|
||||
deps = [
|
||||
"//base/allocator",
|
||||
"//chrome/browser",
|
||||
"//chrome/browser/devtools",
|
||||
"//chrome/renderer",
|
||||
|
@ -54,11 +54,6 @@
|
||||
# Disable c4267 warnings until we fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
'conditions': [
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['chromeos==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/chromeos/chromeos.gyp:chromeos_test_support',
|
||||
@ -98,11 +93,6 @@
|
||||
'<@(extensions_browsertests_sources)',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'dependencies': [
|
||||
'shell/app_shell.gyp:app_shell', # Needed for App Shell.app's Helper.
|
||||
|
@ -132,7 +132,6 @@ if (!(is_chromeos && !use_ozone)) {
|
||||
if (is_win) {
|
||||
configs += [ "//build/config/win:windowed" ]
|
||||
configs -= [ "//build/config/win:console" ]
|
||||
deps += [ "//base/allocator" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
@ -213,10 +212,6 @@ test("app_shell_unittests") {
|
||||
sources += nacl_sources
|
||||
}
|
||||
}
|
||||
|
||||
if (is_win) {
|
||||
deps += [ "//base/allocator" ]
|
||||
}
|
||||
}
|
||||
|
||||
process_version("version_header") {
|
||||
|
@ -133,11 +133,6 @@
|
||||
'<(DEPTH)/sandbox/sandbox.gyp:sandbox',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'product_name': '<(app_shell_product_name)',
|
||||
'dependencies!': [
|
||||
@ -223,11 +218,6 @@
|
||||
'<@(app_shell_unittests_sources_chromeos)',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -33,7 +33,6 @@ config("gles2_conform_test_warnings") {
|
||||
}
|
||||
}
|
||||
|
||||
import("//build/config/allocator.gni")
|
||||
import("//testing/test.gni")
|
||||
|
||||
# GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support
|
||||
@ -64,10 +63,6 @@ executable("gles2_conform_support") {
|
||||
"native/egl_native_x11.cc",
|
||||
]
|
||||
}
|
||||
if (use_allocator != "none") {
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
deps += [ "//base/allocator" ]
|
||||
}
|
||||
}
|
||||
|
||||
if (internal_gles2_conform_tests) {
|
||||
|
@ -96,18 +96,11 @@
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'egl_native',
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
||||
'../../gpu/gpu.gyp:gles2_c_lib_nocheck',
|
||||
'../../third_party/expat/expat.gyp:expat',
|
||||
],
|
||||
'conditions': [
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'defines': [
|
||||
'GLES2_CONFORM_SUPPORT_ONLY',
|
||||
'GTF_GLES20',
|
||||
|
14
gpu/gpu.gyp
14
gpu/gpu.gyp
@ -278,12 +278,6 @@
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
],
|
||||
}],
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
@ -315,14 +309,6 @@
|
||||
],
|
||||
}
|
||||
],
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"',
|
||||
{
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}
|
||||
],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
13
ipc/BUILD.gn
13
ipc/BUILD.gn
@ -189,13 +189,6 @@ test("ipc_tests") {
|
||||
# deps += "/testing/android/native_test.gyp:native_testNative_code"
|
||||
#}
|
||||
|
||||
# TODO(brettw) hook up tcmalloc to this target.
|
||||
#if (is_posix && !is_mac && !is_android) {
|
||||
# if (use_allocator!="none") {
|
||||
# deps += "/base/allocator"
|
||||
# }
|
||||
#}
|
||||
|
||||
deps = [
|
||||
":ipc",
|
||||
":test_support",
|
||||
@ -218,12 +211,6 @@ test("ipc_perftests") {
|
||||
# deps += "/testing/android/native_test.gyp:native_testNative_code"
|
||||
#}
|
||||
|
||||
# TODO(brettw) hook up tcmalloc to this target.
|
||||
#if (is_posix && !is_mac && !is_android) {
|
||||
# if (use_allocator!="none") {
|
||||
# deps += "//base/allocator"
|
||||
# }
|
||||
#}
|
||||
deps = [
|
||||
":ipc",
|
||||
":test_support",
|
||||
|
18
ipc/ipc.gyp
18
ipc/ipc.gyp
@ -89,15 +89,6 @@
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
],
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac" and OS != "android"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}]
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -127,15 +118,6 @@
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
],
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac" and OS != "android"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}]
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -689,7 +689,6 @@ test("media_unittests") {
|
||||
deps = [
|
||||
":media",
|
||||
":test_support",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//gpu:test_support",
|
||||
"//gpu/command_buffer/common",
|
||||
|
@ -37,15 +37,6 @@
|
||||
'sources': [
|
||||
'test/cast_benchmarks.cc',
|
||||
], # source
|
||||
'conditions': [
|
||||
['os_posix==1 and OS!="mac" and OS!="ios" and use_allocator!="none"',
|
||||
{
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}
|
||||
],
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //media/cast:cast_receiver_app
|
||||
|
@ -1388,16 +1388,6 @@
|
||||
'filters/ffmpeg_demuxer_unittest.cc',
|
||||
],
|
||||
}],
|
||||
|
||||
['(os_posix==1 and OS!="mac") or (OS=="win" and component!="shared_library" and win_use_allocator_shim==1)', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'dependencies': [
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
@ -2032,17 +2022,6 @@
|
||||
'ffmpeg/ffmpeg_regression_tests.cc',
|
||||
'test/pipeline_integration_test_base.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['os_posix==1 and OS!="mac"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}],
|
||||
|
@ -1403,7 +1403,6 @@ test("net_unittests") {
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base:prefs_test_support",
|
||||
"//base/allocator",
|
||||
"//base/third_party/dynamic_annotations",
|
||||
"//crypto",
|
||||
"//crypto:platform",
|
||||
|
18
net/net.gyp
18
net/net.gyp
@ -222,15 +222,6 @@
|
||||
}],
|
||||
],
|
||||
}],
|
||||
[ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
[ 'use_kerberos==1', {
|
||||
'defines': [
|
||||
'USE_KERBEROS',
|
||||
@ -648,15 +639,6 @@
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['OS == "android"', {
|
||||
'dependencies': [
|
||||
'net_test_jni_headers',
|
||||
|
@ -119,7 +119,6 @@ test("ppapi_unittests") {
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/allocator",
|
||||
"//base/test:run_all_unittests",
|
||||
"//base/test:test_support",
|
||||
"//gpu/ipc",
|
||||
@ -144,7 +143,6 @@ test("ppapi_perftests") {
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//ppapi/proxy",
|
||||
"//ppapi/proxy:test_support",
|
||||
|
@ -164,14 +164,6 @@
|
||||
'proxy/ppapi_perftests.cc',
|
||||
'proxy/ppp_messaging_proxy_perftest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
# GN version: //ppapi:ppapi_unittests
|
||||
@ -230,17 +222,6 @@
|
||||
'shared_impl/time_conversion_unittest.cc',
|
||||
'shared_impl/var_tracker_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
|
||||
'conditions': [
|
||||
[ 'use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'ppapi_example_skeleton',
|
||||
|
@ -223,7 +223,6 @@ test("printing_unittests") {
|
||||
|
||||
deps = [
|
||||
":printing",
|
||||
"//base/allocator",
|
||||
"//base/test:run_all_unittests",
|
||||
"//base/test:test_support",
|
||||
"//testing/gtest",
|
||||
|
@ -248,15 +248,6 @@
|
||||
'backend/cups_helper_unittest.cc',
|
||||
],
|
||||
}],
|
||||
[ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
|
@ -129,7 +129,6 @@ if (!is_mac) {
|
||||
|
||||
deps = [
|
||||
":test_support",
|
||||
"//base/allocator",
|
||||
"//google_apis",
|
||||
"//remoting/base:unit_tests",
|
||||
"//remoting/client:unit_tests",
|
||||
|
@ -2,7 +2,6 @@
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//build/config/allocator.gni")
|
||||
import("//build/config/features.gni")
|
||||
import("//build/config/ui.gni")
|
||||
import("//build/util/version.gni")
|
||||
@ -545,9 +544,7 @@ if (is_mac) { # TODO(GYP) Mac build of remoting host.
|
||||
"$remoting_version_patch" + "." + "$chrome_version_build" +
|
||||
"." + "$chrome_version_patch" ]
|
||||
|
||||
if (is_linux && use_allocator != "none") {
|
||||
deps += [ "//base/allocator" ]
|
||||
} else if (is_mac || is_win) {
|
||||
if (is_mac || is_win) {
|
||||
assert(false, "not implemented on mac or win yet")
|
||||
}
|
||||
}
|
||||
|
@ -331,13 +331,6 @@
|
||||
'host/setup/host_starter.h',
|
||||
'host/setup/start_host.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, # end of target 'remoting_start_host'
|
||||
{
|
||||
# GN: //remoting/host:remoting_infoplist_strings
|
||||
@ -545,11 +538,6 @@
|
||||
}], # mac_breakpad==1
|
||||
], # conditions
|
||||
}], # OS=mac
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}], # OS=linux
|
||||
], # end of 'conditions'
|
||||
}, # end of target 'remoting_me2me_host'
|
||||
{
|
||||
@ -575,11 +563,6 @@
|
||||
'host/setup/me2me_native_messaging_host_main.h',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'mac_bundle': 1,
|
||||
'variables': {
|
||||
@ -675,11 +658,6 @@
|
||||
'../build/linux/system.gyp:gtk2',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'mac_bundle': 1,
|
||||
'variables': {
|
||||
|
@ -406,11 +406,6 @@
|
||||
['exclude', '^host/'],
|
||||
]
|
||||
}],
|
||||
[ 'OS == "linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['configuration_policy == 1', {
|
||||
'dependencies': [
|
||||
'../components/components.gyp:policy',
|
||||
@ -576,11 +571,6 @@
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
],
|
||||
}],
|
||||
[ 'OS == "linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
], # end of 'conditions'
|
||||
}, # end of target 'remoting_perftests'
|
||||
]
|
||||
|
@ -107,7 +107,6 @@ test("sql_unittests") {
|
||||
":redirection_header",
|
||||
":sql",
|
||||
":test_support",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//testing/gtest",
|
||||
"//third_party/sqlite",
|
||||
|
@ -109,15 +109,6 @@
|
||||
'..',
|
||||
],
|
||||
'conditions': [
|
||||
['os_posix==1 and OS!="mac" and OS!="ios"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['OS == "android"', {
|
||||
'dependencies': [
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
|
@ -724,7 +724,6 @@ test("sync_unit_tests") {
|
||||
":test_support_sync_core",
|
||||
":test_support_sync_internal_api",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:run_all_unittests",
|
||||
"//google_apis",
|
||||
"//google_apis:test_support",
|
||||
|
@ -354,14 +354,6 @@
|
||||
'util/protobuf_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
# TODO(akalin): This is needed because histogram.cc uses
|
||||
# leak_annotations.h, which pulls this in. Make 'base'
|
||||
# propagate this dependency.
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS == "android"', {
|
||||
'dependencies': [
|
||||
'../testing/android/native_test.gyp:native_test_native_code',
|
||||
|
2
third_party/WebKit/Source/platform/BUILD.gn
vendored
2
third_party/WebKit/Source/platform/BUILD.gn
vendored
@ -351,7 +351,6 @@ test("blink_heap_unittests") {
|
||||
deps = [
|
||||
":platform",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//content/test:test_support",
|
||||
"//testing/gmock",
|
||||
@ -407,7 +406,6 @@ test("blink_platform_unittests") {
|
||||
":platform",
|
||||
":test_support",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//cc",
|
||||
"//cc:test_support",
|
||||
|
@ -53,17 +53,6 @@
|
||||
'<@(platform_heap_test_files)',
|
||||
],
|
||||
'conditions': [
|
||||
['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/base.gyp:base',
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
]
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
]
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'type': 'shared_library',
|
||||
'dependencies': [
|
||||
@ -104,12 +93,6 @@
|
||||
'<@(platform_test_files)',
|
||||
],
|
||||
'conditions': [
|
||||
['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/base.gyp:base',
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
]
|
||||
}],
|
||||
['OS=="android" and gtest_target_type == "shared_library"', {
|
||||
'type': 'shared_library',
|
||||
'dependencies': [
|
||||
|
12
third_party/WebKit/Source/web/web_tests.gyp
vendored
12
third_party/WebKit/Source/web/web_tests.gyp
vendored
@ -99,13 +99,6 @@
|
||||
},
|
||||
},
|
||||
},
|
||||
'conditions': [
|
||||
['win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'type': 'shared_library',
|
||||
@ -119,11 +112,6 @@
|
||||
'../../public/web/mac',
|
||||
],
|
||||
}],
|
||||
[ 'os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
||||
], # targets
|
||||
|
1
third_party/WebKit/Source/wtf/BUILD.gn
vendored
1
third_party/WebKit/Source/wtf/BUILD.gn
vendored
@ -125,7 +125,6 @@ test("wtf_unittests") {
|
||||
":test_support",
|
||||
":wtf",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//testing/gmock",
|
||||
"//testing/gtest",
|
||||
|
6
third_party/WebKit/Source/wtf/wtf_tests.gyp
vendored
6
third_party/WebKit/Source/wtf/wtf_tests.gyp
vendored
@ -47,12 +47,6 @@
|
||||
# Disable c4267 warnings until we fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [4127, 4510, 4512, 4610, 4706, 4068, 4267],
|
||||
'conditions': [
|
||||
['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/base.gyp:base',
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="android"', {
|
||||
'type': 'shared_library',
|
||||
'dependencies': [
|
||||
|
@ -317,17 +317,6 @@
|
||||
['exclude', 'cocoa/'],
|
||||
],
|
||||
}],
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
# Disable c4267 warnings until we fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
@ -370,11 +359,6 @@
|
||||
'../../content/content.gyp:sandbox_helper_win',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
|
@ -301,7 +301,6 @@ test("aura_unittests") {
|
||||
|
||||
deps = [
|
||||
":test_support",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//skia",
|
||||
"//testing/gtest",
|
||||
|
@ -312,12 +312,6 @@
|
||||
'<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
|
@ -766,7 +766,6 @@ test("ui_base_unittests") {
|
||||
|
||||
deps = [
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//net",
|
||||
"//skia",
|
||||
|
@ -165,13 +165,6 @@
|
||||
'dependencies': [
|
||||
'../../build/linux/system.gyp:pangocairo',
|
||||
],
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['use_x11==1', {
|
||||
'dependencies': [
|
||||
|
@ -190,7 +190,6 @@ test("compositor_unittests") {
|
||||
":compositor",
|
||||
":test_support",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//cc",
|
||||
"//cc:test_support",
|
||||
|
@ -192,15 +192,6 @@
|
||||
'<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
|
||||
],
|
||||
}],
|
||||
['os_posix == 1 and OS != "mac"', {
|
||||
'conditions': [
|
||||
['use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['OS == "android"', {
|
||||
'dependencies': [
|
||||
'../../testing/android/native_test.gyp:native_test_native_code',
|
||||
|
@ -102,11 +102,6 @@
|
||||
'gestures/motion_event_aura_unittest.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
# Exclude tests that rely on event_utils.h for platforms that do not
|
||||
# provide native cracking, i.e., platforms that use events_stub.cc.
|
||||
['OS!="win" and use_x11!=1 and use_ozone!=1', {
|
||||
|
@ -136,7 +136,6 @@ test("keyboard_unittests") {
|
||||
deps = [
|
||||
":keyboard",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//skia",
|
||||
"//testing/gtest",
|
||||
|
@ -149,21 +149,6 @@
|
||||
'keyboard_util_unittest.cc',
|
||||
'test/run_all_unittests.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
'link_settings': {
|
||||
'ldflags': ['-rdynamic'],
|
||||
},
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
@ -190,7 +190,6 @@ test("message_center_unittests") {
|
||||
":message_center",
|
||||
":test_support",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//skia",
|
||||
"//testing/gtest",
|
||||
|
@ -239,12 +239,6 @@
|
||||
['include', '^test/run_all_unittests\\.cc$'],
|
||||
],
|
||||
}],
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, # target_name: message_center_unittests
|
||||
],
|
||||
|
@ -70,7 +70,6 @@ test("snapshot_unittests") {
|
||||
deps = [
|
||||
":snapshot",
|
||||
"//base",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//skia",
|
||||
"//testing/gtest",
|
||||
|
@ -90,12 +90,6 @@
|
||||
'../wm/wm.gyp:wm',
|
||||
],
|
||||
}],
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
|
@ -209,7 +209,6 @@ test("views_unittests") {
|
||||
":test_support",
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//cc",
|
||||
"//skia",
|
||||
|
@ -193,11 +193,6 @@
|
||||
'../../../content/content.gyp:sandbox_helper_win',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, # target_name: views_examples_with_content_exe
|
||||
],
|
||||
|
@ -153,7 +153,6 @@ mojo_native_application("views_apptests") {
|
||||
":mus",
|
||||
"//base",
|
||||
"//base:i18n",
|
||||
"//base/allocator",
|
||||
"//base/test:test_support",
|
||||
"//cc",
|
||||
"//mojo/shell/public/cpp:test_support",
|
||||
|
@ -884,17 +884,6 @@
|
||||
},
|
||||
},
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['OS=="linux" and use_allocator!="none"', {
|
||||
# See http://crbug.com/162998#c4 for why this is needed.
|
||||
'dependencies': [
|
||||
'../../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}],
|
||||
['use_x11==1', {
|
||||
'dependencies': [
|
||||
'../../build/linux/system.gyp:x11',
|
||||
|
@ -139,12 +139,6 @@ if (!is_android) {
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
||||
|
||||
#if (is_posix && !is_mac && !is_ios) {
|
||||
# if (use_allocator!="none") {
|
||||
# deps += "//base/allocator"
|
||||
# }
|
||||
#}
|
||||
|
||||
deps = [
|
||||
":url",
|
||||
"//base",
|
||||
|
@ -55,15 +55,6 @@
|
||||
'url_test_utils.h',
|
||||
'url_util_unittest.cc',
|
||||
],
|
||||
'conditions': [
|
||||
['os_posix==1 and OS!="mac" and OS!="ios" and use_allocator!="none"',
|
||||
{
|
||||
'dependencies': [
|
||||
'../base/allocator/allocator.gyp:allocator',
|
||||
],
|
||||
}
|
||||
],
|
||||
],
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [4267, ],
|
||||
},
|
||||
|
Reference in New Issue
Block a user