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

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: Conditionally compile External Clear Key tests 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
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 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 'NACL_WIN64', 1415 'NACL_WIN64',
1416 ], 1416 ],
1417 }], 1417 }],
1418 1418
1419 ['os_posix==1 and chromeos==0 and OS!="android" and OS!="ios"', { 1419 ['os_posix==1 and chromeos==0 and OS!="android" and OS!="ios"', {
1420 'use_cups%': 1, 1420 'use_cups%': 1,
1421 }, { 1421 }, {
1422 'use_cups%': 0, 1422 'use_cups%': 0,
1423 }], 1423 }],
1424 1424
1425 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win" or google_t v==1)', {
1426 'enable_pepper_cdms%': 1,
1427 }, {
1428 'enable_pepper_cdms%': 0,
1429 }],
1430
1425 # Native Client glibc toolchain is enabled 1431 # Native Client glibc toolchain is enabled
1426 # by default except on arm and mips. 1432 # by default except on arm and mips.
1427 ['target_arch=="arm" or target_arch=="mipsel"', { 1433 ['target_arch=="arm" or target_arch=="mipsel"', {
1428 'disable_glibc%': 1, 1434 'disable_glibc%': 1,
1429 }, { 1435 }, {
1430 'disable_glibc%': 0, 1436 'disable_glibc%': 0,
1431 }], 1437 }],
1432 1438
1433 # Disable SSE2 when building for ARM or MIPS. 1439 # Disable SSE2 when building for ARM or MIPS.
1434 ['target_arch=="arm" or target_arch=="mipsel"', { 1440 ['target_arch=="arm" or target_arch=="mipsel"', {
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
1931 }], 1937 }],
1932 ['enable_webrtc==1', { 1938 ['enable_webrtc==1', {
1933 'defines': ['ENABLE_WEBRTC=1'], 1939 'defines': ['ENABLE_WEBRTC=1'],
1934 }], 1940 }],
1935 ['proprietary_codecs==1', { 1941 ['proprietary_codecs==1', {
1936 'defines': ['USE_PROPRIETARY_CODECS'], 1942 'defines': ['USE_PROPRIETARY_CODECS'],
1937 }], 1943 }],
1938 ['enable_viewport==1', { 1944 ['enable_viewport==1', {
1939 'defines': ['ENABLE_VIEWPORT'], 1945 'defines': ['ENABLE_VIEWPORT'],
1940 }], 1946 }],
1947 ['enable_pepper_cdms==1', {
1948 'defines': ['ENABLE_PEPPER_CDMS'],
1949 }],
1941 ['configuration_policy==1', { 1950 ['configuration_policy==1', {
1942 'defines': ['ENABLE_CONFIGURATION_POLICY'], 1951 'defines': ['ENABLE_CONFIGURATION_POLICY'],
1943 }], 1952 }],
1944 ['input_speech==1', { 1953 ['input_speech==1', {
1945 'defines': ['ENABLE_INPUT_SPEECH'], 1954 'defines': ['ENABLE_INPUT_SPEECH'],
1946 }], 1955 }],
1947 ['notifications==1', { 1956 ['notifications==1', {
1948 'defines': ['ENABLE_NOTIFICATIONS'], 1957 'defines': ['ENABLE_NOTIFICATIONS'],
1949 }], 1958 }],
1950 ['enable_hidpi==1', { 1959 ['enable_hidpi==1', {
(...skipping 2503 matching lines...) Expand 10 before | Expand all | Expand 10 after
4454 # settings in target dicts. SYMROOT is a special case, because many other 4463 # settings in target dicts. SYMROOT is a special case, because many other
4455 # Xcode variables depend on it, including variables such as 4464 # Xcode variables depend on it, including variables such as
4456 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4465 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4457 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4466 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4458 # files to appear (when present) in the UI as actual files and not red 4467 # files to appear (when present) in the UI as actual files and not red
4459 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4468 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4460 # and therefore SYMROOT, needs to be set at the project level. 4469 # and therefore SYMROOT, needs to be set at the project level.
4461 'SYMROOT': '<(DEPTH)/xcodebuild', 4470 'SYMROOT': '<(DEPTH)/xcodebuild',
4462 }, 4471 },
4463 } 4472 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698