Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index df6ba204018a6218c24d28bfb36fa1fdc3984efb..ca65fc31caa20734aa0cac0868a30544aa2dc8a7 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1545,6 +1545,9 @@ |
'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
+ # ARC instance disabled by default. |
+ 'enable_arc%': 0, |
+ |
'conditions': [ |
['buildtype=="Official"', { |
# Continue to embed build meta data in Official builds, basically the |
@@ -3083,6 +3086,9 @@ |
# TODO: Enable on Windows too, http://crbug.com/404525 |
'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
}], |
+ ['<(enable_arc)==1', { |
+ 'defines': ['ENABLE_ARC=1'], |
+ }], |
['chromium_code==0', { |
'variables': { |
'clang_warning_flags': [ |