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

Side by Side Diff: components/cronet.gypi

Issue 659493003: Final step of the java_cpp_template -> java_cpp_enum migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete some more template files Created 6 years, 2 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'conditions': [ 6 'conditions': [
7 ['OS=="android" and use_icu_alternatives_on_android==1', { 7 ['OS=="android" and use_icu_alternatives_on_android==1', {
8 # TODO(mef): Figure out what needs to be done for gn script. 8 # TODO(mef): Figure out what needs to be done for gn script.
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'cronet_jni_headers', 11 'target_name': 'cronet_jni_headers',
12 'type': 'none', 12 'type': 'none',
13 'sources': [ 13 'sources': [
14 'cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java', 14 'cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java',
15 'cronet/android/java/src/org/chromium/net/ChromiumUrlRequestContext. java', 15 'cronet/android/java/src/org/chromium/net/ChromiumUrlRequestContext. java',
16 ], 16 ],
17 'variables': { 17 'variables': {
18 'jni_gen_package': 'cronet', 18 'jni_gen_package': 'cronet',
19 }, 19 },
20 'includes': [ '../build/jni_generator.gypi' ], 20 'includes': [ '../build/jni_generator.gypi' ],
21 }, 21 },
22 { 22 {
23 'target_name': 'cronet_url_request_error_list', 23 'target_name': 'cronet_url_request_java',
24 'type': 'none', 24 'type': 'none',
25 'sources': [
26 'cronet/android/java/src/org/chromium/net/ChromiumUrlRequestError.te mplate',
27 ],
28 'variables': { 25 'variables': {
29 'package_name': 'org/chromium/cronet', 26 'source_file': 'cronet/android/chromium_url_request.h',
30 'template_deps': ['cronet/android/chromium_url_request_error_list.h' ],
31 }, 27 },
32 'includes': [ '../build/android/java_cpp_template.gypi' ], 28 'includes': [ '../build/android/java_cpp_enum.gypi' ],
33 },
34 {
35 'target_name': 'cronet_url_request_priority_list',
36 'type': 'none',
37 'sources': [
38 'cronet/android/java/src/org/chromium/net/ChromiumUrlRequestPriority .template',
39 ],
40 'variables': {
41 'package_name': 'org/chromium/cronet',
42 'template_deps': ['cronet/android/chromium_url_request_priority_list .h'],
43 },
44 'includes': [ '../build/android/java_cpp_template.gypi' ],
45 }, 29 },
46 { 30 {
47 'target_name': 'cronet_url_request_context_config_list', 31 'target_name': 'cronet_url_request_context_config_list',
48 'type': 'none', 32 'type': 'none',
49 'sources': [ 33 'sources': [
50 'cronet/android/java/src/org/chromium/net/UrlRequestContextConfig.te mplate', 34 'cronet/android/java/src/org/chromium/net/UrlRequestContextConfig.te mplate',
51 ], 35 ],
52 'variables': { 36 'variables': {
53 'package_name': 'org/chromium/cronet', 37 'package_name': 'org/chromium/cronet',
54 'template_deps': ['cronet/url_request_context_config_list.h'], 38 'template_deps': ['cronet/url_request_context_config_list.h'],
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 { 88 {
105 'target_name': 'cronet_static', 89 'target_name': 'cronet_static',
106 'type': 'static_library', 90 'type': 'static_library',
107 'dependencies': [ 91 'dependencies': [
108 '../base/base.gyp:base', 92 '../base/base.gyp:base',
109 '../base/base.gyp:base_i18n', 93 '../base/base.gyp:base_i18n',
110 '../third_party/icu/icu.gyp:icui18n', 94 '../third_party/icu/icu.gyp:icui18n',
111 '../third_party/icu/icu.gyp:icuuc', 95 '../third_party/icu/icu.gyp:icuuc',
112 'cronet_jni_headers', 96 'cronet_jni_headers',
113 'cronet_url_request_context_config_list', 97 'cronet_url_request_context_config_list',
114 'cronet_url_request_error_list', 98 'cronet_url_request_java',
115 'cronet_url_request_priority_list',
116 'cronet_version', 99 'cronet_version',
117 '../net/net.gyp:net', 100 '../net/net.gyp:net',
118 ], 101 ],
119 'sources': [ 102 'sources': [
120 'cronet/url_request_context_config.cc', 103 'cronet/url_request_context_config.cc',
121 'cronet/url_request_context_config.h', 104 'cronet/url_request_context_config.h',
122 'cronet/url_request_context_config_list.h', 105 'cronet/url_request_context_config_list.h',
123 'cronet/android/chromium_url_request.cc', 106 'cronet/android/chromium_url_request.cc',
124 'cronet/android/chromium_url_request.h', 107 'cronet/android/chromium_url_request.h',
125 'cronet/android/chromium_url_request_error_list.h', 108 'cronet/android/chromium_url_request_error_list.h',
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 'java_in_dir': 'cronet/android/test/javatests', 468 'java_in_dir': 'cronet/android/test/javatests',
486 'resource_dir': 'cronet/android/test/res', 469 'resource_dir': 'cronet/android/test/res',
487 'is_test_apk': 1, 470 'is_test_apk': 1,
488 }, 471 },
489 'includes': [ '../build/java_apk.gypi' ], 472 'includes': [ '../build/java_apk.gypi' ],
490 }, 473 },
491 ], 474 ],
492 }], # OS=="android" 475 }], # OS=="android"
493 ], 476 ],
494 } 477 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698