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

Side by Side Diff: build/common.gypi

Issue 299703016: Gate disabling nacl code on proper gyp flags, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix guard on flags code Created 6 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/build_config.h ('k') | build/filename_rules.gypi » ('j') | no next file with comments »
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 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 # require server-side APIs may fail to work if no keys are 973 # require server-side APIs may fail to work if no keys are
974 # provided. 974 # provided.
975 # 975 #
976 # Note that if you are building an official build or if 976 # Note that if you are building an official build or if
977 # use_official_google_api_keys has been set to 1 (explicitly or 977 # use_official_google_api_keys has been set to 1 (explicitly or
978 # implicitly), these values will be ignored and the official 978 # implicitly), these values will be ignored and the official
979 # keys will be used instead. 979 # keys will be used instead.
980 'google_api_key%': '', 980 'google_api_key%': '',
981 'google_default_client_id%': '', 981 'google_default_client_id%': '',
982 'google_default_client_secret%': '', 982 'google_default_client_secret%': '',
983 # Native Client is enabled by default.
984 'disable_nacl%': '0',
983 }, 985 },
984 986
985 # Copy conditionally-set variables out one scope. 987 # Copy conditionally-set variables out one scope.
986 'branding%': '<(branding)', 988 'branding%': '<(branding)',
987 'buildtype%': '<(buildtype)', 989 'buildtype%': '<(buildtype)',
988 'target_arch%': '<(target_arch)', 990 'target_arch%': '<(target_arch)',
989 'target_subarch%': '<(target_subarch)', 991 'target_subarch%': '<(target_subarch)',
990 'host_arch%': '<(host_arch)', 992 'host_arch%': '<(host_arch)',
991 'toolkit_views%': '<(toolkit_views)', 993 'toolkit_views%': '<(toolkit_views)',
992 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', 994 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 'chromium_ios_signing%': 1, 1340 'chromium_ios_signing%': 1,
1339 1341
1340 # This flag is only used when disable_nacl==0 and disables all those 1342 # This flag is only used when disable_nacl==0 and disables all those
1341 # subcomponents which would require the installation of a native_client 1343 # subcomponents which would require the installation of a native_client
1342 # untrusted toolchain. 1344 # untrusted toolchain.
1343 'disable_nacl_untrusted%': 0, 1345 'disable_nacl_untrusted%': 0,
1344 1346
1345 # Disable Dart by default. 1347 # Disable Dart by default.
1346 'enable_dart%': 0, 1348 'enable_dart%': 0,
1347 1349
1348 # Native Client is enabled by default. 1350 # Copy out the setting of disable_nacl.
1349 'disable_nacl%': 0, 1351 'disable_nacl%': '<(disable_nacl)',
1350 1352
1351 # Portable Native Client is enabled by default. 1353 # Portable Native Client is enabled by default.
1352 'disable_pnacl%': 0, 1354 'disable_pnacl%': 0,
1353 1355
1354 # Whether to build full debug version for Debug configuration on Android. 1356 # Whether to build full debug version for Debug configuration on Android.
1355 # Compared to full debug version, the default Debug configuration on Android 1357 # Compared to full debug version, the default Debug configuration on Android
1356 # has no full v8 debug, has size optimization and linker gc section, so that 1358 # has no full v8 debug, has size optimization and linker gc section, so that
1357 # we can build a debug version with acceptable size and performance. 1359 # we can build a debug version with acceptable size and performance.
1358 'android_full_debug%': 0, 1360 'android_full_debug%': 0,
1359 1361
(...skipping 4062 matching lines...) Expand 10 before | Expand all | Expand 10 after
5422 # settings in target dicts. SYMROOT is a special case, because many other 5424 # settings in target dicts. SYMROOT is a special case, because many other
5423 # Xcode variables depend on it, including variables such as 5425 # Xcode variables depend on it, including variables such as
5424 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5426 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5425 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5427 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5426 # files to appear (when present) in the UI as actual files and not red 5428 # files to appear (when present) in the UI as actual files and not red
5427 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5429 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5428 # and therefore SYMROOT, needs to be set at the project level. 5430 # and therefore SYMROOT, needs to be set at the project level.
5429 'SYMROOT': '<(DEPTH)/xcodebuild', 5431 'SYMROOT': '<(DEPTH)/xcodebuild',
5430 }, 5432 },
5431 } 5433 }
OLDNEW
« no previous file with comments | « build/build_config.h ('k') | build/filename_rules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698