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