| 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 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
| 7 | 7 |
| 8 proto_library("proto") { | 8 proto_library("proto") { |
| 9 sources = [ | 9 sources = [ |
| 10 "src/resources/phonemetadata.proto", | 10 "src/resources/phonemetadata.proto", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 "src/phonenumbers/regexp_adapter_icu.cc", | 38 "src/phonenumbers/regexp_adapter_icu.cc", |
| 39 "src/phonenumbers/regexp_cache.cc", | 39 "src/phonenumbers/regexp_cache.cc", |
| 40 "src/phonenumbers/string_byte_sink.cc", | 40 "src/phonenumbers/string_byte_sink.cc", |
| 41 "src/phonenumbers/stringutil.cc", | 41 "src/phonenumbers/stringutil.cc", |
| 42 "src/phonenumbers/unicodestring.cc", | 42 "src/phonenumbers/unicodestring.cc", |
| 43 "src/phonenumbers/utf/rune.c", | 43 "src/phonenumbers/utf/rune.c", |
| 44 "src/phonenumbers/utf/unicodetext.cc", | 44 "src/phonenumbers/utf/unicodetext.cc", |
| 45 "src/phonenumbers/utf/unilib.cc", | 45 "src/phonenumbers/utf/unilib.cc", |
| 46 ] | 46 ] |
| 47 | 47 |
| 48 # TODO(scottmg): Temporary until https://codereview.appspot.com/134650043/ | 48 # libphonenumber's base/logging.h is a minimal implementation where DCHECKs |
| 49 # lands and rolls. http://crbug.com/335824 | 49 # do not consume their arguments. This leads to unused variable warnings in |
| 50 # release builds. |
| 50 configs -= [ "//build/config/compiler:chromium_code" ] | 51 configs -= [ "//build/config/compiler:chromium_code" ] |
| 51 configs += [ "//build/config/compiler:no_chromium_code" ] | 52 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 52 | 53 |
| 53 public_configs = [ ":libphonenumber_config" ] | 54 public_configs = [ ":libphonenumber_config" ] |
| 54 | 55 |
| 55 public_deps = [ | 56 public_deps = [ |
| 56 ":proto", | 57 ":proto", |
| 57 ] | 58 ] |
| 58 deps = [ | 59 deps = [ |
| 59 ":proto", | 60 ":proto", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 deps = [ | 97 deps = [ |
| 97 ":libphonenumber_without_metadata", | 98 ":libphonenumber_without_metadata", |
| 98 "//base", | 99 "//base", |
| 99 "//base/test:run_all_unittests", | 100 "//base/test:run_all_unittests", |
| 100 "//base/third_party/dynamic_annotations", | 101 "//base/third_party/dynamic_annotations", |
| 101 "//third_party/icu", | 102 "//third_party/icu", |
| 102 "//testing/gmock", | 103 "//testing/gmock", |
| 103 "//testing/gtest", | 104 "//testing/gtest", |
| 104 ] | 105 ] |
| 105 } | 106 } |
| OLD | NEW |