| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 static_library("client_update_protocol") { | 5 if (is_android) { |
| 6 import("//build/config/android/rules.gni") |
| 7 } |
| 8 |
| 9 static_library("request_header") { |
| 6 sources = [ | 10 sources = [ |
| 7 "ecdsa.cc", | 11 "offline_page_header.cc", |
| 8 "ecdsa.h", | 12 "offline_page_header.h", |
| 9 ] | 13 ] |
| 10 | 14 |
| 11 deps = [ | 15 deps = [ |
| 12 "//base", | 16 "//base", |
| 13 "//crypto", | |
| 14 ] | 17 ] |
| 15 } | 18 } |
| 16 | 19 |
| 17 source_set("unit_tests") { | 20 source_set("unit_tests") { |
| 18 testonly = true | 21 testonly = true |
| 19 sources = [ | 22 sources = [ |
| 20 "ecdsa_unittest.cc", | 23 "offline_page_header_unittest.cc", |
| 21 ] | 24 ] |
| 22 | 25 |
| 23 deps = [ | 26 deps = [ |
| 24 ":client_update_protocol", | 27 ":request_header", |
| 25 "//base", | 28 "//base", |
| 26 "//crypto", | 29 "//base/test:test_support", |
| 27 "//testing/gtest", | 30 "//testing/gtest", |
| 28 ] | 31 ] |
| 29 } | 32 } |
| OLD | NEW |