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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 # provide a build speedup of 20-25%. There are a couple of | 247 # provide a build speedup of 20-25%. There are a couple of |
248 # small workarounds you may need to use when using VS 2008 (but | 248 # small workarounds you may need to use when using VS 2008 (but |
249 # not 2010), see | 249 # not 2010), see |
250 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders | 250 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders |
251 # for details. | 251 # for details. |
252 'chromium_win_pch%': 0, | 252 'chromium_win_pch%': 0, |
253 | 253 |
254 # Enable plug-in installation by default. | 254 # Enable plug-in installation by default. |
255 'enable_plugin_installation%': 1, | 255 'enable_plugin_installation%': 1, |
256 | 256 |
257 # Use the WebKit compositor for ui. | |
258 'use_webkit_compositor%': 1, | |
259 | |
260 # Specifies whether to use canvas_skia_skia.cc in place of platform | 257 # Specifies whether to use canvas_skia_skia.cc in place of platform |
261 # specific implementations of CanvasSkia. Affects text drawing in the | 258 # specific implementations of CanvasSkia. Affects text drawing in the |
262 # Chrome UI. | 259 # Chrome UI. |
263 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 260 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
264 # http://crbug.com/105550 | 261 # http://crbug.com/105550 |
265 'use_canvas_skia_skia%': 0, | 262 'use_canvas_skia_skia%': 0, |
266 | 263 |
267 'conditions': [ | 264 'conditions': [ |
268 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of | 265 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of |
269 # the 'conditions' clause. Initial attempts resulted in chromium and | 266 # the 'conditions' clause. Initial attempts resulted in chromium and |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 }, | 383 }, |
387 | 384 |
388 # Copy conditionally-set variables out one scope. | 385 # Copy conditionally-set variables out one scope. |
389 'branding%': '<(branding)', | 386 'branding%': '<(branding)', |
390 'buildtype%': '<(buildtype)', | 387 'buildtype%': '<(buildtype)', |
391 'target_arch%': '<(target_arch)', | 388 'target_arch%': '<(target_arch)', |
392 'host_arch%': '<(host_arch)', | 389 'host_arch%': '<(host_arch)', |
393 'library%': 'static_library', | 390 'library%': 'static_library', |
394 'toolkit_views%': '<(toolkit_views)', | 391 'toolkit_views%': '<(toolkit_views)', |
395 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 392 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
396 'use_webkit_compositor%': '<(use_webkit_compositor)', | |
397 'use_aura%': '<(use_aura)', | 393 'use_aura%': '<(use_aura)', |
398 'use_ash%': '<(use_ash)', | 394 'use_ash%': '<(use_ash)', |
399 'use_openssl%': '<(use_openssl)', | 395 'use_openssl%': '<(use_openssl)', |
400 'use_nss%': '<(use_nss)', | 396 'use_nss%': '<(use_nss)', |
401 'os_bsd%': '<(os_bsd)', | 397 'os_bsd%': '<(os_bsd)', |
402 'os_posix%': '<(os_posix)', | 398 'os_posix%': '<(os_posix)', |
403 'use_glib%': '<(use_glib)', | 399 'use_glib%': '<(use_glib)', |
404 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 400 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
405 'use_skia%': '<(use_skia)', | 401 'use_skia%': '<(use_skia)', |
406 'use_x11%': '<(use_x11)', | 402 'use_x11%': '<(use_x11)', |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 # content. We can remove this when we fix glue. | 1025 # content. We can remove this when we fix glue. |
1030 # See http://code.google.com/p/chromium/issues/detail?id=98755 . | 1026 # See http://code.google.com/p/chromium/issues/detail?id=98755 . |
1031 'defines': ['COMPILE_CONTENT_STATICALLY'], | 1027 'defines': ['COMPILE_CONTENT_STATICALLY'], |
1032 }], | 1028 }], |
1033 ['toolkit_views==1', { | 1029 ['toolkit_views==1', { |
1034 'defines': ['TOOLKIT_VIEWS=1'], | 1030 'defines': ['TOOLKIT_VIEWS=1'], |
1035 }], | 1031 }], |
1036 ['ui_compositor_image_transport==1', { | 1032 ['ui_compositor_image_transport==1', { |
1037 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], | 1033 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], |
1038 }], | 1034 }], |
1039 ['use_webkit_compositor==1', { | |
1040 'defines': ['USE_WEBKIT_COMPOSITOR=1'], | |
1041 }], | |
1042 ['use_aura==1', { | 1035 ['use_aura==1', { |
1043 'defines': ['USE_AURA=1'], | 1036 'defines': ['USE_AURA=1'], |
1044 }], | 1037 }], |
1045 ['use_ash==1', { | 1038 ['use_ash==1', { |
1046 'defines': ['USE_ASH=1'], | 1039 'defines': ['USE_ASH=1'], |
1047 }], | 1040 }], |
1048 ['use_nss==1', { | 1041 ['use_nss==1', { |
1049 'defines': ['USE_NSS=1'], | 1042 'defines': ['USE_NSS=1'], |
1050 }], | 1043 }], |
1051 ['toolkit_uses_gtk==1', { | 1044 ['toolkit_uses_gtk==1', { |
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2752 # settings in target dicts. SYMROOT is a special case, because many other | 2745 # settings in target dicts. SYMROOT is a special case, because many other |
2753 # Xcode variables depend on it, including variables such as | 2746 # Xcode variables depend on it, including variables such as |
2754 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2747 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2755 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2748 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2756 # files to appear (when present) in the UI as actual files and not red | 2749 # files to appear (when present) in the UI as actual files and not red |
2757 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2750 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2758 # and therefore SYMROOT, needs to be set at the project level. | 2751 # and therefore SYMROOT, needs to be set at the project level. |
2759 'SYMROOT': '<(DEPTH)/xcodebuild', | 2752 'SYMROOT': '<(DEPTH)/xcodebuild', |
2760 }, | 2753 }, |
2761 } | 2754 } |
OLD | NEW |