OLD | NEW |
---|---|
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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
8 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)', | 8 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)', |
9 'conditions': [ | 9 'conditions': [ |
10 ['inside_chromium_build==0', { | 10 ['inside_chromium_build==0', { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
71 }, | 71 }, |
72 {'target_name': 'content_browser', | 72 {'target_name': 'content_browser', |
73 'type': 'static_library', | 73 'type': 'static_library', |
74 'variables': { 'enable_wexit_time_destructors': 1, }, | 74 'variables': { 'enable_wexit_time_destructors': 1, }, |
75 'includes': [ | 75 'includes': [ |
76 'content_browser.gypi', | 76 'content_browser.gypi', |
77 ], | 77 ], |
78 'dependencies': [ | 78 'dependencies': [ |
79 'content_common', | 79 'content_common', |
80 ], | 80 ], |
81 # Disable narrowing-conversion-in-initialization-list warnings. | |
82 'cflags+': ['-Wno-narrowing'], | |
brettw
2012/06/06 21:52:44
I'm trying to understand why this is necessary in
Han
2012/06/06 22:11:25
Hi Brett thans! The thing is this -
"content/brows
| |
83 'cflags_cc+': ['-Wno-narrowing'], | |
81 }, | 84 }, |
82 {'target_name': 'content_common', | 85 {'target_name': 'content_common', |
83 'type': 'static_library', | 86 'type': 'static_library', |
84 'variables': { 'enable_wexit_time_destructors': 1, }, | 87 'variables': { 'enable_wexit_time_destructors': 1, }, |
85 'includes': [ | 88 'includes': [ |
86 'content_common.gypi', | 89 'content_common.gypi', |
87 ], | 90 ], |
88 'dependencies': [ | 91 'dependencies': [ |
89 'content_resources.gyp:content_resources', | 92 'content_resources.gyp:content_resources', |
90 ], | 93 ], |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
229 }, | 232 }, |
230 { | 233 { |
231 'target_name': 'content_jni_headers', | 234 'target_name': 'content_jni_headers', |
232 'type': 'none', | 235 'type': 'none', |
233 'includes': [ 'content_jni.gypi' ], | 236 'includes': [ 'content_jni.gypi' ], |
234 }, | 237 }, |
235 ], | 238 ], |
236 }], # OS == "android" | 239 }], # OS == "android" |
237 ], | 240 ], |
238 } | 241 } |
OLD | NEW |