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("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/linux/pkg_config.gni") | 7 import("//build/config/linux/pkg_config.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 # by static_assert). | 41 # by static_assert). |
42 "-Wno-unused-local-typedef", | 42 "-Wno-unused-local-typedef", |
43 ] | 43 ] |
44 } | 44 } |
45 if (is_win) { | 45 if (is_win) { |
46 # Result of 32-bit shift implicitly converted to 64 bits. | 46 # Result of 32-bit shift implicitly converted to 64 bits. |
47 cflags += [ "/wd4334" ] | 47 cflags += [ "/wd4334" ] |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 # See also chrome/browser/ui/libgtk2ui/BUILD.gn which pulls this. | 51 # See also chrome/browser/ui/libgtkui/BUILD.gn which pulls this. |
52 config("pangoft2_link_hack") { | 52 config("pangoft2_link_hack") { |
53 if (is_linux && use_pango && !is_chromeos && !is_official_build && | 53 if (is_linux && use_pango && !is_chromeos && !is_official_build && |
54 current_cpu != "arm" && current_cpu != "mipsel" && !is_component_build)
{ | 54 current_cpu != "arm" && current_cpu != "mipsel" && !is_component_build)
{ |
55 # These symbols are referenced from libpangoft2, which will be | 55 # These symbols are referenced from libpangoft2, which will be |
56 # dynamically linked later. | 56 # dynamically linked later. |
57 ldflags = [ "-Wl,-uhb_ft_face_create_cached,-uhb_glib_get_unicode_funcs" ] | 57 ldflags = [ "-Wl,-uhb_ft_face_create_cached,-uhb_glib_get_unicode_funcs" ] |
58 } | 58 } |
59 } | 59 } |
60 | 60 |
61 static_library("harfbuzz-ng") { | 61 static_library("harfbuzz-ng") { |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 fuzzer_test("harfbuzz_fuzzer") { | 216 fuzzer_test("harfbuzz_fuzzer") { |
217 sources = [ | 217 sources = [ |
218 "fuzz/harfbuzz_fuzzer.cc", | 218 "fuzz/harfbuzz_fuzzer.cc", |
219 ] | 219 ] |
220 deps = [ | 220 deps = [ |
221 ":harfbuzz-ng", | 221 ":harfbuzz-ng", |
222 ] | 222 ] |
223 libfuzzer_options = [ "max_len=16800" ] | 223 libfuzzer_options = [ "max_len=16800" ] |
224 seed_corpus = "fuzz/seed_corpus" | 224 seed_corpus = "fuzz/seed_corpus" |
225 } | 225 } |
OLD | NEW |