Home
last modified time | relevance | path

Searched refs:gn (Results 1 - 25 of 79) sorted by relevance

1234

/third_party/gn/src/gn/
H A Dswitches.cc5 #include "gn/switches.h"
14 See "gn help buildargs" for an overview of how build arguments work.
31 gn gen out/Default --args="foo=\"bar\""
33 gn gen out/Default --args='foo="bar" enable=true blah=7'
35 gn check out/Default --args=""
38 gn desc out/Default --args="some_list=[1, false, \"foo\"]"
50 " gn gen out/Default --color\n" \
52 " gn gen out/Default --nocolor\n"
59 "--dotfile: Override the name of the \".gn\" file.";
61 R"(--dotfile: Override the name of the ".gn" fil
[all...]
H A Dsetup_unittest.cc5 #include "gn/setup.h"
11 #include "gn/builder_record.h"
12 #include "gn/filesystem_utils.h"
13 #include "gn/switches.h"
14 #include "gn/test_with_scheduler.h"
27 // Create a temp directory containing a .gn file and a BUILDCONFIG.gn file, in TEST_F()
32 base::FilePath dot_gn_name = in_path.Append(FILE_PATH_LITERAL(".gn")); in TEST_F()
33 WriteFile(dot_gn_name, "buildconfig = \"//BUILDCONFIG.gn\"\n"); in TEST_F()
34 WriteFile(in_path.Append(FILE_PATH_LITERAL("BUILDCONFIG.gn")), ""); in TEST_F()
[all...]
H A Dcommand_ls.cc9 #include "gn/commands.h"
10 #include "gn/label_pattern.h"
11 #include "gn/setup.h"
12 #include "gn/standard_out.h"
13 #include "gn/switches.h"
14 #include "gn/target.h"
21 R"(gn ls <out_dir> [<label_pattern>] [--default-toolchain] [--as=...]
29 not a general regular expression (see "gn help label_pattern"). If you need
40 gn ls out/Debug
43 gn l
[all...]
H A Dninja_outputs_writer_unittest.cc5 #include "gn/ninja_outputs_writer.h"
11 #include "gn/builder_record.h"
12 #include "gn/filesystem_utils.h"
13 #include "gn/ninja_target_writer.h"
14 #include "gn/setup.h"
15 #include "gn/switches.h"
16 #include "gn/test_with_scheduler.h"
60 buildconfig = "//BUILDCONFIG.gn"
101 WriteFile(in_path.Append(FILE_PATH_LITERAL("BUILD.gn")), kBuildGnContents);
102 WriteFile(in_path.Append(FILE_PATH_LITERAL("BUILDCONFIG.gn")),
[all...]
H A Dohos_variables.cc5 #include "gn/ohos_variables.h"
42 External dependencies are like private dependencies (see "gn help deps") but
47 This variable is enabled by setting "ohos_components_support" in .gn file (see "gn help dotfile").
67 This variable is enabled by setting "ohos_components_support" in .gn file (see "gn help dotfile").
H A Dcommand_meta.cc10 #include "gn/commands.h"
11 #include "gn/metadata_walk.h"
12 #include "gn/setup.h"
13 #include "gn/standard_out.h"
14 #include "gn/switches.h"
15 #include "gn/target.h"
22 R"(gn meta
24 gn meta <out_dir> <target>* --data=<key>[,<key>*]* [--walk=<key>[,<key>*]*]
30 See `gn help generated_file` for more information on the walk.
58 gn met
[all...]
H A Dfunctions_target.cc5 #include "gn/functions.h"
7 #include "gn/config_values_generator.h"
8 #include "gn/err.h"
9 #include "gn/parse_tree.h"
10 #include "gn/scope.h"
11 #include "gn/target_generator.h"
12 #include "gn/template.h"
13 #include "gn/value.h"
14 #include "gn/variables.h"
78 " to your script, see \"gn hel
[all...]
H A Dcommand_refs.cc14 #include "gn/commands.h"
15 #include "gn/config_values_extractors.h"
16 #include "gn/deps_iterator.h"
17 #include "gn/filesystem_utils.h"
18 #include "gn/input_file.h"
19 #include "gn/item.h"
20 #include "gn/setup.h"
21 #include "gn/standard_out.h"
22 #include "gn/switches.h"
23 #include "gn/targe
[all...]
H A Dcommand_check.cc9 #include "gn/commands.h"
10 #include "gn/header_checker.h"
11 #include "gn/setup.h"
12 #include "gn/standard_out.h"
13 #include "gn/switches.h"
14 #include "gn/target.h"
15 #include "gn/trace.h"
50 The topic "gn help check" has general information on how checking works and
52 "gn help check_includes".
58 R"(gn chec
[all...]
H A Dtarget.cc5 #include "gn/target.h"
12 #include "gn/c_tool.h"
13 #include "gn/config_values_extractors.h"
14 #include "gn/deps_iterator.h"
15 #include "gn/filesystem_utils.h"
16 #include "gn/functions.h"
17 #include "gn/scheduler.h"
18 #include "gn/substitution_writer.h"
19 #include "gn/tool.h"
20 #include "gn/toolchai
[all...]
H A Dcommand_gen.cc15 #include "gn/build_settings.h"
16 #include "gn/commands.h"
17 #include "gn/compile_commands_writer.h"
18 #include "gn/eclipse_writer.h"
19 #include "gn/filesystem_utils.h"
20 #include "gn/json_project_writer.h"
21 #include "gn/label_pattern.h"
22 #include "gn/ninja_outputs_writer.h"
23 #include "gn/ninja_target_writer.h"
24 #include "gn/ninja_tool
[all...]
H A Dfunction_exec_script.cc10 #include "gn/err.h"
11 #include "gn/exec_process.h"
12 #include "gn/filesystem_utils.h"
13 #include "gn/functions.h"
14 #include "gn/input_conversion.h"
15 #include "gn/input_file.h"
16 #include "gn/parse_tree.h"
17 #include "gn/scheduler.h"
18 #include "gn/trace.h"
19 #include "gn/valu
[all...]
/third_party/ffmpeg/libavformat/
H A Dh261dec.c39 int gn= (code>>12)&0xf; in h261_probe() local
40 if(!gn) in h261_probe()
42 if(gn != next_gn) invalid_psc++; in h261_probe()
47 next_gn = lut[gn]; in h261_probe()
50 next_gn = lut[gn]; in h261_probe()
H A Dh263dec.c64 int gn= (code>>(31-5)) & 0x1F; in h263_probe() local
65 if(gn<last_gn){ in h263_probe()
68 last_gn= gn; in h263_probe()
/third_party/skia/bin/
H A Dfetch-gn23 gnzip = os.path.join(tempfile.mkdtemp(), 'gn.zip')
29 url = 'https://chrome-infra-packages.appspot.com/dl/gn/gn/{}-{}/+/git_revision:{}'.format(
33 gn = 'gn.exe' if 'win32' in sys.platform else 'gn' variable
35 f.extract(gn, 'bin')
37 gn = os.path.join('bin', gn) variable
39 os.chmod(gn, sta
[all...]
/third_party/gn/misc/vim/ftdetect/
H A Dgnfiletype.vim16 setlocal filetype=gn
25 au BufNewFile *.gn,*.gni setlocal filetype=gn fileencoding=utf-8 fileformat=unix
26 au BufRead *.gn,*.gni call s:gnfiletype_pre()
27 au BufReadPost *.gn,*.gni call s:gnfiletype_post()
/third_party/node/deps/v8/tools/cppgc/
H A Dtest_cmake.sh11 maingn=$rootdir/BUILD.gn
12 testgn=$testdir/BUILD.gn
36 $sourcedir/gen_cmake.py --out=$cmakelists --main-gn=$maingn --test-gn=$testgn
/third_party/gn/misc/emacs/
H A Dgn-mode.el0 ;;; gn-mode.el - A major mode for editing gn files.
9 ;; Keywords: tools, gn, ninja, chromium
17 ;; manual: <https://gn.googlesource.com/gn/+/refs/heads/master/README.md>
29 (defgroup gn nil
31 :prefix "gn-"
34 (defcustom gn-indent-basic 2
36 :group 'gn
39 (defcustom gn
28 (defgroup gn nil global() function
[all...]
/third_party/gn/misc/vim/autoload/
H A Dgn.vim5 function! gn#TranslateToBuildFile(name) abort
12 " Append 'BUILD.gn', only if this is a directory and not a file
17 let l:new_path = maktaba#path#Join([l:new_path, 'BUILD.gn'])
22 let l:new_path = substitute(l:new_path, '\v/?$', '/BUILD.gn', '')
/third_party/skia/tools/
H A Dbuild_command_buffer.py33 help='Type of name of the gn output directory (e.g. Debug or Release). '
35 'script will reset the gn args in this directory on each run.')
36 parser.add_argument('--extra-gn-args', default='',
124 gn = 'gn'
130 gn = 'gn.exe'
131 gn = os.path.join(chrome_src_dir, 'buildtools', platform, gn)
134 subprocess.check_call([gn, 'ge
[all...]
/third_party/mesa3d/.gitlab-ci/container/
H A Dbuild-skqp.sh27 # gn can be configured to cross-compile skia and its tools
30 cp "${BASE_ARGS_GN_FILE}" "${SKQP_OUT_DIR}"/args.gn
31 echo "target_cpu = \"${SKQP_ARCH}\"" >> "${SKQP_OUT_DIR}"/args.gn
53 BASE_ARGS_GN_FILE="${SCRIPT_DIR}/build-skqp_base.gn"
81 bin/gn gen "${SKQP_OUT_DIR}"
86 # Strip binary, since gn is not stripping it even when `is_debug == false`
/third_party/skia/third_party/harfbuzz/
H A Droll-harfbuzz.sh28 # if the file name is not present in BUILD.gn
29 # should be added to BUILD.gn (in 'unused_sources' if unwanted)
31 #for each file name \"src/.*\" in BUILD.gn
33 # should be removed from BUILD.gn
35 STEP="Updating BUILD.gn" &&
46 if ! grep -qF "$HB_SOURCE" ${HB_BUILD_DIR_REL}/BUILD.gn; then
48 echo "Is in src/hb-*.{cc,h,hh} but not in BUILD.gn:"
56 grep -oE "\"\\\$_src/[^\"]+\"" ${HB_BUILD_DIR_REL}/BUILD.gn | sed 's/^...\(.*\).$/\1/' | while read GN_SOURCE
60 echo "Is referenced in BUILD.gn but does not exist:" &&
67 GN_SOURCE_DUPLICATES=$(sort ${HB_BUILD_DIR_REL}/BUILD.gn | uni
[all...]
/third_party/node/deps/v8/tools/
H A Dgenerate-header-include-checks.py12 BUILD.gn. Just compile to check whether there are any violations to the rule
27 DEFAULT_GN_FILE = 'BUILD.gn'
131 with open(gni_file, 'w') as gn:
132 gn.write("""\
142 gn.write(' "{}",\n'.format(os.path.relpath(cc_file_name, V8_DIR)))
143 gn.write(']\n')
/third_party/skia/infra/bots/recipe_modules/build/
H A Dutil.py42 gn = ' '.join(
44 return gn
46 raise Exception('Converting %s to gn is not implemented.' % type(val))
/third_party/skia/third_party/externals/abseil-cpp/
H A Dgenerate_def_files.py17 changing "gn" to "gn.bat", changing "llvm-nm" to the name of your copy of
70 gn = 'gn'
74 gn = 'gn.bat'
83 subprocess.check_call([gn, 'gen', out_dir, '--args=' + ' '.join(gn_args)],
85 logging.info('[%s - %s] gn gen completed', cpu, flavor)

Completed in 8 milliseconds

1234