OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 # Various files referenced by multiple targets. | 59 # Various files referenced by multiple targets. |
60 'version_file': 'version.mac', # Generated by genversion. | 60 'version_file': 'version.mac', # Generated by genversion. |
61 'genmodule_source': 'genmodule_outfile.c', | 61 'genmodule_source': 'genmodule_outfile.c', |
62 }, | 62 }, |
63 'target_defaults': { | 63 'target_defaults': { |
64 # Silence warnings in libc++ builds (C code doesn't need this flag). | 64 # Silence warnings in libc++ builds (C code doesn't need this flag). |
65 'ldflags!': [ '-stdlib=libc++', '-fsanitize=address' ], | 65 'ldflags!': [ '-stdlib=libc++', '-fsanitize=address' ], |
66 # https://crbug.com/489901 | 66 # https://crbug.com/489901 |
67 'cflags!': [ '-fsanitize=bounds', '-fsanitize=address' ], | 67 'cflags!': [ '-fsanitize=bounds', '-fsanitize=address' ], |
| 68 'libraries!': [ '-llog', ], |
68 }, | 69 }, |
69 'targets': [ | 70 'targets': [ |
70 { | 71 { |
71 'target_name': 'yasm', | 72 'target_name': 'yasm', |
72 'type': 'executable', | 73 'type': 'executable', |
73 'toolsets': ['host'], | 74 'toolsets': ['host'], |
74 'dependencies': [ | 75 'dependencies': [ |
75 'config_sources', | 76 'config_sources', |
76 'genmacro', | 77 'genmacro', |
77 'genmodule', | 78 'genmodule', |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 '-std=gnu99', | 639 '-std=gnu99', |
639 ], | 640 ], |
640 'cflags!': [ | 641 'cflags!': [ |
641 '-mfpu=neon', | 642 '-mfpu=neon', |
642 '-mthumb', | 643 '-mthumb', |
643 '-march=armv7-a', | 644 '-march=armv7-a', |
644 ], | 645 ], |
645 }, | 646 }, |
646 ], | 647 ], |
647 } | 648 } |
OLD | NEW |