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 # 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. |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 # provide a build speedup of 20-25%. There are a couple of | 257 # provide a build speedup of 20-25%. There are a couple of |
258 # small workarounds you may need to use when using VS 2008 (but | 258 # small workarounds you may need to use when using VS 2008 (but |
259 # not 2010), see | 259 # not 2010), see |
260 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders | 260 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders |
261 # for details. | 261 # for details. |
262 'chromium_win_pch%': 0, | 262 'chromium_win_pch%': 0, |
263 | 263 |
264 # Enable plug-in installation by default. | 264 # Enable plug-in installation by default. |
265 'enable_plugin_installation%': 1, | 265 'enable_plugin_installation%': 1, |
266 | 266 |
267 # Use the WebKit compositor for ui. | |
268 'use_webkit_compositor%': 1, | |
269 | |
270 # Specifies whether to use canvas_skia_skia.cc in place of platform | 267 # Specifies whether to use canvas_skia_skia.cc in place of platform |
271 # specific implementations of CanvasSkia. Affects text drawing in the | 268 # specific implementations of CanvasSkia. Affects text drawing in the |
272 # Chrome UI. | 269 # Chrome UI. |
273 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 270 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
274 # http://crbug.com/105550 | 271 # http://crbug.com/105550 |
275 'use_canvas_skia_skia%': 0, | 272 'use_canvas_skia_skia%': 0, |
276 | 273 |
277 'conditions': [ | 274 'conditions': [ |
278 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of | 275 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of |
279 # the 'conditions' clause. Initial attempts resulted in chromium and | 276 # the 'conditions' clause. Initial attempts resulted in chromium and |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 | 394 |
398 # Copy conditionally-set variables out one scope. | 395 # Copy conditionally-set variables out one scope. |
399 'branding%': '<(branding)', | 396 'branding%': '<(branding)', |
400 'buildtype%': '<(buildtype)', | 397 'buildtype%': '<(buildtype)', |
401 'target_arch%': '<(target_arch)', | 398 'target_arch%': '<(target_arch)', |
402 'host_arch%': '<(host_arch)', | 399 'host_arch%': '<(host_arch)', |
403 'library%': 'static_library', | 400 'library%': 'static_library', |
404 'toolkit_views%': '<(toolkit_views)', | 401 'toolkit_views%': '<(toolkit_views)', |
405 'views_compositor%': '<(views_compositor)', | 402 'views_compositor%': '<(views_compositor)', |
406 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 403 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
407 'use_webkit_compositor%': '<(use_webkit_compositor)', | |
408 'use_aura%': '<(use_aura)', | 404 'use_aura%': '<(use_aura)', |
409 'use_ash%': '<(use_ash)', | 405 'use_ash%': '<(use_ash)', |
410 'use_openssl%': '<(use_openssl)', | 406 'use_openssl%': '<(use_openssl)', |
411 'use_nss%': '<(use_nss)', | 407 'use_nss%': '<(use_nss)', |
412 'os_bsd%': '<(os_bsd)', | 408 'os_bsd%': '<(os_bsd)', |
413 'os_posix%': '<(os_posix)', | 409 'os_posix%': '<(os_posix)', |
414 'use_glib%': '<(use_glib)', | 410 'use_glib%': '<(use_glib)', |
415 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 411 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
416 'use_skia%': '<(use_skia)', | 412 'use_skia%': '<(use_skia)', |
417 'use_x11%': '<(use_x11)', | 413 'use_x11%': '<(use_x11)', |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 }], | 1039 }], |
1044 ['toolkit_views==1', { | 1040 ['toolkit_views==1', { |
1045 'defines': ['TOOLKIT_VIEWS=1'], | 1041 'defines': ['TOOLKIT_VIEWS=1'], |
1046 }], | 1042 }], |
1047 ['views_compositor==1', { | 1043 ['views_compositor==1', { |
1048 'defines': ['VIEWS_COMPOSITOR=1'], | 1044 'defines': ['VIEWS_COMPOSITOR=1'], |
1049 }], | 1045 }], |
1050 ['ui_compositor_image_transport==1', { | 1046 ['ui_compositor_image_transport==1', { |
1051 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], | 1047 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], |
1052 }], | 1048 }], |
1053 ['use_webkit_compositor==1', { | |
1054 'defines': ['USE_WEBKIT_COMPOSITOR=1'], | |
1055 }], | |
1056 ['use_aura==1', { | 1049 ['use_aura==1', { |
1057 'defines': ['USE_AURA=1'], | 1050 'defines': ['USE_AURA=1'], |
1058 }], | 1051 }], |
1059 ['use_ash==1', { | 1052 ['use_ash==1', { |
1060 'defines': ['USE_ASH=1'], | 1053 'defines': ['USE_ASH=1'], |
1061 }], | 1054 }], |
1062 ['use_nss==1', { | 1055 ['use_nss==1', { |
1063 'defines': ['USE_NSS=1'], | 1056 'defines': ['USE_NSS=1'], |
1064 }], | 1057 }], |
1065 ['toolkit_uses_gtk==1', { | 1058 ['toolkit_uses_gtk==1', { |
(...skipping 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2748 # settings in target dicts. SYMROOT is a special case, because many other | 2741 # settings in target dicts. SYMROOT is a special case, because many other |
2749 # Xcode variables depend on it, including variables such as | 2742 # Xcode variables depend on it, including variables such as |
2750 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2743 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2751 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2744 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2752 # files to appear (when present) in the UI as actual files and not red | 2745 # files to appear (when present) in the UI as actual files and not red |
2753 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2746 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2754 # and therefore SYMROOT, needs to be set at the project level. | 2747 # and therefore SYMROOT, needs to be set at the project level. |
2755 'SYMROOT': '<(DEPTH)/xcodebuild', | 2748 'SYMROOT': '<(DEPTH)/xcodebuild', |
2756 }, | 2749 }, |
2757 } | 2750 } |
OLD | NEW |