| 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 static_library("common") { | 5 static_library("common") { |
| 6 sources = [ | 6 sources = [ |
| 7 "autofill_constants.cc", | 7 "autofill_constants.cc", |
| 8 "autofill_constants.h", | 8 "autofill_constants.h", |
| 9 "autofill_data_validation.cc", | 9 "autofill_data_validation.cc", |
| 10 "autofill_data_validation.h", | 10 "autofill_data_validation.h", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 deps = [ | 35 deps = [ |
| 36 "//base", | 36 "//base", |
| 37 "//base:i18n", | 37 "//base:i18n", |
| 38 "//ui/base", | 38 "//ui/base", |
| 39 "//ui/gfx", | 39 "//ui/gfx", |
| 40 "//url", | 40 "//url", |
| 41 ] | 41 ] |
| 42 | 42 |
| 43 if (is_android) { | 43 if (is_android) { |
| 44 # deps += [ 'autofill_jni_headers' ] TODO(GYP) | 44 deps += [ ":autofill_jni_headers" ] |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 source_set("unit_tests") { | 48 source_set("unit_tests") { |
| 49 testonly = true | 49 testonly = true |
| 50 sources = [ | 50 sources = [ |
| 51 "form_data_unittest.cc", | 51 "form_data_unittest.cc", |
| 52 "form_field_data_unittest.cc", | 52 "form_field_data_unittest.cc", |
| 53 "password_form_fill_data_unittest.cc", | 53 "password_form_fill_data_unittest.cc", |
| 54 "save_password_progress_logger_unittest.cc", | 54 "save_password_progress_logger_unittest.cc", |
| 55 ] | 55 ] |
| 56 | 56 |
| 57 deps = [ | 57 deps = [ |
| 58 ":common", | 58 ":common", |
| 59 "//base", | 59 "//base", |
| 60 "//base:i18n", | 60 "//base:i18n", |
| 61 "//testing/gmock", | 61 "//testing/gmock", |
| 62 "//testing/gtest", | 62 "//testing/gtest", |
| 63 "//url", | 63 "//url", |
| 64 ] | 64 ] |
| 65 } | 65 } |
| 66 |
| 67 if (is_android) { |
| 68 import("//build/config/android/rules.gni") |
| 69 generate_jni("autofill_jni_headers") { |
| 70 sources = [ |
| 71 "../common/android/java/src/org/chromium/components/autofill/core/common/C
redential.java", |
| 72 ] |
| 73 jni_package = "autofill_core_common" |
| 74 } |
| 75 } |
| OLD | NEW |