| 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 # libphonenumber's base/logging.h is a minimal implementation where DCHECKs | 48 # TODO(scottmg): Temporary until https://codereview.appspot.com/134650043/ |
| 49 # do not consume their arguments. This leads to unused variable warnings in | 49 # lands and rolls. http://crbug.com/335824 |
| 50 # release builds. | |
| 51 configs -= [ "//build/config/compiler:chromium_code" ] | 50 configs -= [ "//build/config/compiler:chromium_code" ] |
| 52 configs += [ "//build/config/compiler:no_chromium_code" ] | 51 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 53 | 52 |
| 54 public_configs = [ ":libphonenumber_config" ] | 53 public_configs = [ ":libphonenumber_config" ] |
| 55 | 54 |
| 56 public_deps = [ | 55 public_deps = [ |
| 57 ":proto", | 56 ":proto", |
| 58 ] | 57 ] |
| 59 deps = [ | 58 deps = [ |
| 60 ":proto", | 59 ":proto", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 deps = [ | 96 deps = [ |
| 98 ":libphonenumber_without_metadata", | 97 ":libphonenumber_without_metadata", |
| 99 "//base", | 98 "//base", |
| 100 "//base/test:run_all_unittests", | 99 "//base/test:run_all_unittests", |
| 101 "//base/third_party/dynamic_annotations", | 100 "//base/third_party/dynamic_annotations", |
| 102 "//third_party/icu", | 101 "//third_party/icu", |
| 103 "//testing/gmock", | 102 "//testing/gmock", |
| 104 "//testing/gtest", | 103 "//testing/gtest", |
| 105 ] | 104 ] |
| 106 } | 105 } |
| OLD | NEW |