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

Issue 266613002: Add BUILD.gn for third_party/yasm. (Closed)

Created:
6 years, 7 months ago by awong
Modified:
6 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add BUILD.gn for third_party/yasm. This is a full conversion of yasm.gyp with some cleanups. All hail gn. orz BUG=none

Patch Set 1 #

Patch Set 2 : moar better #

Patch Set 3 : w/o the copies #

Patch Set 4 : fix comments #

Patch Set 5 : Move run_exectuable templates into a gni. Add yasm_assemble.gni #

Patch Set 6 : Use a source_set that has all the output files. #

Patch Set 7 : Fix indentation. #

Patch Set 8 : comment this out of the main BUILD.gn #

Patch Set 9 : Detach from real build and abstract moar functionality. #

Patch Set 10 : Fix path issues and some option propagation. #

Total comments: 10

Patch Set 11 : Address Brett's comments. #

Patch Set 12 : fix bad merge #

Total comments: 2

Patch Set 13 : yasm yasm yasm #

Total comments: 11

Patch Set 14 : Address comments #

Patch Set 15 : rebasd #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -0 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
A build/gn_helper_scripts.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +65 lines, -0 lines 0 comments Download
A build/gn_run_binary.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/yasm/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +411 lines, -0 lines 0 comments Download
A third_party/yasm/yasm_assemble.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +107 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
awong
DO NOT COMMIT. This is not ready for commit yet, but it illustrates what I've ...
6 years, 7 months ago (2014-04-30 21:02:46 UTC) #1
awong
Okay, ready for real review. FYI, this still can't be checked in because there will ...
6 years, 7 months ago (2014-05-01 00:25:05 UTC) #2
awong
And now...with a yasm_assemble.gni. FYI, I gotz the ffmpeg 2 buildz 2. https://gerrit.chromium.org/gerrit/#/c/69971/ -Albert On ...
6 years, 7 months ago (2014-05-01 15:33:18 UTC) #3
awong
@hclam: OWNERS for third_party/yasm @brettw: GN style + review of addition of script to //build/.
6 years, 7 months ago (2014-05-01 21:33:03 UTC) #4
brettw
https://codereview.chromium.org/266613002/diff/170001/build/BUILD.gn File build/BUILD.gn (right): https://codereview.chromium.org/266613002/diff/170001/build/BUILD.gn#newcode5 build/BUILD.gn:5: source_set("gn_helper_scripts") { You don't need this target for python ...
6 years, 7 months ago (2014-05-05 16:46:50 UTC) #5
awong
https://codereview.chromium.org/266613002/diff/170001/build/BUILD.gn File build/BUILD.gn (right): https://codereview.chromium.org/266613002/diff/170001/build/BUILD.gn#newcode5 build/BUILD.gn:5: source_set("gn_helper_scripts") { On 2014/05/05 16:46:50, brettw wrote: > You ...
6 years, 7 months ago (2014-05-05 19:28:33 UTC) #6
brettw
https://codereview.chromium.org/266613002/diff/170001/build/BUILD.gn File build/BUILD.gn (right): https://codereview.chromium.org/266613002/diff/170001/build/BUILD.gn#newcode5 build/BUILD.gn:5: source_set("gn_helper_scripts") { Yes, the script itself will be part ...
6 years, 7 months ago (2014-05-05 19:31:21 UTC) #7
brettw
https://codereview.chromium.org/266613002/diff/210001/third_party/yasm/yasm_assemble.gni File third_party/yasm/yasm_assemble.gni (right): https://codereview.chromium.org/266613002/diff/210001/third_party/yasm/yasm_assemble.gni#newcode29 third_party/yasm/yasm_assemble.gni:29: # TODO(ajwong): This should be is_posix... Myabe just remove ...
6 years, 7 months ago (2014-05-05 19:34:26 UTC) #8
awong
https://codereview.chromium.org/266613002/diff/210001/third_party/yasm/yasm_assemble.gni File third_party/yasm/yasm_assemble.gni (right): https://codereview.chromium.org/266613002/diff/210001/third_party/yasm/yasm_assemble.gni#newcode29 third_party/yasm/yasm_assemble.gni:29: # TODO(ajwong): This should be is_posix... On 2014/05/05 19:34:26, ...
6 years, 7 months ago (2014-05-05 19:47:07 UTC) #9
Alpha Left Google
LGTM. :)
6 years, 7 months ago (2014-05-09 00:51:48 UTC) #10
awong
Brett: How's this look to you?
6 years, 7 months ago (2014-05-09 00:52:15 UTC) #11
brettw
Very neato! https://codereview.chromium.org/266613002/diff/230001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/266613002/diff/230001/BUILD.gn#newcode51 BUILD.gn:51: # TODO(ajwong): Reenable yasm once gn has ...
6 years, 7 months ago (2014-05-09 20:17:54 UTC) #12
brettw
https://codereview.chromium.org/266613002/diff/230001/third_party/yasm/yasm_assemble.gni File third_party/yasm/yasm_assemble.gni (right): https://codereview.chromium.org/266613002/diff/230001/third_party/yasm/yasm_assemble.gni#newcode29 third_party/yasm/yasm_assemble.gni:29: if (is_mac || is_ios) { On 2014/05/09 20:17:54, brettw ...
6 years, 7 months ago (2014-05-09 20:56:56 UTC) #13
awong
https://codereview.chromium.org/266613002/diff/230001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/266613002/diff/230001/BUILD.gn#newcode51 BUILD.gn:51: # TODO(ajwong): Reenable yasm once gn has action dependencies. ...
6 years, 7 months ago (2014-05-10 08:55:34 UTC) #14
brettw
https://codereview.chromium.org/266613002/diff/230001/third_party/yasm/BUILD.gn File third_party/yasm/BUILD.gn (right): https://codereview.chromium.org/266613002/diff/230001/third_party/yasm/BUILD.gn#newcode1 third_party/yasm/BUILD.gn:1: # Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 7 months ago (2014-05-11 20:30:33 UTC) #15
brettw
I'm adding a new function which might be relevant: https://codereview.chromium.org/279023002/ With this function you can ...
6 years, 7 months ago (2014-05-12 16:28:59 UTC) #16
awong
On 2014/05/12 16:28:59, brettw wrote: > I'm adding a new function which might be relevant: ...
6 years, 6 months ago (2014-06-10 01:26:17 UTC) #17
awong
The CQ bit was checked by ajwong@chromium.org
6 years, 6 months ago (2014-06-10 01:48:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/266613002/270001
6 years, 6 months ago (2014-06-10 01:50:38 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 16:17:23 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 16:22:52 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/12284) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72708)
6 years, 6 months ago (2014-06-10 16:22:54 UTC) #22
brettw
6 years, 6 months ago (2014-06-10 21:32:31 UTC) #23
https://codereview.chromium.org/266613002/diff/170001/build/BUILD.gn
File build/BUILD.gn (right):

https://codereview.chromium.org/266613002/diff/170001/build/BUILD.gn#newcode5
build/BUILD.gn:5: source_set("gn_helper_scripts") {
On 2014/05/05 19:31:21, brettw wrote:
> Yes, the script itself will be part of the deps of the action dependencies.

I only responded to part of this. When you exec a script the script itself will
be part of the dependency list. But if that imports something else it won't.
I'll look at this.

Powered by Google App Engine
This is Rietveld 408576698