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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 # {'variables': {'library': 'shared_library'}} | 141 # {'variables': {'library': 'shared_library'}} |
142 # to compile as shared by default | 142 # to compile as shared by default |
143 'library%': 'static_library', | 143 'library%': 'static_library', |
144 | 144 |
145 # The Google Update appid. | 145 # The Google Update appid. |
146 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', | 146 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', |
147 | 147 |
148 # Whether to add the experimental build define. | 148 # Whether to add the experimental build define. |
149 'chrome_frame_define%': 0, | 149 'chrome_frame_define%': 0, |
150 | 150 |
151 # Whether GPU plugin build is enabled. | |
152 'enable_gpu%': 0, | |
153 | |
154 # Whether usage of OpenMAX is enabled. | 151 # Whether usage of OpenMAX is enabled. |
155 'enable_openmax%': 0, | 152 'enable_openmax%': 0, |
156 | 153 |
157 # TODO(bradnelson): eliminate this when possible. | 154 # TODO(bradnelson): eliminate this when possible. |
158 # To allow local gyp files to prevent release.vsprops from being included. | 155 # To allow local gyp files to prevent release.vsprops from being included. |
159 # Yes(1) means include release.vsprops. | 156 # Yes(1) means include release.vsprops. |
160 # Once all vsprops settings are migrated into gyp, this can go away. | 157 # Once all vsprops settings are migrated into gyp, this can go away. |
161 'msvs_use_common_release%': 1, | 158 'msvs_use_common_release%': 1, |
162 | 159 |
163 # TODO(bradnelson): eliminate this when possible. | 160 # TODO(bradnelson): eliminate this when possible. |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 ['selinux==1', { | 339 ['selinux==1', { |
343 'defines': ['CHROMIUM_SELINUX=1'], | 340 'defines': ['CHROMIUM_SELINUX=1'], |
344 }], | 341 }], |
345 ['win_use_allocator_shim==0', { | 342 ['win_use_allocator_shim==0', { |
346 'conditions': [ | 343 'conditions': [ |
347 ['OS=="win"', { | 344 ['OS=="win"', { |
348 'defines': ['NO_TCMALLOC'], | 345 'defines': ['NO_TCMALLOC'], |
349 }], | 346 }], |
350 ], | 347 ], |
351 }], | 348 }], |
352 ['OS=="win"', { | 349 ['OS=="win" or (OS=="linux" and target_arch!="arm")', { |
353 'defines': [ | 350 'defines': [ |
354 'ENABLE_GPU=1', | 351 'ENABLE_GPU=1', |
355 ], | 352 ], |
356 }], | 353 }], |
357 ['coverage!=0', { | 354 ['coverage!=0', { |
358 'conditions': [ | 355 'conditions': [ |
359 ['OS=="mac"', { | 356 ['OS=="mac"', { |
360 'xcode_settings': { | 357 'xcode_settings': { |
361 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs | 358 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs |
362 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage | 359 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 # and therefore SYMROOT, needs to be set at the project level. | 1150 # and therefore SYMROOT, needs to be set at the project level. |
1154 'SYMROOT': '<(DEPTH)/xcodebuild', | 1151 'SYMROOT': '<(DEPTH)/xcodebuild', |
1155 }, | 1152 }, |
1156 } | 1153 } |
1157 | 1154 |
1158 # Local Variables: | 1155 # Local Variables: |
1159 # tab-width:2 | 1156 # tab-width:2 |
1160 # indent-tabs-mode:nil | 1157 # indent-tabs-mode:nil |
1161 # End: | 1158 # End: |
1162 # vim: set expandtab tabstop=2 shiftwidth=2: | 1159 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |