Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/yasm/BUILD.gn

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # The yasm build process creates a slew of small C subprograms that 5 # The yasm build process creates a slew of small C subprograms that
6 # dynamically generate files at various point in the build process. This makes 6 # dynamically generate files at various point in the build process. This makes
7 # the build integration moderately complex. 7 # the build integration moderately complex.
8 # 8 #
9 # There are three classes of dynamically generated files: 9 # There are three classes of dynamically generated files:
10 # 1) C source files that should be included in the build (eg., lc3bid.c) 10 # 1) C source files that should be included in the build (eg., lc3bid.c)
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 ] 292 ]
293 } 293 }
294 294
295 # TODO(ajwong): This should take most of the generated output as 295 # TODO(ajwong): This should take most of the generated output as
296 # inputs. 296 # inputs.
297 deps = [ 297 deps = [
298 ":compile_gperf", 298 ":compile_gperf",
299 ":compile_gperf_for_include", 299 ":compile_gperf_for_include",
300 ":compile_nasm_macros", 300 ":compile_nasm_macros",
301 ":compile_nasm_version", 301 ":compile_nasm_version",
302 ":compile_re2c",
302 ":compile_re2c_lc3b", 303 ":compile_re2c_lc3b",
303 ":compile_win64_gas", 304 ":compile_win64_gas",
304 ":compile_win64_nasm", 305 ":compile_win64_nasm",
305 ":compile_re2c",
306 ":generate_license", 306 ":generate_license",
307 ":generate_module", 307 ":generate_module",
308 ":generate_version", 308 ":generate_version",
309 ":yasm_utils", 309 ":yasm_utils",
310 "//build/config/sanitizers:deps", 310 "//build/config/sanitizers:deps",
311 ] 311 ]
312 } 312 }
313 313
314 compiled_action_foreach("compile_gperf") { 314 compiled_action_foreach("compile_gperf") {
315 tool = ":genperf" 315 tool = ":genperf"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 504
505 # Output eventually #included by source/patched-yasm/frontends/yasm/x86id.c 505 # Output eventually #included by source/patched-yasm/frontends/yasm/x86id.c
506 outputs = [ 506 outputs = [
507 "$yasm_gen_include_dir/x86insns.c", 507 "$yasm_gen_include_dir/x86insns.c",
508 "$yasm_gen_include_dir/x86insn_gas.gperf", 508 "$yasm_gen_include_dir/x86insn_gas.gperf",
509 "$yasm_gen_include_dir/x86insn_nasm.gperf", 509 "$yasm_gen_include_dir/x86insn_nasm.gperf",
510 ] 510 ]
511 args = [ rebase_path(yasm_gen_include_dir, root_build_dir) ] 511 args = [ rebase_path(yasm_gen_include_dir, root_build_dir) ]
512 } 512 }
513 } 513 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698