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

Unified Diff: src/scripts/build_platform_packages.sh

Issue 554063: Handle some special-case naming for chromiumos-build (Closed)
Patch Set: add warning Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_platform_packages.sh
diff --git a/src/scripts/build_platform_packages.sh b/src/scripts/build_platform_packages.sh
index 53923c4a48b260f8253d4b6cf6ee1ca8d188608b..0f0a62b207378b850dc9c8c7a56626edd157fb65 100755
--- a/src/scripts/build_platform_packages.sh
+++ b/src/scripts/build_platform_packages.sh
@@ -60,7 +60,24 @@ if [ $FLAGS_new_build -eq $FLAGS_TRUE ]; then
# chromiumos-build works out the build order for itself.
PACKAGES='dh-chromeos libchrome libchromeos'
for PKG in $PLATFORM_DIRS $THIRD_PARTY_PACKAGES; do
- PACKAGES="$PACKAGES ${PKG%/*}"
+ # Handle some special-case naming.
+ case $PKG in
+ e2fsprogs/files)
+ PACKAGES="$PACKAGES e4fsprogs-git"
+ ;;
+ ibus-anthy|ibus-chewing|ibus-hangul)
+ # These are difficult to cross-build right now, and we can live
+ # without them temporarily.
+ if [ "$FLAGS_architecture" = i386 ]; then
+ PACKAGES="$PACKAGES ${PKG%/*}"
+ else
+ echo "WARNING: Skipping $PKG on $FLAGS_architecture"
+ fi
+ ;;
+ *)
+ PACKAGES="$PACKAGES ${PKG%/*}"
+ ;;
+ esac
done
verbose chromiumos-build -a "$FLAGS_architecture" --apt-source $PACKAGES
else
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698