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

Side by Side Diff: base/base.gyp

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 years, 3 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
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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 'message_loop/message_pump_mac.h', 244 'message_loop/message_pump_mac.h',
245 'message_loop/message_pump_mac.mm', 245 'message_loop/message_pump_mac.mm',
246 'metrics/field_trial.cc', 246 'metrics/field_trial.cc',
247 'metrics/field_trial.h', 247 'metrics/field_trial.h',
248 'posix/file_descriptor_shuffle.cc', 248 'posix/file_descriptor_shuffle.cc',
249 'posix/file_descriptor_shuffle.h', 249 'posix/file_descriptor_shuffle.h',
250 'sync_socket.h', 250 'sync_socket.h',
251 'sync_socket_win.cc', 251 'sync_socket_win.cc',
252 'sync_socket_posix.cc', 252 'sync_socket_posix.cc',
253 ], 253 ],
254 'includes': [
255 '../build/android/increase_size_for_speed.gypi',
256 ],
254 }, 257 },
255 { 258 {
256 'target_name': 'base_i18n', 259 'target_name': 'base_i18n',
257 'type': '<(component)', 260 'type': '<(component)',
258 'variables': { 261 'variables': {
259 'enable_wexit_time_destructors': 1, 262 'enable_wexit_time_destructors': 1,
260 'optimize': 'max', 263 'optimize': 'max',
261 'base_i18n_target': 1, 264 'base_i18n_target': 1,
262 }, 265 },
263 'dependencies': [ 266 'dependencies': [
(...skipping 17 matching lines...) Expand all
281 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], 284 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'],
282 }, { 285 }, {
283 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], 286 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'],
284 }], 287 }],
285 ], 288 ],
286 }], 289 }],
287 ], 290 ],
288 'export_dependent_settings': [ 291 'export_dependent_settings': [
289 'base', 292 'base',
290 ], 293 ],
291 294 'includes': [
292 295 '../build/android/increase_size_for_speed.gypi',
296 ],
293 }, 297 },
294 { 298 {
295 'target_name': 'base_message_loop_tests', 299 'target_name': 'base_message_loop_tests',
296 'type': 'static_library', 300 'type': 'static_library',
297 'dependencies': [ 301 'dependencies': [
298 'base', 302 'base',
299 '../testing/gtest.gyp:gtest', 303 '../testing/gtest.gyp:gtest',
300 ], 304 ],
301 'sources': [ 305 'sources': [
302 'message_loop/message_loop_test.cc', 306 'message_loop/message_loop_test.cc',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 'prefs/pref_value_map.cc', 354 'prefs/pref_value_map.cc',
351 'prefs/pref_value_map.h', 355 'prefs/pref_value_map.h',
352 'prefs/pref_value_store.cc', 356 'prefs/pref_value_store.cc',
353 'prefs/pref_value_store.h', 357 'prefs/pref_value_store.h',
354 'prefs/scoped_user_pref_update.cc', 358 'prefs/scoped_user_pref_update.cc',
355 'prefs/scoped_user_pref_update.h', 359 'prefs/scoped_user_pref_update.h',
356 'prefs/value_map_pref_store.cc', 360 'prefs/value_map_pref_store.cc',
357 'prefs/value_map_pref_store.h', 361 'prefs/value_map_pref_store.h',
358 'prefs/writeable_pref_store.h', 362 'prefs/writeable_pref_store.h',
359 ], 363 ],
364 'includes': [
365 '../build/android/increase_size_for_speed.gypi',
366 ],
360 }, 367 },
361 { 368 {
362 'target_name': 'base_prefs_test_support', 369 'target_name': 'base_prefs_test_support',
363 'type': 'static_library', 370 'type': 'static_library',
364 'dependencies': [ 371 'dependencies': [
365 'base', 372 'base',
366 'base_prefs', 373 'base_prefs',
367 '../testing/gmock.gyp:gmock', 374 '../testing/gmock.gyp:gmock',
368 ], 375 ],
369 'sources': [ 376 'sources': [
(...skipping 19 matching lines...) Expand all
389 'toolsets': ['host', 'target'], 396 'toolsets': ['host', 'target'],
390 'sources': [ 397 'sources': [
391 'base_switches.cc', 398 'base_switches.cc',
392 'base_switches.h', 399 'base_switches.h',
393 'win/pe_image.cc', 400 'win/pe_image.cc',
394 'win/pe_image.h', 401 'win/pe_image.h',
395 ], 402 ],
396 'include_dirs': [ 403 'include_dirs': [
397 '..', 404 '..',
398 ], 405 ],
406 'includes': [
407 '../build/android/increase_size_for_speed.gypi',
408 ],
399 }, 409 },
400 # Include this target for a main() function that simply instantiates 410 # Include this target for a main() function that simply instantiates
401 # and runs a base::TestSuite. 411 # and runs a base::TestSuite.
402 { 412 {
403 'target_name': 'run_all_unittests', 413 'target_name': 'run_all_unittests',
404 'type': 'static_library', 414 'type': 'static_library',
405 'dependencies': [ 415 'dependencies': [
406 'test_support_base', 416 'test_support_base',
407 ], 417 ],
408 'sources': [ 418 'sources': [
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 'third_party/symbolize/demangle.h', 1200 'third_party/symbolize/demangle.h',
1191 'third_party/symbolize/glog/logging.h', 1201 'third_party/symbolize/glog/logging.h',
1192 'third_party/symbolize/glog/raw_logging.h', 1202 'third_party/symbolize/glog/raw_logging.h',
1193 'third_party/symbolize/symbolize.cc', 1203 'third_party/symbolize/symbolize.cc',
1194 'third_party/symbolize/symbolize.h', 1204 'third_party/symbolize/symbolize.h',
1195 'third_party/symbolize/utilities.h', 1205 'third_party/symbolize/utilities.h',
1196 ], 1206 ],
1197 'include_dirs': [ 1207 'include_dirs': [
1198 '..', 1208 '..',
1199 ], 1209 ],
1210 'includes': [
1211 '../build/android/increase_size_for_speed.gypi',
1212 ],
1200 }, 1213 },
1201 { 1214 {
1202 'target_name': 'xdg_mime', 1215 'target_name': 'xdg_mime',
1203 'type': 'static_library', 1216 'type': 'static_library',
1204 'toolsets': ['host', 'target'], 1217 'toolsets': ['host', 'target'],
1205 'variables': { 1218 'variables': {
1206 'chromium_code': 0, 1219 'chromium_code': 0,
1207 }, 1220 },
1208 'cflags!': [ 1221 'cflags!': [
1209 '-Wextra', 1222 '-Wextra',
1210 ], 1223 ],
1211 'sources': [ 1224 'sources': [
1212 'third_party/xdg_mime/xdgmime.c', 1225 'third_party/xdg_mime/xdgmime.c',
1213 'third_party/xdg_mime/xdgmime.h', 1226 'third_party/xdg_mime/xdgmime.h',
1214 'third_party/xdg_mime/xdgmimealias.c', 1227 'third_party/xdg_mime/xdgmimealias.c',
1215 'third_party/xdg_mime/xdgmimealias.h', 1228 'third_party/xdg_mime/xdgmimealias.h',
1216 'third_party/xdg_mime/xdgmimecache.c', 1229 'third_party/xdg_mime/xdgmimecache.c',
1217 'third_party/xdg_mime/xdgmimecache.h', 1230 'third_party/xdg_mime/xdgmimecache.h',
1218 'third_party/xdg_mime/xdgmimeglob.c', 1231 'third_party/xdg_mime/xdgmimeglob.c',
1219 'third_party/xdg_mime/xdgmimeglob.h', 1232 'third_party/xdg_mime/xdgmimeglob.h',
1220 'third_party/xdg_mime/xdgmimeicon.c', 1233 'third_party/xdg_mime/xdgmimeicon.c',
1221 'third_party/xdg_mime/xdgmimeicon.h', 1234 'third_party/xdg_mime/xdgmimeicon.h',
1222 'third_party/xdg_mime/xdgmimeint.c', 1235 'third_party/xdg_mime/xdgmimeint.c',
1223 'third_party/xdg_mime/xdgmimeint.h', 1236 'third_party/xdg_mime/xdgmimeint.h',
1224 'third_party/xdg_mime/xdgmimemagic.c', 1237 'third_party/xdg_mime/xdgmimemagic.c',
1225 'third_party/xdg_mime/xdgmimemagic.h', 1238 'third_party/xdg_mime/xdgmimemagic.h',
1226 'third_party/xdg_mime/xdgmimeparent.c', 1239 'third_party/xdg_mime/xdgmimeparent.c',
1227 'third_party/xdg_mime/xdgmimeparent.h', 1240 'third_party/xdg_mime/xdgmimeparent.h',
1228 ], 1241 ],
1242 'includes': [
1243 '../build/android/increase_size_for_speed.gypi',
1244 ],
1229 }, 1245 },
1230 ], 1246 ],
1231 }], 1247 }],
1232 ['OS == "android"', { 1248 ['OS == "android"', {
1233 'targets': [ 1249 'targets': [
1234 { 1250 {
1235 # GN: //base:base_jni_headers 1251 # GN: //base:base_jni_headers
1236 'target_name': 'base_jni_headers', 1252 'target_name': 'base_jni_headers',
1237 'type': 'none', 1253 'type': 'none',
1238 'sources': [ 1254 'sources': [
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1463 'dependencies': [ 1479 'dependencies': [
1464 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1480 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1465 ], 1481 ],
1466 }], 1482 }],
1467 ], 1483 ],
1468 }, 1484 },
1469 ], 1485 ],
1470 }], 1486 }],
1471 ], 1487 ],
1472 } 1488 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698