Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: chrome/common/extensions/docs/server2/extensions_paths.py

Issue 453713002: Docserver: Generate a table of extension/app API owners (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mlg rebasing Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 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 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 from posixpath import join 5 from posixpath import join
6 6
7 7
8 # Extensions-related paths within the Chromium repository. 8 # Extensions-related paths within the Chromium repository.
9 9
10 EXTENSIONS = 'extensions/common/' 10 EXTENSIONS = 'extensions/common/'
11 CHROME_EXTENSIONS = 'chrome/common/extensions/' 11 CHROME_EXTENSIONS = 'chrome/common/extensions/'
12 12
13 BROWSER_EXTENSIONS = 'extensions/browser/'
14 BROWSER_CHROME_EXTENSIONS = 'chrome/browser/extensions/'
15
13 EXTENSIONS_API = join(EXTENSIONS, 'api/') 16 EXTENSIONS_API = join(EXTENSIONS, 'api/')
14 CHROME_API = join(CHROME_EXTENSIONS, 'api/') 17 CHROME_API = join(CHROME_EXTENSIONS, 'api/')
15 18
19 BROWSER_EXTENSIONS_API = join(BROWSER_EXTENSIONS, 'api/')
20 BROWSER_CHROME_API = join(BROWSER_CHROME_EXTENSIONS, 'api/')
21
16 # Note: This determines search order when APIs are resolved in the filesystem. 22 # Note: This determines search order when APIs are resolved in the filesystem.
17 API_PATHS = ( 23 API_PATHS = (
18 CHROME_API, 24 CHROME_API,
19 EXTENSIONS_API, 25 EXTENSIONS_API,
20 ) 26 )
21 27
28 BROWSER_API_PATHS = (
29 BROWSER_CHROME_API,
30 BROWSER_EXTENSIONS_API
31 )
32
22 DOCS = join(CHROME_EXTENSIONS, 'docs/') 33 DOCS = join(CHROME_EXTENSIONS, 'docs/')
23 34
24 EXAMPLES = join(DOCS, 'examples/') 35 EXAMPLES = join(DOCS, 'examples/')
25 SERVER2 = join(DOCS, 'server2/') 36 SERVER2 = join(DOCS, 'server2/')
26 STATIC_DOCS = join(DOCS, 'static/') 37 STATIC_DOCS = join(DOCS, 'static/')
27 TEMPLATES = join(DOCS, 'templates/') 38 TEMPLATES = join(DOCS, 'templates/')
28 39
29 APP_YAML = join(SERVER2, 'app.yaml') 40 APP_YAML = join(SERVER2, 'app.yaml')
30 41
31 ARTICLES_TEMPLATES = join(TEMPLATES, 'articles/') 42 ARTICLES_TEMPLATES = join(TEMPLATES, 'articles/')
32 INTROS_TEMPLATES = join(TEMPLATES, 'intros/') 43 INTROS_TEMPLATES = join(TEMPLATES, 'intros/')
33 JSON_TEMPLATES = join(TEMPLATES, 'json/') 44 JSON_TEMPLATES = join(TEMPLATES, 'json/')
34 PRIVATE_TEMPLATES = join(TEMPLATES, 'private/') 45 PRIVATE_TEMPLATES = join(TEMPLATES, 'private/')
35 PUBLIC_TEMPLATES = join(TEMPLATES, 'public/') 46 PUBLIC_TEMPLATES = join(TEMPLATES, 'public/')
36 47
37 CONTENT_PROVIDERS = join(JSON_TEMPLATES, 'content_providers.json') 48 CONTENT_PROVIDERS = join(JSON_TEMPLATES, 'content_providers.json')
38 49
39 LOCAL_DEBUG_DIR = join(SERVER2, 'local_debug/') 50 LOCAL_DEBUG_DIR = join(SERVER2, 'local_debug/')
40 LOCAL_GCS_DIR = join(LOCAL_DEBUG_DIR, 'gcs/') 51 LOCAL_GCS_DIR = join(LOCAL_DEBUG_DIR, 'gcs/')
41 LOCAL_GCS_DEBUG_CONF = join(LOCAL_DEBUG_DIR, 'gcs_debug.conf') 52 LOCAL_GCS_DEBUG_CONF = join(LOCAL_DEBUG_DIR, 'gcs_debug.conf')
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/server2/data_source_registry.py ('k') | chrome/common/extensions/docs/server2/file_system.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698