OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 | 7 |
8 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
11 # Linux or Mac, and into chrome.dll on Windows. | 11 # Linux or Mac, and into chrome.dll on Windows. |
12 # NOTE: Most new includes should go in the OS!="ios" condition below. | 12 # NOTE: Most new includes should go in the OS!="ios" condition below. |
13 'chromium_browser_dependencies': [ | 13 'chromium_dependencies': [ |
14 'common', | 14 'common', |
15 'browser', | 15 'browser', |
16 '../content/content.gyp:content_app', | 16 '../content/content.gyp:content_app', |
17 '../sync/sync.gyp:sync', | 17 '../sync/sync.gyp:sync', |
18 ], | 18 ], |
19 'chromium_child_dependencies': [ | |
20 'common', | |
21 '../content/content.gyp:content_app', | |
22 '../sync/sync.gyp:sync', | |
23 ], | |
24 'allocator_target': '../base/allocator/allocator.gyp:allocator', | 19 'allocator_target': '../base/allocator/allocator.gyp:allocator', |
25 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 20 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
26 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', | 21 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
27 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], | 22 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], |
28 # TODO: remove this helper when we have loops in GYP | 23 # TODO: remove this helper when we have loops in GYP |
29 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'], | 24 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'], |
30 'conditions': [ | 25 'conditions': [ |
31 ['OS!="ios"', { | 26 ['OS!="ios"', { |
32 'chromium_browser_dependencies': [ | 27 'chromium_dependencies': [ |
33 'debugger', | |
34 '../content/content.gyp:content_ppapi_plugin', | |
35 '../printing/printing.gyp:printing', | |
36 ], | |
37 'chromium_child_dependencies': [ | |
38 'debugger', | 28 'debugger', |
39 'plugin', | 29 'plugin', |
40 'renderer', | 30 'renderer', |
41 'utility', | 31 'utility', |
42 '../content/content.gyp:content_gpu', | 32 '../content/content.gyp:content_gpu', |
43 '../content/content.gyp:content_ppapi_plugin', | 33 '../content/content.gyp:content_ppapi_plugin', |
44 '../content/content.gyp:content_worker', | 34 '../content/content.gyp:content_worker', |
45 '../printing/printing.gyp:printing', | 35 '../printing/printing.gyp:printing', |
46 '../third_party/WebKit/Source/devtools/devtools.gyp:devtools_frontend_
resources', | 36 '../third_party/WebKit/Source/devtools/devtools.gyp:devtools_frontend_
resources', |
47 ], | 37 ], |
48 }], | 38 }], |
49 ['OS=="win"', { | 39 ['OS=="win"', { |
50 'nacl_defines': [ | 40 'nacl_defines': [ |
51 'NACL_WINDOWS=1', | 41 'NACL_WINDOWS=1', |
52 'NACL_LINUX=0', | 42 'NACL_LINUX=0', |
53 'NACL_OSX=0', | 43 'NACL_OSX=0', |
54 ], | 44 ], |
55 'platform_locale_settings_grd': | 45 'platform_locale_settings_grd': |
56 'app/resources/locale_settings_win.grd', | 46 'app/resources/locale_settings_win.grd', |
57 },], | 47 },], |
58 ['OS!="android" and OS!="ios"', { | 48 ['OS!="android" and OS!="ios"', { |
59 'chromium_browser_dependencies': [ | 49 'chromium_dependencies': [ |
60 # Android doesn't use the service process (only needed for print). | 50 # Android doesn't use the service process (only needed for print). |
61 'service', | 51 'service', |
62 ], | 52 ], |
63 }], | 53 }], |
64 ['OS=="linux"', { | 54 ['OS=="linux"', { |
65 'nacl_defines': [ | 55 'nacl_defines': [ |
66 'NACL_WINDOWS=0', | 56 'NACL_WINDOWS=0', |
67 'NACL_LINUX=1', | 57 'NACL_LINUX=1', |
68 'NACL_OSX=0', | 58 'NACL_OSX=0', |
69 ], | 59 ], |
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 '../build/java.gypi', | 1137 '../build/java.gypi', |
1148 ], | 1138 ], |
1149 }, | 1139 }, |
1150 ], # 'targets' | 1140 ], # 'targets' |
1151 'includes': [ | 1141 'includes': [ |
1152 'chrome_android.gypi', | 1142 'chrome_android.gypi', |
1153 ]}, # 'includes' | 1143 ]}, # 'includes' |
1154 ], # OS=="android" | 1144 ], # OS=="android" |
1155 ], # 'conditions' | 1145 ], # 'conditions' |
1156 } | 1146 } |
OLD | NEW |