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

Issue 14069002: Allow to have different files for different ISAs in NaCl manifest. (Closed)

Created:
7 years, 8 months ago by halyavin
Modified:
7 years, 8 months ago
Reviewers:
Mark Seaborn, bsy, halyavin2
CC:
chromium-reviews
Visibility:
Public.

Description

Allow having different files for different ISAs in NaCl manifest. Currently all files must have version for current ISA or NaCl program will not load. I relaxed this condition. This is useful when ARM version of the program is compiled with newlib but x86 version is compiled with glibc. Developer doesn't need to add ARM versions for all *.so libraries in this case. Since not having current architecture for a file is no longer an error, I changed ppapi_bad_manifest_bad_files.nmf to test for a different error in file section. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3049 TEST= run_manifest_browser_test and run_ppapi_bad_browser_test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195145

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -16 lines) Patch
M ppapi/native_client/src/trusted/plugin/json_manifest.cc View 1 2 3 3 chunks +19 lines, -13 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad_manifest_bad_files.nmf View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ppapi/native_client/tests/ppapi_browser/manifest/manifest.html View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
A ppapi/native_client/tests/ppapi_browser/manifest/manifest_arch_specific.nmf View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/manifest/nacl.scons View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
halyavin2
I don't know why but Bennet is not in OWNERS for manifest parser.
7 years, 8 months ago (2013-04-10 14:08:09 UTC) #1
Mark Seaborn
s/Allow to have/Allow having/ s/usefull/useful/ Could you add a test for this?
7 years, 8 months ago (2013-04-10 14:46:57 UTC) #2
halyavin2
On 2013/04/10 14:46:57, Mark Seaborn wrote: > s/Allow to have/Allow having/ > s/usefull/useful/ > > ...
7 years, 8 months ago (2013-04-10 15:23:47 UTC) #3
halyavin2
I added one test. PTAL.
7 years, 8 months ago (2013-04-11 10:33:19 UTC) #4
halyavin
ping. 2013/4/11 <halyavin@chromium.org> > I added one test. PTAL. > > https://codereview.chromium.**org/14069002/<https://codereview.chromium.org/14069002/> >
7 years, 8 months ago (2013-04-12 11:40:21 UTC) #5
Mark Seaborn
On 2013/04/12 11:40:21, halyavin wrote: > ping. I didn't get to this today, sorry -- ...
7 years, 8 months ago (2013-04-12 22:56:03 UTC) #6
Mark Seaborn
https://codereview.chromium.org/14069002/diff/23001/ppapi/native_client/src/trusted/plugin/json_manifest.cc File ppapi/native_client/src/trusted/plugin/json_manifest.cc (right): https://codereview.chromium.org/14069002/diff/23001/ppapi/native_client/src/trusted/plugin/json_manifest.cc#newcode255 ppapi/native_client/src/trusted/plugin/json_manifest.cc:255: if (!sandbox_isa.empty()) { Why not remove this whole block? ...
7 years, 8 months ago (2013-04-18 01:17:46 UTC) #7
halyavin
https://codereview.chromium.org/14069002/diff/23001/ppapi/native_client/src/trusted/plugin/json_manifest.cc File ppapi/native_client/src/trusted/plugin/json_manifest.cc (right): https://codereview.chromium.org/14069002/diff/23001/ppapi/native_client/src/trusted/plugin/json_manifest.cc#newcode255 ppapi/native_client/src/trusted/plugin/json_manifest.cc:255: if (!sandbox_isa.empty()) { On 2013/04/18 01:17:46, Mark Seaborn wrote: ...
7 years, 8 months ago (2013-04-18 07:33:26 UTC) #8
Mark Seaborn
LGTM https://codereview.chromium.org/14069002/diff/23001/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html File ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html (right): https://codereview.chromium.org/14069002/diff/23001/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html#newcode106 ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html:106: // 'bad_manifest_bad_files' loads a manifest with a bad ...
7 years, 8 months ago (2013-04-19 05:36:43 UTC) #9
halyavin
https://codereview.chromium.org/14069002/diff/23001/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html File ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html (right): https://codereview.chromium.org/14069002/diff/23001/ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html#newcode106 ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html:106: // 'bad_manifest_bad_files' loads a manifest with a bad 'files' ...
7 years, 8 months ago (2013-04-19 06:41:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/halyavin@google.com/14069002/50001
7 years, 8 months ago (2013-04-19 06:42:44 UTC) #11
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 12:57:07 UTC) #12
Message was sent while issue was closed.
Change committed as 195145

Powered by Google App Engine
This is Rietveld 408576698