Searched refs:src_dir (Results 1 - 25 of 59) 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",
H A Drun_http_server.py14 src_dir=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(
16 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
/external/chromium_org/chrome/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(os.path.dirname(chrome_tools_dir))
117 chrome_dir = os.path.join(src_dir, 'chrome')
130 ash_base_dir = os.path.join(src_dir, 'ash')
133 device_base_dir = os.path.join(src_dir, 'device')
134 ui_base_dir = os.path.join(src_dir, 'ui', 'base',)
154 os.path.join(src_dir, 'extensions', 'extensions_strings.grd'),
155 os.path.join(src_dir, 'ui', 'resources', 'ui_resources.grd'),
156 os.path.join(src_dir, 'u
[all...]
/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/build/android/gyp/
H A Dpackage_resources.py73 src_dir = os.path.join(res_root, src_dir_name)
74 if not os.path.isdir(src_dir):
81 for src_file_name in os.listdir(src_dir):
84 src_file = os.path.join(src_dir, src_file_name)
/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/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.cc316 FileSystemURL src_dir(CreateDirectory("src"));
319 operation_runner()->Move(src_dir, dest_dir,
329 FileSystemURL src_dir(CreateDirectory("src"));
333 operation_runner()->Move(src_dir, dest_file,
344 FileSystemURL src_dir(CreateDirectory("src"));
348 operation_runner()->Move(src_dir, dest_dir,
358 FileSystemURL src_dir(CreateDirectory("src"));
372 FileSystemURL src_dir(CreateDirectory("src"));
373 operation_runner()->Move(src_dir, URLForPath("nonexistent/deset"),
415 FileSystemURL src_dir(CreateDirector
[all...]
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dzip_file_creator.h29 const base::FilePath& src_dir,
H A Dzip_file_creator.cc31 const base::FilePath& src_dir,
35 src_dir_(src_dir),
29 ZipFileCreator( const ResultCallback& callback, const base::FilePath& src_dir, const std::vector<base::FilePath>& src_relative_paths, const base::FilePath& dest_file) argument
/external/chromium_org/tools/ipc_fuzzer/
H A Dplay_testcase.py42 src_dir = os.path.abspath(os.path.join(ipc_fuzzer_dir, os.pardir, os.pardir))
43 out_dir = os.path.join(src_dir, args.out_dir)
H A Dremove_close_messages.py41 src_dir = os.path.abspath(os.path.join(ipc_fuzzer_dir, os.pardir, os.pardir))
42 out_dir = os.path.join(src_dir, parsed.out_dir);

Completed in 510 milliseconds

123