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

Issue 1647453002: allocator cleanup: remove dependencies on allocator from all targets (Closed)

Created:
4 years, 11 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 10 months ago
CC:
chromium-reviews, sadrul, zea+watch_chromium.org, chromoting-reviews_chromium.org, avayvod+watch_chromium.org, sievers+watch_chromium.org, arv+watch_chromium.org, kinuko+watch, blink-reviews-wtf_chromium.org, miu+watch_chromium.org, tim+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, Matt Giuca, aboxhall+watch_chromium.org, grt+watch_chromium.org, tdresser+watch_chromium.org, jam, jbauman+watch_chromium.org, je_julie, darin-cc_chromium.org, blink-reviews, kalyank, xjz+watch_chromium.org, mlamouri+watch-content_chromium.org, imcheng+watch_chromium.org, tapted, Peter Beverloo, jasonroberts+watch_google.com, mlamouri+watch-notifications_chromium.org, yuzo+watch_chromium.org, feature-media-reviews_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, piman+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, danakj+watch_chromium.org, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, plundblad+watch_chromium.org, Ian Vollick, wfh+watch_chromium.org, maxbogue+watch_chromium.org, nektar+watch_chromium.org, plaree+watch_chromium.org, dtseng+watch_chromium.org, tfarina, mkwst+moarreviews-renderer_chromium.org, cc-bugs_chromium.org, Mikhail, isheriff+watch_chromium.org, dmazzoni+watch_chromium.org, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/115ceedf72a6b2be9a7b3d60f7cd36afa0192dde Cr-Commit-Position: refs/heads/master@{#372167}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : pure rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -722 lines) Patch
M ash/BUILD.gn View 2 chunks +0 lines, -5 lines 0 comments Download
M ash/ash.gyp View 3 chunks +0 lines, -18 lines 0 comments Download
M build/all.gyp View 1 chunk +0 lines, -7 lines 0 comments Download
M cc/cc_tests.gyp View 2 chunks +0 lines, -21 lines 0 comments Download
M chrome/BUILD.gn View 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/android/chrome_apk.gyp View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_dll.gypi View 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/chrome_installer.gypi View 2 chunks +0 lines, -12 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 7 chunks +0 lines, -58 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 chunks +0 lines, -21 lines 0 comments Download
M chrome/installer/setup/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 7 chunks +0 lines, -7 lines 0 comments Download
M chrome/tools/service_discovery_sniffer/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chromeos/BUILD.gn View 2 chunks +0 lines, -4 lines 0 comments Download
M chromeos/chromeos.gyp View 1 chunk +0 lines, -6 lines 0 comments Download
M cloud_print/cloud_print.gyp View 1 chunk +0 lines, -6 lines 0 comments Download
M components/components_tests.gyp View 1 2 4 chunks +0 lines, -28 lines 0 comments Download
M components/nacl.gyp View 1 chunk +0 lines, -9 lines 0 comments Download
M components/test_runner/test_runner.gyp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M content/app/BUILD.gn View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M content/content_app.gypi View 1 chunk +0 lines, -6 lines 0 comments Download
M content/content_renderer.gypi View 1 chunk +0 lines, -5 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 chunks +0 lines, -16 lines 0 comments Download
M content/content_tests.gypi View 1 2 6 chunks +0 lines, -34 lines 0 comments Download
M content/renderer/BUILD.gn View 1 chunk +0 lines, -4 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M content/test/BUILD.gn View 1 2 5 chunks +0 lines, -5 lines 0 comments Download
M courgette/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M courgette/courgette.gyp View 1 chunk +0 lines, -11 lines 0 comments Download
M crypto/crypto.gyp View 1 chunk +0 lines, -8 lines 0 comments Download
M device/device_tests.gyp View 1 chunk +0 lines, -9 lines 0 comments Download
M extensions/BUILD.gn View 4 chunks +0 lines, -8 lines 0 comments Download
M extensions/extensions_tests.gyp View 2 chunks +0 lines, -10 lines 0 comments Download
M extensions/shell/BUILD.gn View 2 chunks +0 lines, -5 lines 0 comments Download
M extensions/shell/app_shell.gyp View 2 chunks +0 lines, -10 lines 0 comments Download
M gpu/gles2_conform_support/BUILD.gn View 2 chunks +0 lines, -5 lines 0 comments Download
M gpu/gles2_conform_support/gles2_conform_support.gyp View 1 1 chunk +1 line, -8 lines 0 comments Download
M gpu/gpu.gyp View 2 chunks +0 lines, -14 lines 0 comments Download
M ipc/BUILD.gn View 2 chunks +0 lines, -13 lines 0 comments Download
M ipc/ipc.gyp View 2 chunks +0 lines, -18 lines 0 comments Download
M media/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M media/cast/cast_testing_tools.gypi View 1 chunk +0 lines, -9 lines 0 comments Download
M media/media.gyp View 2 chunks +0 lines, -21 lines 0 comments Download
M net/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M net/net.gyp View 2 chunks +0 lines, -18 lines 0 comments Download
M ppapi/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 2 chunks +0 lines, -19 lines 0 comments Download
M printing/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M printing/printing.gyp View 1 chunk +0 lines, -9 lines 0 comments Download
M remoting/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M remoting/host/BUILD.gn View 2 chunks +1 line, -4 lines 0 comments Download
M remoting/remoting_host.gypi View 4 chunks +0 lines, -22 lines 0 comments Download
M remoting/remoting_test.gypi View 2 chunks +0 lines, -10 lines 0 comments Download
M sql/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M sql/sql.gyp View 1 chunk +0 lines, -9 lines 0 comments Download
M sync/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M sync/sync_tests.gypi View 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform_tests.gyp View 2 chunks +0 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/web/web_tests.gyp View 2 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/wtf/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/wtf/wtf_tests.gyp View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/app_list/app_list.gyp View 2 chunks +0 lines, -16 lines 0 comments Download
M ui/aura/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/aura/aura.gyp View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/base/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/base/ui_base_tests.gyp View 1 chunk +0 lines, -7 lines 0 comments Download
M ui/compositor/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/compositor/compositor.gyp View 1 chunk +0 lines, -9 lines 0 comments Download
M ui/events/events_unittests.gyp View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/keyboard/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/keyboard/keyboard.gyp View 1 chunk +0 lines, -15 lines 0 comments Download
M ui/message_center/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/message_center/message_center.gyp View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/snapshot/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/snapshot/snapshot.gyp View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/examples/examples.gyp View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/views.gyp View 1 2 1 chunk +0 lines, -11 lines 0 comments Download
M url/BUILD.gn View 1 chunk +0 lines, -6 lines 0 comments Download
M url/url.gyp View 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
Primiano Tucci (use gerrit)
Will, can I ask you to look just at the ninja file diff in the ...
4 years, 11 months ago (2016-01-27 20:41:02 UTC) #8
Primiano Tucci (use gerrit)
petrcermak@ can I ask you a first round of eyeballing on this? I know that ...
4 years, 10 months ago (2016-01-28 14:41:27 UTC) #10
petrcermak
I've throroughly checked through the whole patch and the only changes done by this patch ...
4 years, 10 months ago (2016-01-28 14:58:51 UTC) #11
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1647453002/diff/20001/third_party/WebKit/Source/platform/blink_platform_tests.gyp File third_party/WebKit/Source/platform/blink_platform_tests.gyp (left): https://codereview.chromium.org/1647453002/diff/20001/third_party/WebKit/Source/platform/blink_platform_tests.gyp#oldcode58 third_party/WebKit/Source/platform/blink_platform_tests.gyp:58: '<(DEPTH)/base/base.gyp:base', On 2016/01/28 14:58:50, petrcermak wrote: > Is the ...
4 years, 10 months ago (2016-01-28 15:20:03 UTC) #12
brettw
rs lgtm
4 years, 10 months ago (2016-01-28 19:11:14 UTC) #14
Will Harris
On 2016/01/28 19:11:14, brettw wrote: > rs lgtm yup lgtm. the only large change is ...
4 years, 10 months ago (2016-01-28 19:22:59 UTC) #15
Primiano Tucci (use gerrit)
+thakis FYI as he followed all this cleanup
4 years, 10 months ago (2016-01-28 19:31:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1647453002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1647453002/40001
4 years, 10 months ago (2016-01-28 19:33:54 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-01-28 21:11:04 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 21:12:07 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/115ceedf72a6b2be9a7b3d60f7cd36afa0192dde
Cr-Commit-Position: refs/heads/master@{#372167}

Powered by Google App Engine
This is Rietveld 408576698