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

Issue 1432313002: Factor out nmf generation into a GN template (Closed)

Created:
5 years, 1 month ago by Petr Hosek
Modified:
5 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Factor out nmf generation into a GN template This change factors out the logic for generating nmf files into a GN template so that it can be reused across different GN files. BUG=462791 R=dpranke@chromium.org, brettw@chromium.org, mcgrathr@chromium.org Committed: https://crrev.com/998705e6e775b7af409775d980bf237ce3652780 Cr-Commit-Position: refs/heads/master@{#359661}

Patch Set 1 #

Total comments: 19

Patch Set 2 : Address (some) of the code review feedback #

Patch Set 3 : Better path handling #

Patch Set 4 : Allow setting path for staging libraries #

Total comments: 4

Patch Set 5 : Address remaining feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -79 lines) Patch
A build/config/nacl/rules.gni View 1 2 3 4 1 chunk +139 lines, -0 lines 0 comments Download
M ppapi/BUILD.gn View 1 2 3 4 4 chunks +10 lines, -79 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
Petr Hosek
5 years, 1 month ago (2015-11-11 19:22:01 UTC) #1
Petr Hosek
5 years, 1 month ago (2015-11-11 19:51:52 UTC) #2
brettw
https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni File build/config/nacl/rules.gni (right): https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni#newcode8 build/config/nacl/rules.gni:8: template("generate_nmf") { All templates should have comments at the ...
5 years, 1 month ago (2015-11-11 21:20:12 UTC) #3
Roland McGrath
https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni File build/config/nacl/rules.gni (right): https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni#newcode38 build/config/nacl/rules.gni:38: args += [ "--library-path=" + rebase_path(root_out_dir) ] Maybe the ...
5 years, 1 month ago (2015-11-11 21:44:32 UTC) #4
Dirk Pranke
I defer to Brett and Roland here; you don't need three reviewers :).
5 years, 1 month ago (2015-11-11 22:06:00 UTC) #5
brettw
https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni File build/config/nacl/rules.gni (right): https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni#newcode38 build/config/nacl/rules.gni:38: args += [ "--library-path=" + rebase_path(root_out_dir) ] On 2015/11/11 ...
5 years, 1 month ago (2015-11-11 22:32:56 UTC) #6
Roland McGrath
On 2015/11/11 22:32:56, brettw wrote: > https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni > File build/config/nacl/rules.gni (right): > > https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni#newcode38 > ...
5 years, 1 month ago (2015-11-11 22:49:30 UTC) #7
Petr Hosek
https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni File build/config/nacl/rules.gni (right): https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni#newcode8 build/config/nacl/rules.gni:8: template("generate_nmf") { On 2015/11/11 21:20:12, brettw wrote: > All ...
5 years, 1 month ago (2015-11-11 23:35:03 UTC) #8
brettw
lgtm https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni File build/config/nacl/rules.gni (right): https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni#newcode43 build/config/nacl/rules.gni:43: "$root_build_dir/lib32/", Okay, I guess the analogy would be ...
5 years, 1 month ago (2015-11-12 17:40:58 UTC) #9
Petr Hosek
On 2015/11/12 17:40:58, brettw wrote: > lgtm > > https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni > File build/config/nacl/rules.gni (right): > ...
5 years, 1 month ago (2015-11-13 00:37:05 UTC) #10
Petr Hosek
https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni File build/config/nacl/rules.gni (right): https://codereview.chromium.org/1432313002/diff/1/build/config/nacl/rules.gni#newcode92 build/config/nacl/rules.gni:92: } else if (target_cpu == "arm") { On 2015/11/11 ...
5 years, 1 month ago (2015-11-13 00:37:39 UTC) #11
Roland McGrath
LGTM with a couple of nits. https://codereview.chromium.org/1432313002/diff/90001/build/config/nacl/rules.gni File build/config/nacl/rules.gni (right): https://codereview.chromium.org/1432313002/diff/90001/build/config/nacl/rules.gni#newcode121 build/config/nacl/rules.gni:121: if (target_cpu == ...
5 years, 1 month ago (2015-11-13 19:08:21 UTC) #14
Petr Hosek
https://codereview.chromium.org/1432313002/diff/90001/build/config/nacl/rules.gni File build/config/nacl/rules.gni (right): https://codereview.chromium.org/1432313002/diff/90001/build/config/nacl/rules.gni#newcode121 build/config/nacl/rules.gni:121: if (target_cpu == "x86") { On 2015/11/13 19:08:20, Roland ...
5 years, 1 month ago (2015-11-13 20:38:09 UTC) #15
Roland McGrath
lgtm
5 years, 1 month ago (2015-11-13 20:40:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432313002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432313002/110001
5 years, 1 month ago (2015-11-13 22:06:20 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:110001)
5 years, 1 month ago (2015-11-13 22:14:17 UTC) #20
commit-bot: I haz the power
5 years, 1 month ago (2015-11-13 22:15:16 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/998705e6e775b7af409775d980bf237ce3652780
Cr-Commit-Position: refs/heads/master@{#359661}

Powered by Google App Engine
This is Rietveld 408576698