|
|
Chromium Code Reviews|
Created:
4 years, 3 months ago by Robert Sesek Modified:
4 years, 3 months ago Reviewers:
Nico CC:
chromium-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionSplit parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac.
This also adds the crdmg target after fixing availability warnings.
BUG=645810
NOPRESUBMIT=true
Originally Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d
Reverted: https://crrev.com/1cb270778f6337af7b5b61e70b9d78d99b2e8877
Committed: https://crrev.com/a8abcd3183b56f96a99155ece7b6e13b56606c11
Cr-Commit-Position: refs/heads/master@{#418091}
Patch Set 1 #Patch Set 2 : gn check #
Total comments: 8
Patch Set 3 : Redeclare #
Total comments: 2
Patch Set 4 : comment #Patch Set 5 : Fix gn --check #
Messages
Total messages: 37 (22 generated)
The CQ bit was checked by rsesek@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by rsesek@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
rsesek@chromium.org changed reviewers: + thakis@chromium.org
https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... File chrome/utility/safe_browsing/mac/BUILD.gn (right): https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/BUILD.gn:53: cflags = [ "-Wno-partial-availability" ] Fix the warnings instead? https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/BUILD.gn:56: executable("crdmg") { Isn't that a new target? Advertise it in the cl description?
https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... File chrome/utility/safe_browsing/mac/BUILD.gn (right): https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/BUILD.gn:53: cflags = [ "-Wno-partial-availability" ] On 2016/09/08 22:29:12, Nico wrote: > Fix the warnings instead? It's from openat() and mkdirat() which are 10.10+. We can't really express a different deployment target for one-off executables. I could #pragma them in the file. https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/BUILD.gn:56: executable("crdmg") { On 2016/09/08 22:29:12, Nico wrote: > Isn't that a new target? Advertise it in the cl description? It's one I didn't port in the GN transition, since I knew I wanted to split this out after the GYP files were axed.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... File chrome/utility/safe_browsing/mac/BUILD.gn (right): https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/BUILD.gn:53: cflags = [ "-Wno-partial-availability" ] On 2016/09/08 22:43:05, Robert Sesek wrote: > On 2016/09/08 22:29:12, Nico wrote: > > Fix the warnings instead? > > It's from openat() and mkdirat() which are 10.10+. We can't really express a > different deployment target for one-off executables. I could #pragma them in the > file. The warning just wants you to redeclare them, so that it knows you're aware they're not on all platforms. https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/BUILD.gn:56: executable("crdmg") { On 2016/09/08 22:43:05, Robert Sesek wrote: > On 2016/09/08 22:29:12, Nico wrote: > > Isn't that a new target? Advertise it in the cl description? > > It's one I didn't port in the GN transition, since I knew I wanted to split this > out after the GYP files were axed. I'm just saying you should mention that in the CL description since else this'll look like it's just moving stuff around in `git log`
Description was changed from ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. BUG=none ========== to ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=none ==========
The CQ bit was checked by rsesek@chromium.org to run a CQ dry run
https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... File chrome/utility/safe_browsing/mac/BUILD.gn (right): https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/BUILD.gn:53: cflags = [ "-Wno-partial-availability" ] On 2016/09/09 20:31:59, Nico wrote: > On 2016/09/08 22:43:05, Robert Sesek wrote: > > On 2016/09/08 22:29:12, Nico wrote: > > > Fix the warnings instead? > > > > It's from openat() and mkdirat() which are 10.10+. We can't really express a > > different deployment target for one-off executables. I could #pragma them in > the > > file. > > The warning just wants you to redeclare them, so that it knows you're aware > they're not on all platforms. Do'h, done. https://codereview.chromium.org/2325783002/diff/20001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/BUILD.gn:56: executable("crdmg") { On 2016/09/09 20:31:58, Nico wrote: > On 2016/09/08 22:43:05, Robert Sesek wrote: > > On 2016/09/08 22:29:12, Nico wrote: > > > Isn't that a new target? Advertise it in the cl description? > > > > It's one I didn't port in the GN transition, since I knew I wanted to split > this > > out after the GYP files were axed. > > I'm just saying you should mention that in the CL description since else this'll > look like it's just moving stuff around in `git log` Done.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm, thanks! https://codereview.chromium.org/2325783002/diff/40001/chrome/utility/safe_bro... File chrome/utility/safe_browsing/mac/crdmg.cc (right): https://codereview.chromium.org/2325783002/diff/40001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/crdmg.cc:28: extern "C" { Maybe add some `// This executable is only supposed to work on 10.10+, so unconditionally use these functions` type comment
https://codereview.chromium.org/2325783002/diff/40001/chrome/utility/safe_bro... File chrome/utility/safe_browsing/mac/crdmg.cc (right): https://codereview.chromium.org/2325783002/diff/40001/chrome/utility/safe_bro... chrome/utility/safe_browsing/mac/crdmg.cc:28: extern "C" { On 2016/09/09 20:45:44, Nico wrote: > Maybe add some `// This executable is only supposed to work on 10.10+, so > unconditionally use these functions` type comment Done.
Description was changed from ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=none ========== to ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=none NOPRESUBMIT=true ==========
The CQ bit was checked by rsesek@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from thakis@chromium.org Link to the patchset: https://codereview.chromium.org/2325783002/#ps60001 (title: "comment")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=none NOPRESUBMIT=true ========== to ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=none NOPRESUBMIT=true Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Cr-Commit-Position: refs/heads/master@{#417725} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Cr-Commit-Position: refs/heads/master@{#417725}
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2334503002/ by mmoroz@chromium.org. The reason for reverting is: This CL had broken libFuzzer build for Mac :( Filed crbug.com/645810.
Message was sent while issue was closed.
Description was changed from ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=none NOPRESUBMIT=true Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Cr-Commit-Position: refs/heads/master@{#417725} ========== to ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=none NOPRESUBMIT=true Originally Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Reverted: https://crrev.com/1cb270778f6337af7b5b61e70b9d78d99b2e8877 Cr-Commit-Position: refs/heads/master@{#417725} ==========
On 2016/09/11 10:12:03, mmoroz wrote: > A revert of this CL (patchset #4 id:60001) has been created in > https://codereview.chromium.org/2334503002/ by mailto:mmoroz@chromium.org. > > The reason for reverting is: This CL had broken libFuzzer build for Mac :( > Filed crbug.com/645810. Bah, sorry for the breakage. Latest patch set will fix.
Description was changed from ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=none NOPRESUBMIT=true Originally Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Reverted: https://crrev.com/1cb270778f6337af7b5b61e70b9d78d99b2e8877 Cr-Commit-Position: refs/heads/master@{#417725} ========== to ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=645810 NOPRESUBMIT=true Originally Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Reverted: https://crrev.com/1cb270778f6337af7b5b61e70b9d78d99b2e8877 ==========
The CQ bit was checked by rsesek@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from thakis@chromium.org Link to the patchset: https://codereview.chromium.org/2325783002/#ps80001 (title: "Fix gn --check")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=645810 NOPRESUBMIT=true Originally Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Reverted: https://crrev.com/1cb270778f6337af7b5b61e70b9d78d99b2e8877 ========== to ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=645810 NOPRESUBMIT=true Originally Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Reverted: https://crrev.com/1cb270778f6337af7b5b61e70b9d78d99b2e8877 ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=645810 NOPRESUBMIT=true Originally Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Reverted: https://crrev.com/1cb270778f6337af7b5b61e70b9d78d99b2e8877 ========== to ========== Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. This also adds the crdmg target after fixing availability warnings. BUG=645810 NOPRESUBMIT=true Originally Committed: https://crrev.com/a2783c22659863b5cc5cf635eb13d5eb04f3603d Reverted: https://crrev.com/1cb270778f6337af7b5b61e70b9d78d99b2e8877 Committed: https://crrev.com/a8abcd3183b56f96a99155ece7b6e13b56606c11 Cr-Commit-Position: refs/heads/master@{#418091} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/a8abcd3183b56f96a99155ece7b6e13b56606c11 Cr-Commit-Position: refs/heads/master@{#418091} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
