From f31e2e5428b57f744b93021b80e17b4505a38f4d Mon Sep 17 00:00:00 2001 From: "torne@chromium.org" Date: Thu, 14 Jul 2011 16:01:19 +0000 Subject: 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 --- build/common.gypi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build') 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. -- cgit v1.1