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

Issue 1462853002: [clean-up] Remove allocator.gyp dependency from library targets (Closed)

Created:
5 years, 1 month ago by ssid
Modified:
5 years ago
CC:
aboxhall+watch_chromium.org, arv+watch_chromium.org, chrisha, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, extensions-reviews_chromium.org, jam, je_julie, nektar+watch_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, plundblad+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[clean-up] Remove allocator.gyp dependency from library targets This CL does a refactoring of the dependencies and do not change any behavior. The diff between the ninja files is presented in link: http://pastebin.com/aG6eq5cb. The test_support_gpu.gypi included allocator.gyp for no reason, and the only other target that uses this file is content_browsertests, which already includes allocatpor.gyp with same conditions. So, removing this dependency here. target:browser_ui - depends on allocator.gyp in windows targets that depend on browser_ui: chrome_android_core: not used in windows Dependency on allocator.gyp exists already for: All, browser (explained below) target:browser - depends on allocator.gyp in windows targets that depend on browser: chrome_android_core: only android chromevox_tests: added dependency to allocator.gyp for windows Dependency on allocator.gyp exists already for: All, interactive_ui_tests, browser_tests, performance_browser_tests chrome_main_dll, chrome_initial, unit_tests, chrome_app_unittests test_support_sync_integration's executables: sync_integration_tests, browser_tests, sync_performance_tests test_support_common's executables: interactive_ui_tests, browser_tests, performance_browser_tests test_support_unit's executables: unit_tests target:renderer - depends and exports dependency on allocator.gyp in windows targets that depend on renderer: chrome_android_core: not used in windows chromevox_tests: added dependency to allocator.gyp for windows chrome_child_dll - added dependency. Dependency on allocator.gyp exists already for: interactive_ui_tests, browser_tests, performance_browser_tests sync_integration_tests, chrome_main_dll, chrome_initial, unit_tests chrome_app_unittests test_support_common - explained earlier. target:browser_extensions - depends on allocator.gyp in windows targets that depend on browser_extensions: apps - browser (explained above) browser_ui (explained above) browser_chromeos browser (explained above) browser_tests apps - browser (explained above) target:web_cache_browser - depends on allocator.gyp in windows All the targets that depend on web_cache_browser already have dependency on allocator.gyp: browser*, components_unittests extensions_browser extensions_unittests, browser_extensions*, apps* media_router browser_ui*, browser*, native_app_window - browser_ui* javascript_dialog_extensions_client - browser_ui* media_router_test_support browser_tests, test_support_unit*, unit_tests app_shell_lib extensions_browsertests, app_shell, app_shell_unittests extensions_test_support extensions_unittests, extensions_browsertests, app_shell_unittests test_support_common* * - see previous sections for why it is fine for the target to not depend on allocator.gyp BUG= Committed: https://crrev.com/fccd31cc513c66944a01955638a67d23bdcc0b88 Cr-Commit-Position: refs/heads/master@{#361381}

Patch Set 1 #

Patch Set 2 : Add to chrome_child_dll #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -41 lines) Patch
M chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 chunk +0 lines, -10 lines 0 comments Download
M components/web_cache.gypi View 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/gpu/test_support_gpu.gypi View 1 chunk +0 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (10 generated)
ssid
PTAL, thanks.
5 years, 1 month ago (2015-11-19 11:42:14 UTC) #3
Primiano Tucci (use gerrit)
Thanks for the cleanup. LGTM from my side, but mine counts very little here. Starting ...
5 years, 1 month ago (2015-11-19 13:01:32 UTC) #5
Primiano Tucci (use gerrit)
Ah, I guess this CL needs a bit more of context: we plan to do ...
5 years, 1 month ago (2015-11-19 13:08:14 UTC) #6
ssid
-shess +scottmg Please take a look at this change.
5 years, 1 month ago (2015-11-19 16:51:46 UTC) #10
scottmg
Is there anything that needs to be done in .gn files?
5 years, 1 month ago (2015-11-19 17:31:59 UTC) #11
ssid
On 2015/11/19 17:31:59, scottmg wrote: > Is there anything that needs to be done in ...
5 years, 1 month ago (2015-11-19 17:47:02 UTC) #12
scottmg
On 2015/11/19 17:47:02, ssid wrote: > On 2015/11/19 17:31:59, scottmg wrote: > > Is there ...
5 years, 1 month ago (2015-11-19 19:01:45 UTC) #13
Will Harris
yes this cl lgtm, I think you covered all the executable targets. re: GN I ...
5 years, 1 month ago (2015-11-19 19:16:01 UTC) #14
ssid
+jochen, PTAL, Thanks.
5 years, 1 month ago (2015-11-19 19:49:52 UTC) #16
ssid
On 2015/11/19 19:16:01, Will Harris wrote: > yes this cl lgtm, I think you covered ...
5 years, 1 month ago (2015-11-19 19:52:01 UTC) #17
Will Harris
> I haven't looked into the details yet. But the gn build seems to have ...
5 years, 1 month ago (2015-11-19 20:43:32 UTC) #18
Primiano Tucci (use gerrit)
Oh, my bad, I mistakenly assumed GN for windows was not there at all. Agree ...
5 years, 1 month ago (2015-11-19 23:11:12 UTC) #19
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-20 13:40:06 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462853002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462853002/20001
5 years ago (2015-11-24 14:12:14 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/100594)
5 years ago (2015-11-24 16:27:58 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462853002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462853002/20001
5 years ago (2015-11-24 17:39:41 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-24 17:45:02 UTC) #27
commit-bot: I haz the power
5 years ago (2015-11-24 17:45:56 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fccd31cc513c66944a01955638a67d23bdcc0b88
Cr-Commit-Position: refs/heads/master@{#361381}

Powered by Google App Engine
This is Rietveld 408576698