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 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | 7 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
8 # 'branding_dir' is set in the 'conditions' section at the bottom. | 8 # 'branding_dir' is set in the 'conditions' section at the bottom. |
9 }, | 9 }, |
10 'conditions': [ | 10 'conditions': [ |
11 ['OS=="win"', { | 11 ['OS=="win"', { |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'gcapi_dll', | 14 'target_name': 'gcapi_dll', |
15 'type': 'loadable_module', | 15 'type': 'loadable_module', |
16 'dependencies': [ | 16 'dependencies': [ |
| 17 'installer_util', |
| 18 '<(DEPTH)/base/base.gyp:base', |
17 '<(DEPTH)/google_update/google_update.gyp:google_update', | 19 '<(DEPTH)/google_update/google_update.gyp:google_update', |
18 ], | 20 ], |
19 'include_dirs': [ | 21 'include_dirs': [ |
20 '<(DEPTH)', | 22 '<(DEPTH)', |
21 ], | 23 ], |
22 'sources': [ | 24 'sources': [ |
23 'installer/gcapi/gcapi.cc', | 25 'installer/gcapi/gcapi.cc', |
| 26 'installer/gcapi/gcapi.def', |
24 'installer/gcapi/gcapi.h', | 27 'installer/gcapi/gcapi.h', |
25 ], | 28 ], |
26 }, | 29 }, |
27 { | 30 { |
28 'target_name': 'gcapi_lib', | 31 'target_name': 'gcapi_lib', |
29 'type': 'static_library', | 32 'type': 'static_library', |
30 'dependencies': [ | 33 'dependencies': [ |
| 34 'installer_util', |
| 35 '<(DEPTH)/base/base.gyp:base', |
31 '<(DEPTH)/google_update/google_update.gyp:google_update', | 36 '<(DEPTH)/google_update/google_update.gyp:google_update', |
32 ], | 37 ], |
33 'include_dirs': [ | 38 'include_dirs': [ |
34 '<(DEPTH)', | 39 '<(DEPTH)', |
35 ], | 40 ], |
36 'sources': [ | 41 'sources': [ |
37 'installer/gcapi/gcapi.cc', | 42 'installer/gcapi/gcapi.cc', |
38 'installer/gcapi/gcapi.h', | 43 'installer/gcapi/gcapi.h', |
39 ], | 44 ], |
40 }, | 45 }, |
41 { | 46 { |
42 'target_name': 'gcapi_test', | 47 'target_name': 'gcapi_test', |
43 'type': 'executable', | 48 'type': 'executable', |
44 'dependencies': [ | 49 'dependencies': [ |
| 50 'common', |
45 'gcapi_dll', | 51 'gcapi_dll', |
46 'gcapi_lib', | 52 'gcapi_lib', |
| 53 'installer_util', |
| 54 '<(DEPTH)/base/base.gyp:base', |
| 55 '<(DEPTH)/base/base.gyp:test_support_base', |
| 56 '<(DEPTH)/testing/gtest.gyp:gtest', |
47 ], | 57 ], |
48 'include_dirs': [ | 58 'include_dirs': [ |
49 '<(DEPTH)', | 59 '<(DEPTH)', |
50 ], | 60 ], |
51 'sources': [ | 61 'sources': [ |
| 62 'installer/gcapi/gcapi_last_run_test.cc', |
52 'installer/gcapi/gcapi_test.cc', | 63 'installer/gcapi/gcapi_test.cc', |
53 'installer/gcapi/gcapi_test.rc', | 64 'installer/gcapi/gcapi_test.rc', |
54 'installer/gcapi/resource.h', | 65 'installer/gcapi/resource.h', |
55 ], | 66 ], |
56 }, | 67 }, |
57 { | 68 { |
58 'target_name': 'installer_util_unittests', | 69 'target_name': 'installer_util_unittests', |
59 'type': 'executable', | 70 'type': 'executable', |
60 'dependencies': [ | 71 'dependencies': [ |
61 'installer_util', | 72 'installer_util', |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
923 'variables': { | 934 'variables': { |
924 'branding_dir': 'app/theme/google_chrome', | 935 'branding_dir': 'app/theme/google_chrome', |
925 }, | 936 }, |
926 }, { # else branding!="Chrome" | 937 }, { # else branding!="Chrome" |
927 'variables': { | 938 'variables': { |
928 'branding_dir': 'app/theme/chromium', | 939 'branding_dir': 'app/theme/chromium', |
929 }, | 940 }, |
930 }], | 941 }], |
931 ], | 942 ], |
932 } | 943 } |
OLD | NEW |