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

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

Issue 246423002: Split feature definitions into extensions and chrome features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor Created 6 years, 8 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 | Annotate | Revision Log
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 APPS = 'apps/common/' 10 APPS = 'apps/common/'
11 EXTENSIONS = 'extensions/common/' 11 EXTENSIONS = 'extensions/common/'
12 CHROME_EXTENSIONS = 'chrome/common/extensions/' 12 CHROME_EXTENSIONS = 'chrome/common/extensions/'
13 13
14 APPS_API = join(APPS, 'api/') 14 APPS_API = join(APPS, 'api/')
15 EXTENSIONS_API = join(EXTENSIONS, 'api/') 15 EXTENSIONS_API = join(EXTENSIONS, 'api/')
16 CHROME_API = join(CHROME_EXTENSIONS, 'api/') 16 CHROME_API = join(CHROME_EXTENSIONS, 'api/')
17 17
18 # Note: This determines search order when APIs are resolved in the filesystem. 18 # Note: This determines search order when APIs are resolved in the filesystem.
19 API_PATHS = ( 19 API_PATHS = (
20 CHROME_API, 20 CHROME_API,
21 EXTENSIONS_API, 21 EXTENSIONS_API,
22 APPS_API, 22 APPS_API,
23 ) 23 )
24 24
25 DOCS = join(CHROME_EXTENSIONS, 'docs/') 25 DOCS = join(CHROME_EXTENSIONS, 'docs/')
26 26
27 API_FEATURES = join(CHROME_API, '_api_features.json') 27 API_FEATURES = '_api_features.json'
28 MANIFEST_FEATURES = join(CHROME_API, '_manifest_features.json') 28 MANIFEST_FEATURES = '_manifest_features.json'
29 PERMISSION_FEATURES = join(CHROME_API, '_permission_features.json') 29 PERMISSION_FEATURES = '_permission_features.json'
not at google - send to devlin 2014/04/23 01:22:32 this file is supposed to contain full paths, so it
Yoyo Zhou 2014/04/24 16:34:50 Done.
30 30
31 EXAMPLES = join(DOCS, 'examples/') 31 EXAMPLES = join(DOCS, 'examples/')
32 SERVER2 = join(DOCS, 'server2/') 32 SERVER2 = join(DOCS, 'server2/')
33 STATIC_DOCS = join(DOCS, 'static/') 33 STATIC_DOCS = join(DOCS, 'static/')
34 TEMPLATES = join(DOCS, 'templates/') 34 TEMPLATES = join(DOCS, 'templates/')
35 35
36 APP_YAML = join(SERVER2, 'app.yaml') 36 APP_YAML = join(SERVER2, 'app.yaml')
37 37
38 ARTICLES_TEMPLATES = join(TEMPLATES, 'articles/') 38 ARTICLES_TEMPLATES = join(TEMPLATES, 'articles/')
39 INTROS_TEMPLATES = join(TEMPLATES, 'intros/') 39 INTROS_TEMPLATES = join(TEMPLATES, 'intros/')
40 JSON_TEMPLATES = join(TEMPLATES, 'json/') 40 JSON_TEMPLATES = join(TEMPLATES, 'json/')
41 PRIVATE_TEMPLATES = join(TEMPLATES, 'private/') 41 PRIVATE_TEMPLATES = join(TEMPLATES, 'private/')
42 PUBLIC_TEMPLATES = join(TEMPLATES, 'public/') 42 PUBLIC_TEMPLATES = join(TEMPLATES, 'public/')
43 43
44 CONTENT_PROVIDERS = join(JSON_TEMPLATES, 'content_providers.json') 44 CONTENT_PROVIDERS = join(JSON_TEMPLATES, 'content_providers.json')
45 45
46 LOCAL_DEBUG_DIR = join(SERVER2, 'local_debug/') 46 LOCAL_DEBUG_DIR = join(SERVER2, 'local_debug/')
47 LOCAL_GCS_DIR = join(LOCAL_DEBUG_DIR, 'gcs/') 47 LOCAL_GCS_DIR = join(LOCAL_DEBUG_DIR, 'gcs/')
48 LOCAL_GCS_DEBUG_CONF = join(LOCAL_DEBUG_DIR, 'gcs_debug.conf') 48 LOCAL_GCS_DEBUG_CONF = join(LOCAL_DEBUG_DIR, 'gcs_debug.conf')
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/server2/cron.yaml ('k') | chrome/common/extensions/docs/server2/features_bundle.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698