summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/server2/extensions_paths.py
blob: 3bb6342bbf9ed5265417325dccee2ee7f36f6353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

from posixpath import join


# Extensions-related paths within the Chromium repository.

APPS = 'apps/common/'
EXTENSIONS = 'extensions/common/'
CHROME_EXTENSIONS = 'chrome/common/extensions/'

APPS_API = join(APPS, 'api/')
EXTENSIONS_API = join(EXTENSIONS, 'api/')
CHROME_API = join(CHROME_EXTENSIONS, 'api/')

# Note: This determines search order when APIs are resolved in the filesystem.
API_PATHS = (
  CHROME_API,
  EXTENSIONS_API,
  APPS_API,
)

DOCS = join(CHROME_EXTENSIONS, 'docs/')

API_FEATURES = join(CHROME_API, '_api_features.json')
MANIFEST_FEATURES = join(CHROME_API, '_manifest_features.json')
PERMISSION_FEATURES = join(CHROME_API, '_permission_features.json')

EXAMPLES = join(DOCS, 'examples/')
SERVER2 = join(DOCS, 'server2/')
STATIC_DOCS = join(DOCS, 'static/')
TEMPLATES = join(DOCS, 'templates/')

APP_YAML = join(SERVER2, 'app.yaml')

ARTICLES_TEMPLATES = join(TEMPLATES, 'articles/')
INTROS_TEMPLATES = join(TEMPLATES, 'intros/')
JSON_TEMPLATES = join(TEMPLATES, 'json/')
PRIVATE_TEMPLATES = join(TEMPLATES, 'private/')
PUBLIC_TEMPLATES = join(TEMPLATES, 'public/')

CONTENT_PROVIDERS = join(JSON_TEMPLATES, 'content_providers.json')

LOCAL_DEBUG_DIR = join(SERVER2, 'local_debug/')
LOCAL_GCS_DIR = join(LOCAL_DEBUG_DIR, 'gcs/')
LOCAL_GCS_DEBUG_CONF = join(LOCAL_DEBUG_DIR, 'gcs_debug.conf')