OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'includes': [ | 5 'includes': [ |
6 '../../chrome/chrome_android_paks.gypi', # Included for the list of pak reso
urces. | 6 '../../chrome/chrome_android_paks.gypi', # Included for the list of pak reso
urces. |
7 '../../build/util/version.gypi' | 7 '../../build/util/version.gypi' |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
11 'package_name': 'chrome_public_apk', | 11 'package_name': 'chrome_public_apk', |
12 'manifest_package': 'org.chromium.chrome', | 12 'manifest_package': 'org.chromium.chrome', |
13 'sync_shell_manifest_package': 'org.chromium.chrome.sync_shell', | 13 'sync_shell_manifest_package': 'org.chromium.chrome.sync_shell', |
14 'chrome_public_apk_manifest': '<(SHARED_INTERMEDIATE_DIR)/chrome_public_apk_
manifest/AndroidManifest.xml', | 14 'chrome_public_apk_manifest': '<(SHARED_INTERMEDIATE_DIR)/chrome_public_apk_
manifest/AndroidManifest.xml', |
15 'chrome_public_test_apk_manifest': '<(SHARED_INTERMEDIATE_DIR)/chrome_public
_test_apk_manifest/AndroidManifest.xml', | 15 'chrome_public_test_apk_manifest': '<(SHARED_INTERMEDIATE_DIR)/chrome_public
_test_apk_manifest/AndroidManifest.xml', |
16 'chrome_sync_shell_apk_manifest': '<(SHARED_INTERMEDIATE_DIR)/chrome_sync_sh
ell_apk_manifest/AndroidManifest.xml', | 16 'chrome_sync_shell_apk_manifest': '<(SHARED_INTERMEDIATE_DIR)/chrome_sync_sh
ell_apk_manifest/AndroidManifest.xml', |
17 'chrome_sync_shell_test_apk_manifest': '<(SHARED_INTERMEDIATE_DIR)/chrome_sy
nc_shell_test_apk_manifest/AndroidManifest.xml', | 17 'chrome_sync_shell_test_apk_manifest': '<(SHARED_INTERMEDIATE_DIR)/chrome_sy
nc_shell_test_apk_manifest/AndroidManifest.xml', |
18 # This list is shared with GN. | 18 # This list is shared with GN. |
19 # Defines a list of source files should be present in the open-source | 19 # Defines a list of source files should be present in the Chrome app. |
20 # chrome-apk but not in the published static_library which is included in th
e | 20 'chrome_app_native_sources': [ |
21 # real chrome for android. | |
22 'chrome_public_app_native_sources': [ | |
23 '../app/android/chrome_main_delegate_android_initializer.cc', | 21 '../app/android/chrome_main_delegate_android_initializer.cc', |
24 '../browser/android/chrome_entry_point.cc', | 22 '../browser/android/chrome_entry_point.cc', |
25 ], | 23 ], |
| 24 # This list is only used by GN but kept here to mirror |
| 25 # chrome_app_native_sources. |
| 26 # Defines a list of source files should be present in the Chrome app when |
| 27 # distributed as monochrome. |
| 28 'monochrome_app_native_sources': [ |
| 29 '../app/android/chrome_main_delegate_android_initializer.cc', |
| 30 '../browser/android/monochrome_entry_point.cc', |
| 31 ], |
26 | 32 |
27 # This list is shared with GN. | 33 # This list is shared with GN. |
28 'chrome_sync_shell_app_native_sources': [ | 34 'chrome_sync_shell_app_native_sources': [ |
29 '../browser/android/chrome_entry_point.cc', | 35 '../browser/android/chrome_entry_point.cc', |
30 '../browser/android/chrome_sync_shell_main_delegate_initializer.cc', | 36 '../browser/android/chrome_sync_shell_main_delegate_initializer.cc', |
31 '../browser/android/chrome_sync_shell_main_delegate.h', | 37 '../browser/android/chrome_sync_shell_main_delegate.h', |
32 '../browser/android/chrome_sync_shell_main_delegate.cc', | 38 '../browser/android/chrome_sync_shell_main_delegate.cc', |
33 ] | 39 ] |
34 }, | 40 }, |
35 'targets': [ | 41 'targets': [ |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 'conditions': [ | 119 'conditions': [ |
114 ['OS=="android"', { | 120 ['OS=="android"', { |
115 'dependencies': [ '../../tools/cygprofile/cygprofile.gyp:cygprofil
e' ], | 121 'dependencies': [ '../../tools/cygprofile/cygprofile.gyp:cygprofil
e' ], |
116 }], | 122 }], |
117 ], | 123 ], |
118 }], # order_profiling!=0 | 124 }], # order_profiling!=0 |
119 ], | 125 ], |
120 }, | 126 }, |
121 { | 127 { |
122 # GN: //chrome/android:chrome_public | 128 # GN: //chrome/android:chrome_public |
| 129 # TODO(yfriedman): Replace with libchrome. |
123 'target_name': 'libchrome_public', | 130 'target_name': 'libchrome_public', |
124 'type': 'shared_library', | 131 'type': 'shared_library', |
125 'sources': [ | 132 'sources': [ |
126 '<@(chrome_public_app_native_sources)', | 133 '<@(chrome_app_native_sources)', |
127 ], | 134 ], |
128 'dependencies': [ | 135 'dependencies': [ |
129 'libchrome_public_base', | 136 'libchrome_public_base', |
130 ], | 137 ], |
131 }, | 138 }, |
132 { | 139 { |
133 # GN: //chrome/android:chrome_sync_shell | 140 # GN: //chrome/android:chrome_sync_shell |
134 'target_name': 'libchrome_sync_shell', | 141 'target_name': 'libchrome_sync_shell', |
135 'type': 'shared_library', | 142 'type': 'shared_library', |
136 'sources': [ | 143 'sources': [ |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 } | 415 } |
409 ], | 416 ], |
410 ], | 417 ], |
411 } | 418 } |
412 | 419 |
413 # Local Variables: | 420 # Local Variables: |
414 # tab-width:2 | 421 # tab-width:2 |
415 # indent-tabs-mode:nil | 422 # indent-tabs-mode:nil |
416 # End: | 423 # End: |
417 # vim: set expandtab tabstop=2 shiftwidth=2: | 424 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |