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

Side by Side Diff: third_party/libphonenumber/BUILD.gn

Issue 386943006: Pull buildtools to get GN r282653 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « device/media_transfer_protocol/BUILD.gn ('k') | third_party/protobuf/proto_library.gni » ('j') | no next file with comments »
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/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 proto_library("proto") { 7 proto_library("proto") {
8 sources = [ 8 sources = [
9 "src/resources/phonemetadata.proto", 9 "src/resources/phonemetadata.proto",
10 "src/resources/phonenumber.proto", 10 "src/resources/phonenumber.proto",
11 ] 11 ]
12 proto_in_dir = "src/resources"
13 proto_out_dir = "third_party/libphonenumber/phonenumbers" 12 proto_out_dir = "third_party/libphonenumber/phonenumbers"
14 } 13 }
15 14
16 config("libphonenumber_config") { 15 config("libphonenumber_config") {
17 include_dirs = [ 16 include_dirs = [
18 "src", 17 "src",
19 "$root_gen_dir/protoc_out/third_party/libphonenumber", 18 "$root_gen_dir/third_party/libphonenumber",
20 ] 19 ]
21 defines = [ "I18N_PHONENUMBERS_USE_ICU_REGEXP=1" ] 20 defines = [ "I18N_PHONENUMBERS_USE_ICU_REGEXP=1" ]
22 if (!is_android) { 21 if (!is_android) {
23 defines += [ "I18N_PHONENUMBERS_NO_THREAD_SAFETY=1" ] 22 defines += [ "I18N_PHONENUMBERS_NO_THREAD_SAFETY=1" ]
24 } 23 }
25 } 24 }
26 25
27 # GYP version: third_party/libphonenumber/libphonenumber.gyp:libphonenumber_with out_metadata 26 # GYP version: third_party/libphonenumber/libphonenumber.gyp:libphonenumber_with out_metadata
28 static_library("libphonenumber_without_metadata") { 27 static_library("libphonenumber_without_metadata") {
29 sources = [ 28 sources = [
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 deps = [ 90 deps = [
92 ":libphonenumber_without_metadata", 91 ":libphonenumber_without_metadata",
93 "//base", 92 "//base",
94 "//base/test:run_all_unittests", 93 "//base/test:run_all_unittests",
95 "//base/third_party/dynamic_annotations", 94 "//base/third_party/dynamic_annotations",
96 "//third_party/icu", 95 "//third_party/icu",
97 "//testing/gmock", 96 "//testing/gmock",
98 "//testing/gtest", 97 "//testing/gtest",
99 ] 98 ]
100 } 99 }
OLDNEW
« no previous file with comments | « device/media_transfer_protocol/BUILD.gn ('k') | third_party/protobuf/proto_library.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698