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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 | 532 |
533 # Disable shadow stack keeping used by heapcheck to unwind the stacks | 533 # Disable shadow stack keeping used by heapcheck to unwind the stacks |
534 # better. | 534 # better. |
535 'linux_keep_shadow_stacks%': 0, | 535 'linux_keep_shadow_stacks%': 0, |
536 | 536 |
537 # Set to 1 to link against libgnome-keyring instead of using dlopen(). | 537 # Set to 1 to link against libgnome-keyring instead of using dlopen(). |
538 'linux_link_gnome_keyring%': 0, | 538 'linux_link_gnome_keyring%': 0, |
539 # Set to 1 to link against gsettings APIs instead of using dlopen(). | 539 # Set to 1 to link against gsettings APIs instead of using dlopen(). |
540 'linux_link_gsettings%': 0, | 540 'linux_link_gsettings%': 0, |
541 | 541 |
542 # Used to disable Native Client at compile time, for platforms where it | |
543 # isn't supported | |
544 'disable_nacl%': 0, | |
545 | |
546 # Set Thumb compilation flags. | 542 # Set Thumb compilation flags. |
547 'arm_thumb%': 0, | 543 'arm_thumb%': 0, |
548 | 544 |
549 # Set ARM fpu compilation flags (only meaningful if armv7==1 and | 545 # Set ARM fpu compilation flags (only meaningful if armv7==1 and |
550 # arm_neon==0). | 546 # arm_neon==0). |
551 'arm_fpu%': 'vfpv3', | 547 'arm_fpu%': 'vfpv3', |
552 | 548 |
553 # Enable new NPDevice API. | 549 # Enable new NPDevice API. |
554 'enable_new_npdevice_api%': 0, | 550 'enable_new_npdevice_api%': 0, |
555 | 551 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 # If debug_devtools is set to 1, JavaScript files for DevTools are | 597 # If debug_devtools is set to 1, JavaScript files for DevTools are |
602 # stored as is and loaded from disk. Otherwise, a concatenated file | 598 # stored as is and loaded from disk. Otherwise, a concatenated file |
603 # is stored in resources.pak. It is still possible to load JS files | 599 # is stored in resources.pak. It is still possible to load JS files |
604 # from disk by passing --debug-devtools cmdline switch. | 600 # from disk by passing --debug-devtools cmdline switch. |
605 'debug_devtools%': 0, | 601 'debug_devtools%': 0, |
606 | 602 |
607 # Point to ICU directory. | 603 # Point to ICU directory. |
608 'icu_src_dir': '../third_party/icu', | 604 'icu_src_dir': '../third_party/icu', |
609 | 605 |
610 'conditions': [ | 606 'conditions': [ |
| 607 # Used to disable Native Client at compile time, for platforms where it |
| 608 # isn't supported (ARM) |
| 609 ['target_arch=="arm"', { |
| 610 'disable_nacl%': 1, |
| 611 }, { |
| 612 'disable_nacl%': 0, |
| 613 }], |
611 ['os_posix==1 and OS!="mac" and OS!="android"', { | 614 ['os_posix==1 and OS!="mac" and OS!="android"', { |
612 # This will set gcc_version to XY if you are running gcc X.Y.*. | 615 # This will set gcc_version to XY if you are running gcc X.Y.*. |
613 # This is used to tweak build flags for gcc 4.4. | 616 # This is used to tweak build flags for gcc 4.4. |
614 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 617 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
615 # Figure out the python architecture to decide if we build pyauto. | 618 # Figure out the python architecture to decide if we build pyauto. |
616 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', | 619 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', |
617 'conditions': [ | 620 'conditions': [ |
618 ['branding=="Chrome"', { | 621 ['branding=="Chrome"', { |
619 'linux_breakpad%': 1, | 622 'linux_breakpad%': 1, |
620 }], | 623 }], |
(...skipping 1944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2565 # settings in target dicts. SYMROOT is a special case, because many other | 2568 # settings in target dicts. SYMROOT is a special case, because many other |
2566 # Xcode variables depend on it, including variables such as | 2569 # Xcode variables depend on it, including variables such as |
2567 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2570 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2568 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2571 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2569 # files to appear (when present) in the UI as actual files and not red | 2572 # files to appear (when present) in the UI as actual files and not red |
2570 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2573 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2571 # and therefore SYMROOT, needs to be set at the project level. | 2574 # and therefore SYMROOT, needs to be set at the project level. |
2572 'SYMROOT': '<(DEPTH)/xcodebuild', | 2575 'SYMROOT': '<(DEPTH)/xcodebuild', |
2573 }, | 2576 }, |
2574 } | 2577 } |
OLD | NEW |