Home | History | Annotate | Download | only in tests
      1 #!/usr/bin/python
      2 
      3 # Copyright 2014 Google Inc.
      4 #
      5 # Use of this source code is governed by a BSD-style license that can be
      6 # found in the LICENSE file.
      7 
      8 """
      9 Common variables for tests.
     10 """
     11 
     12 import os
     13 
     14 # Find this file so we can find the python files to test.
     15 SCRIPT_DIR = os.path.dirname(__file__)
     16 ANDROID_DIR = os.path.normpath(os.path.join(SCRIPT_DIR, os.pardir))
     17 
     18 # Path to gyp_to_android.
     19 BIN_DIR = os.path.join(ANDROID_DIR, 'bin')
     20 
     21 # Path to generator files.
     22 GYP_GEN_DIR = os.path.join(ANDROID_DIR, 'gyp_gen')
     23 
     24 ANDROID_MK = 'Android.mk'
     25