Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / server2 / extensions_paths.py
1 # Copyright 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 from posixpath import join
6
7
8 # Extensions-related paths within the Chromium repository.
9
10 APPS = 'apps/common/'
11 EXTENSIONS = 'extensions/common/'
12 CHROME_EXTENSIONS = 'chrome/common/extensions/'
13
14 APPS_API = join(APPS, 'api/')
15 EXTENSIONS_API = join(EXTENSIONS, 'api/')
16 CHROME_API = join(CHROME_EXTENSIONS, 'api/')
17
18 # Note: This determines search order when APIs are resolved in the filesystem.
19 API_PATHS = (
20   CHROME_API,
21   EXTENSIONS_API,
22   APPS_API,
23 )
24
25 DOCS = join(CHROME_EXTENSIONS, 'docs/')
26
27 EXAMPLES = join(DOCS, 'examples/')
28 SERVER2 = join(DOCS, 'server2/')
29 STATIC_DOCS = join(DOCS, 'static/')
30 TEMPLATES = join(DOCS, 'templates/')
31
32 APP_YAML = join(SERVER2, 'app.yaml')
33
34 ARTICLES_TEMPLATES = join(TEMPLATES, 'articles/')
35 INTROS_TEMPLATES = join(TEMPLATES, 'intros/')
36 JSON_TEMPLATES = join(TEMPLATES, 'json/')
37 PRIVATE_TEMPLATES = join(TEMPLATES, 'private/')
38 PUBLIC_TEMPLATES = join(TEMPLATES, 'public/')
39
40 CONTENT_PROVIDERS = join(JSON_TEMPLATES, 'content_providers.json')
41
42 LOCAL_DEBUG_DIR = join(SERVER2, 'local_debug/')
43 LOCAL_GCS_DIR = join(LOCAL_DEBUG_DIR, 'gcs/')
44 LOCAL_GCS_DEBUG_CONF = join(LOCAL_DEBUG_DIR, 'gcs_debug.conf')