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

Side by Side Diff: installer/linux/build.scons

Issue 149275: Enable build dependency checking for dpkg-buildpackage so that we get a bette... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2009, Google Inc. 1 # Copyright 2009, Google Inc.
2 # All rights reserved. 2 # All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 """dir=$$(dirname $TARGET) && \ 109 """dir=$$(dirname $TARGET) && \
110 rm -Rf $$dir && \ 110 rm -Rf $$dir && \
111 mkdir -p $$dir && \ 111 mkdir -p $$dir && \
112 cp $SOURCES $$dir""") 112 cp $SOURCES $$dir""")
113 env.Depends(targets, copied_debian_files_paths) 113 env.Depends(targets, copied_debian_files_paths)
114 # TODO(tschmelcher): Change this to sign the package for Google builds once 114 # TODO(tschmelcher): Change this to sign the package for Google builds once
115 # we start putting out Linux releases. 115 # we start putting out Linux releases.
116 env.Command(targets, None, 116 env.Command(targets, None,
117 """dir=$OBJ_ROOT/installer/linux/""" + deb_build_tree + """ && \ 117 """dir=$OBJ_ROOT/installer/linux/""" + deb_build_tree + """ && \
118 cd $$dir && \ 118 cd $$dir && \
119 dpkg-buildpackage -b -uc -aamd64 && \ 119 dpkg-buildpackage -b -uc -aamd64 -D && \
120 cd $$OLDPWD && \ 120 cd $$OLDPWD && \
121 mv $$dir/../""" + package_file_name + """.deb \ 121 mv $$dir/../""" + package_file_name + """.deb \
122 $$(dirname $TARGET) && \ 122 $$(dirname $TARGET) && \
123 mv $$dir/../""" + package_file_name + """.changes \ 123 mv $$dir/../""" + package_file_name + """.changes \
124 $$(dirname $TARGET)""") 124 $$(dirname $TARGET)""")
125 return targets 125 return targets
126 126
127 127
128 BuildDebianPackage(["debian_amd64/changelog", 128 BuildDebianPackage(["debian_amd64/changelog",
129 "debian_amd64/control", 129 "debian_amd64/control",
(...skipping 12 matching lines...) Expand all
142 ], 142 ],
143 output_dir='$ARTIFACTS_DIR') 143 output_dir='$ARTIFACTS_DIR')
144 144
145 # TODO(tschmelcher): Also build an i386 deb. 145 # TODO(tschmelcher): Also build an i386 deb.
146 146
147 else: 147 else:
148 print('dpkg-buildpackage not found in PATH; Debian packages will not be ' 148 print('dpkg-buildpackage not found in PATH; Debian packages will not be '
149 'built.'); 149 'built.');
150 150
151 # TODO(tschmelcher): Also build an RPM and a tgz. 151 # TODO(tschmelcher): Also build an RPM and a tgz.
OLDNEW
« 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