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',
42 'window_android_compositor.h',
43 'window_android_observer.h',
47 'target_name': 'ui_android_jni_headers',
50 'java/src/org/chromium/ui/base/WindowAndroid.java',
51 'java/src/org/chromium/ui/resources/ResourceManager.java',
54 'jni_gen_package': 'ui_android',
56 'includes': [ '../../build/jni_generator.gypi' ],
59 'target_name': 'android_resource_type_java',
62 'source_file': 'resources/resource_manager.h',
64 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
67 'target_name': 'bitmap_format_java',
70 'source_file': '../gfx/android/java_bitmap.h',
72 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
75 'target_name': 'page_transition_types_java',
78 'source_file': '../base/page_transition_types.h',
80 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
83 'target_name': 'system_ui_resource_type_java',
86 'source_file': 'resources/system_ui_resource_type.h',
88 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
91 'target_name': 'touch_device_types_java',
94 'source_file': '../base/touch/touch_device.h',
96 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
99 'target_name': 'window_open_disposition_java',
102 'source_file': '../base/window_open_disposition.h',
104 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
107 'target_name': 'text_input_type_java',
110 'source_file': '../base/ime/text_input_type.h',
112 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
115 'target_name': 'ui_java',
118 'java_in_dir': '../../ui/android/java',
119 'has_java_resources': 1,
120 'R_package': 'org.chromium.ui',
121 'R_package_relpath': 'org/chromium/ui',
124 '../../base/base.gyp:base_java',
125 'android_resource_type_java',
126 'bitmap_format_java',
127 'page_transition_types_java',
128 'system_ui_resource_type_java',
129 'touch_device_types_java',
131 'window_open_disposition_java',
132 'text_input_type_java',
134 'includes': [ '../../build/java.gypi' ],
137 'target_name': 'ui_javatests',
140 'java_in_dir': '../../ui/android/javatests',
143 '../../base/base.gyp:base_java_test_support',
146 'includes': [ '../../build/java.gypi' ],
149 'target_name': 'ui_strings_grd',
150 # The android_webview/Android.mk file depends on this target directly.
151 'android_unmangled_name': 1,
154 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd',
157 '../../build/java_strings_grd.gypi',
161 # GN version: //ui/android:ui_android_unittests
162 'target_name': 'ui_android_unittests',
163 'type': '<(gtest_target_type)',
165 '../../base/base.gyp:base',
166 '../../base/base.gyp:test_support_base',
167 '../../cc/cc.gyp:cc',
168 '../../skia/skia.gyp:skia',
169 '../../testing/android/native_test.gyp:native_test_native_code',
170 '../../testing/gtest.gyp:gtest',
171 '../base/ui_base.gyp:ui_base',
172 '../gfx/gfx.gyp:gfx',
173 '../resources/ui_resources.gyp:ui_test_pak',
177 'resources/resource_manager_impl_unittest.cc',
178 'run_all_unittests.cc',
182 'target_name': 'ui_android_unittests_apk',
185 'ui_android_unittests',
189 'test_suite_name': 'ui_android_unittests',
191 'includes': [ '../../build/apk_test.gypi' ],