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/ViewAndroid.java',
51 'java/src/org/chromium/ui/base/WindowAndroid.java',
52 'java/src/org/chromium/ui/resources/ResourceManager.java',
55 'jni_gen_package': 'ui_android',
57 'includes': [ '../../build/jni_generator.gypi' ],
60 'target_name': 'android_resource_type_java',
63 'source_file': 'resources/resource_manager.h',
65 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
68 'target_name': 'bitmap_format_java',
71 'source_file': '../gfx/android/java_bitmap.h',
73 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
76 'target_name': 'page_transition_types_java',
79 'source_file': '../base/page_transition_types.h',
81 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
84 'target_name': 'system_ui_resource_type_java',
87 'source_file': 'resources/system_ui_resource_type.h',
89 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
92 'target_name': 'touch_device_types_java',
95 'source_file': '../base/touch/touch_device.h',
97 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
100 'target_name': 'window_open_disposition_java',
103 'source_file': '../base/window_open_disposition.h',
105 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
108 'target_name': 'text_input_type_java',
111 'source_file': '../base/ime/text_input_type.h',
113 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
116 'target_name': 'ui_java',
119 'java_in_dir': '../../ui/android/java',
120 'has_java_resources': 1,
121 'R_package': 'org.chromium.ui',
122 'R_package_relpath': 'org/chromium/ui',
125 '../../base/base.gyp:base_java',
126 'android_resource_type_java',
127 'bitmap_format_java',
128 'page_transition_types_java',
129 'system_ui_resource_type_java',
130 'touch_device_types_java',
132 'window_open_disposition_java',
133 'text_input_type_java',
135 'includes': [ '../../build/java.gypi' ],
138 'target_name': 'ui_javatests',
141 'java_in_dir': '../../ui/android/javatests',
144 '../../base/base.gyp:base_java_test_support',
147 'includes': [ '../../build/java.gypi' ],
150 'target_name': 'ui_strings_grd',
151 # The android_webview/Android.mk file depends on this target directly.
152 'android_unmangled_name': 1,
155 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd',
158 '../../build/java_strings_grd.gypi',
162 # GN version: //ui/android:ui_android_unittests
163 'target_name': 'ui_android_unittests',
164 'type': '<(gtest_target_type)',
166 '../../base/base.gyp:base',
167 '../../base/base.gyp:test_support_base',
168 '../../cc/cc.gyp:cc',
169 '../../skia/skia.gyp:skia',
170 '../../testing/android/native_test.gyp:native_test_native_code',
171 '../../testing/gtest.gyp:gtest',
172 '../base/ui_base.gyp:ui_base',
173 '../gfx/gfx.gyp:gfx',
174 '../resources/ui_resources.gyp:ui_test_pak',
178 'resources/resource_manager_impl_unittest.cc',
179 'run_all_unittests.cc',
183 'target_name': 'ui_android_unittests_apk',
186 'ui_android_unittests',
190 'test_suite_name': 'ui_android_unittests',
192 'includes': [ '../../build/apk_test.gypi' ],