| OLD | NEW | 
|---|
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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     'pyautolib_sources': [ | 7     'pyautolib_sources': [ | 
| 8       'app/chrome_command_ids.h', | 8       'app/chrome_command_ids.h', | 
| 9       'app/chrome_dll_resource.h', | 9       'app/chrome_dll_resource.h', | 
| 10       'common/automation_constants.h', | 10       'common/automation_constants.h', | 
| (...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1032                 'VCLinkerTool': { | 1032                 'VCLinkerTool': { | 
| 1033                   'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 1033                   'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 
| 1034                 }, | 1034                 }, | 
| 1035               }, | 1035               }, | 
| 1036             }, | 1036             }, | 
| 1037           }, | 1037           }, | 
| 1038         }], | 1038         }], | 
| 1039       ], | 1039       ], | 
| 1040     }, | 1040     }, | 
| 1041     { | 1041     { | 
| 1042       'target_name': 'nacl_security_tests', |  | 
| 1043       'type': 'shared_library', |  | 
| 1044       'include_dirs': [ |  | 
| 1045         '..' |  | 
| 1046       ], |  | 
| 1047       'sources': [ |  | 
| 1048        # mostly OS dependent files below... |  | 
| 1049       ], |  | 
| 1050       'conditions': [ |  | 
| 1051         ['OS=="mac"', { |  | 
| 1052           # Only the Mac version uses gtest (linking issues on other platforms). |  | 
| 1053           'dependencies': [ |  | 
| 1054             '../testing/gtest.gyp:gtest' |  | 
| 1055           ], |  | 
| 1056           'sources': [ |  | 
| 1057             'test/nacl_security_tests/commands_posix.cc', |  | 
| 1058             'test/nacl_security_tests/commands_posix.h', |  | 
| 1059             'test/nacl_security_tests/nacl_security_tests_posix.h', |  | 
| 1060             'test/nacl_security_tests/nacl_security_tests_mac.cc', |  | 
| 1061           ], |  | 
| 1062           'xcode_settings': { |  | 
| 1063              'DYLIB_INSTALL_NAME_BASE': '@executable_path/', |  | 
| 1064           }, |  | 
| 1065         },], |  | 
| 1066         ['OS=="linux"', { |  | 
| 1067           'sources': [ |  | 
| 1068             'test/nacl_security_tests/commands_posix.cc', |  | 
| 1069             'test/nacl_security_tests/commands_posix.h', |  | 
| 1070             'test/nacl_security_tests/nacl_security_tests_posix.h', |  | 
| 1071             'test/nacl_security_tests/nacl_security_tests_linux.cc', |  | 
| 1072           ], |  | 
| 1073         },], |  | 
| 1074         ['OS=="win"', { |  | 
| 1075           'sources': [ |  | 
| 1076             '../sandbox/tests/validation_tests/commands.cc', |  | 
| 1077             '../sandbox/tests/validation_tests/commands.h', |  | 
| 1078             '../sandbox/tests/common/controller.h', |  | 
| 1079             'test/nacl_security_tests/nacl_security_tests_win.h', |  | 
| 1080             'test/nacl_security_tests/nacl_security_tests_win.cc', |  | 
| 1081           ], |  | 
| 1082         },], |  | 
| 1083         # Set fPIC in case it isn't set. |  | 
| 1084         ['os_posix == 1 and OS != "mac"' |  | 
| 1085          'and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', { |  | 
| 1086           'cflags': ['-fPIC'], |  | 
| 1087         },], |  | 
| 1088       ], |  | 
| 1089     }, |  | 
| 1090     { |  | 
| 1091       'target_name': 'nacl_sandbox_tests', |  | 
| 1092       'type': 'executable', |  | 
| 1093       'dependencies': [ |  | 
| 1094         'chrome', |  | 
| 1095         'browser', |  | 
| 1096         'common', |  | 
| 1097         'chrome_resources', |  | 
| 1098         'chrome_strings', |  | 
| 1099         'test_support_ui', |  | 
| 1100         '../base/base.gyp:base', |  | 
| 1101         '../build/temp_gyp/googleurl.gyp:googleurl', |  | 
| 1102         '../net/net.gyp:net', |  | 
| 1103         '../skia/skia.gyp:skia', |  | 
| 1104         '../testing/gtest.gyp:gtest', |  | 
| 1105         '../third_party/icu/icu.gyp:icui18n', |  | 
| 1106         '../third_party/icu/icu.gyp:icuuc', |  | 
| 1107         '../third_party/libxml/libxml.gyp:libxml', |  | 
| 1108       ], |  | 
| 1109       'include_dirs': [ |  | 
| 1110         '..', |  | 
| 1111       ], |  | 
| 1112       'sources': [ |  | 
| 1113         'test/nacl/nacl_test.cc', |  | 
| 1114         'test/nacl/nacl_sandbox_test.cc' |  | 
| 1115       ], |  | 
| 1116       'conditions': [ |  | 
| 1117         ['OS=="win"', { |  | 
| 1118           'dependencies': [ |  | 
| 1119             'chrome_nacl_win64', |  | 
| 1120             'nacl_security_tests', # run time dependency |  | 
| 1121             'nacl_security_tests64', # run time dependency |  | 
| 1122             'test_support_common', |  | 
| 1123             '../google_update/google_update.gyp:google_update', |  | 
| 1124             '../views/views.gyp:views', |  | 
| 1125             # run time dependency |  | 
| 1126             '../webkit/webkit.gyp:copy_npapi_test_plugin', |  | 
| 1127           ], |  | 
| 1128           'conditions': [ |  | 
| 1129             ['win_use_allocator_shim==1', { |  | 
| 1130               'dependencies': [ |  | 
| 1131                 '<(allocator_target)', |  | 
| 1132               ], |  | 
| 1133             }], |  | 
| 1134           ], |  | 
| 1135           'link_settings': { |  | 
| 1136             'libraries': [ |  | 
| 1137               '-lOleAcc.lib', |  | 
| 1138             ], |  | 
| 1139           }, |  | 
| 1140           'configurations': { |  | 
| 1141             'Debug_Base': { |  | 
| 1142               'msvs_settings': { |  | 
| 1143                 'VCLinkerTool': { |  | 
| 1144                   'LinkIncremental': '<(msvs_debug_link_nonincremental)', |  | 
| 1145                 }, |  | 
| 1146               }, |  | 
| 1147             }, |  | 
| 1148           }, |  | 
| 1149         }], |  | 
| 1150         ['OS=="mac"', { |  | 
| 1151           'dependencies': [ |  | 
| 1152             'nacl_security_tests', # run time dependency |  | 
| 1153           ], |  | 
| 1154         }], |  | 
| 1155       ], |  | 
| 1156     }, |  | 
| 1157     { |  | 
| 1158       'target_name': 'nacl_ui_tests', |  | 
| 1159       'type': 'executable', |  | 
| 1160       'dependencies': [ |  | 
| 1161         'chrome', |  | 
| 1162         'browser', |  | 
| 1163         'common', |  | 
| 1164         'chrome_resources', |  | 
| 1165         'chrome_strings', |  | 
| 1166         'test_support_ui', |  | 
| 1167         '../base/base.gyp:base', |  | 
| 1168         '../build/temp_gyp/googleurl.gyp:googleurl', |  | 
| 1169         '../net/net.gyp:net', |  | 
| 1170         '../skia/skia.gyp:skia', |  | 
| 1171         '../testing/gtest.gyp:gtest', |  | 
| 1172         '../third_party/icu/icu.gyp:icui18n', |  | 
| 1173         '../third_party/icu/icu.gyp:icuuc', |  | 
| 1174       ], |  | 
| 1175       'include_dirs': [ |  | 
| 1176         '..', |  | 
| 1177       ], |  | 
| 1178       'sources': [ |  | 
| 1179         'test/nacl/nacl_test.cc', |  | 
| 1180         'test/nacl/nacl_ui_test.cc', |  | 
| 1181       ], |  | 
| 1182       'conditions': [ |  | 
| 1183         ['OS=="win"', { |  | 
| 1184           'dependencies': [ |  | 
| 1185             'chrome_nacl_win64', |  | 
| 1186             'security_tests',  # run time dependency |  | 
| 1187             'test_support_common', |  | 
| 1188             '../google_update/google_update.gyp:google_update', |  | 
| 1189             # run time dependency |  | 
| 1190             '../webkit/webkit.gyp:copy_npapi_test_plugin', |  | 
| 1191           ], |  | 
| 1192           'conditions': [ |  | 
| 1193             ['win_use_allocator_shim==1', { |  | 
| 1194               'dependencies': [ |  | 
| 1195                 '<(allocator_target)', |  | 
| 1196               ], |  | 
| 1197             }], |  | 
| 1198           ], |  | 
| 1199           'link_settings': { |  | 
| 1200             'libraries': [ |  | 
| 1201               '-lOleAcc.lib', |  | 
| 1202             ], |  | 
| 1203           }, |  | 
| 1204           'configurations': { |  | 
| 1205             'Debug_Base': { |  | 
| 1206               'msvs_settings': { |  | 
| 1207                 'VCLinkerTool': { |  | 
| 1208                   'LinkIncremental': '<(msvs_debug_link_nonincremental)', |  | 
| 1209                 }, |  | 
| 1210               }, |  | 
| 1211             }, |  | 
| 1212           }, |  | 
| 1213         }], |  | 
| 1214         ['toolkit_views==1', { |  | 
| 1215           'dependencies': [ |  | 
| 1216             '../views/views.gyp:views', |  | 
| 1217           ], |  | 
| 1218         }], |  | 
| 1219       ], |  | 
| 1220     }, |  | 
| 1221     { |  | 
| 1222       'target_name': 'unit_tests', | 1042       'target_name': 'unit_tests', | 
| 1223       'type': 'executable', | 1043       'type': 'executable', | 
| 1224       'dependencies': [ | 1044       'dependencies': [ | 
| 1225         # unit tests should only depend on | 1045         # unit tests should only depend on | 
| 1226         # 1) everything that the chrome binaries depend on: | 1046         # 1) everything that the chrome binaries depend on: | 
| 1227         '<@(chromium_dependencies)', | 1047         '<@(chromium_dependencies)', | 
| 1228         # 2) test-specific support libraries: | 1048         # 2) test-specific support libraries: | 
| 1229         '../gpu/gpu.gyp:gpu_unittest_utils', | 1049         '../gpu/gpu.gyp:gpu_unittest_utils', | 
| 1230         '../jingle/jingle.gyp:jingle_glue_test_util', | 1050         '../jingle/jingle.gyp:jingle_glue_test_util', | 
| 1231         '../media/media.gyp:media_test_support', | 1051         '../media/media.gyp:media_test_support', | 
| (...skipping 2566 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3798           ], | 3618           ], | 
| 3799           'sources': [ | 3619           'sources': [ | 
| 3800             'test/security_tests/ipc_security_tests.cc', | 3620             'test/security_tests/ipc_security_tests.cc', | 
| 3801             'test/security_tests/ipc_security_tests.h', | 3621             'test/security_tests/ipc_security_tests.h', | 
| 3802             'test/security_tests/security_tests.cc', | 3622             'test/security_tests/security_tests.cc', | 
| 3803             '../content/common/injection_test_dll.h', | 3623             '../content/common/injection_test_dll.h', | 
| 3804             '../sandbox/tests/validation_tests/commands.cc', | 3624             '../sandbox/tests/validation_tests/commands.cc', | 
| 3805             '../sandbox/tests/validation_tests/commands.h', | 3625             '../sandbox/tests/validation_tests/commands.h', | 
| 3806           ], | 3626           ], | 
| 3807         }, | 3627         }, | 
| 3808         # Extra 64-bit DLL for windows |  | 
| 3809         { |  | 
| 3810           'target_name': 'nacl_security_tests64', |  | 
| 3811           'type': 'shared_library', |  | 
| 3812           'configurations': { |  | 
| 3813             'Common_Base': { |  | 
| 3814               'msvs_target_platform': 'x64', |  | 
| 3815             }, |  | 
| 3816           }, |  | 
| 3817           'include_dirs': [ |  | 
| 3818             '..' |  | 
| 3819           ], |  | 
| 3820           'sources': [ |  | 
| 3821             '../sandbox/tests/validation_tests/commands.cc', |  | 
| 3822             '../sandbox/tests/validation_tests/commands.h', |  | 
| 3823             '../sandbox/tests/common/controller.h', |  | 
| 3824             'test/nacl_security_tests/nacl_security_tests_win.h', |  | 
| 3825             'test/nacl_security_tests/nacl_security_tests_win.cc', |  | 
| 3826           ], |  | 
| 3827         }, |  | 
| 3828       ]},  # 'targets' | 3628       ]},  # 'targets' | 
| 3829     ],  # OS=="win" | 3629     ],  # OS=="win" | 
| 3830     # If you change this condition, make sure you also change it in all.gyp | 3630     # If you change this condition, make sure you also change it in all.gyp | 
| 3831     # for the chromium_builder_qa target. | 3631     # for the chromium_builder_qa target. | 
| 3832     ['OS == "mac" or OS == "win" or (os_posix == 1 and target_arch == python_arc
      h)', { | 3632     ['OS == "mac" or OS == "win" or (os_posix == 1 and target_arch == python_arc
      h)', { | 
| 3833       'targets': [ | 3633       'targets': [ | 
| 3834         { | 3634         { | 
| 3835           # Documentation: http://dev.chromium.org/developers/testing/pyauto | 3635           # Documentation: http://dev.chromium.org/developers/testing/pyauto | 
| 3836           'target_name': 'pyautolib', | 3636           'target_name': 'pyautolib', | 
| 3837           'type': 'loadable_module', | 3637           'type': 'loadable_module', | 
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4123               # Use outputs of this action as inputs for the main target build. | 3923               # Use outputs of this action as inputs for the main target build. | 
| 4124               # Seems as a misnomer but makes this happy on Linux (scons). | 3924               # Seems as a misnomer but makes this happy on Linux (scons). | 
| 4125               'process_outputs_as_sources': 1, | 3925               'process_outputs_as_sources': 1, | 
| 4126             }, | 3926             }, | 
| 4127           ],  # 'actions' | 3927           ],  # 'actions' | 
| 4128         }, | 3928         }, | 
| 4129       ] | 3929       ] | 
| 4130     }],  # 'coverage!=0' | 3930     }],  # 'coverage!=0' | 
| 4131   ],  # 'conditions' | 3931   ],  # 'conditions' | 
| 4132 } | 3932 } | 
| OLD | NEW | 
|---|