Home
last modified time | relevance | path

Searched refs:src_dir (Results 1 – 25 of 68) sorted by relevance

123

/external/chromium_org/chrome/tools/
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))
129 ash_base_dir = os.path.join(src_dir, 'ash')
130 chrome_dir = os.path.join(src_dir, 'chrome')
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, 'ui', 'resources', 'ui_resources.grd'),
155 os.path.join(src_dir, 'ui', 'webui', 'resources', 'webui_resources.grd'),
163 os.path.join(src_dir, 'app'),
[all …]
/external/chromium_org/third_party/zlib/google/
Dzip_unittest.cc152 base::FilePath src_dir; in TEST_F() local
153 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
154 src_dir = src_dir.AppendASCII("test"); in TEST_F()
160 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TEST_F()
165 base::FilePath src_dir; in TEST_F() local
166 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
167 src_dir = src_dir.AppendASCII("test"); in TEST_F()
173 EXPECT_TRUE(zip::Zip(src_dir, zip_file, false)); in TEST_F()
178 base::FilePath src_dir; in TEST_F() local
179 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
[all …]
Dzip.cc27 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { in AddFileToZip() argument
30 if (stream.OpenSync(src_dir, flags) != 0) { in AddFileToZip()
32 << src_dir.value(); in AddFileToZip()
43 << src_dir.value(); in AddFileToZip()
147 bool ZipWithFilterCallback(const base::FilePath& src_dir, in ZipWithFilterCallback() argument
150 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
161 base::FileEnumerator file_enumerator(src_dir, true /* recursive */, in ZipWithFilterCallback()
169 if (!AddEntryToZip(zip_file, path, src_dir)) { in ZipWithFilterCallback()
183 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, in Zip() argument
187 src_dir, dest_file, base::Bind(&ExcludeNoFilesFilter)); in Zip()
[all …]
Dzip.h19 bool ZipWithFilterCallback(const base::FilePath& src_dir,
26 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file,
34 bool ZipFiles(const base::FilePath& src_dir,
/external/chromium_org/chrome/test/chromedriver/chrome/
Dzip.cc27 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { in AddFileToZip() argument
30 if (stream.OpenSync(src_dir, flags) != 0) { in AddFileToZip()
32 << src_dir.value(); in AddFileToZip()
43 << src_dir.value(); in AddFileToZip()
127 bool ZipWithFilterCallback(const base::FilePath& src_dir, in ZipWithFilterCallback() argument
130 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
141 base::FileEnumerator file_enumerator(src_dir, true /* recursive */, in ZipWithFilterCallback()
149 if (!AddEntryToZip(zip_file, path, src_dir)) { in ZipWithFilterCallback()
163 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, in Zip() argument
167 src_dir, dest_file, base::Bind(&ExcludeNoFilesFilter)); in Zip()
[all …]
Dzip.h19 bool ZipWithFilterCallback(const base::FilePath& src_dir,
26 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file,
34 bool ZipFiles(const base::FilePath& src_dir,
/external/chromium/chrome/common/
Dzip_unittest.cc120 FilePath src_dir; in TEST_F() local
121 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &src_dir)); in TEST_F()
122 src_dir = src_dir.AppendASCII("zip").AppendASCII("test"); in TEST_F()
128 EXPECT_TRUE(Zip(src_dir, zip_file, true)); in TEST_F()
133 FilePath src_dir; in TEST_F() local
134 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &src_dir)); in TEST_F()
135 src_dir = src_dir.AppendASCII("zip").AppendASCII("test"); in TEST_F()
141 EXPECT_TRUE(Zip(src_dir, zip_file, false)); in TEST_F()
Dzip.cc204 static bool AddFileToZip(zipFile zip_file, const FilePath& src_dir) { in AddFileToZip() argument
207 if (stream.Open(src_dir, flags) != 0) { in AddFileToZip()
209 << src_dir.value(); in AddFileToZip()
220 << src_dir.value(); in AddFileToZip()
265 bool Zip(const FilePath& src_dir, const FilePath& dest_file, in Zip() argument
267 DCHECK(file_util::DirectoryExists(src_dir)); in Zip()
277 std::string src_dir_str = src_dir.value(); in Zip()
293 src_dir, true, // recursive in Zip()
302 if (!AddEntryToZip(zip_file, path, src_dir)) { in Zip()
/external/chromium-trace/trace-viewer/build/
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)
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-trace/
Dsystrace.py130 src_dir = os.path.join(script_dir, options.asset_dir, 'src')
133 js_files, js_flattenizer, css_files, templates = get_assets(src_dir, build_dir)
135 css = '\n'.join(linked_css_tag % (os.path.join(src_dir, f)) for f in css_files)
137 js += '\n'.join(linked_js_tag % (os.path.join(src_dir, f)) for f in js_files)
245 def read_asset(src_dir, filename): argument
246 return open(os.path.join(src_dir, filename)).read()
248 def get_assets(src_dir, build_dir): argument
254 load_sequence = parse_deps.calc_load_sequence(filenames, src_dir)
262 js_files.append(os.path.relpath(module.filename, src_dir))
270 css_files.append(os.path.relpath(style_sheet.filename, src_dir))
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): argument
212 return open(os.path.join(src_dir, filename)).read()
214 def get_assets(src_dir, build_dir): argument
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))
/external/chromium_org/content/browser/gpu/
Dtest_support_gpu.gypi9 'src_dir': '../../..',
15 '<(src_dir)',
56 '<(src_dir)/build/linux/system.gyp:gtk',
61 '<(src_dir)/build/linux/system.gyp:ssl',
66 '<(src_dir)/ui/views/views.gyp:views',
/external/chromium/chrome/browser/extensions/
Dextension_startup_browsertest.cc50 FilePath src_dir; in SetUpCommandLine() local
51 PathService::Get(chrome::DIR_TEST_DATA, &src_dir); in SetUpCommandLine()
52 src_dir = src_dir.AppendASCII("extensions").AppendASCII("good"); in SetUpCommandLine()
54 file_util::CopyFile(src_dir.AppendASCII("Preferences"), in SetUpCommandLine()
56 file_util::CopyDirectory(src_dir.AppendASCII("Extensions"), in SetUpCommandLine()
/external/chromium_org/chrome/test/nacl_test_injection/
Dfind_chrome.py16 def FindChrome(src_dir, configs, verbose=False): argument
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/chromium_org/build/android/pylib/host_driven/
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/chrome/common/extensions/docs/build/
Dbuild.py121 src_dir = os.path.normpath(chrome_dir + "/../")
133 search_locations.append(src_dir + "/sconsbuild/Release/DumpRenderTree")
134 search_locations.append(src_dir + "/out/Release/DumpRenderTree")
135 search_locations.append(src_dir + "/sconsbuild/Debug/DumpRenderTree")
136 search_locations.append(src_dir + "/out/Debug/DumpRenderTree")
141 search_locations.append(src_dir +
143 search_locations.append(src_dir +
/external/chromium_org/content/browser/fileapi/
Dfile_system_operation_impl_unittest.cc307 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
310 operation_runner()->Move(src_dir, dest_dir, in TEST_F()
320 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
324 operation_runner()->Move(src_dir, dest_file, in TEST_F()
335 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
339 operation_runner()->Move(src_dir, dest_dir, in TEST_F()
349 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
363 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
364 operation_runner()->Move(src_dir, URLForPath("nonexistent/deset"), in TEST_F()
406 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
[all …]
/external/chromium_org/chrome/test/pyautolib/
Dpyauto_paths.py32 src_dir = GetSourceDir()
35 build_dirs += [os.path.join(src_dir, dir, 'Debug')]
36 build_dirs += [os.path.join(src_dir, dir, 'Release')]
/external/chromium_org/chrome/browser/extensions/
Dextension_startup_browsertest.cc70 base::FilePath src_dir; in SetUpUserDataDirectory() local
71 PathService::Get(chrome::DIR_TEST_DATA, &src_dir); in SetUpUserDataDirectory()
72 src_dir = src_dir.AppendASCII("extensions").AppendASCII("good"); in SetUpUserDataDirectory()
74 base::CopyFile(src_dir.AppendASCII("Preferences"), preferences_file_); in SetUpUserDataDirectory()
75 base::CopyDirectory(src_dir.AppendASCII("Extensions"), in SetUpUserDataDirectory()
/external/chromium_org/build/android/gyp/
Dprocess_resources.py63 src_dir = os.path.join(res_root, src_dir_name)
64 if not os.path.isdir(src_dir):
71 for src_file_name in os.listdir(src_dir):
74 src_file = os.path.join(src_dir, src_file_name)
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dprivate_api_misc.cc105 base::FilePath src_dir = file_manager::util::GetLocalPathFromURL( in RunImpl() local
107 if (src_dir.empty()) in RunImpl()
129 if (drive::util::IsUnderDriveMountPoint(src_dir)) in RunImpl()
132 base::FilePath dest_file = src_dir.Append(params->dest_name); in RunImpl()
139 if (!src_dir.AppendRelativePath(file_path, &relative_path)) in RunImpl()
145 src_dir, in RunImpl()
/external/chromium_org/webkit/tools/layout_tests/
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",
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/zlib/
Dupdate_zlib.sh24 src_dir=$base_dir/src
25 rm -rf $src_dir

123