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.
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 BUILD_ARCHIVE_DIR
= os
.path
.join(OUT_DIR
, 'nacl_sdk_build')
18 EXTRACT_ARCHIVE_DIR
= os
.path
.join(OUT_DIR
, 'nacl_sdk_extract')
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')
22 GONACL_APPENGINE_SRC_DIR
= os
.path
.join(GONACL_APPENGINE_DIR
, 'src')
24 GSTORE
= 'https://storage.googleapis.com/nativeclient-mirror/nacl/'