Home
last modified time | relevance | path

Searched full:src_dir (Results 1 – 25 of 104) sorted by relevance

12345

/external/chromium_org/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(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, 'ui', 'resources', 'ui_resources.grd'),
[all …]
/external/chromium_org/third_party/zlib/google/
Dzip_unittest.cc122 base::FilePath src_dir = temp_dir.path().AppendASCII("input"); in TestTimeStamp() local
125 base::FilePath src_file = src_dir.AppendASCII("test.txt"); in TestTimeStamp()
128 EXPECT_TRUE(base::CreateDirectory(src_dir)); in TestTimeStamp()
146 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TestTimeStamp()
212 base::FilePath src_dir; in TEST_F() local
213 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
214 src_dir = src_dir.AppendASCII("test"); in TEST_F()
220 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TEST_F()
225 base::FilePath src_dir; in TEST_F() local
226 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F()
[all …]
Dzip.cc29 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { in AddFileToZip() argument
30 base::File file(src_dir, base::File::FLAG_OPEN | base::File::FLAG_READ); in AddFileToZip()
32 DLOG(ERROR) << "Could not open file for path " << src_dir.value(); in AddFileToZip()
43 << src_dir.value(); in AddFileToZip()
124 bool ZipWithFilterCallback(const base::FilePath& src_dir, in ZipWithFilterCallback() argument
127 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
138 base::FileEnumerator file_enumerator(src_dir, true /* recursive */, in ZipWithFilterCallback()
146 if (!AddEntryToZip(zip_file, path, src_dir)) { in ZipWithFilterCallback()
160 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, in Zip() argument
164 src_dir, dest_file, base::Bind(&ExcludeNoFilesFilter)); in Zip()
[all …]
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,
/external/qemu/distrib/ext4_utils/src/
Dmkuserimg.sh8 mkuserimg.sh [-s] SRC_DIR OUTPUT_FILE EXT_VARIANT MOUNT_POINT SIZE [FILE_CONTEXTS]
25 SRC_DIR=$1
26 if [ ! -d $SRC_DIR ]; then
27 echo "Can not find directory $SRC_DIR!"
56 …EXT4FS_CMD="make_ext4fs $ENABLE_SPARSE_IMAGE $FCOPT -l $SIZE -a $MOUNT_POINT $OUTPUT_FILE $SRC_DIR"
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/
Djasmine.yml3 # Return an array of filepaths relative to src_dir to include before jasmine specs.
18 # Return an array of stylesheet filepaths relative to src_dir to include before jasmine specs.
53 # src_dir
60 # src_dir: public
62 src_dir:
/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_org/native_client_sdk/src/build_tools/
Dbuild_paths.py14 SRC_DIR = os.path.dirname(SDK_DIR) variable
15 NACL_DIR = os.path.join(SRC_DIR, 'native_client')
16 OUT_DIR = os.path.join(SRC_DIR, 'out')
17 PPAPI_DIR = os.path.join(SRC_DIR, 'ppapi')
Dbuild_version.py16 SRC_DIR = os.path.dirname(os.path.dirname(os.path.dirname(SCRIPT_DIR))) variable
17 sys.path.append(os.path.join(SRC_DIR, 'build/util'))
22 VERSION_PATH = os.path.join(SRC_DIR, 'chrome', 'VERSION')
90 nacl_dir = os.path.join(SRC_DIR, 'native_client')
/external/chromium_org/content/browser/fileapi/
Dfile_system_operation_impl_unittest.cc496 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
500 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE)); in TEST_F()
506 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
511 Move(src_dir, dest_file, FileSystemOperation::OPTION_NONE)); in TEST_F()
518 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
523 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE)); in TEST_F()
529 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
540 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
542 Move(src_dir, in TEST_F()
577 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local
[all …]
/external/chromium_org/components/cronet/tools/
Djar_src.py19 def JarSources(src_dir, jar_path): argument
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-trace/
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))
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): argument
273 return open(os.path.join(src_dir, filename)).read()
275 def get_assets(src_dir, build_dir): argument
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))
/external/chromium_org/content/browser/gpu/
Dtest_support_gpu.gypi9 'src_dir': '../../..',
15 '<(src_dir)',
56 '<(src_dir)/build/linux/system.gyp:ssl',
61 '<(src_dir)/ui/views/views.gyp:views',
/external/chromium_org/tools/ipc_fuzzer/mutate/
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/chromium_org/remoting/host/installer/linux/
DMakefile8 SRC_DIR = ../../../.. macro
9 BUILD_DIR = $(SRC_DIR)/out/Release
32 install "$(SRC_DIR)/remoting/host/linux/linux_me2me_host.py" \
34 install "$(SRC_DIR)/remoting/host/installer/linux/is-remoting-session" \
/external/openssl/
Dcheck-all-builds.sh161 SRC_DIR=$(cd $PROGDIR && pwd)
453 local c_includes=$(get_module_c_includes $prefix "$SRC_DIR")
464 printf " -I\$(SRC_DIR)/$inc"
496 printf "\$(OBJ): \$(SRC_DIR)/$src\n"
514 local src_dir="$4"
554 local src_dir="$4"
585 build_shared_library crypto CRYPTO $build_type "$SRC_DIR" "$out"
586 build_shared_library ssl SSL $build_type "$SRC_DIR" "$out"
587 build_executable openssl APPS $build_type "$SRC_DIR" "$out" "crypto ssl"
605 SRC_DIR=$SRC_DIR
[all …]
/external/chromium_org/v8/build/
Dlandmines.py28 SRC_DIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) variable
43 ret = os.path.join(SRC_DIR, 'xcodebuild', target)
45 ret = os.path.join(SRC_DIR, 'out', target)
47 ret = os.path.join(SRC_DIR, 'build', target)
95 default=[os.path.join(SRC_DIR, 'build', 'get_landmines.py')],
/external/chromium_org/remoting/tools/
Dregister_local_nm_hosts.sh11 SRC_DIR="$(readlink -f "$(dirname "$0")/../..")"
36 "${SRC_DIR}/remoting/host/setup/${ME2ME_HOST_NAME}.json.jinja2" \
41 "${SRC_DIR}/remoting/host/it2me/${IT2ME_HOST_NAME}.json.jinja2" \
114 register_hosts_for_all_channels "${SRC_DIR}/out/${build_dir}"
/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/tools/clang/scripts/
Dblink_gc_plugin_flags.sh8 SRC_DIR=$(cd $(dirname $0)/../../.. && echo $PWD)
9 CLANG_LIB_PATH=$SRC_DIR/third_party/llvm-build/Release+Asserts/lib
17 $(grep 'set(LIBRARYNAME' "$SRC_DIR"/tools/clang/blink_gc_plugin/CMakeLists.txt \
/external/chromium_org/chrome/common/extensions/docs/server2/
Dbuild_server.py13 SRC_DIR = os.path.join(sys.path[0], os.pardir, os.pardir, os.pardir, os.pardir, variable
15 THIRD_PARTY_DIR = os.path.join(SRC_DIR, 'third_party')
17 TOOLS_DIR = os.path.join(SRC_DIR, 'tools')
64 CopyThirdParty(os.path.join(SRC_DIR, 'ppapi', 'generators'),
/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_org/build/android/gyp/
Dlint.py101 src_dir = None
104 src_dir = d
106 if not src_dir:
107 src_dir = NewSourceDir()
108 os.symlink(os.path.abspath(src), PathInDir(src_dir, src))

12345