OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import os | 5 import os |
6 | 6 |
7 # Create the various paths of interest | 7 # Create the various paths of interest |
8 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) | 8 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) |
9 SDK_SRC_DIR = os.path.dirname(SCRIPT_DIR) | 9 SDK_SRC_DIR = os.path.dirname(SCRIPT_DIR) |
10 SDK_EXAMPLE_DIR = os.path.join(SDK_SRC_DIR, 'examples') | 10 SDK_EXAMPLE_DIR = os.path.join(SDK_SRC_DIR, 'examples') |
11 SDK_LIBRARY_DIR = os.path.join(SDK_SRC_DIR, 'libraries') | 11 SDK_LIBRARY_DIR = os.path.join(SDK_SRC_DIR, 'libraries') |
12 SDK_RESOURCE_DIR = os.path.join(SDK_SRC_DIR, 'resources') | 12 SDK_RESOURCE_DIR = os.path.join(SDK_SRC_DIR, 'resources') |
13 SDK_DIR = os.path.dirname(SDK_SRC_DIR) | 13 SDK_DIR = os.path.dirname(SDK_SRC_DIR) |
14 SRC_DIR = os.path.dirname(SDK_DIR) | 14 SRC_DIR = os.path.dirname(SDK_DIR) |
15 NACL_DIR = os.path.join(SRC_DIR, 'native_client') | 15 NACL_DIR = os.path.join(SRC_DIR, 'native_client') |
16 OUT_DIR = os.path.join(SRC_DIR, 'out') | 16 OUT_DIR = os.path.join(SRC_DIR, 'out') |
17 BUILD_ARCHIVE_DIR = os.path.join(OUT_DIR, 'nacl_sdk_build') | 17 BUILD_ARCHIVE_DIR = os.path.join(OUT_DIR, 'nacl_sdk_build') |
18 EXTRACT_ARCHIVE_DIR = os.path.join(OUT_DIR, 'nacl_sdk_extract') | 18 EXTRACT_ARCHIVE_DIR = os.path.join(OUT_DIR, 'nacl_sdk_extract') |
19 PPAPI_DIR = os.path.join(SRC_DIR, 'ppapi') | 19 PPAPI_DIR = os.path.join(SRC_DIR, 'ppapi') |
20 NACLPORTS_DIR = os.path.join(OUT_DIR, 'naclports') | |
21 GONACL_APPENGINE_DIR = os.path.join(SDK_SRC_DIR, 'gonacl_appengine') | 20 GONACL_APPENGINE_DIR = os.path.join(SDK_SRC_DIR, 'gonacl_appengine') |
22 GONACL_APPENGINE_SRC_DIR = os.path.join(GONACL_APPENGINE_DIR, 'src') | 21 GONACL_APPENGINE_SRC_DIR = os.path.join(GONACL_APPENGINE_DIR, 'src') |
23 | 22 |
24 GSTORE = 'https://storage.googleapis.com/nativeclient-mirror/nacl/' | 23 GSTORE = 'https://storage.googleapis.com/nativeclient-mirror/nacl/' |
OLD | NEW |