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

Side by Side Diff: build/common.gypi

Issue 318753010: Introduce the ENABLE_BROWSER_CDMS macro. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MEDIA_EXPORT 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 | « no previous file | content/browser/android/child_process_launcher_android.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 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1864 }, { 1864 }, {
1865 'use_cups%': 0, 1865 'use_cups%': 0,
1866 }], 1866 }],
1867 1867
1868 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win")', { 1868 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
1869 'enable_pepper_cdms%': 1, 1869 'enable_pepper_cdms%': 1,
1870 }, { 1870 }, {
1871 'enable_pepper_cdms%': 0, 1871 'enable_pepper_cdms%': 0,
1872 }], 1872 }],
1873 1873
1874 ['OS=="android"', {
1875 'enable_browser_cdms%': 1,
1876 }, {
1877 'enable_browser_cdms%': 0,
1878 }],
1879
1874 # Native Client glibc toolchain is enabled 1880 # Native Client glibc toolchain is enabled
1875 # by default except on arm and mips. 1881 # by default except on arm and mips.
1876 ['target_arch=="arm" or target_arch=="mipsel"', { 1882 ['target_arch=="arm" or target_arch=="mipsel"', {
1877 'disable_glibc%': 1, 1883 'disable_glibc%': 1,
1878 }, { 1884 }, {
1879 'disable_glibc%': 0, 1885 'disable_glibc%': 0,
1880 }], 1886 }],
1881 1887
1882 # Set the relative path from this file to the GYP file of the JPEG 1888 # Set the relative path from this file to the GYP file of the JPEG
1883 # library used by Chromium. 1889 # library used by Chromium.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2461 }], 2467 }],
2462 ['proprietary_codecs==1', { 2468 ['proprietary_codecs==1', {
2463 'defines': ['USE_PROPRIETARY_CODECS'], 2469 'defines': ['USE_PROPRIETARY_CODECS'],
2464 }], 2470 }],
2465 ['enable_viewport==1', { 2471 ['enable_viewport==1', {
2466 'defines': ['ENABLE_VIEWPORT'], 2472 'defines': ['ENABLE_VIEWPORT'],
2467 }], 2473 }],
2468 ['enable_pepper_cdms==1', { 2474 ['enable_pepper_cdms==1', {
2469 'defines': ['ENABLE_PEPPER_CDMS'], 2475 'defines': ['ENABLE_PEPPER_CDMS'],
2470 }], 2476 }],
2477 ['enable_browser_cdms==1', {
2478 'defines': ['ENABLE_BROWSER_CDMS'],
2479 }],
2471 ['configuration_policy==1', { 2480 ['configuration_policy==1', {
2472 'defines': ['ENABLE_CONFIGURATION_POLICY'], 2481 'defines': ['ENABLE_CONFIGURATION_POLICY'],
2473 }], 2482 }],
2474 ['notifications==1', { 2483 ['notifications==1', {
2475 'defines': ['ENABLE_NOTIFICATIONS'], 2484 'defines': ['ENABLE_NOTIFICATIONS'],
2476 }], 2485 }],
2477 ['enable_hidpi==1', { 2486 ['enable_hidpi==1', {
2478 'defines': ['ENABLE_HIDPI=1'], 2487 'defines': ['ENABLE_HIDPI=1'],
2479 }], 2488 }],
2480 ['native_discardable_memory==1', { 2489 ['native_discardable_memory==1', {
(...skipping 2948 matching lines...) Expand 10 before | Expand all | Expand 10 after
5429 # settings in target dicts. SYMROOT is a special case, because many other 5438 # settings in target dicts. SYMROOT is a special case, because many other
5430 # Xcode variables depend on it, including variables such as 5439 # Xcode variables depend on it, including variables such as
5431 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5440 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5432 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5441 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5433 # files to appear (when present) in the UI as actual files and not red 5442 # files to appear (when present) in the UI as actual files and not red
5434 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5443 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5435 # and therefore SYMROOT, needs to be set at the project level. 5444 # and therefore SYMROOT, needs to be set at the project level.
5436 'SYMROOT': '<(DEPTH)/xcodebuild', 5445 'SYMROOT': '<(DEPTH)/xcodebuild',
5437 }, 5446 },
5438 } 5447 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/child_process_launcher_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698