Searched refs:src_dir (Results 1 - 25 of 62) sorted by relevance

123

/external/chromium-trace/trace-viewer/build/
H A Dfixjsstyle5 src_dir = os.path.join(os.path.dirname(__file__), '..') variable
7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags'))
8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter'))
13 os.chdir(src_dir)
H A Dgjslint5 src_dir = os.path.join(os.path.dirname(__file__), '..') variable
7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags'))
8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter'))
13 os.chdir(src_dir)
/external/chromium_org/third_party/zlib/google/
H A Dzip.h15 // Zip the contents of src_dir into dest_file. src_path must be a directory.
17 // of src_dir will be at the root level of the created zip. For each file in
18 // src_dir, include it only if the callback |filter_cb| returns true. Otherwise
21 bool ZipWithFilterCallback(const base::FilePath& src_dir,
28 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file,
34 // to the |src_dir| and will be used as the file names in the created zip file.
35 // All source paths must be under |src_dir| in the file system hierarchy.
36 bool ZipFiles(const base::FilePath& src_dir,
H A Dzip.cc29 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { argument
30 base::File file(src_dir, base::File::FLAG_OPEN | base::File::FLAG_READ);
32 DLOG(ERROR) << "Could not open file for path " << src_dir.value();
43 << src_dir.value();
124 bool ZipWithFilterCallback(const base::FilePath& src_dir, argument
127 DCHECK(base::DirectoryExists(src_dir));
138 base::FileEnumerator file_enumerator(src_dir, true /* recursive */,
146 if (!AddEntryToZip(zip_file, path, src_dir)) {
160 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, argument
164 src_dir, dest_fil
172 ZipFiles(const base::FilePath& src_dir, const std::vector<base::FilePath>& src_relative_paths, int dest_fd) argument
[all...]
H A Dzip_unittest.cc122 base::FilePath src_dir = temp_dir.path().AppendASCII("input"); local
125 base::FilePath src_file = src_dir.AppendASCII("test.txt");
128 EXPECT_TRUE(base::CreateDirectory(src_dir));
146 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true));
212 base::FilePath src_dir; local
213 ASSERT_TRUE(GetTestDataDirectory(&src_dir));
214 src_dir = src_dir.AppendASCII("test");
220 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true));
225 base::FilePath src_dir; local
238 base::FilePath src_dir; local
279 base::FilePath src_dir; local
[all...]
/external/chromium_org/webkit/tools/layout_tests/
H A Drun_webkit_tests.py13 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..', '..'))
14 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
/external/chromium_org/tools/
H A Dcheck_grd_for_unused_strings.py81 for src_dir in src_dirs:
82 for root, dirs, files in os.walk(src_dir):
116 src_dir = os.path.dirname(tools_dir)
129 ash_base_dir = os.path.join(src_dir, 'ash')
130 athena_strings_dir = os.path.join(src_dir, 'athena', 'strings')
131 chrome_dir = os.path.join(src_dir, 'chrome')
134 device_base_dir = os.path.join(src_dir, 'device')
135 ui_dir = os.path.join(src_dir, 'ui')
157 os.path.join(src_dir, 'extensions', 'extensions_strings.grd'),
158 os.path.join(src_dir, 'u
[all...]
/external/chromium_org/components/cronet/tools/
H A Djar_src.py19 def JarSources(src_dir, jar_path):
22 # options.src_dir so the .java file paths in the jar are correct.
23 jar_cwd = src_dir
37 JarSources(options.src_dir, options.jar_path)
/external/chromium_org/build/android/pylib/host_driven/
H A Dtest_server.py82 src_dir = constants.DIR_SOURCE_ROOT
84 abs_dirs = [os.path.join(src_dir, d) for d in _PYTHONPATH_DIRS]
86 abs_dirs.extend([os.path.join(src_dir, constants.GetOutDirectory(), d)
97 cmd = ['python', os.path.join(src_dir, test_server_path),
/external/chromium_org/chrome/test/nacl_test_injection/
H A Dfind_chrome.py16 def FindChrome(src_dir, configs, verbose=False):
46 chrome_filename = os.path.join(src_dir, chrome)
92 src_dir = args[0]
93 chrome_path = FindChrome(src_dir, options.config, options.verbose)
/external/zlib/
H A Dupdate_zlib.sh24 src_dir=$base_dir/src
25 rm -rf $src_dir
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/
H A Dbuild_compiler_runner_jar.py20 src_dir = 'src' variable
23 src_path = rel_to_abs(src_dir)
62 print 'Builds compiler-runner.jar from the %s directory contents' % src_dir
/external/chromium_org/third_party/closure_compiler/runner/
H A Dbuild_runner_jar.py24 src_dir = 'src' variable
26 src_path = rel_to_abs(src_dir)
71 print 'Builds runner.jar from the %s directory contents' % src_dir
/external/chromium_org/tools/ipc_fuzzer/mutate/
H A Dcf_package_builder.py37 src_dir = os.path.join(self.mutate_dir, os.pardir, os.pardir, os.pardir)
38 src_dir = os.path.abspath(src_dir)
39 out_dir = os.path.join(src_dir, self.args.out_dir)
/external/ceres-solver/scripts/
H A Dmake_docs.py47 src_dir = sys.argv[1] + '/docs/source' variable
61 os.system('%s -b html -d %s %s %s' %(sphinx_exe, cache_dir, src_dir, html_dir))
/external/chromium_org/build/
H A Ddownload_nacl_toolchains.py18 src_dir = os.path.dirname(script_dir)
19 nacl_dir = os.path.join(src_dir, 'native_client')
/external/chromium_org/content/test/
H A DPRESUBMIT.py19 src_dir = os.path.dirname(tools_dir)
23 input_api.os.path.join(src_dir, 'third_party', 'WebKit', 'Tools',
/external/chromium_org/testing/gtest/scripts/
H A Dgtest-config.in212 src_dir=`cd ${this_bindir}; cd @top_srcdir@; pwd -P`
224 gtest_cppflags="-I${build_dir}/include -I${src_dir}/include"
/external/protobuf/gtest/scripts/
H A Dgtest-config.in212 src_dir=`cd ${this_bindir}/@top_srcdir@; pwd -P`
224 gtest_cppflags="-I${build_dir}/include -I${src_dir}/include"
/external/chromium-trace/
H A Dsystrace-legacy.py133 src_dir = os.path.join(script_dir, options.asset_dir, 'src')
136 js_files, js_flattenizer, css_files, templates = get_assets(src_dir, build_dir)
138 css = '\n'.join(linked_css_tag % (os.path.join(src_dir, f)) for f in css_files)
140 js += '\n'.join(linked_js_tag % (os.path.join(src_dir, f)) for f in js_files)
211 def read_asset(src_dir, filename):
212 return open(os.path.join(src_dir, filename)).read()
214 def get_assets(src_dir, build_dir):
220 load_sequence = parse_deps.calc_load_sequence(filenames, src_dir)
228 js_files.append(os.path.relpath(module.filename, src_dir))
236 css_files.append(os.path.relpath(style_sheet.filename, src_dir))
[all...]
H A Dsystrace.py135 src_dir = os.path.join(script_dir, options.asset_dir, 'src')
138 js_files, js_flattenizer, css_files, templates = get_assets(src_dir, build_dir)
140 css = '\n'.join(linked_css_tag % (os.path.join(src_dir, f)) for f in css_files)
142 js += '\n'.join(linked_js_tag % (os.path.join(src_dir, f)) for f in js_files)
272 def read_asset(src_dir, filename):
273 return open(os.path.join(src_dir, filename)).read()
275 def get_assets(src_dir, build_dir):
281 load_sequence = parse_deps.calc_load_sequence(filenames, src_dir)
289 js_files.append(os.path.relpath(module.filename, src_dir))
297 css_files.append(os.path.relpath(style_sheet.filename, src_dir))
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_operation_impl_unittest.cc496 FileSystemURL src_dir(CreateDirectory("src"));
500 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE));
506 FileSystemURL src_dir(CreateDirectory("src"));
511 Move(src_dir, dest_file, FileSystemOperation::OPTION_NONE));
518 FileSystemURL src_dir(CreateDirectory("src"));
523 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE));
529 FileSystemURL src_dir(CreateDirectory("src"));
540 FileSystemURL src_dir(CreateDirectory("src"));
542 Move(src_dir,
577 FileSystemURL src_dir(CreateDirector
[all...]
/external/chromium_org/build/android/gyp/
H A Dpackage_resources.py74 src_dir = os.path.join(res_root, src_dir_name)
75 if not os.path.isdir(src_dir):
82 for src_file_name in os.listdir(src_dir):
85 src_file = os.path.join(src_dir, src_file_name)
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dzip_file_creator.h29 const base::FilePath& src_dir,
/external/chromium_org/net/test/spawned_test_server/
H A Dlocal_test_server.cc154 base::FilePath src_dir; local
155 if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_dir))
157 SetResourcePath(src_dir.Append(document_root),
158 src_dir.AppendASCII("net")

Completed in 894 milliseconds

123