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

Issue 2931983003: Move libc++ configs and flags out of //build/config/sanitizers (Closed)

Created:
3 years, 6 months ago by Tom Anderson
Modified:
3 years, 6 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move libc++ configs and flags out of //build/config/sanitizers libc++ used to be used only on instrumented builds, so it made sense for the associated build code to go in //build/config/sanitizers. Now that non-sanitizer builds are switching to libc++ as well, it makes more sense for this code to live elsewhere. Additionally, there is a target, android_protoc, which has a dependency on exe_and_shlib_deps but removes the default_sanitizer_flags, which used to bring in c++flags. This meant the sources would compile against the libstdc++ headers in the sysroot, but link against libc++, resulting in many symbol conflicts. BUG=593874 R=brettw@chromium.org Review-Url: https://codereview.chromium.org/2931983003 Cr-Commit-Position: refs/heads/master@{#481392} Committed: https://chromium.googlesource.com/chromium/src/+/018ffc7f6451b844d6f3f45e8d01ced35adeb780

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add copyright headers #

Patch Set 3 : Move out of BUILDCONFIG.gn #

Patch Set 4 : Update installer files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -32 lines) Patch
M build/config/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
A build/config/c++/BUILD.gn View 1 1 chunk +17 lines, -0 lines 0 comments Download
A build/config/c++/c++.gni View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M build/config/sanitizers/BUILD.gn View 1 2 2 chunks +0 lines, -14 lines 0 comments Download
M build/config/sanitizers/sanitizers.gni View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/installer/linux/BUILD.gn View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M extensions/shell/installer/linux/BUILD.gn View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
Tom Anderson
brettw ptal
3 years, 6 months ago (2017-06-09 00:11:28 UTC) #2
brettw
https://codereview.chromium.org/2931983003/diff/40001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/2931983003/diff/40001/build/config/BUILDCONFIG.gn#newcode522 build/config/BUILDCONFIG.gn:522: "//build/config/libc++:libc++flags", The reason things need to go here is ...
3 years, 6 months ago (2017-06-12 17:55:18 UTC) #12
Tom Anderson
also renamed libc++flags to c++flags since it adds eg. -nostdinc++ https://codereview.chromium.org/2931983003/diff/40001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/2931983003/diff/40001/build/config/BUILDCONFIG.gn#newcode522 ...
3 years, 6 months ago (2017-06-16 20:49:50 UTC) #13
brettw
https://codereview.chromium.org/2931983003/diff/40001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/2931983003/diff/40001/build/config/BUILDCONFIG.gn#newcode522 build/config/BUILDCONFIG.gn:522: "//build/config/libc++:libc++flags", Your current patch doesn't implement this. Since we ...
3 years, 6 months ago (2017-06-19 23:40:26 UTC) #14
Tom Anderson
On 2017/06/19 23:40:26, brettw wrote: > https://codereview.chromium.org/2931983003/diff/40001/build/config/BUILDCONFIG.gn > File build/config/BUILDCONFIG.gn (right): > > https://codereview.chromium.org/2931983003/diff/40001/build/config/BUILDCONFIG.gn#newcode522 > ...
3 years, 6 months ago (2017-06-21 16:28:37 UTC) #15
brettw
lgtm
3 years, 6 months ago (2017-06-21 22:31:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2931983003/120001
3 years, 6 months ago (2017-06-21 22:40:56 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/470388)
3 years, 6 months ago (2017-06-21 22:50:09 UTC) #22
Tom Anderson
+thestig for extensions/shell/installer/linux/BUILD.gn
3 years, 6 months ago (2017-06-21 22:53:04 UTC) #24
Lei Zhang
On 2017/06/21 22:53:04, Tom Anderson wrote: > +thestig for extensions/shell/installer/linux/BUILD.gn lgtm, but I think you ...
3 years, 6 months ago (2017-06-21 22:57:20 UTC) #26
Tom Anderson
On 2017/06/21 22:57:20, Lei Zhang wrote: > On 2017/06/21 22:53:04, Tom Anderson wrote: > > ...
3 years, 6 months ago (2017-06-21 22:59:18 UTC) #27
Lei Zhang
On 2017/06/21 22:59:18, Tom Anderson wrote: > On 2017/06/21 22:57:20, Lei Zhang wrote: > > ...
3 years, 6 months ago (2017-06-21 23:26:50 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2931983003/120001
3 years, 6 months ago (2017-06-22 01:12:30 UTC) #34
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 01:25:50 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/018ffc7f6451b844d6f3f45e8d01...

Powered by Google App Engine
This is Rietveld 408576698