OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |