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. 4 5{ 6 'variables': { 7 'chromium_code': 1, 8 }, 9 'targets': [ 10 { 11 'target_name': 'window_open_disposition_java', 12 'type': 'none', 13 'sources': [ 14 'java/WindowOpenDisposition.template', 15 ], 16 'variables': { 17 'package_name': 'org/chromium/ui', 18 'template_deps': ['../base/window_open_disposition_list.h'], 19 }, 20 'includes': [ '../../build/android/java_cpp_template.gypi' ], 21 }, 22 { 23 'target_name': 'bitmap_format_java', 24 'type': 'none', 25 'sources': [ 26 'java/BitmapFormat.template', 27 ], 28 'variables': { 29 'package_name': 'org/chromium/ui/gfx', 30 'template_deps': ['../gfx/android/bitmap_config_list.h'], 31 }, 32 'includes': [ '../../build/android/java_cpp_template.gypi' ], 33 }, 34 { 35 'target_name': 'ui_java', 36 'type': 'none', 37 'variables': { 38 'java_in_dir': '../../ui/android/java', 39 'has_java_resources': 1, 40 'R_package': 'org.chromium.ui', 41 'R_package_relpath': 'org/chromium/ui', 42 }, 43 'dependencies': [ 44 '../../base/base.gyp:base_java', 45 'bitmap_format_java', 46 'ui_strings_grd', 47 'window_open_disposition_java', 48 ], 49 'includes': [ '../../build/java.gypi' ], 50 }, 51 { 52 'target_name': 'ui_strings_grd', 53 # The android_webview/Android.mk file depends on this target directly. 54 'android_unmangled_name': 1, 55 'type': 'none', 56 'variables': { 57 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd', 58 }, 59 'includes': [ 60 '../../build/java_strings_grd.gypi', 61 ], 62 }, 63 ], 64} 65