OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'autofill_regexes', | 8 'target_name': 'autofill_regexes', |
9 'type': 'none', | 9 'type': 'none', |
10 'actions': [{ | 10 'actions': [{ |
(...skipping 23 matching lines...) Expand all Loading... |
34 }, | 34 }, |
35 'includes': [ '../build/protoc.gypi' ] | 35 'includes': [ '../build/protoc.gypi' ] |
36 }, | 36 }, |
37 ], | 37 ], |
38 'conditions': [ | 38 'conditions': [ |
39 ['OS != "ios"', { | 39 ['OS != "ios"', { |
40 'targets': [ | 40 'targets': [ |
41 { | 41 { |
42 'target_name': 'autofill_common', | 42 'target_name': 'autofill_common', |
43 'type': 'static_library', | 43 'type': 'static_library', |
44 'include_dirs': [ | |
45 '..', | |
46 ], | |
47 'dependencies': [ | 44 'dependencies': [ |
48 '../base/base.gyp:base', | 45 '../base/base.gyp:base', |
49 '../build/temp_gyp/googleurl.gyp:googleurl', | 46 '../build/temp_gyp/googleurl.gyp:googleurl', |
50 '../content/content.gyp:content_common', | 47 '../content/content.gyp:content_common', |
51 '../ipc/ipc.gyp:ipc', | 48 '../ipc/ipc.gyp:ipc', |
52 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 49 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
53 '../ui/ui.gyp:ui', | 50 '../ui/ui.gyp:ui', |
54 ], | 51 ], |
| 52 'conditions': [ |
| 53 ['OS == "android"', { |
| 54 'dependencies': [ |
| 55 'autofill_jni_headers', |
| 56 ], |
| 57 }], |
| 58 ], |
| 59 'include_dirs': [ |
| 60 '..', |
| 61 '<(SHARED_INTERMEDIATE_DIR)/autofill' |
| 62 ], |
55 'sources': [ | 63 'sources': [ |
| 64 'autofill/browser/android/auxiliary_profile_loader_android.cc', |
| 65 'autofill/browser/android/auxiliary_profile_loader_android.h', |
| 66 'autofill/browser/android/auxiliary_profiles_android.cc', |
| 67 'autofill/browser/android/auxiliary_profiles_android.h', |
| 68 'autofill/browser/android/component_jni_registrar.cc', |
| 69 'autofill/browser/android/component_jni_registrar.h', |
| 70 'autofill/browser/android/personal_data_manager_android.cc', |
56 'autofill/common/autocheckout_status.h', | 71 'autofill/common/autocheckout_status.h', |
57 'autofill/common/autofill_constants.cc', | 72 'autofill/common/autofill_constants.cc', |
58 'autofill/common/autofill_constants.h', | 73 'autofill/common/autofill_constants.h', |
59 'autofill/common/autofill_messages.h', | 74 'autofill/common/autofill_messages.h', |
60 'autofill/common/autofill_pref_names.cc', | 75 'autofill/common/autofill_pref_names.cc', |
61 'autofill/common/autofill_pref_names.h', | 76 'autofill/common/autofill_pref_names.h', |
62 'autofill/common/autofill_switches.cc', | 77 'autofill/common/autofill_switches.cc', |
63 'autofill/common/autofill_switches.h', | 78 'autofill/common/autofill_switches.h', |
64 'autofill/common/form_data.cc', | 79 'autofill/common/form_data.cc', |
65 'autofill/common/form_data.h', | 80 'autofill/common/form_data.h', |
66 'autofill/common/form_data_predictions.cc', | 81 'autofill/common/form_data_predictions.cc', |
67 'autofill/common/form_data_predictions.h', | 82 'autofill/common/form_data_predictions.h', |
68 'autofill/common/form_field_data.cc', | 83 'autofill/common/form_field_data.cc', |
69 'autofill/common/form_field_data.h', | 84 'autofill/common/form_field_data.h', |
70 'autofill/common/form_field_data_predictions.cc', | 85 'autofill/common/form_field_data_predictions.cc', |
71 'autofill/common/form_field_data_predictions.h', | 86 'autofill/common/form_field_data_predictions.h', |
72 'autofill/common/password_form_fill_data.cc', | 87 'autofill/common/password_form_fill_data.cc', |
73 'autofill/common/password_form_fill_data.h', | 88 'autofill/common/password_form_fill_data.h', |
74 'autofill/common/password_generation_util.cc', | 89 'autofill/common/password_generation_util.cc', |
75 'autofill/common/password_generation_util.h', | 90 'autofill/common/password_generation_util.h', |
76 'autofill/common/web_element_descriptor.cc', | 91 'autofill/common/web_element_descriptor.cc', |
77 'autofill/common/web_element_descriptor.h', | 92 'autofill/common/web_element_descriptor.h', |
78 ], | 93 ], |
79 }, | 94 }, |
80 ], | 95 ], |
81 }], | 96 }], |
| 97 ['OS == "android"', { |
| 98 'targets': [ |
| 99 { |
| 100 'target_name': 'autofill_java', |
| 101 'type': 'none', |
| 102 'dependencies': [ |
| 103 '../base/base.gyp:base', |
| 104 '../content/content.gyp:content_java', |
| 105 ], |
| 106 'variables': { |
| 107 'java_in_dir': 'autofill/browser/android/java', |
| 108 }, |
| 109 'includes': [ '../build/java.gypi' ], |
| 110 }, |
| 111 { |
| 112 'target_name': 'autofill_jni_headers', |
| 113 'type': 'none', |
| 114 'sources': [ |
| 115 'autofill/browser/android/java/src/org/chromium/components/browser/a
utofill/PersonalAutofillPopulator.java', |
| 116 ], |
| 117 'variables': { |
| 118 'jni_gen_package': 'autofill', |
| 119 }, |
| 120 'includes': [ '../build/jni_generator.gypi' ], |
| 121 }, |
| 122 ], |
| 123 }], |
82 ], | 124 ], |
83 } | 125 } |
OLD | NEW |