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

Issue 2721953003: Makes mojo generator generate export for constants (Closed)

Created:
3 years, 9 months ago by sky
Modified:
3 years, 9 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes mojo generator generate export for constants This is necessary in component builds otherwise you get link errors. BUG=697206 TEST=none, but I'll soon land a mojom that uses this R=yzshen@chromium.org Review-Url: https://codereview.chromium.org/2721953003 Cr-Commit-Position: refs/heads/master@{#453854} Committed: https://chromium.googlesource.com/chromium/src/+/94a9748c19572dbed81486360ff37d778d86c421

Patch Set 1 #

Total comments: 2

Patch Set 2 : global #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 3 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 18 (10 generated)
sky
3 years, 9 months ago (2017-02-28 22:59:47 UTC) #1
yzshen1
https://codereview.chromium.org/2721953003/diff/1/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/2721953003/diff/1/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode219 mojo/public/tools/bindings/generators/mojom_cpp_generator.py:219: def FormatConstantDeclaration(constant, nested=False, export_attribute=None): Instead of having an export_attribute ...
3 years, 9 months ago (2017-02-28 23:13:09 UTC) #4
sky
https://codereview.chromium.org/2721953003/diff/1/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/2721953003/diff/1/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode219 mojo/public/tools/bindings/generators/mojom_cpp_generator.py:219: def FormatConstantDeclaration(constant, nested=False, export_attribute=None): On 2017/02/28 23:13:09, yzshen1 wrote: ...
3 years, 9 months ago (2017-02-28 23:45:04 UTC) #5
yzshen1
On 2017/02/28 23:45:04, sky wrote: > https://codereview.chromium.org/2721953003/diff/1/mojo/public/tools/bindings/generators/mojom_cpp_generator.py > File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): > > https://codereview.chromium.org/2721953003/diff/1/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode219 > ...
3 years, 9 months ago (2017-02-28 23:46:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721953003/20001
3 years, 9 months ago (2017-03-01 00:05:07 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/374293)
3 years, 9 months ago (2017-03-01 01:17:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721953003/20001
3 years, 9 months ago (2017-03-01 04:10:51 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 05:25:45 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/94a9748c19572dbed81486360ff3...

Powered by Google App Engine
This is Rietveld 408576698