OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 'use_openssl%': 0, | 44 'use_openssl%': 0, |
45 }, | 45 }, |
46 # Copy conditionally-set variables out one scope. | 46 # Copy conditionally-set variables out one scope. |
47 'chromeos%': '<(chromeos)', | 47 'chromeos%': '<(chromeos)', |
48 'use_only_pure_views%': '<(use_only_pure_views)', | 48 'use_only_pure_views%': '<(use_only_pure_views)', |
49 'touchui%': '<(touchui)', | 49 'touchui%': '<(touchui)', |
50 'views_compositor%': '<(views_compositor)', | 50 'views_compositor%': '<(views_compositor)', |
51 'use_aura%': '<(use_aura)', | 51 'use_aura%': '<(use_aura)', |
52 'use_openssl%': '<(use_openssl)', | 52 'use_openssl%': '<(use_openssl)', |
53 | 53 |
54 # WebKit compositor for ui | |
55 'use_webkit_compositor%': 0, | |
56 | |
57 # Compute the architecture that we're building on. | 54 # Compute the architecture that we're building on. |
58 'conditions': [ | 55 'conditions': [ |
59 [ 'OS=="win" or OS=="mac"', { | 56 [ 'OS=="win" or OS=="mac"', { |
60 'host_arch%': 'ia32', | 57 'host_arch%': 'ia32', |
61 }, { | 58 }, { |
62 # This handles the Unix platforms for which there is some support. | 59 # This handles the Unix platforms for which there is some support. |
63 # Anything else gets passed through, which probably won't work very | 60 # Anything else gets passed through, which probably won't work very |
64 # well; such hosts should pass an explicit target_arch to gyp. | 61 # well; such hosts should pass an explicit target_arch to gyp. |
65 'host_arch%': | 62 'host_arch%': |
66 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a
rm.*/arm/;s/i86pc/ia32/")', | 63 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a
rm.*/arm/;s/i86pc/ia32/")', |
(...skipping 30 matching lines...) Expand all Loading... |
97 }, | 94 }, |
98 | 95 |
99 # Copy conditionally-set variables out one scope. | 96 # Copy conditionally-set variables out one scope. |
100 'chromeos%': '<(chromeos)', | 97 'chromeos%': '<(chromeos)', |
101 'touchui%': '<(touchui)', | 98 'touchui%': '<(touchui)', |
102 'use_virtual_keyboard%': '<(use_virtual_keyboard)', | 99 'use_virtual_keyboard%': '<(use_virtual_keyboard)', |
103 'host_arch%': '<(host_arch)', | 100 'host_arch%': '<(host_arch)', |
104 'toolkit_views%': '<(toolkit_views)', | 101 'toolkit_views%': '<(toolkit_views)', |
105 'use_only_pure_views%': '<(use_only_pure_views)', | 102 'use_only_pure_views%': '<(use_only_pure_views)', |
106 'views_compositor%': '<(views_compositor)', | 103 'views_compositor%': '<(views_compositor)', |
107 'use_webkit_compositor%': '<(use_webkit_compositor)', | |
108 'use_aura%': '<(use_aura)', | 104 'use_aura%': '<(use_aura)', |
109 'use_openssl%': '<(use_openssl)', | 105 'use_openssl%': '<(use_openssl)', |
110 | 106 |
111 # We used to provide a variable for changing how libraries were built. | 107 # We used to provide a variable for changing how libraries were built. |
112 # This variable remains until we can clean up all the users. | 108 # This variable remains until we can clean up all the users. |
113 # This needs to be one nested variables dict in so that dependent | 109 # This needs to be one nested variables dict in so that dependent |
114 # gyp files can make use of it in their outer variables. (Yikes!) | 110 # gyp files can make use of it in their outer variables. (Yikes!) |
115 # http://code.google.com/p/chromium/issues/detail?id=83308 | 111 # http://code.google.com/p/chromium/issues/detail?id=83308 |
116 'library%': 'static_library', | 112 'library%': 'static_library', |
117 | 113 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 'webui_task_manager%': 1, | 324 'webui_task_manager%': 1, |
329 }], | 325 }], |
330 | 326 |
331 ['OS=="android"', { | 327 ['OS=="android"', { |
332 'proprietary_codecs%': 1, | 328 'proprietary_codecs%': 1, |
333 'enable_webrtc%': 0, | 329 'enable_webrtc%': 0, |
334 }], | 330 }], |
335 | 331 |
336 # Use GPU accelerated cross process image transport by default | 332 # Use GPU accelerated cross process image transport by default |
337 # on TOUCH_UI and linux builds with the Aura window manager | 333 # on TOUCH_UI and linux builds with the Aura window manager |
338 ['views_compositor==1 and OS=="linux" and use_webkit_compositor!=1', { | 334 ['views_compositor==1 and OS=="linux"', { |
339 'ui_compositor_image_transport%': 1, | 335 'ui_compositor_image_transport%': 1, |
340 }, { | 336 }, { |
341 'ui_compositor_image_transport%': 0, | 337 'ui_compositor_image_transport%': 0, |
342 }], | 338 }], |
343 ], | 339 ], |
344 }, | 340 }, |
345 | 341 |
346 # Copy conditionally-set variables out one scope. | 342 # Copy conditionally-set variables out one scope. |
347 'branding%': '<(branding)', | 343 'branding%': '<(branding)', |
348 'buildtype%': '<(buildtype)', | 344 'buildtype%': '<(buildtype)', |
349 'target_arch%': '<(target_arch)', | 345 'target_arch%': '<(target_arch)', |
350 'host_arch%': '<(host_arch)', | 346 'host_arch%': '<(host_arch)', |
351 'library%': 'static_library', | 347 'library%': 'static_library', |
352 'toolkit_views%': '<(toolkit_views)', | 348 'toolkit_views%': '<(toolkit_views)', |
353 'use_only_pure_views%': '<(use_only_pure_views)', | 349 'use_only_pure_views%': '<(use_only_pure_views)', |
354 'views_compositor%': '<(views_compositor)', | 350 'views_compositor%': '<(views_compositor)', |
355 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 351 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
356 'use_webkit_compositor%': '<(use_webkit_compositor)', | |
357 'use_aura%': '<(use_aura)', | 352 'use_aura%': '<(use_aura)', |
358 'use_openssl%': '<(use_openssl)', | 353 'use_openssl%': '<(use_openssl)', |
359 'use_nss%': '<(use_nss)', | 354 'use_nss%': '<(use_nss)', |
360 'os_posix%': '<(os_posix)', | 355 'os_posix%': '<(os_posix)', |
361 'use_glib%': '<(use_glib)', | 356 'use_glib%': '<(use_glib)', |
362 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 357 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
363 'use_skia%': '<(use_skia)', | 358 'use_skia%': '<(use_skia)', |
364 'use_x11%': '<(use_x11)', | 359 'use_x11%': '<(use_x11)', |
365 'use_gnome_keyring%': '<(use_gnome_keyring)', | 360 'use_gnome_keyring%': '<(use_gnome_keyring)', |
366 'linux_fpic%': '<(linux_fpic)', | 361 'linux_fpic%': '<(linux_fpic)', |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 }], | 947 }], |
953 ['use_only_pure_views==1', { | 948 ['use_only_pure_views==1', { |
954 'defines': ['USE_ONLY_PURE_VIEWS=1'], | 949 'defines': ['USE_ONLY_PURE_VIEWS=1'], |
955 }], | 950 }], |
956 ['views_compositor==1', { | 951 ['views_compositor==1', { |
957 'defines': ['VIEWS_COMPOSITOR=1'], | 952 'defines': ['VIEWS_COMPOSITOR=1'], |
958 }], | 953 }], |
959 ['ui_compositor_image_transport==1', { | 954 ['ui_compositor_image_transport==1', { |
960 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], | 955 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], |
961 }], | 956 }], |
962 ['use_webkit_compositor==1', { | |
963 'defines': ['USE_WEBKIT_COMPOSITOR=1'], | |
964 }], | |
965 ['use_aura==1', { | 957 ['use_aura==1', { |
966 'defines': ['USE_AURA=1'], | 958 'defines': ['USE_AURA=1'], |
967 }], | 959 }], |
968 ['use_nss==1', { | 960 ['use_nss==1', { |
969 'defines': ['USE_NSS=1'], | 961 'defines': ['USE_NSS=1'], |
970 }], | 962 }], |
971 ['toolkit_uses_gtk==1', { | 963 ['toolkit_uses_gtk==1', { |
972 'defines': ['TOOLKIT_USES_GTK=1'], | 964 'defines': ['TOOLKIT_USES_GTK=1'], |
973 }], | 965 }], |
974 ['chromeos==1', { | 966 ['chromeos==1', { |
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2575 # settings in target dicts. SYMROOT is a special case, because many other | 2567 # settings in target dicts. SYMROOT is a special case, because many other |
2576 # Xcode variables depend on it, including variables such as | 2568 # Xcode variables depend on it, including variables such as |
2577 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2569 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2578 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2570 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2579 # files to appear (when present) in the UI as actual files and not red | 2571 # files to appear (when present) in the UI as actual files and not red |
2580 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2572 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2581 # and therefore SYMROOT, needs to be set at the project level. | 2573 # and therefore SYMROOT, needs to be set at the project level. |
2582 'SYMROOT': '<(DEPTH)/xcodebuild', | 2574 'SYMROOT': '<(DEPTH)/xcodebuild', |
2583 }, | 2575 }, |
2584 } | 2576 } |
OLD | NEW |