| 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("//extensions/features/features.gni") | 6 import("//extensions/features/features.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 declare_args() { | 9 declare_args() { |
| 10 # You can set the variable 'use_official_google_api_keys' to true | 10 # You can set the variable 'use_official_google_api_keys' to true |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 configs += [ | 132 configs += [ |
| 133 ":key_defines", | 133 ":key_defines", |
| 134 "//build/config/compiler:no_size_t_to_int_warning", | 134 "//build/config/compiler:no_size_t_to_int_warning", |
| 135 ] | 135 ] |
| 136 | 136 |
| 137 deps = [ | 137 deps = [ |
| 138 "//base", | 138 "//base", |
| 139 "//base/third_party/dynamic_annotations", | 139 "//base/third_party/dynamic_annotations", |
| 140 "//crypto", | 140 "//crypto", |
| 141 "//third_party/libxml", | |
| 142 ] | 141 ] |
| 143 | 142 |
| 144 if (defined(invoker.deps)) { | 143 if (defined(invoker.deps)) { |
| 145 deps += invoker.deps | 144 deps += invoker.deps |
| 146 } | 145 } |
| 147 | 146 |
| 148 if (enable_extensions) { | 147 if (enable_extensions) { |
| 149 sources += [ | 148 sources += [ |
| 150 "drive/auth_service.cc", | 149 "drive/auth_service.cc", |
| 151 "drive/auth_service.h", | 150 "drive/auth_service.h", |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 } | 276 } |
| 278 | 277 |
| 279 if (is_mac || is_ios) { | 278 if (is_mac || is_ios) { |
| 280 set_sources_assignment_filter([]) | 279 set_sources_assignment_filter([]) |
| 281 sources += [ "google_api_keys_mac_unittest.mm" ] | 280 sources += [ "google_api_keys_mac_unittest.mm" ] |
| 282 set_sources_assignment_filter(sources_assignment_filter) | 281 set_sources_assignment_filter(sources_assignment_filter) |
| 283 | 282 |
| 284 deps += [ "//third_party/ocmock" ] | 283 deps += [ "//third_party/ocmock" ] |
| 285 } | 284 } |
| 286 } | 285 } |
| OLD | NEW |