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

Side by Side Diff: chrome/chrome_android.gypi

Issue 2321703002: Remove all gyp[i] files in //chrome (Closed)
Patch Set: merge Created 4 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
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 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 'variables': {
6 'chromium_code': 1,
7 },
8 'targets': [
9 {
10 # GN: //chrome:chrome_android_core
11 'target_name': 'chrome_android_core',
12 'type': 'static_library',
13 'dependencies': [
14 'chrome.gyp:browser',
15 'chrome.gyp:browser_ui',
16 'chrome.gyp:child',
17 'chrome.gyp:gpu',
18 'chrome_features.gyp:chrome_common_features',
19 'chrome.gyp:renderer',
20 'chrome.gyp:utility',
21 '../components/components.gyp:safe_browsing_db_mobile',
22 '../content/content.gyp:content',
23 '../content/content.gyp:content_app_both',
24 ],
25 'include_dirs': [
26 '..',
27 '<(android_ndk_include)',
28 ],
29 'sources': [
30 'app/android/chrome_android_initializer.cc',
31 'app/android/chrome_android_initializer.h',
32 'app/android/chrome_jni_onload.cc',
33 'app/android/chrome_jni_onload.h',
34 'app/android/chrome_main_delegate_android.cc',
35 'app/android/chrome_main_delegate_android.h',
36 'app/chrome_main_delegate.cc',
37 'app/chrome_main_delegate.h',
38 ],
39 'link_settings': {
40 'libraries': [
41 '-landroid',
42 '-ljnigraphics',
43 ],
44 },
45 },
46 {
47 # GYP: //chrome/android:chrome_version_java
48 'target_name': 'chrome_version_java',
49 'type': 'none',
50 'variables': {
51 'template_input_path': 'android/java/ChromeVersionConstants.java.version ',
52 'version_path': 'VERSION',
53 'version_py_path': '<(DEPTH)/build/util/version.py',
54 'output_path': '<(SHARED_INTERMEDIATE_DIR)/templates/<(_target_name)/org /chromium/chrome/browser/ChromeVersionConstants.java',
55
56 'conditions': [
57 ['branding == "Chrome"', {
58 'branding_path': 'app/theme/google_chrome/BRANDING',
59 }, {
60 'branding_path': 'app/theme/chromium/BRANDING',
61 }],
62 ],
63 },
64 'direct_dependent_settings': {
65 'variables': {
66 # Ensure that the output directory is used in the class path
67 # when building targets that depend on this one.
68 'generated_src_dirs': [
69 '<(SHARED_INTERMEDIATE_DIR)/templates/<(_target_name)',
70 ],
71 # Ensure dependents are rebuilt when the generated Java file changes.
72 'additional_input_paths': [
73 '<(output_path)',
74 ],
75 },
76 },
77 'actions': [
78 {
79 'action_name': 'chrome_version_java_template',
80 'inputs': [
81 '<(template_input_path)',
82 '<(version_path)',
83 '<(branding_path)',
84 '<(version_py_path)',
85 ],
86 'outputs': [
87 '<(output_path)',
88 ],
89 'action': [
90 'python',
91 '<(version_py_path)',
92 '-f', '<(version_path)',
93 '-f', '<(branding_path)',
94 '-e', 'CHANNEL=str.upper("<(android_channel)")',
95 '<(template_input_path)',
96 '<(output_path)',
97 ],
98 },
99 ],
100 },
101 ],
102 }
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698