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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 static_library("courgette_lib") { | 7 static_library("courgette_lib") { |
8 sources = [ | 8 sources = [ |
9 "adjustment_method.cc", | 9 "adjustment_method.cc", |
10 "adjustment_method.h", | 10 "adjustment_method.h", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 ] | 77 ] |
78 | 78 |
79 if (is_win) { | 79 if (is_win) { |
80 ldflags = [ "/LARGEADDRESSAWARE" ] | 80 ldflags = [ "/LARGEADDRESSAWARE" ] |
81 } | 81 } |
82 | 82 |
83 deps = [ | 83 deps = [ |
84 ":courgette_lib", | 84 ":courgette_lib", |
85 "//base", | 85 "//base", |
86 "//build/config/sanitizers:deps", | 86 "//build/config/sanitizers:deps", |
| 87 "//build/win:default_exe_manifest", |
87 ] | 88 ] |
88 } | 89 } |
89 | 90 |
90 executable("courgette_minimal_tool") { | 91 executable("courgette_minimal_tool") { |
91 sources = [ | 92 sources = [ |
92 "courgette_minimal_tool.cc", | 93 "courgette_minimal_tool.cc", |
93 ] | 94 ] |
94 | 95 |
95 deps = [ | 96 deps = [ |
96 ":courgette_lib", | 97 ":courgette_lib", |
97 "//base", | 98 "//base", |
98 "//build/config/sanitizers:deps", | 99 "//build/config/sanitizers:deps", |
| 100 "//build/win:default_exe_manifest", |
99 ] | 101 ] |
100 } | 102 } |
101 | 103 |
102 test("courgette_unittests") { | 104 test("courgette_unittests") { |
103 sources = [ | 105 sources = [ |
104 "adjustment_method_unittest.cc", | 106 "adjustment_method_unittest.cc", |
105 "base_test_unittest.cc", | 107 "base_test_unittest.cc", |
106 "base_test_unittest.h", | 108 "base_test_unittest.h", |
107 "bsdiff_memory_unittest.cc", | 109 "bsdiff_memory_unittest.cc", |
108 "consecutive_range_visitor_unittest.cc", | 110 "consecutive_range_visitor_unittest.cc", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 "encoded_program_fuzz_unittest.cc", | 150 "encoded_program_fuzz_unittest.cc", |
149 ] | 151 ] |
150 deps = [ | 152 deps = [ |
151 ":courgette_lib", | 153 ":courgette_lib", |
152 "//base", | 154 "//base", |
153 "//base:i18n", | 155 "//base:i18n", |
154 "//base/test:test_support", | 156 "//base/test:test_support", |
155 "//testing/gtest", | 157 "//testing/gtest", |
156 ] | 158 ] |
157 } | 159 } |
OLD | NEW |