Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: BUILD.gn

Issue 1995823002: [libfuzzer] moving icu fuzzers to //third_party/icu, additional fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: nits Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | fuzzers/BUILD.gn » ('j') | fuzzers/icu_break_iterator_fuzzer.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//third_party/icu/config.gni") 5 import("//third_party/icu/config.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
(...skipping 24 matching lines...) Expand all
35 ] 35 ]
36 36
37 if (!is_component_build) { 37 if (!is_component_build) {
38 defines += [ "U_STATIC_IMPLEMENTATION" ] 38 defines += [ "U_STATIC_IMPLEMENTATION" ]
39 } 39 }
40 40
41 include_dirs = [ 41 include_dirs = [
42 "source/common", 42 "source/common",
43 "source/i18n", 43 "source/i18n",
44 ] 44 ]
45
46 if (icu_use_data_file) {
47 defines += [ "ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE" ]
48 } else {
49 if (is_win) {
50 defines += [ "ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED" ]
51 } else {
52 defines += [ "ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC" ]
53 }
54 }
jungshik at Google 2016/05/19 07:21:54 I think these lines were added by another CL. Well
45 } 55 }
46 56
47 # Config used only by ICU code. 57 # Config used only by ICU code.
48 config("icu_code") { 58 config("icu_code") {
49 cflags = [] 59 cflags = []
50 defines = [ 60 defines = [
51 "HAVE_DLOPEN=0", 61 "HAVE_DLOPEN=0",
52 62
53 # Only build encoding coverters and detectors necessary for HTML5. 63 # Only build encoding coverters and detectors necessary for HTML5.
54 "UCONFIG_ONLY_HTML_CONVERSION=1", 64 "UCONFIG_ONLY_HTML_CONVERSION=1",
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 sources = [ 630 sources = [
621 "android/icudtl_dat.S", 631 "android/icudtl_dat.S",
622 ] 632 ]
623 } else { 633 } else {
624 assert(false, "No icu data for this platform") 634 assert(false, "No icu data for this platform")
625 } 635 }
626 defines = [ "U_HIDE_DATA_SYMBOL" ] 636 defines = [ "U_HIDE_DATA_SYMBOL" ]
627 } 637 }
628 } 638 }
629 } 639 }
OLDNEW
« no previous file with comments | « no previous file | fuzzers/BUILD.gn » ('j') | fuzzers/icu_break_iterator_fuzzer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698