1 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 import os 6 import sys 7 import webapp2 8 9 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir)) 10 import debug_view_handler 11 import image_handler 12 import main_view_handler 13 import rebaseline_handler 14 import update_mask_handler 15 16 17 application = webapp2.WSGIApplication( 18 [('/update_mask', update_mask_handler.UpdateMaskHandler), 19 ('/rebaseline', rebaseline_handler.RebaselineHandler), 20 ('/debug_view', debug_view_handler.DebugViewHandler), 21 ('/image', image_handler.ImageHandler), 22 ('/', main_view_handler.MainViewHandler)], debug=True) 23