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

Side by Side Diff: build/common.gypi

Issue 9699029: Remove use_skia_on_mac.gypi ; building with CG is no longer supported. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « no previous file | build/use_skia_on_mac.gypi » ('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) 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 # 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 expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
11 'variables': { 11 'variables': {
12 # Putting a variables dict inside another variables dict looks kind of 12 # Putting a variables dict inside another variables dict looks kind of
13 # weird. This is done so that 'host_arch', 'chromeos', etc are defined as 13 # weird. This is done so that 'host_arch', 'chromeos', etc are defined as
14 # variables within the outer variables dict here. This is necessary 14 # variables within the outer variables dict here. This is necessary
15 # to get these variables defined for the conditions within this variables 15 # to get these variables defined for the conditions within this variables
16 # dict that operate on these variables (e.g., for setting 'toolkit_views', 16 # dict that operate on these variables (e.g., for setting 'toolkit_views',
17 # we need to have 'chromeos' already set). 17 # we need to have 'chromeos' already set).
18 'variables': { 18 'variables': {
19 'variables': { 19 'variables': {
20 'includes': [
21 'use_skia_on_mac.gypi',
22 ],
23 'variables': { 20 'variables': {
24 # Whether we're building a ChromeOS build. 21 # Whether we're building a ChromeOS build.
25 'chromeos%': 0, 22 'chromeos%': 0,
26 23
27 # Whether we're building pre-Aura ChromeOS (using GTK). 24 # Whether we're building pre-Aura ChromeOS (using GTK).
28 'chromeos_gtk%': 0, 25 'chromeos_gtk%': 0,
29 26
30 # Whether we are using Views Toolkit 27 # Whether we are using Views Toolkit
31 'toolkit_views%': 0, 28 'toolkit_views%': 0,
32 29
33 # Whether or not we are using the Aura windowing framework. 30 # Whether or not we are using the Aura windowing framework.
34 'use_aura%': 0, 31 'use_aura%': 0,
35 32
36 # Whether or not we are building the Ash shell. 33 # Whether or not we are building the Ash shell.
37 'use_ash%': 0, 34 'use_ash%': 0,
38 35
39 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/ 62803 36 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/ 62803
40 'use_openssl%': 0, 37 'use_openssl%': 0,
41 38
42 # Disable Virtual keyboard support by default. 39 # Disable Virtual keyboard support by default.
43 'use_virtual_keyboard%': 0, 40 'use_virtual_keyboard%': 0,
44 41
45 # Disable viewport meta tag by default. 42 # Disable viewport meta tag by default.
46 'enable_viewport%': 0, 43 'enable_viewport%': 0,
47
48 # Default setting for use_skia on mac platform.
49 # This is typically overridden in use_skia_on_mac.gypi.
50 'use_skia_on_mac%': 0,
51 }, 44 },
52 # Copy conditionally-set variables out one scope. 45 # Copy conditionally-set variables out one scope.
53 'chromeos%': '<(chromeos)', 46 'chromeos%': '<(chromeos)',
54 'chromeos_gtk%': '<(chromeos_gtk)', 47 'chromeos_gtk%': '<(chromeos_gtk)',
55 'use_aura%': '<(use_aura)', 48 'use_aura%': '<(use_aura)',
56 'use_ash%': '<(use_ash)', 49 'use_ash%': '<(use_ash)',
57 'use_openssl%': '<(use_openssl)', 50 'use_openssl%': '<(use_openssl)',
58 'use_virtual_keyboard%': '<(use_virtual_keyboard)', 51 'use_virtual_keyboard%': '<(use_virtual_keyboard)',
59 'enable_viewport%': '<(enable_viewport)', 52 'enable_viewport%': '<(enable_viewport)',
60 'use_skia_on_mac%': '<(use_skia_on_mac)',
61 53
62 # Compute the architecture that we're building on. 54 # Compute the architecture that we're building on.
63 'conditions': [ 55 'conditions': [
64 [ 'OS=="win" or OS=="mac"', { 56 [ 'OS=="win" or OS=="mac"', {
65 'host_arch%': 'ia32', 57 'host_arch%': 'ia32',
66 }, { 58 }, {
67 # This handles the Unix platforms for which there is some support. 59 # This handles the Unix platforms for which there is some support.
68 # Anything else gets passed through, which probably won't work very 60 # Anything else gets passed through, which probably won't work very
69 # well; such hosts should pass an explicit target_arch to gyp. 61 # well; such hosts should pass an explicit target_arch to gyp.
70 'host_arch%': 62 'host_arch%':
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 # Copy conditionally-set variables out one scope. 94 # Copy conditionally-set variables out one scope.
103 'chromeos%': '<(chromeos)', 95 'chromeos%': '<(chromeos)',
104 'chromeos_gtk%': '<(chromeos_gtk)', 96 'chromeos_gtk%': '<(chromeos_gtk)',
105 'host_arch%': '<(host_arch)', 97 'host_arch%': '<(host_arch)',
106 'toolkit_views%': '<(toolkit_views)', 98 'toolkit_views%': '<(toolkit_views)',
107 'use_aura%': '<(use_aura)', 99 'use_aura%': '<(use_aura)',
108 'use_ash%': '<(use_ash)', 100 'use_ash%': '<(use_ash)',
109 'use_openssl%': '<(use_openssl)', 101 'use_openssl%': '<(use_openssl)',
110 'use_virtual_keyboard%': '<(use_virtual_keyboard)', 102 'use_virtual_keyboard%': '<(use_virtual_keyboard)',
111 'enable_viewport%': '<(enable_viewport)', 103 'enable_viewport%': '<(enable_viewport)',
112 'use_skia_on_mac%': '<(use_skia_on_mac)',
113 104
114 # We used to provide a variable for changing how libraries were built. 105 # We used to provide a variable for changing how libraries were built.
115 # This variable remains until we can clean up all the users. 106 # This variable remains until we can clean up all the users.
116 # This needs to be one nested variables dict in so that dependent 107 # This needs to be one nested variables dict in so that dependent
117 # gyp files can make use of it in their outer variables. (Yikes!) 108 # gyp files can make use of it in their outer variables. (Yikes!)
118 # http://code.google.com/p/chromium/issues/detail?id=83308 109 # http://code.google.com/p/chromium/issues/detail?id=83308
119 'library%': 'static_library', 110 'library%': 'static_library',
120 111
121 # Override branding to select the desired branding flavor. 112 # Override branding to select the desired branding flavor.
122 'branding%': 'Chromium', 113 'branding%': 'Chromium',
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 # always calls tools/isolate/isolate.py. See the script's --help for more 287 # always calls tools/isolate/isolate.py. See the script's --help for more
297 # information and the valid --mode values. Meant to be overriden with 288 # information and the valid --mode values. Meant to be overriden with
298 # GYP_DEFINES. 289 # GYP_DEFINES.
299 'tests_run%': 'check', 290 'tests_run%': 'check',
300 291
301 'conditions': [ 292 'conditions': [
302 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of 293 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of
303 # the 'conditions' clause. Initial attempts resulted in chromium and 294 # the 'conditions' clause. Initial attempts resulted in chromium and
304 # webkit disagreeing on its setting. 295 # webkit disagreeing on its setting.
305 ['OS=="mac"', { 296 ['OS=="mac"', {
306 'use_skia%': '<(use_skia_on_mac)', 297 'use_skia%': 1,
_cary 2012/03/14 15:59:25 Does the TODO above mean also that use_skia can't
epoger 2012/03/14 16:01:35 Yup, for now at least. My intent is to kill use_s
307 # Mac uses clang by default, so turn on the plugin as well. 298 # Mac uses clang by default, so turn on the plugin as well.
308 'clang_use_chrome_plugins%': 1, 299 'clang_use_chrome_plugins%': 1,
309 }, { 300 }, {
310 'use_skia%': 1, 301 'use_skia%': 1,
311 }], 302 }],
312 303
313 # A flag for POSIX platforms 304 # A flag for POSIX platforms
314 ['OS=="win"', { 305 ['OS=="win"', {
315 'os_posix%': 0, 306 'os_posix%': 0,
316 }, { 307 }, {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 'use_skia%': '<(use_skia)', 447 'use_skia%': '<(use_skia)',
457 'use_x11%': '<(use_x11)', 448 'use_x11%': '<(use_x11)',
458 'use_gnome_keyring%': '<(use_gnome_keyring)', 449 'use_gnome_keyring%': '<(use_gnome_keyring)',
459 'linux_fpic%': '<(linux_fpic)', 450 'linux_fpic%': '<(linux_fpic)',
460 'enable_flapper_hacks%': '<(enable_flapper_hacks)', 451 'enable_flapper_hacks%': '<(enable_flapper_hacks)',
461 'enable_pepper_threading%': '<(enable_pepper_threading)', 452 'enable_pepper_threading%': '<(enable_pepper_threading)',
462 'chromeos%': '<(chromeos)', 453 'chromeos%': '<(chromeos)',
463 'chromeos_gtk%': '<(chromeos_gtk)', 454 'chromeos_gtk%': '<(chromeos_gtk)',
464 'use_virtual_keyboard%': '<(use_virtual_keyboard)', 455 'use_virtual_keyboard%': '<(use_virtual_keyboard)',
465 'enable_viewport%': '<(enable_viewport)', 456 'enable_viewport%': '<(enable_viewport)',
466 'use_skia_on_mac%': '<(use_skia_on_mac)',
467 'use_xi2_mt%':'<(use_xi2_mt)', 457 'use_xi2_mt%':'<(use_xi2_mt)',
468 'file_manager_extension%': '<(file_manager_extension)', 458 'file_manager_extension%': '<(file_manager_extension)',
469 'webui_task_manager%': '<(webui_task_manager)', 459 'webui_task_manager%': '<(webui_task_manager)',
470 'inside_chromium_build%': '<(inside_chromium_build)', 460 'inside_chromium_build%': '<(inside_chromium_build)',
471 'fastbuild%': '<(fastbuild)', 461 'fastbuild%': '<(fastbuild)',
472 'dcheck_always_on%': '<(dcheck_always_on)', 462 'dcheck_always_on%': '<(dcheck_always_on)',
473 'python_ver%': '<(python_ver)', 463 'python_ver%': '<(python_ver)',
474 'armv7%': '<(armv7)', 464 'armv7%': '<(armv7)',
475 'arm_neon%': '<(arm_neon)', 465 'arm_neon%': '<(arm_neon)',
476 'sysroot%': '<(sysroot)', 466 'sysroot%': '<(sysroot)',
(...skipping 2427 matching lines...) Expand 10 before | Expand all | Expand 10 after
2904 # settings in target dicts. SYMROOT is a special case, because many other 2894 # settings in target dicts. SYMROOT is a special case, because many other
2905 # Xcode variables depend on it, including variables such as 2895 # Xcode variables depend on it, including variables such as
2906 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2896 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2907 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2897 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2908 # files to appear (when present) in the UI as actual files and not red 2898 # files to appear (when present) in the UI as actual files and not red
2909 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2899 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2910 # and therefore SYMROOT, needs to be set at the project level. 2900 # and therefore SYMROOT, needs to be set at the project level.
2911 'SYMROOT': '<(DEPTH)/xcodebuild', 2901 'SYMROOT': '<(DEPTH)/xcodebuild',
2912 }, 2902 },
2913 } 2903 }
OLDNEW
« no previous file with comments | « no previous file | build/use_skia_on_mac.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698