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

Side by Side Diff: build/common.gypi

Issue 15028015: Conditionally build support for Pepper-based CDMs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use AppendAscii() where possible. Created 7 years, 7 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 | « no previous file | chrome/browser/content_settings/content_settings_browsertest.cc » ('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 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1404 'NACL_WIN64', 1404 'NACL_WIN64',
1405 ], 1405 ],
1406 }], 1406 }],
1407 1407
1408 ['os_posix==1 and chromeos==0 and OS!="android" and OS!="ios"', { 1408 ['os_posix==1 and chromeos==0 and OS!="android" and OS!="ios"', {
1409 'use_cups%': 1, 1409 'use_cups%': 1,
1410 }, { 1410 }, {
1411 'use_cups%': 0, 1411 'use_cups%': 0,
1412 }], 1412 }],
1413 1413
1414 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win" or google_t v==1)', {
1415 'enable_pepper_cdms%': 1,
1416 }, {
1417 'enable_pepper_cdms%': 0,
1418 }],
1419
1414 # Native Client glibc toolchain is enabled 1420 # Native Client glibc toolchain is enabled
1415 # by default except on arm and mips. 1421 # by default except on arm and mips.
1416 ['target_arch=="arm" or target_arch=="mipsel"', { 1422 ['target_arch=="arm" or target_arch=="mipsel"', {
1417 'disable_glibc%': 1, 1423 'disable_glibc%': 1,
1418 }, { 1424 }, {
1419 'disable_glibc%': 0, 1425 'disable_glibc%': 0,
1420 }], 1426 }],
1421 1427
1422 # Disable SSE2 when building for ARM or MIPS. 1428 # Disable SSE2 when building for ARM or MIPS.
1423 ['target_arch=="arm" or target_arch=="mipsel"', { 1429 ['target_arch=="arm" or target_arch=="mipsel"', {
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
1904 }], 1910 }],
1905 ['enable_webrtc==1', { 1911 ['enable_webrtc==1', {
1906 'defines': ['ENABLE_WEBRTC=1'], 1912 'defines': ['ENABLE_WEBRTC=1'],
1907 }], 1913 }],
1908 ['proprietary_codecs==1', { 1914 ['proprietary_codecs==1', {
1909 'defines': ['USE_PROPRIETARY_CODECS'], 1915 'defines': ['USE_PROPRIETARY_CODECS'],
1910 }], 1916 }],
1911 ['enable_viewport==1', { 1917 ['enable_viewport==1', {
1912 'defines': ['ENABLE_VIEWPORT'], 1918 'defines': ['ENABLE_VIEWPORT'],
1913 }], 1919 }],
1920 ['enable_pepper_cdms==1', {
1921 'defines': ['ENABLE_PEPPER_CDMS'],
1922 }],
1914 ['configuration_policy==1', { 1923 ['configuration_policy==1', {
1915 'defines': ['ENABLE_CONFIGURATION_POLICY'], 1924 'defines': ['ENABLE_CONFIGURATION_POLICY'],
1916 }], 1925 }],
1917 ['input_speech==1', { 1926 ['input_speech==1', {
1918 'defines': ['ENABLE_INPUT_SPEECH'], 1927 'defines': ['ENABLE_INPUT_SPEECH'],
1919 }], 1928 }],
1920 ['notifications==1', { 1929 ['notifications==1', {
1921 'defines': ['ENABLE_NOTIFICATIONS'], 1930 'defines': ['ENABLE_NOTIFICATIONS'],
1922 }], 1931 }],
1923 ['enable_hidpi==1', { 1932 ['enable_hidpi==1', {
(...skipping 2518 matching lines...) Expand 10 before | Expand all | Expand 10 after
4442 # settings in target dicts. SYMROOT is a special case, because many other 4451 # settings in target dicts. SYMROOT is a special case, because many other
4443 # Xcode variables depend on it, including variables such as 4452 # Xcode variables depend on it, including variables such as
4444 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4453 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4445 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4454 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4446 # files to appear (when present) in the UI as actual files and not red 4455 # files to appear (when present) in the UI as actual files and not red
4447 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4456 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4448 # and therefore SYMROOT, needs to be set at the project level. 4457 # and therefore SYMROOT, needs to be set at the project level.
4449 'SYMROOT': '<(DEPTH)/xcodebuild', 4458 'SYMROOT': '<(DEPTH)/xcodebuild',
4450 }, 4459 },
4451 } 4460 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/content_settings/content_settings_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698