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

Side by Side Diff: build/common.gypi

Issue 558035: [GPU] Get GPU process running on the mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « app/gfx/native_widget_types.h ('k') | chrome/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 },{ 273 },{
274 'msvs_large_module_debug_link_mode%': '2', # Yes 274 'msvs_large_module_debug_link_mode%': '2', # Yes
275 }], 275 }],
276 ], 276 ],
277 'nacl_win64_defines': [ 277 'nacl_win64_defines': [
278 # This flag is used to minimize dependencies when building 278 # This flag is used to minimize dependencies when building
279 # Native Client loader for 64-bit Windows. 279 # Native Client loader for 64-bit Windows.
280 'NACL_WIN64', 280 'NACL_WIN64',
281 ], 281 ],
282 }], 282 }],
283 # Compute based on OS and target architecture whether the GPU
284 # plugin / process is supported.
285 [ 'OS=="win" or (OS=="linux" and target_arch!="arm") or OS=="mac"', {
286 # Enable a variable used elsewhere throughout the GYP files to determine
287 # whether to compile in the sources for the GPU plugin / process.
288 'enable_gpu%': 1,
289 }, { # GPU plugin not supported
290 'enable_gpu%': 0,
291 }],
283 ], 292 ],
284 293
285 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' 294 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_'
286 # so Cocoa is happy (http://crbug.com/20441). 295 # so Cocoa is happy (http://crbug.com/20441).
287 'locales': [ 296 'locales': [
288 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 297 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB',
289 'en-US', 'es-419', 'es', 'et', 'fi', 'fil', 'fr', 'gu', 'he', 298 'en-US', 'es-419', 'es', 'et', 'fi', 'fil', 'fr', 'gu', 'he',
290 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', 299 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv',
291 'ml', 'mr', 'nb', 'nl', 'or', 'pl', 'pt-BR', 'pt-PT', 'ro', 300 'ml', 'mr', 'nb', 'nl', 'or', 'pl', 'pt-BR', 'pt-PT', 'ro',
292 'ru', 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 301 'ru', 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 ['selinux==1', { 348 ['selinux==1', {
340 'defines': ['CHROMIUM_SELINUX=1'], 349 'defines': ['CHROMIUM_SELINUX=1'],
341 }], 350 }],
342 ['win_use_allocator_shim==0', { 351 ['win_use_allocator_shim==0', {
343 'conditions': [ 352 'conditions': [
344 ['OS=="win"', { 353 ['OS=="win"', {
345 'defines': ['NO_TCMALLOC'], 354 'defines': ['NO_TCMALLOC'],
346 }], 355 }],
347 ], 356 ],
348 }], 357 }],
349 ['OS=="win" or (OS=="linux" and target_arch!="arm")', { 358 ['enable_gpu==1', {
350 'defines': [ 359 'defines': [
351 'ENABLE_GPU=1', 360 'ENABLE_GPU=1',
352 ], 361 ],
353 }], 362 }],
354 ['coverage!=0', { 363 ['coverage!=0', {
355 'conditions': [ 364 'conditions': [
356 ['OS=="mac"', { 365 ['OS=="mac"', {
357 'xcode_settings': { 366 'xcode_settings': {
358 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs 367 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs
359 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage 368 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 # and therefore SYMROOT, needs to be set at the project level. 1169 # and therefore SYMROOT, needs to be set at the project level.
1161 'SYMROOT': '<(DEPTH)/xcodebuild', 1170 'SYMROOT': '<(DEPTH)/xcodebuild',
1162 }, 1171 },
1163 } 1172 }
1164 1173
1165 # Local Variables: 1174 # Local Variables:
1166 # tab-width:2 1175 # tab-width:2
1167 # indent-tabs-mode:nil 1176 # indent-tabs-mode:nil
1168 # End: 1177 # End:
1169 # vim: set expandtab tabstop=2 shiftwidth=2: 1178 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « app/gfx/native_widget_types.h ('k') | chrome/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698