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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 'generated_dir': '<(INTERMEDIATE_DIR)/third_party/yasm', | 57 'generated_dir': '<(INTERMEDIATE_DIR)/third_party/yasm', |
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=<(skia_sanitizer)' ], | 65 'ldflags!': [ '-stdlib=libc++', '-fsanitize=<(skia_sanitizer)' ], |
66 # https://crbug.com/489901 | 66 # https://crbug.com/489901 |
67 'cflags!': [ '-fsanitize=bounds', '-fsanitize=<(skia_sanitizer)', '-fsanitiz
e-memory-track-origins' ], | 67 'cflags!': [ |
| 68 '-fsanitize=bounds', |
| 69 '-fsanitize=<(skia_sanitizer)', |
| 70 '-fsanitize-memory-track-origins', |
| 71 ], |
68 'libraries!': [ '-llog', ], | 72 'libraries!': [ '-llog', ], |
69 }, | 73 }, |
70 'targets': [ | 74 'targets': [ |
71 { | 75 { |
72 'target_name': 'yasm', | 76 'target_name': 'yasm', |
73 'type': 'executable', | 77 'type': 'executable', |
74 'toolsets': ['host'], | 78 'toolsets': ['host'], |
75 'dependencies': [ | 79 'dependencies': [ |
76 'config_sources', | 80 'config_sources', |
77 'genmacro', | 81 'genmacro', |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 '-std=gnu99', | 643 '-std=gnu99', |
640 ], | 644 ], |
641 'cflags!': [ | 645 'cflags!': [ |
642 '-mfpu=neon', | 646 '-mfpu=neon', |
643 '-mthumb', | 647 '-mthumb', |
644 '-march=armv7-a', | 648 '-march=armv7-a', |
645 ], | 649 ], |
646 }, | 650 }, |
647 ], | 651 ], |
648 } | 652 } |
OLD | NEW |