ccb52c2961
These changes make the execution abort earlier on an error (like a tool is not found) and makes it easier to figure out what's wrong. Made build_zxing.py executable. BUG=None TEST=Local runs of the PyAuto test src/chrome/test/functional/webrtc_video_quality.py in Chromium. Review URL: https://webrtc-codereview.appspot.com/840005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2899 4adac7df-926f-26a2-2b94-8c16560cd09d |
||
---|---|---|
.. | ||
barcode_decoder.py | ||
barcode_encoder.py | ||
build_zxing.py | ||
DEPS | ||
helper_functions.py | ||
README | ||
yuv_cropper.py |
This file explains how to set up the Zebra Crossing (Zxing) library in order to use it in the barcode encoder and decoder tools. Zxing could be found at: https://code.google.com/p/zxing/ After checkout, the relevant files from Zxing should be in third_party/zxing, relative to this README. In order to run barcode_encoder.py and barcode_decoder.py we need to have build two jar files: zxing/core/core.jar and zxing/javase/javase.jar. In order to build these we have to have Ant already installed. Building is as simple as running the build_zxing.py script: ./build_zxing.py, which should automatically call ant with the respective build files from the Zxing checkout. For more information on how to run barcode_encoder.py and barcode_decoder.py check the documentation in the main functions inside these tools.