• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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': 'bitmap_format_java',
12      'type': 'none',
13      'variables': {
14        'source_file': '../gfx/android/java_bitmap.h',
15      },
16      'includes': [ '../../build/android/java_cpp_enum.gypi' ],
17    },
18    {
19      'target_name': 'page_transition_types_java',
20      'type': 'none',
21      'sources': [
22        'java/PageTransitionTypes.template',
23      ],
24      'variables': {
25        'package_name': 'org/chromium/ui/base',
26        'template_deps': ['../base/page_transition_types_list.h'],
27      },
28      'includes': [ '../../build/android/java_cpp_template.gypi' ],
29    },
30    {
31      'target_name': 'window_open_disposition_java',
32      'type': 'none',
33      'variables': {
34        'source_file': '../base/window_open_disposition.h',
35      },
36      'includes': [ '../../build/android/java_cpp_enum.gypi' ],
37    },
38    {
39      'target_name': 'ui_java',
40      'type': 'none',
41      'variables': {
42        'java_in_dir': '../../ui/android/java',
43        'has_java_resources': 1,
44        'R_package': 'org.chromium.ui',
45        'R_package_relpath': 'org/chromium/ui',
46      },
47      'dependencies': [
48        '../../base/base.gyp:base_java',
49        'bitmap_format_java',
50        'page_transition_types_java',
51        'ui_strings_grd',
52        'window_open_disposition_java',
53      ],
54      'includes': [ '../../build/java.gypi' ],
55    },
56    {
57      'target_name': 'ui_strings_grd',
58       # The android_webview/Android.mk file depends on this target directly.
59      'android_unmangled_name': 1,
60      'type': 'none',
61      'variables': {
62        'grd_file': '../../ui/android/java/strings/android_ui_strings.grd',
63      },
64      'includes': [
65        '../../build/java_strings_grd.gypi',
66      ],
67    },
68  ],
69}
70