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

Side by Side Diff: tools/gn/secondary/third_party/icu/BUILD.gn

Issue 206813002: Remove GN GYP generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
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 # Shared config used by ICU and all dependents. 5 # Shared config used by ICU and all dependents.
6 config("icu_config") { 6 config("icu_config") {
7 defines = [ 7 defines = [
8 "U_USING_ICU_NAMESPACE=0", 8 "U_USING_ICU_NAMESPACE=0",
9 ] 9 ]
10 include_dirs = [ 10 include_dirs = [
(...skipping 27 matching lines...) Expand all
38 cflags = [ 38 cflags = [
39 "-Wno-deprecated-declarations", 39 "-Wno-deprecated-declarations",
40 "-Wno-logical-op-parentheses", 40 "-Wno-logical-op-parentheses",
41 "-Wno-tautological-compare", 41 "-Wno-tautological-compare",
42 "-Wno-switch", 42 "-Wno-switch",
43 ] 43 ]
44 } 44 }
45 } 45 }
46 46
47 component("icui18n") { 47 component("icui18n") {
48 external = true
49 sources = [ 48 sources = [
50 "source/i18n/anytrans.cpp", 49 "source/i18n/anytrans.cpp",
51 "source/i18n/astro.cpp", 50 "source/i18n/astro.cpp",
52 "source/i18n/basictz.cpp", 51 "source/i18n/basictz.cpp",
53 "source/i18n/bms.cpp", 52 "source/i18n/bms.cpp",
54 "source/i18n/bmsearch.cpp", 53 "source/i18n/bmsearch.cpp",
55 "source/i18n/bocsu.c", 54 "source/i18n/bocsu.c",
56 "source/i18n/brktrans.cpp", 55 "source/i18n/brktrans.cpp",
57 "source/i18n/buddhcal.cpp", 56 "source/i18n/buddhcal.cpp",
58 "source/i18n/calendar.cpp", 57 "source/i18n/calendar.cpp",
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 configs += [ 210 configs += [
212 "//build/config/compiler:rtti", 211 "//build/config/compiler:rtti",
213 "//build/config/compiler:no_chromium_code", 212 "//build/config/compiler:no_chromium_code",
214 ] 213 ]
215 214
216 configs += [ ":icu_code" ] 215 configs += [ ":icu_code" ]
217 direct_dependent_configs = [ ":icu_config" ] 216 direct_dependent_configs = [ ":icu_config" ]
218 } 217 }
219 218
220 component("icuuc") { 219 component("icuuc") {
221 external = true
222 sources = [ 220 sources = [
223 "source/common/bmpset.cpp", 221 "source/common/bmpset.cpp",
224 "source/common/brkeng.cpp", 222 "source/common/brkeng.cpp",
225 "source/common/brkiter.cpp", 223 "source/common/brkiter.cpp",
226 "source/common/bytestream.cpp", 224 "source/common/bytestream.cpp",
227 "source/common/caniter.cpp", 225 "source/common/caniter.cpp",
228 "source/common/chariter.cpp", 226 "source/common/chariter.cpp",
229 "source/common/charstr.cpp", 227 "source/common/charstr.cpp",
230 "source/common/cmemory.c", 228 "source/common/cmemory.c",
231 "source/common/cstring.c", 229 "source/common/cstring.c",
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 direct_dependent_configs = [ ":icu_config" ] 393 direct_dependent_configs = [ ":icu_config" ]
396 394
397 if (!is_win) { 395 if (!is_win) {
398 sources -= [ "source/stubdata/stubdata.c" ] 396 sources -= [ "source/stubdata/stubdata.c" ]
399 } 397 }
400 } 398 }
401 399
402 if (is_win) { 400 if (is_win) {
403 # On Windows the target DLL is pre-built so just use a copy rule. 401 # On Windows the target DLL is pre-built so just use a copy rule.
404 copy("icudata") { 402 copy("icudata") {
405 external = true
406 sources = [ "windows/icudt.dll" ] 403 sources = [ "windows/icudt.dll" ]
407 outputs = [ "$root_out_dir/icudt.dll" ] 404 outputs = [ "$root_out_dir/icudt.dll" ]
408 } 405 }
409 } else { 406 } else {
410 static_library("icudata") { 407 static_library("icudata") {
411 external = true
412 sources = [ 408 sources = [
413 # These are hand-generated, but will do for now. The linux version is an 409 # These are hand-generated, but will do for now. The linux version is an
414 # identical copy of the (mac) icudt46l_dat.S file, modulo removal of the 410 # identical copy of the (mac) icudt46l_dat.S file, modulo removal of the
415 # .private_extern and .const directives and with no leading underscore on 411 # .private_extern and .const directives and with no leading underscore on
416 # the icudt46_dat symbol. 412 # the icudt46_dat symbol.
417 "android/icudt46l_dat.S", 413 "android/icudt46l_dat.S",
418 "linux/icudt46l_dat.S", 414 "linux/icudt46l_dat.S",
419 "mac/icudt46l_dat.S", 415 "mac/icudt46l_dat.S",
420 ] 416 ]
421 defines = [ "U_HIDE_DATA_SYMBOL" ] 417 defines = [ "U_HIDE_DATA_SYMBOL" ]
422 418
423 # TODO(brettw) support use_system_icu and icu_use_data_file_flag. 419 # TODO(brettw) support use_system_icu and icu_use_data_file_flag.
424 } 420 }
425 } 421 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/testing/gtest/BUILD.gn ('k') | tools/gn/secondary/third_party/leveldatabase/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698