tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

PRESUBMIT.py (807B)


      1 # Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
      2 #
      3 # Use of this source code is governed by a BSD-style license
      4 # that can be found in the LICENSE file in the root of the source
      5 # tree. An additional intellectual property rights grant can be found
      6 # in the file PATENTS.  All contributing project authors may
      7 # be found in the AUTHORS file in the root of the source tree.
      8 
      9 USE_PYTHON3 = True
     10 
     11 
     12 def CheckChangeOnUpload(input_api, output_api):
     13  return input_api.RunTests(
     14      input_api.canned_checks.CheckLucicfgGenOutput(
     15          input_api, output_api,
     16          'config.star')) + input_api.canned_checks.CheckChangedLUCIConfigs(
     17              input_api, output_api)
     18  return res
     19 
     20 
     21 def CheckChangeOnCommit(input_api, output_api):
     22  return CheckChangeOnUpload(input_api, output_api)