1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 # GN version: //ui/android
12 'target_name': 'ui_android',
13 'type': '<(component)',
15 '../../base/base.gyp:base',
17 '../../skia/skia.gyp:skia',
19 '../gfx/gfx.gyp:gfx_geometry',
20 'ui_android_jni_headers',
23 'UI_ANDROID_IMPLEMENTATION',
26 'resources/resource_manager.cc',
27 'resources/resource_manager.h',
28 'resources/resource_manager_impl.cc',
29 'resources/resource_manager_impl.h',
30 'resources/ui_resource_android.cc',
31 'resources/ui_resource_android.h',
32 'resources/ui_resource_client_android.h',
33 'resources/ui_resource_provider.cc',
34 'resources/ui_resource_provider.h',
35 'ui_android_export.h',
36 'ui_android_jni_registrar.cc',
37 'ui_android_jni_registrar.h',
41 'target_name': 'ui_android_jni_headers',
44 'java/src/org/chromium/ui/resources/ResourceManager.java',
47 'jni_gen_package': 'ui_android',
49 'includes': [ '../../build/jni_generator.gypi' ],
52 'target_name': 'android_resource_type_java',
55 'source_file': 'resources/resource_manager.h',
57 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
60 'target_name': 'bitmap_format_java',
63 'source_file': '../gfx/android/java_bitmap.h',
65 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
68 'target_name': 'page_transition_types_java',
71 'source_file': '../base/page_transition_types.h',
73 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
76 'target_name': 'system_ui_resource_type_java',
79 'source_file': 'resources/system_ui_resource_type.h',
81 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
84 'target_name': 'touch_device_types_java',
87 'source_file': '../base/touch/touch_device.h',
89 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
92 'target_name': 'window_open_disposition_java',
95 'source_file': '../base/window_open_disposition.h',
97 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
100 'target_name': 'text_input_type_java',
103 'source_file': '../base/ime/text_input_type.h',
105 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
108 'target_name': 'ui_java',
111 'java_in_dir': '../../ui/android/java',
112 'has_java_resources': 1,
113 'R_package': 'org.chromium.ui',
114 'R_package_relpath': 'org/chromium/ui',
117 '../../base/base.gyp:base_java',
118 'android_resource_type_java',
119 'bitmap_format_java',
120 'page_transition_types_java',
121 'system_ui_resource_type_java',
122 'touch_device_types_java',
124 'window_open_disposition_java',
125 'text_input_type_java',
127 'includes': [ '../../build/java.gypi' ],
130 'target_name': 'ui_javatests',
133 'java_in_dir': '../../ui/android/javatests',
136 '../../base/base.gyp:base_java_test_support',
139 'includes': [ '../../build/java.gypi' ],
142 'target_name': 'ui_strings_grd',
143 # The android_webview/Android.mk file depends on this target directly.
144 'android_unmangled_name': 1,
147 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd',
150 '../../build/java_strings_grd.gypi',
154 # GN version: //ui/android:ui_android_unittests
155 'target_name': 'ui_android_unittests',
156 'type': '<(gtest_target_type)',
158 '../../base/base.gyp:base',
159 '../../base/base.gyp:test_support_base',
160 '../../cc/cc.gyp:cc',
161 '../../skia/skia.gyp:skia',
162 '../../testing/android/native_test.gyp:native_test_native_code',
163 '../../testing/gtest.gyp:gtest',
164 '../base/ui_base.gyp:ui_base',
165 '../gfx/gfx.gyp:gfx',
166 '../resources/ui_resources.gyp:ui_test_pak',
170 'resources/resource_manager_impl_unittest.cc',
171 'run_all_unittests.cc',
175 'target_name': 'ui_android_unittests_apk',
178 'ui_android_unittests',
182 'test_suite_name': 'ui_android_unittests',
184 'includes': [ '../../build/apk_test.gypi' ],