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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 "courgette_tool.cc", | 91 "courgette_tool.cc", |
92 ] | 92 ] |
93 | 93 |
94 if (is_win) { | 94 if (is_win) { |
95 ldflags = [ "/LARGEADDRESSAWARE" ] | 95 ldflags = [ "/LARGEADDRESSAWARE" ] |
96 } | 96 } |
97 | 97 |
98 deps = [ | 98 deps = [ |
99 ":courgette_lib", | 99 ":courgette_lib", |
100 "//base", | 100 "//base", |
101 "//build/config/sanitizers:deps", | 101 "//build/config:exe_and_shlib_deps", |
102 "//build/win:default_exe_manifest", | 102 "//build/win:default_exe_manifest", |
103 ] | 103 ] |
104 } | 104 } |
105 | 105 |
106 executable("courgette_minimal_tool") { | 106 executable("courgette_minimal_tool") { |
107 sources = [ | 107 sources = [ |
108 "courgette_minimal_tool.cc", | 108 "courgette_minimal_tool.cc", |
109 ] | 109 ] |
110 | 110 |
111 deps = [ | 111 deps = [ |
112 ":courgette_lib", | 112 ":courgette_lib", |
113 "//base", | 113 "//base", |
114 "//build/config/sanitizers:deps", | 114 "//build/config:exe_and_shlib_deps", |
115 "//build/win:default_exe_manifest", | 115 "//build/win:default_exe_manifest", |
116 ] | 116 ] |
117 } | 117 } |
118 | 118 |
119 if (is_win) { | 119 if (is_win) { |
120 if (current_cpu == "x64") { | 120 if (current_cpu == "x64") { |
121 # TODO(sebmarchand): The official build scripts expect courgette.exe to be | 121 # TODO(sebmarchand): The official build scripts expect courgette.exe to be |
122 # in the official build archives, remove this once they have been updated. | 122 # in the official build archives, remove this once they have been updated. |
123 # https://crbug.com/629243 | 123 # https://crbug.com/629243 |
124 copy("copy_courgette_binaries") { | 124 copy("copy_courgette_binaries") { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 "encoded_program_fuzz_unittest.cc", | 209 "encoded_program_fuzz_unittest.cc", |
210 ] | 210 ] |
211 deps = [ | 211 deps = [ |
212 ":courgette_lib", | 212 ":courgette_lib", |
213 "//base", | 213 "//base", |
214 "//base:i18n", | 214 "//base:i18n", |
215 "//base/test:test_support", | 215 "//base/test:test_support", |
216 "//testing/gtest", | 216 "//testing/gtest", |
217 ] | 217 ] |
218 } | 218 } |
OLD | NEW |