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 '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 'gcapi_lib', |
17 'installer_util', | 18 'installer_util', |
18 '<(DEPTH)/base/base.gyp:base', | 19 '<(DEPTH)/base/base.gyp:base', |
19 '<(DEPTH)/google_update/google_update.gyp:google_update', | 20 '<(DEPTH)/google_update/google_update.gyp:google_update', |
20 ], | 21 ], |
21 'include_dirs': [ | 22 'include_dirs': [ |
22 '<(DEPTH)', | 23 '<(DEPTH)', |
23 ], | 24 ], |
24 'sources': [ | 25 'sources': [ |
25 'installer/gcapi/gcapi.cc', | |
26 'installer/gcapi/gcapi.def', | 26 'installer/gcapi/gcapi.def', |
27 'installer/gcapi/gcapi.h', | |
28 ], | 27 ], |
29 }, | 28 }, |
30 { | 29 { |
31 'target_name': 'gcapi_lib', | 30 'target_name': 'gcapi_lib', |
32 'type': 'static_library', | 31 'type': 'static_library', |
33 'dependencies': [ | 32 'dependencies': [ |
34 'installer_util', | 33 'installer_util', |
35 '<(DEPTH)/base/base.gyp:base', | 34 '<(DEPTH)/base/base.gyp:base', |
36 '<(DEPTH)/google_update/google_update.gyp:google_update', | 35 '<(DEPTH)/google_update/google_update.gyp:google_update', |
37 ], | 36 ], |
38 'include_dirs': [ | 37 'include_dirs': [ |
39 '<(DEPTH)', | 38 '<(DEPTH)', |
40 ], | 39 ], |
41 'sources': [ | 40 'sources': [ |
42 'installer/gcapi/gcapi.cc', | 41 'installer/gcapi/gcapi.cc', |
43 'installer/gcapi/gcapi.h', | 42 'installer/gcapi/gcapi.h', |
| 43 'installer/gcapi/gcapi_reactivation.cc', |
| 44 'installer/gcapi/gcapi_reactivation.h', |
44 ], | 45 ], |
45 }, | 46 }, |
46 { | 47 { |
47 'target_name': 'gcapi_test', | 48 'target_name': 'gcapi_test', |
48 'type': 'executable', | 49 'type': 'executable', |
49 'dependencies': [ | 50 'dependencies': [ |
50 'common', | 51 'common', |
51 'gcapi_dll', | 52 'gcapi_dll', |
52 'gcapi_lib', | 53 'gcapi_lib', |
53 'installer_util', | 54 'installer_util', |
54 '<(DEPTH)/base/base.gyp:base', | 55 '<(DEPTH)/base/base.gyp:base', |
55 '<(DEPTH)/base/base.gyp:test_support_base', | 56 '<(DEPTH)/base/base.gyp:test_support_base', |
56 '<(DEPTH)/testing/gtest.gyp:gtest', | 57 '<(DEPTH)/testing/gtest.gyp:gtest', |
57 ], | 58 ], |
58 'include_dirs': [ | 59 'include_dirs': [ |
59 '<(DEPTH)', | 60 '<(DEPTH)', |
60 ], | 61 ], |
61 'sources': [ | 62 'sources': [ |
62 'installer/gcapi/gcapi_last_run_test.cc', | 63 'installer/gcapi/gcapi_last_run_test.cc', |
| 64 'installer/gcapi/gcapi_reactivation_test.cc', |
63 'installer/gcapi/gcapi_test.cc', | 65 'installer/gcapi/gcapi_test.cc', |
64 'installer/gcapi/gcapi_test.rc', | 66 'installer/gcapi/gcapi_test.rc', |
65 'installer/gcapi/resource.h', | 67 'installer/gcapi/resource.h', |
66 ], | 68 ], |
67 }, | 69 }, |
68 { | 70 { |
69 'target_name': 'installer_util_unittests', | 71 'target_name': 'installer_util_unittests', |
70 'type': 'executable', | 72 'type': 'executable', |
71 'dependencies': [ | 73 'dependencies': [ |
72 'installer_util', | 74 'installer_util', |
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 'variables': { | 938 'variables': { |
937 'branding_dir': 'app/theme/google_chrome', | 939 'branding_dir': 'app/theme/google_chrome', |
938 }, | 940 }, |
939 }, { # else branding!="Chrome" | 941 }, { # else branding!="Chrome" |
940 'variables': { | 942 'variables': { |
941 'branding_dir': 'app/theme/chromium', | 943 'branding_dir': 'app/theme/chromium', |
942 }, | 944 }, |
943 }], | 945 }], |
944 ], | 946 ], |
945 } | 947 } |
OLD | NEW |