Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: ui/android/ui_android.gyp

Issue 484603004: New C++ -> Java enum build rule + parser/generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed aosp bot and added gn rule Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 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 {
11 'target_name': 'window_open_disposition_java', 19 'target_name': 'window_open_disposition_java',
12 'type': 'none', 20 'type': 'none',
13 'sources': [
14 'java/WindowOpenDisposition.template',
15 ],
16 'variables': { 21 'variables': {
17 'package_name': 'org/chromium/ui', 22 'source_file': '../base/window_open_disposition.h',
18 'template_deps': ['../base/window_open_disposition_list.h'],
19 }, 23 },
20 'includes': [ '../../build/android/java_cpp_template.gypi' ], 24 'includes': [ '../../build/android/java_cpp_enum.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 }, 25 },
34 { 26 {
35 'target_name': 'ui_java', 27 'target_name': 'ui_java',
36 'type': 'none', 28 'type': 'none',
37 'variables': { 29 'variables': {
38 'java_in_dir': '../../ui/android/java', 30 'java_in_dir': '../../ui/android/java',
39 'has_java_resources': 1, 31 'has_java_resources': 1,
40 'R_package': 'org.chromium.ui', 32 'R_package': 'org.chromium.ui',
41 'R_package_relpath': 'org/chromium/ui', 33 'R_package_relpath': 'org/chromium/ui',
42 }, 34 },
(...skipping 12 matching lines...) Expand all
55 'type': 'none', 47 'type': 'none',
56 'variables': { 48 'variables': {
57 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd', 49 'grd_file': '../../ui/android/java/strings/android_ui_strings.grd',
58 }, 50 },
59 'includes': [ 51 'includes': [
60 '../../build/java_strings_grd.gypi', 52 '../../build/java_strings_grd.gypi',
61 ], 53 ],
62 }, 54 },
63 ], 55 ],
64 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698