OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'app_shell_resources', | 11 'target_name': 'app_shell_resources', |
12 'type': 'none', | 12 'type': 'none', |
13 'actions': [ | 13 'actions': [ |
14 { | 14 { |
15 'action_name': 'generate_app_shell_resources', | 15 'action_name': 'generate_app_shell_resources', |
16 'variables': { | 16 'variables': { |
17 'grit_grd_file': 'app_shell_resources.grd', | 17 'grit_grd_file': 'app_shell_resources.grd', |
18 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/apps/shell', | 18 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/shell', |
19 }, | 19 }, |
20 'includes': [ '../../build/grit_action.gypi' ], | 20 'includes': [ '../../build/grit_action.gypi' ], |
21 }, | 21 }, |
22 ], | 22 ], |
23 }, | 23 }, |
24 { | 24 { |
25 'target_name': 'app_shell_pak', | 25 'target_name': 'app_shell_pak', |
26 'type': 'none', | 26 'type': 'none', |
27 'dependencies': [ | 27 'dependencies': [ |
28 'app_shell_resources', | 28 'app_shell_resources', |
29 # Need extension related resources in common_resources.pak and | 29 # Need extension related resources in common_resources.pak and |
30 # renderer_resources_100_percent.pak | 30 # renderer_resources_100_percent.pak |
31 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', | 31 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
32 # Need dev-tools related resources in shell_resources.pak and | 32 # Need dev-tools related resources in shell_resources.pak and |
33 # devtools_resources.pak. | 33 # devtools_resources.pak. |
34 '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_resources', | 34 '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_resources', |
35 '<(DEPTH)/content/browser/devtools/devtools_resources.gyp:devtools_resou
rces', | 35 '<(DEPTH)/content/browser/devtools/devtools_resources.gyp:devtools_resou
rces', |
36 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', | 36 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', |
37 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', | 37 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', |
38 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 38 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
39 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', | 39 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', |
40 ], | 40 ], |
41 'actions': [ | 41 'actions': [ |
42 { | 42 { |
43 'action_name': 'repack_app_shell_pack', | 43 'action_name': 'repack_app_shell_pack', |
44 'variables': { | 44 'variables': { |
45 'pak_inputs': [ | 45 'pak_inputs': [ |
46 '<(SHARED_INTERMEDIATE_DIR)/apps/shell/app_shell_resources.pak', | |
47 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.pak', | 46 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.pak', |
48 '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.pak', | 47 '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.pak', |
49 # TODO(jamescook): Extract the extension/app related resources | 48 # TODO(jamescook): Extract the extension/app related resources |
50 # from generated_resources_en-US.pak. | 49 # from generated_resources_en-US.pak. |
51 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.pak', | 50 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.pak', |
52 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_percent.
pak', | 51 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_percent.
pak', |
53 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', | 52 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', |
54 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc
es.pak', | 53 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc
es.pak', |
55 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', | 54 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', |
| 55 '<(SHARED_INTERMEDIATE_DIR)/extensions/shell/app_shell_resources.p
ak', |
56 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_
en-US.pak', | 56 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_
en-US.pak', |
57 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', | 57 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', |
58 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p
ak', | 58 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p
ak', |
59 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', | 59 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', |
60 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', | 60 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', |
61 ], | 61 ], |
62 'pak_output': '<(PRODUCT_DIR)/app_shell.pak', | 62 'pak_output': '<(PRODUCT_DIR)/app_shell.pak', |
63 }, | 63 }, |
64 'includes': [ '../../build/repack_action.gypi' ], | 64 'includes': [ '../../build/repack_action.gypi' ], |
65 }, | 65 }, |
66 ], | 66 ], |
67 }, | 67 }, |
68 { | 68 { |
69 'target_name': 'app_shell_lib', | 69 'target_name': 'app_shell_lib', |
70 'type': 'static_library', | 70 'type': 'static_library', |
71 'defines!': ['CONTENT_IMPLEMENTATION'], | 71 'defines!': ['CONTENT_IMPLEMENTATION'], |
72 'dependencies': [ | 72 'dependencies': [ |
73 'app_shell_pak', | 73 'app_shell_pak', |
74 '<(DEPTH)/apps/shell/common/api/api.gyp:shell_api', | |
75 '<(DEPTH)/base/base.gyp:base', | 74 '<(DEPTH)/base/base.gyp:base', |
76 '<(DEPTH)/base/base.gyp:base_prefs_test_support', | 75 '<(DEPTH)/base/base.gyp:base_prefs_test_support', |
77 '<(DEPTH)/components/components.gyp:omaha_query_params', | 76 '<(DEPTH)/components/components.gyp:omaha_query_params', |
78 '<(DEPTH)/components/components.gyp:pref_registry', | 77 '<(DEPTH)/components/components.gyp:pref_registry', |
79 '<(DEPTH)/components/components.gyp:user_prefs', | 78 '<(DEPTH)/components/components.gyp:user_prefs', |
80 '<(DEPTH)/content/content.gyp:content', | 79 '<(DEPTH)/content/content.gyp:content', |
81 '<(DEPTH)/content/content.gyp:content_gpu', | 80 '<(DEPTH)/content/content.gyp:content_gpu', |
82 '<(DEPTH)/content/content.gyp:content_ppapi_plugin', | 81 '<(DEPTH)/content/content.gyp:content_ppapi_plugin', |
83 '<(DEPTH)/content/content.gyp:content_worker', | 82 '<(DEPTH)/content/content.gyp:content_worker', |
84 '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_lib', | 83 '<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_lib', |
85 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', | 84 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', |
86 '<(DEPTH)/extensions/extensions.gyp:extensions_browser', | 85 '<(DEPTH)/extensions/extensions.gyp:extensions_browser', |
87 '<(DEPTH)/extensions/extensions.gyp:extensions_common', | 86 '<(DEPTH)/extensions/extensions.gyp:extensions_common', |
88 '<(DEPTH)/extensions/extensions.gyp:extensions_renderer', | 87 '<(DEPTH)/extensions/extensions.gyp:extensions_renderer', |
89 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', | 88 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', |
| 89 '<(DEPTH)/extensions/shell/common/api/api.gyp:shell_api', |
90 '<(DEPTH)/mojo/mojo.gyp:mojo_environment_chromium', | 90 '<(DEPTH)/mojo/mojo.gyp:mojo_environment_chromium', |
91 '<(DEPTH)/mojo/mojo.gyp:mojo_system_impl', | 91 '<(DEPTH)/mojo/mojo.gyp:mojo_system_impl', |
92 '<(DEPTH)/skia/skia.gyp:skia', | 92 '<(DEPTH)/skia/skia.gyp:skia', |
93 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', | 93 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', |
94 '<(DEPTH)/ui/wm/wm.gyp:wm', | 94 '<(DEPTH)/ui/wm/wm.gyp:wm', |
95 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 95 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
96 ], | 96 ], |
97 'include_dirs': [ | 97 'include_dirs': [ |
98 '../..', | 98 '../..', |
99 '<(SHARED_INTERMEDIATE_DIR)', | 99 '<(SHARED_INTERMEDIATE_DIR)', |
100 '<(SHARED_INTERMEDIATE_DIR)/apps/shell', | 100 '<(SHARED_INTERMEDIATE_DIR)/extensions/shell', |
101 ], | 101 ], |
102 'sources': [ | 102 'sources': [ |
103 'app/shell_main_delegate.cc', | 103 'app/shell_main_delegate.cc', |
104 'app/shell_main_delegate.h', | 104 'app/shell_main_delegate.h', |
105 'browser/api/shell/shell_api.cc', | 105 'browser/api/shell/shell_api.cc', |
106 'browser/api/shell/shell_api.h', | 106 'browser/api/shell/shell_api.h', |
107 'browser/default_shell_browser_main_delegate.cc', | 107 'browser/default_shell_browser_main_delegate.cc', |
108 'browser/default_shell_browser_main_delegate.h', | 108 'browser/default_shell_browser_main_delegate.h', |
109 'browser/default_shell_app_window_controller.cc', | 109 'browser/default_shell_app_window_controller.cc', |
110 'browser/default_shell_app_window_controller.h', | 110 'browser/default_shell_app_window_controller.h', |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 'browser/shell_browsertest.cc', | 214 'browser/shell_browsertest.cc', |
215 'test/shell_test.h', | 215 'test/shell_test.h', |
216 'test/shell_test.cc', | 216 'test/shell_test.cc', |
217 'test/shell_test_launcher_delegate.cc', | 217 'test/shell_test_launcher_delegate.cc', |
218 'test/shell_test_launcher_delegate.h', | 218 'test/shell_test_launcher_delegate.h', |
219 'test/shell_tests_main.cc', | 219 'test/shell_tests_main.cc', |
220 ], | 220 ], |
221 }, | 221 }, |
222 ], # targets | 222 ], # targets |
223 } | 223 } |
OLD | NEW |