Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: build/common.gypi

Issue 16737007: Make it possible to switch between two different versions of ANGLE. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/all.gyp ('k') | content/DEPS » ('j') | content/DEPS » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 ['android_webview_build==1', { 1693 ['android_webview_build==1', {
1694 # The WebView build gets its cpu-specific flags from the Android build s ystem. 1694 # The WebView build gets its cpu-specific flags from the Android build s ystem.
1695 'arm_arch%': '', 1695 'arm_arch%': '',
1696 'arm_tune%': '', 1696 'arm_tune%': '',
1697 'arm_fpu%': '', 1697 'arm_fpu%': '',
1698 'arm_float_abi%': '', 1698 'arm_float_abi%': '',
1699 'arm_thumb%': 0, 1699 'arm_thumb%': 0,
1700 }], 1700 }],
1701 ], 1701 ],
1702 1702
1703
1704 # The path to the ANGLE library. TODO(apatrick): This is to help
1705 # transition to a new version of ANGLE at a new location. After the
1706 # transition is complete, this can be removed.
1707 'angle_path': '<(DEPTH)/third_party/angle',
1708
1703 # List of default apps to install in new profiles. The first list contains 1709 # List of default apps to install in new profiles. The first list contains
1704 # the source files as found in svn. The second list, used only for linux, 1710 # the source files as found in svn. The second list, used only for linux,
1705 # contains the destination location for each of the files. When a crx 1711 # contains the destination location for each of the files. When a crx
1706 # is added or removed from the list, the chrome/browser/resources/ 1712 # is added or removed from the list, the chrome/browser/resources/
1707 # default_apps/external_extensions.json file must also be updated. 1713 # default_apps/external_extensions.json file must also be updated.
1708 'default_apps_list': [ 1714 'default_apps_list': [
1709 'browser/resources/default_apps/external_extensions.json', 1715 'browser/resources/default_apps/external_extensions.json',
1710 'browser/resources/default_apps/gmail.crx', 1716 'browser/resources/default_apps/gmail.crx',
1711 'browser/resources/default_apps/search.crx', 1717 'browser/resources/default_apps/search.crx',
1712 'browser/resources/default_apps/youtube.crx', 1718 'browser/resources/default_apps/youtube.crx',
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l 1810 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l
1805 'mac_release_optimization%': 's', # Use -Os unless overridden 1811 'mac_release_optimization%': 's', # Use -Os unless overridden
1806 'mac_debug_optimization%': '0', # Use -O0 unless overridden 1812 'mac_debug_optimization%': '0', # Use -O0 unless overridden
1807 }, { 1813 }, {
1808 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l 1814 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l
1809 'mac_release_optimization%': '3', # Use -O3 unless overridden 1815 'mac_release_optimization%': '3', # Use -O3 unless overridden
1810 'mac_debug_optimization%': '0', # Use -O0 unless overridden 1816 'mac_debug_optimization%': '0', # Use -O0 unless overridden
1811 }], 1817 }],
1812 ], 1818 ],
1813 }, 1819 },
1820 'defines': [
1821 # Set this to use the new DX11 version of ANGLE.
1822 # TODO(apatrick): Remove this when the transition is complete.
1823 #'ANGLE_DX11',
1824 ],
1814 'conditions': [ 1825 'conditions': [
1815 ['(OS=="mac" or OS=="ios") and asan==1', { 1826 ['(OS=="mac" or OS=="ios") and asan==1', {
1816 'dependencies': [ 1827 'dependencies': [
1817 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', 1828 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime',
1818 ], 1829 ],
1819 }], 1830 }],
1820 ['OS=="linux" and linux_use_tcmalloc==1 and clang_type_profiler==1', { 1831 ['OS=="linux" and linux_use_tcmalloc==1 and clang_type_profiler==1', {
1821 'cflags_cc!': ['-fno-rtti'], 1832 'cflags_cc!': ['-fno-rtti'],
1822 'cflags_cc+': [ 1833 'cflags_cc+': [
1823 '-frtti', 1834 '-frtti',
(...skipping 2698 matching lines...) Expand 10 before | Expand all | Expand 10 after
4522 # settings in target dicts. SYMROOT is a special case, because many other 4533 # settings in target dicts. SYMROOT is a special case, because many other
4523 # Xcode variables depend on it, including variables such as 4534 # Xcode variables depend on it, including variables such as
4524 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4535 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4525 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4536 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4526 # files to appear (when present) in the UI as actual files and not red 4537 # files to appear (when present) in the UI as actual files and not red
4527 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4538 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4528 # and therefore SYMROOT, needs to be set at the project level. 4539 # and therefore SYMROOT, needs to be set at the project level.
4529 'SYMROOT': '<(DEPTH)/xcodebuild', 4540 'SYMROOT': '<(DEPTH)/xcodebuild',
4530 }, 4541 },
4531 } 4542 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | content/DEPS » ('j') | content/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698