HomeSort by relevance Sort by last modified time
    Searched full:root_dir (Results 1 - 25 of 173) sorted by null

1 2 3 4 5 6 7

  /external/v8/tools/
find_depot_tools.py 30 root_dir = os.path.dirname(os.path.abspath(__file__))
32 while root_dir and root_dir != previous_dir:
33 if directory_really_is_depot_tools(os.path.join(root_dir, 'depot_tools')):
34 i = os.path.join(root_dir, 'depot_tools')
37 previous_dir = root_dir
38 root_dir = os.path.dirname(root_dir)
  /development/tools/idegen/
index-gen.sh 32 #root_dir=`readlink -f -n $script_dir/../../..`
33 root_dir=$PWD
34 if [ ! -e $root_dir/.repo ]; then
35 root_dir=$PWD/../../..
36 if [ ! -e $root_dir/.repo ]; then
41 tmp_file=${root_dir}/tmp.txt
42 dest_file=${root_dir}/module-index.txt
46 find $root_dir -name '*.mk' \( ! -path "$root_dir/build*" -prune \) \
55 grep -v "^$root_dir/vendor/google" $tmp_file > $dest_fil
    [all...]
intellij-gen.sh 47 root_dir=$PWD
48 if [ ! -e $root_dir/.repo ]; then
49 root_dir=$PWD/../../..
50 if [ ! -e $root_dir/.repo ]; then
55 index_file=$root_dir/module-index.txt
63 idegenjar="$root_dir/out/host/$platform-x86/framework/idegen.jar"
  /external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/support/
run_bindings_generator.py 10 def RunBindingsGenerator(out_dir, root_dir, mojom_file, extra_flags=None):
12 root_dir = os.path.abspath(root_dir)
16 assert mojom_file.startswith(root_dir)
17 mojom_reldir = os.path.dirname(os.path.relpath(mojom_file, root_dir))
39 print "usage: %s out_dir root_dir mojom_file [extra_flags]" % argv[0]
  /external/toolchain-utils/
verify_compiler.py 37 def FindAllFiles(root_dir):
43 for dirpath, _, files in os.walk(root_dir)
51 for dirpath, _, files in os.walk(root_dir)
58 def VerifyArgs(compiler, filename, tmp_dir, root_dir, options, parser):
63 if options.filename and options.root_dir:
64 UsageError(parser, 'Cannot use both --file and --root_dir.')
65 if options.all_files and not options.root_dir:
66 UsageError(parser, 'Missing --root_dir option.')
67 if options.root_dir and not options.all_files:
79 if root_dir and not os.path.exists(root_dir)
    [all...]
  /external/webrtc/tools/sslroots/
generate_sslroots.py 52 root_dir = _SplitCrt(args[0], options)
53 _GenCFiles(root_dir, options)
54 _Cleanup(root_dir)
60 root_dir = os.path.dirname(os.path.abspath(source_file)) + '/'
61 _PrintOutput(root_dir, options)
72 new_file_name = root_dir + _PREFIX + label_name + _EXTENSION
82 return root_dir
85 def _GenCFiles(root_dir, options):
86 output_header_file = open(root_dir + _GENERATED_FILE, 'w')
98 for _, _, files in os.walk(root_dir)
    [all...]
  /external/libbrillo/brillo/
osrelease_reader.cc 24 void OsReleaseReader::LoadTestingOnly(const base::FilePath& root_dir) {
25 Load(root_dir);
28 void OsReleaseReader::Load(const base::FilePath& root_dir) {
29 base::FilePath osrelease = root_dir.Append("etc").Append("os-release");
36 base::FilePath osreleased = root_dir.Append("etc").Append("os-release.d");
osrelease_reader.h 34 void LoadTestingOnly(const base::FilePath& root_dir);
46 // Load the data from a given root_dir.
47 BRILLO_PRIVATE void Load(const base::FilePath& root_dir);
  /external/autotest/client/site_tests/platform_CrosDisksArchive/
platform_CrosDisksArchive.py 26 def _find_all_files(self, root_dir):
33 root_dir: The root directory where the search starts from.
40 for path in os.listdir(os.path.join(root_dir, current_dir)):
41 expanded_path = os.path.join(root_dir, current_dir, path)
48 def _make_zip_archive(self, archive_path, root_dir,
58 root_dir: The root directory to archive.
63 for path in self._find_all_files(root_dir):
64 archive.write(os.path.join(root_dir, path), path)
67 def _make_rar_archive(self, archive_path, root_dir):
76 root_dir: The root directory to archive
    [all...]
  /external/libyuv/files/util/android/
test_runner.py 22 ROOT_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir, os.pardir))
23 CHROMIUM_BUILD_ANDROID_DIR = os.path.join(ROOT_DIR, 'build', 'android')
33 os.environ['CHECKOUT_SOURCE_ROOT'] = ROOT_DIR
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/
SuiteApkInstaller.java 33 * variable or the ROOT_DIR in build info.
39 private static final String ROOT_DIR = "ROOT_DIR";
55 if (buildInfo.getBuildAttributes().get(ROOT_DIR) != null) {
56 return new File(buildInfo.getBuildAttributes().get(ROOT_DIR));
58 throw new FileNotFoundException(String.format("%s was found.", ROOT_DIR));
104 // check ROOT_DIR
  /external/perfetto/tools/
build_all_configs.py 52 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
74 out_base_dir = os.path.join(ROOT_DIR, 'out')
78 gn = os.path.join(ROOT_DIR, 'tools', 'gn')
82 out_dir = os.path.join(ROOT_DIR, 'out', config_name)
87 subprocess.check_call(gn_cmd, cwd=ROOT_DIR, env={'EDITOR':'true'})
89 ninja = os.path.join(ROOT_DIR, 'tools', 'ninja')
run_android_emulator 28 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
32 root_dir, 'buildtools', 'emulator', 'linux-x86_64')
36 root_dir, 'buildtools', 'emulator', 'darwin-x86_64')
39 aosp_path = os.path.join(root_dir, 'buildtools', 'aosp-arm')
  /external/wpa_supplicant_8/hs20/server/
spp_server.h 15 char *root_dir; member in struct:hs20_svc
  /external/capstone/bindings/python/
setup_cython.py 19 ROOT_DIR = os.path.dirname(os.path.realpath(__file__))
20 LIBS_DIR = os.path.join(ROOT_DIR, 'pyx', 'lib')
21 HEADERS_DIR = os.path.join(ROOT_DIR, 'pyx', 'include')
22 SRC_DIR = os.path.join(ROOT_DIR, 'src')
23 BUILD_DIR = SRC_DIR if os.path.exists(SRC_DIR) else os.path.join(ROOT_DIR, '../..')
24 PYPACKAGE_DIR = os.path.join(ROOT_DIR, 'capstone')
25 CYPACKAGE_DIR = os.path.join(ROOT_DIR, 'pyx')
setup.py 23 ROOT_DIR = os.path.dirname(os.path.realpath(__file__))
24 LIBS_DIR = os.path.join(ROOT_DIR, 'capstone', 'lib')
25 HEADERS_DIR = os.path.join(ROOT_DIR, 'capstone', 'include')
26 SRC_DIR = os.path.join(ROOT_DIR, 'src')
27 BUILD_DIR = SRC_DIR if os.path.exists(SRC_DIR) else os.path.join(ROOT_DIR, '../..')
121 if os.path.exists(os.path.join(ROOT_DIR, 'prebuilt', LIBRARY_FILE)) and \
122 (not STATIC_LIBRARY_FILE or os.path.exists(os.path.join(ROOT_DIR, 'prebuilt', STATIC_LIBRARY_FILE))):
123 shutil.copy(os.path.join(ROOT_DIR, 'prebuilt', LIBRARY_FILE), LIBS_DIR)
125 shutil.copy(os.path.join(ROOT_DIR, 'prebuilt', STATIC_LIBRARY_FILE), LIBS_DIR)
  /tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
SuiteApkInstallerTest.java 54 * Test that when there is no $ANDROID_TARGET_OUT_TESTCASES defined and no ROOT_DIR, we throw an
76 * Test that when there is no $ANDROID_TARGET_OUT_TESTCASES defined but a ROOT_DIR is defined,
77 * we return the ROOT_DIR location.
91 attributes.put("ROOT_DIR", tmpDir.getAbsolutePath());
103 * ROOT_DIR.
129 * return ROOT_DIR instead.
146 attributes.put("ROOT_DIR", tmpDir.getAbsolutePath());
  /external/python/cpython2/Lib/test/
test_shutil.py 377 root_dir, base_dir = self._create_files('')
388 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
401 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
418 root_dir = self.mkdtemp()
419 dist = os.path.join(root_dir, base_dir)
428 self.write_file((root_dir, 'outer'), 'xxx')
429 return root_dir, base_dir
435 root_dir, base_dir = self._create_files()
437 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
444 tarball2 = os.path.join(root_dir, 'archive2.tar'
    [all...]
  /external/chromium-trace/catapult/systrace/atrace_helper/jni/
file_utils.cc 33 DIR* root_dir = opendir(proc_path); local
34 ScopedDir autoclose(root_dir);
36 while ((child_dir = readdir(root_dir))) {
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
archive_util.py 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
201 'root_dir' is a directory that will be the root directory of the
202 archive; ie. we typically chdir into 'root_dir' before creating the
205 directories in the archive. 'root_dir' and 'base_dir' both default
212 if root_dir is not None:
213 log.debug("changing into '%s'", root_dir)
216 os.chdir(root_dir)
239 if root_dir is not None:
  /external/python/cpython2/Lib/distutils/
archive_util.py 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
201 'root_dir' is a directory that will be the root directory of the
202 archive; ie. we typically chdir into 'root_dir' before creating the
205 directories in the archive. 'root_dir' and 'base_dir' both default
212 if root_dir is not None:
213 log.debug("changing into '%s'", root_dir)
216 os.chdir(root_dir)
239 if root_dir is not None:
  /external/python/cpython3/Lib/distutils/
archive_util.py 198 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
206 'root_dir' is a directory that will be the root directory of the
207 archive; ie. we typically chdir into 'root_dir' before creating the
210 directories in the archive. 'root_dir' and 'base_dir' both default
217 if root_dir is not None:
218 log.debug("changing into '%s'", root_dir)
221 os.chdir(root_dir)
244 if root_dir is not None:
  /prebuilts/gdb/darwin-x86/lib/python2.7/distutils/
archive_util.py 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
201 'root_dir' is a directory that will be the root directory of the
202 archive; ie. we typically chdir into 'root_dir' before creating the
205 directories in the archive. 'root_dir' and 'base_dir' both default
212 if root_dir is not None:
213 log.debug("changing into '%s'", root_dir)
216 os.chdir(root_dir)
239 if root_dir is not None:
  /prebuilts/gdb/linux-x86/lib/python2.7/distutils/
archive_util.py 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
201 'root_dir' is a directory that will be the root directory of the
202 archive; ie. we typically chdir into 'root_dir' before creating the
205 directories in the archive. 'root_dir' and 'base_dir' both default
212 if root_dir is not None:
213 log.debug("changing into '%s'", root_dir)
216 os.chdir(root_dir)
239 if root_dir is not None:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
archive_util.py 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
201 'root_dir' is a directory that will be the root directory of the
202 archive; ie. we typically chdir into 'root_dir' before creating the
205 directories in the archive. 'root_dir' and 'base_dir' both default
212 if root_dir is not None:
213 log.debug("changing into '%s'", root_dir)
216 os.chdir(root_dir)
239 if root_dir is not None:

Completed in 407 milliseconds

1 2 3 4 5 6 7