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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 # Set to 1 to enable fast builds. It disables debug info for fastest | 188 # Set to 1 to enable fast builds. It disables debug info for fastest |
189 # compilation. | 189 # compilation. |
190 'fastbuild%': 0, | 190 'fastbuild%': 0, |
191 | 191 |
192 # Set to 1 to enable dcheck in release without having to use the flag. | 192 # Set to 1 to enable dcheck in release without having to use the flag. |
193 'dcheck_always_on%': 0, | 193 'dcheck_always_on%': 0, |
194 | 194 |
195 # Disable file manager component extension by default. | 195 # Disable file manager component extension by default. |
196 'file_manager_extension%': 0, | 196 'file_manager_extension%': 0, |
197 | 197 |
| 198 # Disable image loader component extension by default. |
| 199 'image_loader_extension%': 0, |
| 200 |
198 # Python version. | 201 # Python version. |
199 'python_ver%': '2.6', | 202 'python_ver%': '2.6', |
200 | 203 |
201 # Set ARM-v7 compilation flags | 204 # Set ARM-v7 compilation flags |
202 'armv7%': 0, | 205 'armv7%': 0, |
203 | 206 |
204 # Set Neon compilation flags (only meaningful if armv7==1). | 207 # Set Neon compilation flags (only meaningful if armv7==1). |
205 'arm_neon%': 1, | 208 'arm_neon%': 1, |
206 | 209 |
207 # The system root for cross-compiles. Default: none. | 210 # The system root for cross-compiles. Default: none. |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 'use_gnome_keyring%': 0, | 465 'use_gnome_keyring%': 0, |
463 }, { | 466 }, { |
464 'use_gnome_keyring%': 1, | 467 'use_gnome_keyring%': 1, |
465 }], | 468 }], |
466 | 469 |
467 ['toolkit_uses_gtk==1 or OS=="mac" or OS=="ios"', { | 470 ['toolkit_uses_gtk==1 or OS=="mac" or OS=="ios"', { |
468 # GTK+, Mac and iOS want Title Case strings | 471 # GTK+, Mac and iOS want Title Case strings |
469 'use_titlecase_in_grd_files%': 1, | 472 'use_titlecase_in_grd_files%': 1, |
470 }], | 473 }], |
471 | 474 |
472 # Enable file manager extension on Chrome OS. | 475 # Enable file manager and image loader extensions on Chrome OS. |
473 ['chromeos==1', { | 476 ['chromeos==1', { |
474 'file_manager_extension%': 1, | 477 'file_manager_extension%': 1, |
| 478 'image_loader_extension%': 1, |
475 }, { | 479 }, { |
476 'file_manager_extension%': 0, | 480 'file_manager_extension%': 0, |
| 481 'image_loader_extension%': 0, |
477 }], | 482 }], |
478 | 483 |
479 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | 484 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
480 'enable_one_click_signin%': 1, | 485 'enable_one_click_signin%': 1, |
481 }], | 486 }], |
482 | 487 |
483 ['OS=="android"', { | 488 ['OS=="android"', { |
484 'enable_automation%': 0, | 489 'enable_automation%': 0, |
485 'enable_extensions%': 0, | 490 'enable_extensions%': 0, |
486 'enable_google_now%': 0, | 491 'enable_google_now%': 0, |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 'use_x11%': '<(use_x11)', | 677 'use_x11%': '<(use_x11)', |
673 'use_gnome_keyring%': '<(use_gnome_keyring)', | 678 'use_gnome_keyring%': '<(use_gnome_keyring)', |
674 'linux_fpic%': '<(linux_fpic)', | 679 'linux_fpic%': '<(linux_fpic)', |
675 'enable_pepper_threading%': '<(enable_pepper_threading)', | 680 'enable_pepper_threading%': '<(enable_pepper_threading)', |
676 'chromeos%': '<(chromeos)', | 681 'chromeos%': '<(chromeos)', |
677 'enable_viewport%': '<(enable_viewport)', | 682 'enable_viewport%': '<(enable_viewport)', |
678 'enable_hidpi%': '<(enable_hidpi)', | 683 'enable_hidpi%': '<(enable_hidpi)', |
679 'enable_touch_ui%': '<(enable_touch_ui)', | 684 'enable_touch_ui%': '<(enable_touch_ui)', |
680 'use_xi2_mt%':'<(use_xi2_mt)', | 685 'use_xi2_mt%':'<(use_xi2_mt)', |
681 'file_manager_extension%': '<(file_manager_extension)', | 686 'file_manager_extension%': '<(file_manager_extension)', |
| 687 'image_loader_extension%': '<(image_loader_extension)', |
682 'inside_chromium_build%': '<(inside_chromium_build)', | 688 'inside_chromium_build%': '<(inside_chromium_build)', |
683 'fastbuild%': '<(fastbuild)', | 689 'fastbuild%': '<(fastbuild)', |
684 'dcheck_always_on%': '<(dcheck_always_on)', | 690 'dcheck_always_on%': '<(dcheck_always_on)', |
685 'python_ver%': '<(python_ver)', | 691 'python_ver%': '<(python_ver)', |
686 'armv7%': '<(armv7)', | 692 'armv7%': '<(armv7)', |
687 'arm_neon%': '<(arm_neon)', | 693 'arm_neon%': '<(arm_neon)', |
688 'sysroot%': '<(sysroot)', | 694 'sysroot%': '<(sysroot)', |
689 'system_libdir%': '<(system_libdir)', | 695 'system_libdir%': '<(system_libdir)', |
690 'component%': '<(component)', | 696 'component%': '<(component)', |
691 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 697 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1373 }], | 1379 }], |
1374 ['use_ash==1', { | 1380 ['use_ash==1', { |
1375 'grit_defines': ['-D', 'use_ash'], | 1381 'grit_defines': ['-D', 'use_ash'], |
1376 }], | 1382 }], |
1377 ['use_nss==1', { | 1383 ['use_nss==1', { |
1378 'grit_defines': ['-D', 'use_nss'], | 1384 'grit_defines': ['-D', 'use_nss'], |
1379 }], | 1385 }], |
1380 ['file_manager_extension==1', { | 1386 ['file_manager_extension==1', { |
1381 'grit_defines': ['-D', 'file_manager_extension'], | 1387 'grit_defines': ['-D', 'file_manager_extension'], |
1382 }], | 1388 }], |
| 1389 ['image_loader_extension==1', { |
| 1390 'grit_defines': ['-D', 'image_loader_extension'], |
| 1391 }], |
1383 ['remoting==1', { | 1392 ['remoting==1', { |
1384 'grit_defines': ['-D', 'remoting'], | 1393 'grit_defines': ['-D', 'remoting'], |
1385 }], | 1394 }], |
1386 ['use_titlecase_in_grd_files==1', { | 1395 ['use_titlecase_in_grd_files==1', { |
1387 'grit_defines': ['-D', 'use_titlecase'], | 1396 'grit_defines': ['-D', 'use_titlecase'], |
1388 }], | 1397 }], |
1389 ['use_third_party_translations==1', { | 1398 ['use_third_party_translations==1', { |
1390 'grit_defines': ['-D', 'use_third_party_translations'], | 1399 'grit_defines': ['-D', 'use_third_party_translations'], |
1391 'locales': [ | 1400 'locales': [ |
1392 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', | 1401 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1720 }], | 1729 }], |
1721 ['google_tv==1', { | 1730 ['google_tv==1', { |
1722 'defines': ['GOOGLE_TV=1'], | 1731 'defines': ['GOOGLE_TV=1'], |
1723 }], | 1732 }], |
1724 ['use_xi2_mt!=0', { | 1733 ['use_xi2_mt!=0', { |
1725 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], | 1734 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], |
1726 }], | 1735 }], |
1727 ['file_manager_extension==1', { | 1736 ['file_manager_extension==1', { |
1728 'defines': ['FILE_MANAGER_EXTENSION=1'], | 1737 'defines': ['FILE_MANAGER_EXTENSION=1'], |
1729 }], | 1738 }], |
| 1739 ['image_loader_extension==1', { |
| 1740 'defines': ['IMAGE_LOADER_EXTENSION=1'], |
| 1741 }], |
1730 ['profiling==1', { | 1742 ['profiling==1', { |
1731 'defines': ['ENABLE_PROFILING=1'], | 1743 'defines': ['ENABLE_PROFILING=1'], |
1732 }], | 1744 }], |
1733 ['OS=="linux" and glibcxx_debug==1', { | 1745 ['OS=="linux" and glibcxx_debug==1', { |
1734 'defines': ['_GLIBCXX_DEBUG=1',], | 1746 'defines': ['_GLIBCXX_DEBUG=1',], |
1735 'cflags_cc+': ['-g'], | 1747 'cflags_cc+': ['-g'], |
1736 }], | 1748 }], |
1737 ['remoting==1', { | 1749 ['remoting==1', { |
1738 'defines': ['ENABLE_REMOTING=1'], | 1750 'defines': ['ENABLE_REMOTING=1'], |
1739 }], | 1751 }], |
(...skipping 2323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4063 # settings in target dicts. SYMROOT is a special case, because many other | 4075 # settings in target dicts. SYMROOT is a special case, because many other |
4064 # Xcode variables depend on it, including variables such as | 4076 # Xcode variables depend on it, including variables such as |
4065 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4077 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4066 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4078 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4067 # files to appear (when present) in the UI as actual files and not red | 4079 # files to appear (when present) in the UI as actual files and not red |
4068 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4080 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4069 # and therefore SYMROOT, needs to be set at the project level. | 4081 # and therefore SYMROOT, needs to be set at the project level. |
4070 'SYMROOT': '<(DEPTH)/xcodebuild', | 4082 'SYMROOT': '<(DEPTH)/xcodebuild', |
4071 }, | 4083 }, |
4072 } | 4084 } |
OLD | NEW |