Skip to content

Commit

Permalink
Add handling for geometry.mojom in roll_mojoms.sh
Browse files Browse the repository at this point in the history
Bug: b:180564352
Test: None
Change-Id: I8cbde88c1d7da2ce69d4b24466f12845ff447426
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3053477
Auto-Submit: Wei Lee <wtlee@chromium.org>
Commit-Queue: Andrew Moylan <amoylan@chromium.org>
Reviewed-by: Andrew Moylan <amoylan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#905492}
  • Loading branch information
Wei Lee authored and Chromium LUCI CQ committed Jul 26, 2021
1 parent ab1af21 commit 0a75cf1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ rm time.mojom || exit 1
echo "Removing shared_memory.mojom ..."
rm shared_memory.mojom || exit 1

echo "Removing geometry.mojom ..."
rm geometry.mojom || exit 1

echo "Changing import paths ..."
sed --in-place --regexp-extended \
-e 's~^import "ml/mojom/geometry.mojom~import "ui/gfx/geometry/mojom/geometry.mojom~g' \
-e 's~^import "ml/mojom/shared_memory.mojom~import "mojo/public/mojom/base/shared_memory.mojom~g' \
-e 's~^import "ml/mojom/time.mojom~import "mojo/public/mojom/base/time.mojom~g' \
-e 's~^import "ml~import "chromeos/services/machine_learning/public~g' \
Expand Down

0 comments on commit 0a75cf1

Please sign in to comment.