Lines Matching refs:path

27 # Update the module path, assuming that this script is in src/remoting/webapp,
29 # sys.path[0] refers to the directory containing this script.
31 sys.path.append(
32 os.path.abspath(os.path.join(sys.path[0], '../../google_apis')))
37 oldFilename = os.path.basename(filepath) + '.old'
38 oldFilepath = os.path.join(os.path.dirname(filepath), oldFilename)
49 zipfile_base = os.path.splitext(os.path.basename(zip_path))[0]
53 full_path = os.path.join(root, f)
54 rel_path = os.path.relpath(full_path, directory)
55 zip.write(full_path, os.path.join(zipfile_base, rel_path))
60 findAndReplace(os.path.join(destination, 'plugin_settings.js'),
65 jinja2_path = os.path.normpath(
66 os.path.join(os.path.abspath(__file__),
68 sys.path.append(os.path.split(jinja2_path)[0])
70 (template_path, template_name) = os.path.split(input_file)
84 destination: A string with path to directory where the webapp will be
86 zipfile: A string with path to the zipfile to create containing the
99 if os.path.exists(destination):
117 destination_file = os.path.join(destination, os.path.basename(current_file))
118 destination_dir = os.path.dirname(destination_file)
119 if not os.path.exists(destination_dir):
125 targetname = os.path.relpath(os.path.realpath(current_file),
126 os.path.realpath(destination_file))
132 destination_locales = os.path.join(destination, "_locales")
134 remoting_locales = os.path.join(destination, "remoting_locales")
137 extension = os.path.splitext(current_locale)[1]
139 locale_id = os.path.split(os.path.split(current_locale)[0])[1]
140 destination_dir = os.path.join(destination_locales, locale_id)
141 destination_file = os.path.join(destination_dir,
142 os.path.split(current_locale)[1])
146 destination_file = os.path.join(remoting_locales,
147 os.path.split(current_locale)[1])
154 findAndReplace(os.path.join(destination, 'plugin_settings.js'),
207 findAndReplace(os.path.join(destination, 'plugin_settings.js'),
217 findAndReplace(os.path.join(destination, 'plugin_settings.js'),
255 os.path.join(destination, 'manifest.json'),
267 '<build-type> <version> <dst> <zip-path> <manifest_template> '