diff options
author | torne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 16:01:19 +0000 |
---|---|---|
committer | torne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 16:01:19 +0000 |
commit | f31e2e5428b57f744b93021b80e17b4505a38f4d (patch) | |
tree | 609f79c778d27b11a8264983c432204e9964d209 /build | |
parent | 02b58fdffcc8e73d7f282331863ccfaa2503e2a4 (diff) | |
download | chromium_src-f31e2e5428b57f744b93021b80e17b4505a38f4d.zip chromium_src-f31e2e5428b57f744b93021b80e17b4505a38f4d.tar.gz chromium_src-f31e2e5428b57f744b93021b80e17b4505a38f4d.tar.bz2 |
Make policy removable using ifdefs instead of stubs.
For the gyp flag configuration_policy=0, use ifdefs in the places where
policy classes are referred to, rather than providing stubs that
implement parts of the policy classes. This is somewhat simpler and less
fragile. This reverts part of r87468 (where this flag was introduced)
but keeps other parts which are still valuable.
BUG=85534
Review URL: http://codereview.chromium.org/7343008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92549 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 0913ad3..fed6279 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -748,6 +748,9 @@ 'defines': ['PPAPI_INSTANCE_REMOVE_SCRIPTING', 'PPAPI_VAR_REMOVE_SCRIPTING'], }], + ['configuration_policy==1', { + 'defines': ['ENABLE_CONFIGURATION_POLICY'], + }], ['fastbuild!=0', { 'conditions': [ # For Windows, we don't genererate debug information. |