| 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 declare_args() { | 8 declare_args() { |
| 9 # You can set the variable 'use_official_google_api_keys' to true | 9 # You can set the variable 'use_official_google_api_keys' to true |
| 10 # to use the Google-internal file containing official API keys | 10 # to use the Google-internal file containing official API keys |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 ] | 129 ] |
| 130 | 130 |
| 131 configs += [ | 131 configs += [ |
| 132 ":key_defines", | 132 ":key_defines", |
| 133 "//build/config/compiler:no_size_t_to_int_warning", | 133 "//build/config/compiler:no_size_t_to_int_warning", |
| 134 ] | 134 ] |
| 135 | 135 |
| 136 deps = [ | 136 deps = [ |
| 137 "//base", | 137 "//base", |
| 138 "//base/third_party/dynamic_annotations", | 138 "//base/third_party/dynamic_annotations", |
| 139 "//components/data_use_measurement/core", |
| 139 "//crypto", | 140 "//crypto", |
| 140 "//third_party/libxml", | 141 "//third_party/libxml", |
| 141 ] | 142 ] |
| 142 | 143 |
| 143 if (defined(invoker.deps)) { | 144 if (defined(invoker.deps)) { |
| 144 deps += invoker.deps | 145 deps += invoker.deps |
| 145 } | 146 } |
| 146 | 147 |
| 147 if (enable_extensions) { | 148 if (enable_extensions) { |
| 148 sources += [ | 149 sources += [ |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 } | 275 } |
| 275 | 276 |
| 276 if (is_mac || is_ios) { | 277 if (is_mac || is_ios) { |
| 277 set_sources_assignment_filter([]) | 278 set_sources_assignment_filter([]) |
| 278 sources += [ "google_api_keys_mac_unittest.mm" ] | 279 sources += [ "google_api_keys_mac_unittest.mm" ] |
| 279 set_sources_assignment_filter(sources_assignment_filter) | 280 set_sources_assignment_filter(sources_assignment_filter) |
| 280 | 281 |
| 281 deps += [ "//third_party/ocmock" ] | 282 deps += [ "//third_party/ocmock" ] |
| 282 } | 283 } |
| 283 } | 284 } |
| OLD | NEW |