| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 ] | 117 ] |
| 118 configs -= [ "//build/config/compiler:chromium_code" ] | 118 configs -= [ "//build/config/compiler:chromium_code" ] |
| 119 configs += [ | 119 configs += [ |
| 120 ":yasm_config", | 120 ":yasm_config", |
| 121 "//build/config/compiler:no_chromium_code", | 121 "//build/config/compiler:no_chromium_code", |
| 122 ] | 122 ] |
| 123 } | 123 } |
| 124 | 124 |
| 125 executable("re2c") { | 125 executable("re2c") { |
| 126 sources = [ | 126 sources = [ |
| 127 "source/patched-yasm/tools/re2c/main.c", | 127 "source/patched-yasm/tools/re2c/actions.c", |
| 128 "source/patched-yasm/tools/re2c/code.c", | 128 "source/patched-yasm/tools/re2c/code.c", |
| 129 "source/patched-yasm/tools/re2c/dfa.c", | 129 "source/patched-yasm/tools/re2c/dfa.c", |
| 130 "source/patched-yasm/tools/re2c/main.c", |
| 131 "source/patched-yasm/tools/re2c/mbo_getopt.c", |
| 130 "source/patched-yasm/tools/re2c/parser.c", | 132 "source/patched-yasm/tools/re2c/parser.c", |
| 131 "source/patched-yasm/tools/re2c/actions.c", | |
| 132 "source/patched-yasm/tools/re2c/scanner.c", | 133 "source/patched-yasm/tools/re2c/scanner.c", |
| 133 "source/patched-yasm/tools/re2c/mbo_getopt.c", | |
| 134 "source/patched-yasm/tools/re2c/substr.c", | 134 "source/patched-yasm/tools/re2c/substr.c", |
| 135 "source/patched-yasm/tools/re2c/translate.c", | 135 "source/patched-yasm/tools/re2c/translate.c", |
| 136 ] | 136 ] |
| 137 | 137 |
| 138 configs -= [ "//build/config/compiler:chromium_code" ] | 138 configs -= [ "//build/config/compiler:chromium_code" ] |
| 139 configs += [ | 139 configs += [ |
| 140 ":yasm_config", | 140 ":yasm_config", |
| 141 "//build/config/compiler:no_chromium_code", | 141 "//build/config/compiler:no_chromium_code", |
| 142 ] | 142 ] |
| 143 | 143 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 "source/patched-yasm/modules/objfmts/coff/coff-objfmt.c", | 196 "source/patched-yasm/modules/objfmts/coff/coff-objfmt.c", |
| 197 "source/patched-yasm/modules/objfmts/coff/win64-except.c", | 197 "source/patched-yasm/modules/objfmts/coff/win64-except.c", |
| 198 "source/patched-yasm/modules/objfmts/dbg/dbg-objfmt.c", | 198 "source/patched-yasm/modules/objfmts/dbg/dbg-objfmt.c", |
| 199 "source/patched-yasm/modules/objfmts/elf/elf-objfmt.c", | 199 "source/patched-yasm/modules/objfmts/elf/elf-objfmt.c", |
| 200 "source/patched-yasm/modules/objfmts/elf/elf-x86-amd64.c", | 200 "source/patched-yasm/modules/objfmts/elf/elf-x86-amd64.c", |
| 201 "source/patched-yasm/modules/objfmts/elf/elf-x86-x86.c", | 201 "source/patched-yasm/modules/objfmts/elf/elf-x86-x86.c", |
| 202 "source/patched-yasm/modules/objfmts/elf/elf.c", | 202 "source/patched-yasm/modules/objfmts/elf/elf.c", |
| 203 "source/patched-yasm/modules/objfmts/macho/macho-objfmt.c", | 203 "source/patched-yasm/modules/objfmts/macho/macho-objfmt.c", |
| 204 "source/patched-yasm/modules/objfmts/rdf/rdf-objfmt.c", | 204 "source/patched-yasm/modules/objfmts/rdf/rdf-objfmt.c", |
| 205 "source/patched-yasm/modules/objfmts/xdf/xdf-objfmt.c", | 205 "source/patched-yasm/modules/objfmts/xdf/xdf-objfmt.c", |
| 206 "source/patched-yasm/modules/parsers/gas/gas-parse-intel.c", |
| 206 "source/patched-yasm/modules/parsers/gas/gas-parse.c", | 207 "source/patched-yasm/modules/parsers/gas/gas-parse.c", |
| 207 "source/patched-yasm/modules/parsers/gas/gas-parse-intel.c", | |
| 208 "source/patched-yasm/modules/parsers/gas/gas-parser.c", | 208 "source/patched-yasm/modules/parsers/gas/gas-parser.c", |
| 209 "source/patched-yasm/modules/parsers/nasm/nasm-parse.c", | 209 "source/patched-yasm/modules/parsers/nasm/nasm-parse.c", |
| 210 "source/patched-yasm/modules/parsers/nasm/nasm-parser.c", | 210 "source/patched-yasm/modules/parsers/nasm/nasm-parser.c", |
| 211 "source/patched-yasm/modules/preprocs/cpp/cpp-preproc.c", | 211 "source/patched-yasm/modules/preprocs/cpp/cpp-preproc.c", |
| 212 "source/patched-yasm/modules/preprocs/nasm/nasm-eval.c", | 212 "source/patched-yasm/modules/preprocs/nasm/nasm-eval.c", |
| 213 "source/patched-yasm/modules/preprocs/nasm/nasm-pp.c", | 213 "source/patched-yasm/modules/preprocs/nasm/nasm-pp.c", |
| 214 "source/patched-yasm/modules/preprocs/nasm/nasm-preproc.c", | 214 "source/patched-yasm/modules/preprocs/nasm/nasm-preproc.c", |
| 215 "source/patched-yasm/modules/preprocs/nasm/nasmlib.c", | 215 "source/patched-yasm/modules/preprocs/nasm/nasmlib.c", |
| 216 "source/patched-yasm/modules/preprocs/raw/raw-preproc.c", | 216 "source/patched-yasm/modules/preprocs/raw/raw-preproc.c", |
| 217 | 217 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 | 463 |
| 464 # Output eventually #included by source/patched-yasm/frontends/yasm/x86id.c | 464 # Output eventually #included by source/patched-yasm/frontends/yasm/x86id.c |
| 465 outputs = [ | 465 outputs = [ |
| 466 "$yasm_gen_include_dir/x86insns.c", | 466 "$yasm_gen_include_dir/x86insns.c", |
| 467 "$yasm_gen_include_dir/x86insn_gas.gperf", | 467 "$yasm_gen_include_dir/x86insn_gas.gperf", |
| 468 "$yasm_gen_include_dir/x86insn_nasm.gperf", | 468 "$yasm_gen_include_dir/x86insn_nasm.gperf", |
| 469 ] | 469 ] |
| 470 args = [ rebase_path(yasm_gen_include_dir, root_build_dir) ] | 470 args = [ rebase_path(yasm_gen_include_dir, root_build_dir) ] |
| 471 } | 471 } |
| 472 } | 472 } |
| OLD | NEW |