Home | History | Annotate | Download | only in build_tools
      1 # Copyright (c) 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 
      7 # Create the various paths of interest
      8 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
      9 SDK_SRC_DIR = os.path.dirname(SCRIPT_DIR)
     10 SDK_EXAMPLE_DIR = os.path.join(SDK_SRC_DIR, 'examples')
     11 SDK_LIBRARY_DIR = os.path.join(SDK_SRC_DIR, 'libraries')
     12 SDK_RESOURCE_DIR = os.path.join(SDK_SRC_DIR, 'resources')
     13 SDK_DIR = os.path.dirname(SDK_SRC_DIR)
     14 SRC_DIR = os.path.dirname(SDK_DIR)
     15 NACL_DIR = os.path.join(SRC_DIR, 'native_client')
     16 OUT_DIR = os.path.join(SRC_DIR, 'out')
     17 PPAPI_DIR = os.path.join(SRC_DIR, 'ppapi')
     18 NACLPORTS_DIR = os.path.join(OUT_DIR, 'naclports')
     19 GONACL_APPENGINE_DIR = os.path.join(SDK_SRC_DIR, 'gonacl_appengine')
     20 GONACL_APPENGINE_SRC_DIR = os.path.join(GONACL_APPENGINE_DIR, 'src')
     21 
     22 GSTORE = 'https://storage.googleapis.com/nativeclient-mirror/nacl/'
     23