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

Issue 877553008: Land prep work to enable NaCl in the Linux x64 GN builds. (Closed)

Created:
5 years, 10 months ago by Dirk Pranke
Modified:
5 years, 10 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, native-client-reviews_googlegroups.com, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jdduke+watch_chromium.org, tdresser+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, chromium-apps-reviews_chromium.org, darin (slow to review), erikwright+watch_chromium.org, ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Land prep work to enable NaCl in the Linux x64 GN builds. This should get most of NaCl and the PPAPI stuff needed for NaCl building and linking. There is more work to be done to get some of the test binaries working (and probably fill out parts of the NaCl SDK) and possibly some pnacl support work remaining as well. NaCl is still disabled by default (set enable_nacl=true to change). Enabling nacl is still mostly untested and likely doesn't work at all :). R=ncbray@chromium.org, brettw@chromium.org BUG=432959 CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg Committed: https://crrev.com/6065cf751340a8a99b670357b2053ed6df12a7af Cr-Commit-Position: refs/heads/master@{#318180}

Patch Set 1 #

Patch Set 2 : clean up for review #

Total comments: 39

Patch Set 3 : update w/ review feedback from ncbray #

Total comments: 12

Patch Set 4 : update w/ more review feedback from ncbray #

Patch Set 5 : rework to have mojo_nacl_codegen export a public config #

Patch Set 6 : fix enable_nacl logic #

Patch Set 7 : merge to #317924 #

Total comments: 29

Patch Set 8 : update w/ review feedback #

Total comments: 31

Patch Set 9 : update w/ more review feedback #

Total comments: 4

Patch Set 10 : yet more feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+624 lines, -160 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +25 lines, -2 lines 0 comments Download
M base/third_party/dynamic_annotations/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +17 lines, -9 lines 0 comments Download
M build/config/BUILDCONFIG.gn View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M build/config/features.gni View 1 2 3 4 5 6 7 1 chunk +13 lines, -2 lines 0 comments Download
M chrome/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/app/BUILD.gn View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/nacl_host/test/BUILD.gn View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/renderer/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 5 chunks +32 lines, -31 lines 0 comments Download
A components/nacl/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +268 lines, -0 lines 0 comments Download
A components/nacl/renderer/plugin/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +43 lines, -0 lines 0 comments Download
M extensions/shell/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
M ipc/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +8 lines, -3 lines 0 comments Download
M mojo/nacl/BUILD.gn View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -50 lines 0 comments Download
A ppapi/native_client/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A ppapi/native_client/src/untrusted/irt_stub/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +15 lines, -0 lines 0 comments Download
A ppapi/native_client/src/untrusted/pnacl_irt_shim/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +29 lines, -0 lines 0 comments Download
A ppapi/native_client/src/untrusted/pnacl_support_extension/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M ppapi/proxy/BUILD.gn View 1 2 3 4 5 6 7 5 chunks +24 lines, -18 lines 0 comments Download
M ppapi/shared_impl/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +8 lines, -3 lines 0 comments Download
M ppapi/thunk/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M third_party/harfbuzz-ng/BUILD.gn View 1 2 3 4 5 6 1 chunk +14 lines, -21 lines 0 comments Download
M third_party/libxml/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -0 lines 0 comments Download
M url/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 65 (25 generated)
Dirk Pranke
https://codereview.chromium.org/877553008/diff/20001/third_party/harfbuzz-ng/BUILD.gn File third_party/harfbuzz-ng/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/20001/third_party/harfbuzz-ng/BUILD.gn#newcode17 third_party/harfbuzz-ng/BUILD.gn:17: We need this change to keep GN from complaining ...
5 years, 10 months ago (2015-02-05 00:00:14 UTC) #1
Dirk Pranke
Also, this patch needs https://codereview.chromium.org/888903003/ and https://codereview.chromium.org/893993005/ to land first in order to actually work.
5 years, 10 months ago (2015-02-05 00:09:00 UTC) #2
brettw
lgtm https://codereview.chromium.org/877553008/diff/20001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/20001/chrome/test/BUILD.gn#newcode713 chrome/test/BUILD.gn:713: # "../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests", You kept these commented out but ...
5 years, 10 months ago (2015-02-05 00:20:36 UTC) #3
Dirk Pranke
Will fix the TODO's and copyrights (meant to, but missed some, obviously). https://codereview.chromium.org/877553008/diff/20001/mojo/nacl/BUILD.gn File mojo/nacl/BUILD.gn ...
5 years, 10 months ago (2015-02-05 00:26:16 UTC) #4
cpu_(ooo_6.6-7.5)
third party is TBR unless new libraries are added.
5 years, 10 months ago (2015-02-05 02:31:23 UTC) #5
Nick Bray (chromium)
https://codereview.chromium.org/877553008/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/877553008/diff/20001/BUILD.gn#newcode167 BUILD.gn:167: if (is_linux && cpu_arch == "x64") { Are you ...
5 years, 10 months ago (2015-02-05 23:21:46 UTC) #6
Dirk Pranke
https://codereview.chromium.org/877553008/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/877553008/diff/20001/BUILD.gn#newcode167 BUILD.gn:167: if (is_linux && cpu_arch == "x64") { On 2015/02/05 ...
5 years, 10 months ago (2015-02-05 23:52:20 UTC) #7
Nick Bray (chromium)
https://codereview.chromium.org/877553008/diff/20001/ppapi/native_client/src/untrusted/irt_stub/BUILD.gn File ppapi/native_client/src/untrusted/irt_stub/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/20001/ppapi/native_client/src/untrusted/irt_stub/BUILD.gn#newcode7 ppapi/native_client/src/untrusted/irt_stub/BUILD.gn:7: if (enable_nacl && enable_nacl_untrusted) { On 2015/02/05 23:52:19, Dirk ...
5 years, 10 months ago (2015-02-06 01:18:00 UTC) #8
Dirk Pranke
https://codereview.chromium.org/877553008/diff/20001/mojo/nacl/BUILD.gn File mojo/nacl/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/20001/mojo/nacl/BUILD.gn#newcode37 mojo/nacl/BUILD.gn:37: include_dirs = [ "//third_party/mojo/src" ] On 2015/02/05 23:52:19, Dirk ...
5 years, 10 months ago (2015-02-06 02:57:27 UTC) #10
Dirk Pranke
Please take another look? I think I've addressed all of the feedback except for the ...
5 years, 10 months ago (2015-02-06 03:24:29 UTC) #12
brettw
https://codereview.chromium.org/877553008/diff/20001/mojo/nacl/BUILD.gn File mojo/nacl/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/20001/mojo/nacl/BUILD.gn#newcode37 mojo/nacl/BUILD.gn:37: include_dirs = [ "//third_party/mojo/src" ] I'm just concerned that ...
5 years, 10 months ago (2015-02-06 06:06:15 UTC) #13
Nick Bray (chromium)
LGTM, modulo sorting out the Mojo issues. (Mojo-side changes + include dir.) Let's touch base ...
5 years, 10 months ago (2015-02-07 02:37:47 UTC) #14
Dirk Pranke
https://codereview.chromium.org/877553008/diff/40001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/40001/chrome/test/BUILD.gn#newcode332 chrome/test/BUILD.gn:332: if (enable_nacl && enable_nacl_untrusted) { On 2015/02/07 02:37:46, Nick ...
5 years, 10 months ago (2015-02-07 02:48:04 UTC) #15
Dirk Pranke
Okay, at this point I think I've updated w/ all of the feedback from both ...
5 years, 10 months ago (2015-02-07 02:56:25 UTC) #17
Nick Bray (chromium)
The Mojo repo should be (?) the authoritative source for mojo/nacl/* If you commit a ...
5 years, 10 months ago (2015-02-07 05:21:52 UTC) #18
Dirk Pranke
On 2015/02/07 05:21:52, Nick Bray (chromium) wrote: > The Mojo repo should be (?) the ...
5 years, 10 months ago (2015-02-07 20:56:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877553008/130001
5 years, 10 months ago (2015-02-25 03:40:45 UTC) #23
Dirk Pranke
Please take another look ... Brett, can you make sure I merged in your ppapi ...
5 years, 10 months ago (2015-02-25 21:08:46 UTC) #25
brettw
https://codereview.chromium.org/877553008/diff/130001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/877553008/diff/130001/BUILD.gn#newcode170 BUILD.gn:170: # TODO(dpranke) needed? deps += [ "//ppapi:ppapi_cpp_lib(//native_client/build/toolchain/nacl:clang_newlib_x64)" ] On ...
5 years, 10 months ago (2015-02-25 21:27:30 UTC) #26
brettw
To reduce risk, you may want to land this patch with nacl still off by ...
5 years, 10 months ago (2015-02-25 21:28:03 UTC) #27
Dirk Pranke
https://codereview.chromium.org/877553008/diff/130001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/130001/base/BUILD.gn#newcode813 base/BUILD.gn:813: deps += [ "//base/third_party/dynamic_annotations" ] On 2015/02/25 21:27:29, brettw ...
5 years, 10 months ago (2015-02-25 21:37:41 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877553008/170001
5 years, 10 months ago (2015-02-25 22:08:55 UTC) #32
Dirk Pranke
New patch posted. Please take another look?
5 years, 10 months ago (2015-02-25 22:08:56 UTC) #33
brettw
https://codereview.chromium.org/877553008/diff/170001/components/nacl/BUILD.gn File components/nacl/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/170001/components/nacl/BUILD.gn#newcode9 components/nacl/BUILD.gn:9: static_library("nacl") { Use source_set instead https://codereview.chromium.org/877553008/diff/170001/components/nacl/BUILD.gn#newcode36 components/nacl/BUILD.gn:36: include_dirs = ...
5 years, 10 months ago (2015-02-25 22:22:25 UTC) #35
Dirk Pranke
https://codereview.chromium.org/877553008/diff/170001/components/nacl/BUILD.gn File components/nacl/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/170001/components/nacl/BUILD.gn#newcode36 components/nacl/BUILD.gn:36: include_dirs = [ "//third_party/mojo/src" ] On 2015/02/25 22:22:25, brettw ...
5 years, 10 months ago (2015-02-25 22:26:30 UTC) #36
Nick Bray (chromium)
LGTM, although some of the dependency stuff seems sketchy. https://codereview.chromium.org/877553008/diff/170001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/170001/chrome/test/BUILD.gn#newcode708 chrome/test/BUILD.gn:708: ...
5 years, 10 months ago (2015-02-25 22:52:40 UTC) #37
Dirk Pranke
ninth patchset is the charm? https://codereview.chromium.org/877553008/diff/170001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/170001/chrome/test/BUILD.gn#newcode708 chrome/test/BUILD.gn:708: "//ppapi/native_client:nacl_irt(//native_client/build/toolchain/nacl:irt_x64)", On 2015/02/25 22:52:40, ...
5 years, 10 months ago (2015-02-25 23:23:40 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877553008/190001
5 years, 10 months ago (2015-02-25 23:33:53 UTC) #41
brettw
LGTM if you check the below. Not sure if there are other cases. https://codereview.chromium.org/877553008/diff/190001/ui/events/BUILD.gn File ...
5 years, 10 months ago (2015-02-25 23:36:54 UTC) #43
jvoung (off chromium)
https://codereview.chromium.org/877553008/diff/190001/ppapi/native_client/src/trusted/plugin/BUILD.gn File ppapi/native_client/src/trusted/plugin/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/190001/ppapi/native_client/src/trusted/plugin/BUILD.gn#newcode5 ppapi/native_client/src/trusted/plugin/BUILD.gn:5: source_set("nacl_trusted_plugin") { driveby -- I think the files moved ...
5 years, 10 months ago (2015-02-26 00:01:44 UTC) #45
Dirk Pranke
https://codereview.chromium.org/877553008/diff/190001/ppapi/native_client/src/trusted/plugin/BUILD.gn File ppapi/native_client/src/trusted/plugin/BUILD.gn (right): https://codereview.chromium.org/877553008/diff/190001/ppapi/native_client/src/trusted/plugin/BUILD.gn#newcode5 ppapi/native_client/src/trusted/plugin/BUILD.gn:5: source_set("nacl_trusted_plugin") { On 2015/02/26 00:01:44, jvoung wrote: > driveby ...
5 years, 10 months ago (2015-02-26 00:21:29 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877553008/210001
5 years, 10 months ago (2015-02-26 00:25:25 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/14837) ios_rel_device_ninja_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 10 months ago (2015-02-26 00:28:04 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877553008/210001
5 years, 10 months ago (2015-02-26 01:40:10 UTC) #54
commit-bot: I haz the power
Failed to commit the patch.
5 years, 10 months ago (2015-02-26 02:13:15 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877553008/210001
5 years, 10 months ago (2015-02-26 02:17:45 UTC) #59
commit-bot: I haz the power
Failed to commit the patch.
5 years, 10 months ago (2015-02-26 02:20:39 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877553008/210001
5 years, 10 months ago (2015-02-26 03:29:45 UTC) #63
commit-bot: I haz the power
Committed patchset #10 (id:210001)
5 years, 10 months ago (2015-02-26 03:31:12 UTC) #64
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 03:32:08 UTC) #65
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6065cf751340a8a99b670357b2053ed6df12a7af
Cr-Commit-Position: refs/heads/master@{#318180}

Powered by Google App Engine
This is Rietveld 408576698