OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 |
| 9 # Whether or not browser sync code is built in. |
| 10 'chrome_personalization': 1, |
| 11 |
| 12 # Used to build and statically link a stub (no-op) syncapi engine. |
| 13 'use_syncapi_stub' : 1, |
| 14 |
8 # Define the common dependencies that contain all the actual | 15 # Define the common dependencies that contain all the actual |
9 # Chromium functionality. This list gets pulled in below by | 16 # Chromium functionality. This list gets pulled in below by |
10 # the link of the actual chrome (or chromium) executable on | 17 # the link of the actual chrome (or chromium) executable on |
11 # Linux or Mac, and into chrome.dll on Windows. | 18 # Linux or Mac, and into chrome.dll on Windows. |
12 'chromium_dependencies': [ | 19 'chromium_dependencies': [ |
13 'common', | 20 'common', |
14 'browser', | 21 'browser', |
15 'debugger', | 22 'debugger', |
16 'renderer', | 23 'renderer', |
17 'utility', | 24 'utility', |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 ], | 110 ], |
104 }], | 111 }], |
105 ['OS=="win"', {'sources/': [ | 112 ['OS=="win"', {'sources/': [ |
106 ['include', '_(views|win)(_unittest)?\\.cc$'], | 113 ['include', '_(views|win)(_unittest)?\\.cc$'], |
107 ['include', '/win/'], | 114 ['include', '/win/'], |
108 ['include', '/(views|win)_[^/]*\\.cc$'], | 115 ['include', '/(views|win)_[^/]*\\.cc$'], |
109 ]}], | 116 ]}], |
110 ['OS=="linux" and toolkit_views==1', {'sources/': [ | 117 ['OS=="linux" and toolkit_views==1', {'sources/': [ |
111 ['include', '_views\\.cc$'], | 118 ['include', '_views\\.cc$'], |
112 ]}], | 119 ]}], |
| 120 ['OS=="win" and use_syncapi_stub==1', { |
| 121 'defines': ['COMPILING_SYNCAPI_STUB'], |
| 122 }], # use_syncapi_stub==1 |
| 123 ['OS=="win" and chrome_personalization==1', { |
| 124 'defines': ['CHROME_PERSONALIZATION=1'], |
| 125 }], # chrome_personalization==1 |
113 ], | 126 ], |
114 }, | 127 }, |
115 'targets': [ | 128 'targets': [ |
116 { | 129 { |
117 # TODO(mark): It would be better if each static library that needed | 130 # TODO(mark): It would be better if each static library that needed |
118 # to run grit would list its own .grd files, but unfortunately some | 131 # to run grit would list its own .grd files, but unfortunately some |
119 # of the static libraries currently have circular dependencies among | 132 # of the static libraries currently have circular dependencies among |
120 # generated headers. | 133 # generated headers. |
121 'target_name': 'chrome_resources', | 134 'target_name': 'chrome_resources', |
122 'type': 'none', | 135 'type': 'none', |
(...skipping 5360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5483 # Use outputs of this action as inputs for the main target build. | 5496 # Use outputs of this action as inputs for the main target build. |
5484 # Seems as a misnomer but makes this happy on Linux (scons). | 5497 # Seems as a misnomer but makes this happy on Linux (scons). |
5485 'process_outputs_as_sources': 1, | 5498 'process_outputs_as_sources': 1, |
5486 }, | 5499 }, |
5487 ], # 'actions' | 5500 ], # 'actions' |
5488 }, | 5501 }, |
5489 ] | 5502 ] |
5490 }], | 5503 }], |
5491 ], # 'conditions' | 5504 ], # 'conditions' |
5492 } | 5505 } |
OLD | NEW |