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

Issue 288203003: Hook up base unit tests and allocator to GN build. (Closed)

Created:
6 years, 7 months ago by brettw
Modified:
6 years, 7 months ago
Reviewers:
scottmg
CC:
chromium-reviews, tfarina, erikwright+watch_chromium.org, dmikurube+memory_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src
Visibility:
Public.

Description

Hook up base unit tests and allocator to GN build. Adds a meta-target "//base/allocator" that forwards to tcmallor or nothing depending on the build configuration. Write tcmalloc target definition. Write base unit tests prefs, and some support targets from base.gypi. Fix a bunch of added files in the base target that were exposed by linking the unit tests. Removes toolkit_uses_gtk which was removed from the GYP build. BUG= R=scottmg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271079

Patch Set 1 #

Patch Set 2 : android fixes #

Patch Set 3 : #

Patch Set 4 : tweak #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : tfarina review, android build fix #

Total comments: 3

Patch Set 7 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+630 lines, -44 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 17 chunks +397 lines, -29 lines 0 comments Download
M base/allocator/BUILD.gn View 1 2 3 4 5 6 1 chunk +199 lines, -1 line 0 comments Download
M base/test/BUILD.gn View 1 2 3 4 5 chunks +16 lines, -6 lines 0 comments Download
M build/config/BUILD.gn View 2 chunks +4 lines, -0 lines 0 comments Download
A build/config/allocator.gni View 1 chunk +14 lines, -0 lines 0 comments Download
M build/config/ui.gni View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M tools/gn/secondary/chrome/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
brettw
6 years, 7 months ago (2014-05-15 22:26:52 UTC) #1
tfarina
https://codereview.chromium.org/288203003/diff/50001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/288203003/diff/50001/base/BUILD.gn#newcode5 base/BUILD.gn:5: import("//build/config/android/rules.gni") if (is_android) { } https://codereview.chromium.org/288203003/diff/50001/base/BUILD.gn#newcode708 base/BUILD.gn:708: # TODO(brettw) ...
6 years, 7 months ago (2014-05-15 22:28:53 UTC) #2
brettw
https://codereview.chromium.org/288203003/diff/50001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/288203003/diff/50001/base/BUILD.gn#newcode5 base/BUILD.gn:5: import("//build/config/android/rules.gni") On 2014/05/15 22:28:54, tfarina wrote: > if (is_android) ...
6 years, 7 months ago (2014-05-15 22:48:22 UTC) #3
scottmg
lgtm https://codereview.chromium.org/288203003/diff/70001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/288203003/diff/70001/base/BUILD.gn#newcode708 base/BUILD.gn:708: if (!is_nacl) { is_nacl => += instead of ...
6 years, 7 months ago (2014-05-15 23:37:31 UTC) #4
brettw
6 years, 7 months ago (2014-05-16 19:33:13 UTC) #5
Message was sent while issue was closed.
Committed patchset #7 manually as r271079 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698