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_DIR = os.path.dirname(SDK_SRC_DIR) | 13 SDK_DIR = os.path.dirname(SDK_SRC_DIR) |
13 SRC_DIR = os.path.dirname(SDK_DIR) | 14 SRC_DIR = os.path.dirname(SDK_DIR) |
14 NACL_DIR = os.path.join(SRC_DIR, 'native_client') | 15 NACL_DIR = os.path.join(SRC_DIR, 'native_client') |
15 OUT_DIR = os.path.join(SRC_DIR, 'out') | 16 OUT_DIR = os.path.join(SRC_DIR, 'out') |
16 PPAPI_DIR = os.path.join(SRC_DIR, 'ppapi') | 17 PPAPI_DIR = os.path.join(SRC_DIR, 'ppapi') |
17 NACLPORTS_DIR = os.path.join(OUT_DIR, 'naclports') | 18 NACLPORTS_DIR = os.path.join(OUT_DIR, 'naclports') |
18 | 19 |
19 GSTORE = 'https://commondatastorage.googleapis.com/nativeclient-mirror/nacl/' | 20 GSTORE = 'https://commondatastorage.googleapis.com/nativeclient-mirror/nacl/' |
OLD | NEW |