Chromium Code Reviews| 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 'variables' : { | 5 'variables' : { |
| 6 'pyautolib_sources': [ | 6 'pyautolib_sources': [ |
| 7 'app/chrome_command_ids.h', | 7 'app/chrome_command_ids.h', |
| 8 'app/chrome_dll_resource.h', | 8 'app/chrome_dll_resource.h', |
| 9 'common/automation_constants.h', | 9 'common/automation_constants.h', |
| 10 'common/pref_names.cc', | 10 'common/pref_names.cc', |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 }], | 27 }], |
| 28 ], | 28 ], |
| 29 }, | 29 }, |
| 30 'includes': [ | 30 'includes': [ |
| 31 'js_unittest_vars.gypi', | 31 'js_unittest_vars.gypi', |
| 32 ], | 32 ], |
| 33 'targets': [ | 33 'targets': [ |
| 34 { | 34 { |
| 35 # This target contains mocks and test utilities that don't belong in | 35 # This target contains mocks and test utilities that don't belong in |
| 36 # production libraries but are used by more than one test executable. | 36 # production libraries but are used by more than one test executable. |
| 37 'target_name': 'test_support_common', | 37 'target_name': 'test_support_common_base', |
| 38 'type': 'static_library', | 38 'type': 'static_library', |
| 39 'dependencies': [ | 39 'dependencies': [ |
| 40 'chrome_resources.gyp:chrome_strings', | |
|
Nirnimesh
2012/04/20 20:43:14
please keep this list sorted
| |
| 41 'chrome_resources.gyp:theme_resources', | |
| 42 'common/extensions/api/api.gyp:api', | |
| 43 'utility', | |
| 44 '../base/base.gyp:test_support_base', | |
| 40 'app/policy/cloud_policy_codegen.gyp:policy', | 45 'app/policy/cloud_policy_codegen.gyp:policy', |
| 41 'browser', | |
| 42 '../sync/protocol/sync_proto.gyp:sync_proto', | 46 '../sync/protocol/sync_proto.gyp:sync_proto', |
| 43 'chrome_resources.gyp:chrome_resources', | 47 'chrome_resources.gyp:chrome_resources', |
| 44 'chrome_resources.gyp:chrome_strings', | |
| 45 'chrome_resources.gyp:theme_resources', | |
| 46 'common', | |
| 47 'common/extensions/api/api.gyp:api', | |
| 48 'plugin', | |
| 49 'renderer', | |
| 50 'utility', | |
| 51 '../base/base.gyp:test_support_base', | |
| 52 '../content/content.gyp:content_app', | 48 '../content/content.gyp:content_app', |
| 53 '../content/content.gyp:content_gpu', | 49 '../content/content.gyp:content_gpu', |
| 54 '../content/content.gyp:content_plugin', | |
| 55 '../content/content.gyp:content_ppapi_plugin', | 50 '../content/content.gyp:content_ppapi_plugin', |
| 56 '../content/content.gyp:content_renderer', | 51 '../content/content.gyp:content_renderer', |
| 57 '../content/content.gyp:content_utility', | 52 '../content/content.gyp:content_utility', |
| 58 '../content/content.gyp:content_worker', | 53 '../content/content.gyp:content_worker', |
| 59 '../content/content.gyp:test_support_content', | 54 '../content/content.gyp:test_support_content', |
| 60 '../ipc/ipc.gyp:test_support_ipc', | 55 '../ipc/ipc.gyp:test_support_ipc', |
| 61 '../media/media.gyp:media_test_support', | 56 '../media/media.gyp:media_test_support', |
| 62 '../net/net.gyp:net', | 57 '../net/net.gyp:net', |
| 63 '../net/net.gyp:net_test_support', | |
| 64 '../skia/skia.gyp:skia', | |
| 65 '../testing/gmock.gyp:gmock', | 58 '../testing/gmock.gyp:gmock', |
| 66 '../testing/gtest.gyp:gtest', | 59 '../testing/gtest.gyp:gtest', |
| 67 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 60 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 68 '../ui/gfx/compositor/compositor.gyp:compositor_test_support', | |
| 69 ], | 61 ], |
| 70 'export_dependent_settings': [ | 62 'export_dependent_settings': [ |
| 71 'renderer', | |
| 72 'app/policy/cloud_policy_codegen.gyp:policy', | 63 'app/policy/cloud_policy_codegen.gyp:policy', |
| 73 '../base/base.gyp:test_support_base', | 64 '../base/base.gyp:test_support_base', |
| 74 ], | 65 ], |
| 75 'include_dirs': [ | 66 'include_dirs': [ |
| 76 '..', | 67 '..', |
| 68 | |
| 69 # copied from skia. | |
|
Nirnimesh
2012/04/20 20:43:14
why is skia stuff necessary?
asharif1
2012/04/20 22:20:00
It doesn't build without it since I removed skia f
| |
| 70 '../skia/config', | |
| 71 '../third_party/skia/include/config', | |
| 72 '../third_party/skia/include/core', | |
| 73 '../third_party/skia/include/effects', | |
| 74 '../third_party/skia/include/gpu', | |
| 75 '../third_party/skia/include/gpu/gl', | |
| 76 '../third_party/skia/include/images', | |
| 77 '../third_party/skia/include/pdf', | |
| 78 '../third_party/skia/include/ports', | |
| 79 '../third_party/skia/include/utils', | |
| 80 '../third_party/skia/src/core', | |
| 81 '../third_party/skia/src/utils', | |
| 82 | |
| 83 ], | |
| 84 'defines': [ | |
| 85 # copied from skia. | |
| 86 'SK_BUILD_NO_IMAGE_ENCODE', | |
| 87 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | |
| 88 'GR_STATIC_RECT_VB=1', | |
| 89 'GR_AGGRESSIVE_SHADER_OPTS=1', | |
| 90 'SK_DISABLE_FAST_AA_STROKE_RECT', | |
| 91 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', | |
| 92 | |
| 93 # temporary for landing Skia rev 3077 with minimal layout test breakage | |
| 94 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS', | |
| 95 | |
| 96 # skia uses static initializers to initialize the serialization logic | |
| 97 # of its "pictures" library. This is currently not used in chrome; if | |
| 98 # it ever gets used the processes that use it need to call | |
| 99 # SkGraphics::Init(). | |
| 100 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', | |
| 101 | |
| 102 # Temporarily disable the Skia fix in | |
| 103 # http://code.google.com/p/skia/source/detail?r=3037 ; enabling that | |
| 104 # fix will require substantial rebaselining. | |
| 105 'SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX', | |
| 77 ], | 106 ], |
| 78 'sources': [ | 107 'sources': [ |
| 79 'app/breakpad_mac_stubs.mm', | 108 'app/breakpad_mac_stubs.mm', |
| 80 'app/chrome_main_delegate.cc', | 109 'app/chrome_main_delegate.cc', |
| 81 'app/chrome_main_delegate.h', | 110 'app/chrome_main_delegate.h', |
| 82 'browser/autofill/autofill_common_test.cc', | 111 'browser/autofill/autofill_common_test.cc', |
| 83 'browser/autofill/autofill_common_test.h', | 112 'browser/autofill/autofill_common_test.h', |
| 84 'browser/autofill/data_driven_test.cc', | 113 'browser/autofill/data_driven_test.cc', |
| 85 'browser/autofill/data_driven_test.h', | 114 'browser/autofill/data_driven_test.h', |
| 86 'browser/autofill/test_autofill_external_delegate.cc', | 115 'browser/autofill/test_autofill_external_delegate.cc', |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 266 '../webkit/fileapi/mock_file_system_options.h', | 295 '../webkit/fileapi/mock_file_system_options.h', |
| 267 '../webkit/quota/mock_quota_manager.cc', | 296 '../webkit/quota/mock_quota_manager.cc', |
| 268 '../webkit/quota/mock_quota_manager.h', | 297 '../webkit/quota/mock_quota_manager.h', |
| 269 ], | 298 ], |
| 270 'conditions': [ | 299 'conditions': [ |
| 271 ['chromeos==0', { | 300 ['chromeos==0', { |
| 272 'sources/': [ | 301 'sources/': [ |
| 273 ['exclude', '^browser/chromeos'], | 302 ['exclude', '^browser/chromeos'], |
| 274 ], | 303 ], |
| 275 }], | 304 }], |
| 305 ['OS=="win"', { | |
| 306 'include_dirs': [ | |
| 307 '<(DEPTH)/third_party/wtl/include', | |
| 308 ], | |
| 309 }], | |
| 310 ['OS=="win" and use_aura==1', { | |
| 311 'sources/': [ | |
| 312 ['exclude', 'test/base/ui_test_utils_win.cc'], | |
| 313 ], | |
| 314 }], | |
| 315 ], | |
| 316 }, | |
| 317 { | |
| 318 # This target contains mocks and test utilities that don't belong in | |
| 319 # production libraries but are used by more than one test executable. | |
| 320 'target_name': 'test_support_common', | |
| 321 'type': 'static_library', | |
| 322 'dependencies': [ | |
| 323 'app/policy/cloud_policy_codegen.gyp:policy', | |
| 324 'browser', | |
| 325 '../sync/protocol/sync_proto.gyp:sync_proto', | |
| 326 'chrome_resources.gyp:chrome_resources', | |
| 327 'chrome_resources.gyp:chrome_strings', | |
| 328 'chrome_resources.gyp:theme_resources', | |
| 329 'common', | |
| 330 'common/extensions/api/api.gyp:api', | |
| 331 'plugin', | |
| 332 'renderer', | |
| 333 'test_support_common_base', | |
| 334 'utility', | |
| 335 '../base/base.gyp:test_support_base', | |
| 336 '../content/content.gyp:content_app', | |
| 337 '../content/content.gyp:content_gpu', | |
| 338 '../content/content.gyp:content_plugin', | |
| 339 '../content/content.gyp:content_ppapi_plugin', | |
| 340 '../content/content.gyp:content_renderer', | |
| 341 '../content/content.gyp:content_utility', | |
| 342 '../content/content.gyp:content_worker', | |
| 343 '../content/content.gyp:test_support_content', | |
| 344 '../ipc/ipc.gyp:test_support_ipc', | |
| 345 '../media/media.gyp:media_test_support', | |
| 346 '../net/net.gyp:net', | |
| 347 '../net/net.gyp:net_test_support', | |
| 348 '../skia/skia.gyp:skia', | |
| 349 '../testing/gmock.gyp:gmock', | |
| 350 '../testing/gtest.gyp:gtest', | |
| 351 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | |
| 352 '../ui/gfx/compositor/compositor.gyp:compositor_test_support', | |
| 353 ], | |
| 354 'export_dependent_settings': [ | |
| 355 'renderer', | |
| 356 'app/policy/cloud_policy_codegen.gyp:policy', | |
| 357 '../base/base.gyp:test_support_base', | |
| 358 ], | |
| 359 'include_dirs': [ | |
| 360 '..', | |
| 361 ], | |
| 362 'conditions': [ | |
| 363 ['chromeos==0', { | |
| 364 'sources/': [ | |
| 365 ['exclude', '^browser/chromeos'], | |
| 366 ], | |
| 367 }], | |
| 276 ['chromeos==1', { | 368 ['chromeos==1', { |
| 277 'dependencies': [ | 369 'dependencies': [ |
| 278 '../build/linux/system.gyp:dbus', | 370 '../build/linux/system.gyp:dbus', |
| 279 '../chromeos/chromeos.gyp:chromeos_test_support', | 371 '../chromeos/chromeos.gyp:chromeos_test_support', |
| 280 ], | 372 ], |
| 281 }], | 373 }], |
| 282 ['toolkit_uses_gtk == 1', { | 374 ['toolkit_uses_gtk == 1', { |
| 283 'dependencies': [ | 375 'dependencies': [ |
| 284 '../build/linux/system.gyp:gtk', | 376 '../build/linux/system.gyp:gtk', |
| 285 ], | 377 ], |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 297 ['OS=="win"', { | 389 ['OS=="win"', { |
| 298 'include_dirs': [ | 390 'include_dirs': [ |
| 299 '<(DEPTH)/third_party/wtl/include', | 391 '<(DEPTH)/third_party/wtl/include', |
| 300 ], | 392 ], |
| 301 }], | 393 }], |
| 302 ['OS=="win" and use_aura==1', { | 394 ['OS=="win" and use_aura==1', { |
| 303 'sources/': [ | 395 'sources/': [ |
| 304 ['exclude', 'test/base/ui_test_utils_win.cc'], | 396 ['exclude', 'test/base/ui_test_utils_win.cc'], |
| 305 ], | 397 ], |
| 306 }], | 398 }], |
| 399 ['OS=="mac"', { | |
| 400 'sources': [ | |
| 401 'empty.cc', | |
| 402 ], | |
| 403 }], | |
| 307 ], | 404 ], |
| 308 }, | 405 }, |
| 309 { | 406 { |
| 310 'target_name': 'test_support_ui', | 407 'target_name': 'test_support_ui', |
| 311 'type': 'static_library', | 408 'type': 'static_library', |
| 312 'dependencies': [ | 409 'dependencies': [ |
| 313 'chrome_resources.gyp:chrome_resources', | 410 'chrome_resources.gyp:chrome_resources', |
| 314 'chrome_resources.gyp:chrome_strings', | 411 'chrome_resources.gyp:chrome_strings', |
| 315 'chrome_resources.gyp:theme_resources', | 412 'chrome_resources.gyp:theme_resources', |
| 316 'test_support_common', | 413 'test_support_common', |
| (...skipping 4092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4409 'target_name': 'pyautolib', | 4506 'target_name': 'pyautolib', |
| 4410 'type': 'loadable_module', | 4507 'type': 'loadable_module', |
| 4411 'product_prefix': '_', | 4508 'product_prefix': '_', |
| 4412 'dependencies': [ | 4509 'dependencies': [ |
| 4413 'chrome', | 4510 'chrome', |
| 4414 'chrome_resources.gyp:chrome_resources', | 4511 'chrome_resources.gyp:chrome_resources', |
| 4415 'chrome_resources.gyp:chrome_strings', | 4512 'chrome_resources.gyp:chrome_strings', |
| 4416 'chrome_resources.gyp:theme_resources', | 4513 'chrome_resources.gyp:theme_resources', |
| 4417 'debugger', | 4514 'debugger', |
| 4418 'syncapi_core', | 4515 'syncapi_core', |
| 4419 'test_support_common', | 4516 'test_support_common_base', |
| 4420 '../skia/skia.gyp:skia', | 4517 '../skia/skia.gyp:skia', |
| 4421 '../testing/gtest.gyp:gtest', | 4518 '../testing/gtest.gyp:gtest', |
| 4422 ], | 4519 ], |
| 4423 'export_dependent_settings': [ | 4520 'export_dependent_settings': [ |
| 4424 'test_support_common', | 4521 'test_support_common_base', |
| 4425 ], | 4522 ], |
| 4426 'include_dirs': [ | 4523 'include_dirs': [ |
| 4427 '..', | 4524 '..', |
| 4428 ], | 4525 ], |
| 4429 'cflags': [ | 4526 'cflags': [ |
| 4430 '-Wno-uninitialized', | 4527 '-Wno-uninitialized', |
| 4431 '-Wno-self-assign', # to keep clang happy for generated code. | 4528 '-Wno-self-assign', # to keep clang happy for generated code. |
| 4432 ], | 4529 ], |
| 4433 'sources': [ | 4530 'sources': [ |
| 4434 'test/automation/proxy_launcher.cc', | 4531 'test/automation/proxy_launcher.cc', |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4702 # Use outputs of this action as inputs for the main target build. | 4799 # Use outputs of this action as inputs for the main target build. |
| 4703 # Seems as a misnomer but makes this happy on Linux (scons). | 4800 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4704 'process_outputs_as_sources': 1, | 4801 'process_outputs_as_sources': 1, |
| 4705 }, | 4802 }, |
| 4706 ], # 'actions' | 4803 ], # 'actions' |
| 4707 }, | 4804 }, |
| 4708 ] | 4805 ] |
| 4709 }], # 'coverage!=0' | 4806 }], # 'coverage!=0' |
| 4710 ], # 'conditions' | 4807 ], # 'conditions' |
| 4711 } | 4808 } |
| OLD | NEW |