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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/locales.gni") | 6 import("//build/config/locales.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//chrome/chrome_repack_locales.gni") | 8 import("//chrome/chrome_repack_locales.gni") |
9 import("//chrome/version.gni") | 9 import("//chrome/version.gni") |
10 | 10 |
11 if (is_android) { | 11 if (is_android) { |
12 import("//build/config/android/rules.gni") | 12 import("//build/config/android/rules.gni") |
13 } | 13 } |
14 | 14 |
15 if (!is_android) { | 15 if (!is_android) { |
| 16 # TODO(GYP) for Windows need to the the reorder-imports step which probably |
| 17 # means adding another target and renaming this to chrome_initial like in GYP. |
| 18 executable("chrome") { |
| 19 # Because the sources list varies so significantly per-platform, generally |
| 20 # each platform lists its own files rather than relying on filtering or |
| 21 # removing unused files. |
| 22 sources = [ |
| 23 "app/chrome_exe_resource.h", |
| 24 ] |
| 25 deps = [] |
| 26 datadeps = [] |
16 | 27 |
17 # TODO(GYP) for Windows need to the the reorder-imports step which probably | 28 # TODO(GYP) mac_bundle_resources, xcode_settings |
18 # means adding another target and renaming this to chrome_initial like in GYP. | |
19 executable("chrome") { | |
20 # Because the sources list varies so significantly per-platform, generally | |
21 # each platform lists its own files rather than relying on filtering or | |
22 # removing unused files. | |
23 sources = [ | |
24 "app/chrome_exe_resource.h", | |
25 ] | |
26 deps = [] | |
27 datadeps = [] | |
28 | 29 |
29 # TODO(GYP) mac_bundle_resources, xcode_settings | 30 # TODO(GYP) order_profiling, order_text_section |
30 | 31 |
31 # TODO(GYP) order_profiling, order_text_section | 32 if (is_win) { |
| 33 sources += [ |
| 34 "app/chrome_exe_main_win.cc", |
| 35 "app/client_util.cc", |
| 36 "app/client_util.h", |
| 37 "app/signature_validator_win.cc", |
| 38 "app/signature_validator_win.h", |
| 39 "//content/app/startup_helper_win.cc", |
| 40 ] |
| 41 deps += [ "//ui/gfx" ] |
| 42 } else if (use_aura) { |
| 43 # Non-Windows aura entrypoint. |
| 44 sources += [ "app/chrome_exe_main_aura.cc" ] |
| 45 } |
32 | 46 |
33 if (is_win) { | 47 if (is_linux) { |
34 sources += [ | 48 # TODO(GYP) manpage action |
35 "app/chrome_exe_main_win.cc", | |
36 "app/client_util.cc", | |
37 "app/client_util.h", | |
38 "app/signature_validator_win.cc", | |
39 "app/signature_validator_win.h", | |
40 "//content/app/startup_helper_win.cc", | |
41 ] | |
42 deps += [ "//ui/gfx" ] | |
43 } else if (use_aura) { | |
44 # Non-Windows aura entrypoint. | |
45 sources += [ "app/chrome_exe_main_aura.cc" ] | |
46 } | |
47 | 49 |
48 if (is_linux) { | 50 sources += [ |
49 # TODO(GYP) manpage action | 51 "app/chrome_dll_resource.h", |
| 52 "app/chrome_main.cc", |
| 53 "app/chrome_main_delegate.cc", |
| 54 "app/chrome_main_delegate.h", |
| 55 ] |
50 | 56 |
51 sources += [ | 57 deps += [ |
52 "app/chrome_dll_resource.h", | 58 # On Linux, link the dependencies (libraries) that make up actual |
53 "app/chrome_main.cc", | 59 # Chromium functionality directly into the executable. |
54 "app/chrome_main_delegate.cc", | 60 ":browser_dependencies", |
55 "app/chrome_main_delegate.h", | 61 ":child_dependencies", |
56 ] | 62 "//base/allocator", |
57 | 63 |
58 deps += [ | 64 # Needed to use the master_preferences functions |
59 # On Linux, link the dependencies (libraries) that make up actual | 65 "//chrome/installer/util", |
60 # Chromium functionality directly into the executable. | 66 "//content/public/app:both", |
61 ":browser_dependencies", | 67 ] |
62 ":child_dependencies", | |
63 | 68 |
64 "//base/allocator", | 69 # Needed for chrome_main.cc initialization of libraries. |
65 # Needed to use the master_preferences functions | 70 configs += [ "//build/config/linux:pangocairo" ] |
66 "//chrome/installer/util", | |
67 "//content/public/app:both", | |
68 ] | |
69 | 71 |
70 # Needed for chrome_main.cc initialization of libraries. | 72 # TODO(GYP) ['profiling==0 and linux_disable_pie==0', { |
71 configs += [ "//build/config/linux:pangocairo" ] | 73 # 'ldflags': [ |
| 74 # '-pie', |
| 75 # ], |
| 76 #}], |
72 | 77 |
73 # TODO(GYP) ['profiling==0 and linux_disable_pie==0', { | 78 if (use_x11) { |
74 # 'ldflags': [ | 79 configs += [ |
75 # '-pie', | 80 "//build/config/linux:x11", |
76 # ], | 81 "//build/config/linux:xext", |
77 #}], | 82 ] |
| 83 } |
| 84 } |
78 | 85 |
79 if (use_x11) { | 86 if (is_mac) { |
80 configs += [ | 87 sources += [ "app/chrome_exe_main_mac.cc" ] |
81 "//build/config/linux:x11", | 88 # TODO(GYP) lots more stuff in the is_mac block. |
82 "//build/config/linux:xext", | 89 } else { # Non-Mac. |
| 90 deps += [ |
| 91 ":packed_extra_resources", |
| 92 ":packed_resources", |
| 93 |
| 94 # Copy Flash Player files to PRODUCT_DIR if applicable. Let the .gyp |
| 95 # file decide what to do on a per-OS basis; on Mac, internal plugins |
| 96 # go inside the framework, so this dependency is in chrome_dll.gypi. |
| 97 #'../third_party/adobe/flash/flash_player.gyp:flapper_binaries', TODO(G
YP) |
| 98 |
| 99 # Copy CDM files to PRODUCT_DIR if applicable. Let the .gyp |
| 100 # file decide what to do on a per-OS basis; on Mac, internal plugins |
| 101 # go inside the framework, so this dependency is in chrome_dll.gypi. |
| 102 #'../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', TOD
O(GYP) |
83 ] | 103 ] |
| 104 # TODO(GYP) some stuff from GYP including chrome_multiple_dll. |
| 105 } |
| 106 |
| 107 if (!is_mac) { |
| 108 # On Mac this is done in chrome_dll.gypi. |
| 109 datadeps += [ "//pdf" ] |
| 110 # TODO(GYP) pdf linux symbols |
84 } | 111 } |
85 } | 112 } |
86 | |
87 if (is_mac) { | |
88 sources += [ | |
89 "app/chrome_exe_main_mac.cc", | |
90 ] | |
91 # TODO(GYP) lots more stuff in the is_mac block. | |
92 } else { # Non-Mac. | |
93 deps += [ | |
94 ":packed_extra_resources", | |
95 ":packed_resources", | |
96 | |
97 # Copy Flash Player files to PRODUCT_DIR if applicable. Let the .gyp | |
98 # file decide what to do on a per-OS basis; on Mac, internal plugins | |
99 # go inside the framework, so this dependency is in chrome_dll.gypi. | |
100 #'../third_party/adobe/flash/flash_player.gyp:flapper_binaries', TODO(GYP
) | |
101 | |
102 # Copy CDM files to PRODUCT_DIR if applicable. Let the .gyp | |
103 # file decide what to do on a per-OS basis; on Mac, internal plugins | |
104 # go inside the framework, so this dependency is in chrome_dll.gypi. | |
105 #'../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', TODO(
GYP) | |
106 ] | |
107 | |
108 # TODO(GYP) some stuff from GYP including chrome_multiple_dll. | |
109 | |
110 } | |
111 | |
112 | |
113 if (!is_mac) { | |
114 # On Mac this is done in chrome_dll.gypi. | |
115 datadeps += [ "//pdf" ] | |
116 | |
117 # TODO(GYP) pdf linux symbols | |
118 } | |
119 } | |
120 | |
121 } # !is_android | 113 } # !is_android |
122 | 114 |
123 shared_library("main_dll") { | 115 shared_library("main_dll") { |
124 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 116 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
125 | 117 |
126 deps = [ | 118 deps = [ |
127 ":browser_dependencies", | 119 ":browser_dependencies", |
128 "//base/allocator", | 120 "//base/allocator", |
129 ] | 121 ] |
130 if (is_win) { | 122 if (is_win) { |
(...skipping 16 matching lines...) Expand all Loading... |
147 deps += [ | 139 deps += [ |
148 # On Windows, link the dependencies (libraries) that make up actual | 140 # On Windows, link the dependencies (libraries) that make up actual |
149 # Chromium functionality into this .dll. | 141 # Chromium functionality into this .dll. |
150 #'chrome_version_resources', TODO(GYP) | 142 #'chrome_version_resources', TODO(GYP) |
151 "//chrome/app/theme:chrome_unscaled_resources", | 143 "//chrome/app/theme:chrome_unscaled_resources", |
152 "//content/app/resources", | 144 "//content/app/resources", |
153 "//crypto", | 145 "//crypto", |
154 "//net:net_resources", | 146 "//net:net_resources", |
155 "//third_party/wtl", | 147 "//third_party/wtl", |
156 "//ui/views", | 148 "//ui/views", |
| 149 |
157 #'<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf' ] TODO(GYP) | 150 #'<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf' ] TODO(GYP) |
158 ] | 151 ] |
159 if (enable_configuration_policy) { | 152 if (enable_configuration_policy) { |
160 deps += [ "//components/policy" ] | 153 deps += [ "//components/policy" ] |
161 } | 154 } |
162 if (cpu_arch == "x86") { | 155 if (cpu_arch == "x86") { |
163 # Add a dependency to custom import library for user32 delay imports only | 156 # Add a dependency to custom import library for user32 delay imports only |
164 # in x86 builds. | 157 # in x86 builds. |
165 #deps += [ 'chrome_user32_delay_imports' ] TODO(GYP) | 158 #deps += [ 'chrome_user32_delay_imports' ] TODO(GYP) |
166 } | 159 } |
167 | 160 |
168 # TODO(GYP) incremental linking flags in debug builds | 161 # TODO(GYP) incremental linking flags in debug builds |
169 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 162 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
170 | 163 |
171 # TODO(GYP) Lots of VCLinkerTool stuff on Windows. | 164 # TODO(GYP) Lots of VCLinkerTool stuff on Windows. |
172 | 165 |
173 # TODO(GYP) chrome_pgo_phase on Windows. | 166 # TODO(GYP) chrome_pgo_phase on Windows. |
174 } | 167 } |
175 | 168 |
176 if (use_aura) { | 169 if (use_aura) { |
177 deps += [ "//ui/compositor" ] | 170 deps += [ "//ui/compositor" ] |
178 } | 171 } |
179 | 172 |
180 #TODO(GYP) add chrome_multiple_dll support | 173 #TODO(GYP) add chrome_multiple_dll support |
181 if (false) { #chrome_multiple_dll) { | 174 if (false) { #chrome_multiple_dll) { |
182 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] | 175 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
183 deps += [ | 176 deps += [ "//content/public/app:browser" ] |
184 "//content/public/app:browser", | |
185 ] | |
186 } else { | 177 } else { |
187 deps += [ | 178 deps += [ |
188 ":child_dependencies", | 179 ":child_dependencies", |
189 "//content/public/app:both", | 180 "//content/public/app:both", |
190 ] | 181 ] |
191 } | 182 } |
192 | 183 |
193 if (cld_version == 0 || cld_version == 2) { | 184 if (cld_version == 0 || cld_version == 2) { |
194 deps += [ | 185 deps += [ "//third_party/cld_2" ] |
195 "//third_party/cld_2", | |
196 ] | |
197 } | 186 } |
198 | 187 |
199 if (is_mac) { | 188 if (is_mac) { |
200 #['OS=="mac" and component!="shared_library"', { TODO(GYP) | 189 #['OS=="mac" and component!="shared_library"', { TODO(GYP) |
201 # 'includes': [ 'chrome_dll_bundle.gypi' ], | 190 # 'includes': [ 'chrome_dll_bundle.gypi' ], |
202 #}], | 191 #}], |
203 | |
204 # TODO(GYP) Lots of other stuff in the OS=="mac" block. | 192 # TODO(GYP) Lots of other stuff in the OS=="mac" block. |
205 } | 193 } |
206 } | 194 } |
207 | 195 |
208 # GYP version: chromium_browser_dependencies variable in chrome.gyp | 196 # GYP version: chromium_browser_dependencies variable in chrome.gyp |
209 group("browser_dependencies") { | 197 group("browser_dependencies") { |
210 deps = [ | 198 deps = [ |
211 "//chrome/browser", | 199 "//chrome/browser", |
212 "//chrome/common", | 200 "//chrome/common", |
213 "//sync", | 201 "//sync", |
214 ] | 202 ] |
215 if (!is_ios) { | 203 if (!is_ios) { |
216 deps += [ | 204 deps += [ "//ppapi:ppapi_host" ] |
217 "//ppapi:ppapi_host", | |
218 ] | |
219 } | 205 } |
220 | 206 |
221 if (enable_basic_printing || enable_print_preview) { | 207 if (enable_basic_printing || enable_print_preview) { |
222 deps += [ "//printing" ] | 208 deps += [ "//printing" ] |
223 if (enable_print_preview) { | 209 if (enable_print_preview) { |
224 deps += [ "//chrome/service" ] | 210 deps += [ "//chrome/service" ] |
225 } | 211 } |
226 } | 212 } |
227 } | 213 } |
228 | 214 |
229 # GYP version: chromium_child_dependencies variable in chrome.gyp | 215 # GYP version: chromium_child_dependencies variable in chrome.gyp |
230 group("child_dependencies") { | 216 group("child_dependencies") { |
231 deps = [ | 217 deps = [ |
232 "//chrome/common", | 218 "//chrome/common", |
233 "//sync", | 219 "//sync", |
234 ] | 220 ] |
235 if (!is_ios) { | 221 if (!is_ios) { |
236 deps += [ | 222 deps += [ |
237 "//chrome/browser/devtools", | 223 "//chrome/browser/devtools", |
238 "//chrome/plugin", | 224 "//chrome/plugin", |
239 "//chrome/renderer", | 225 "//chrome/renderer", |
240 "//chrome/utility", | 226 "//chrome/utility", |
241 "//content/public/child", | 227 "//content/public/child", |
242 "//third_party/WebKit/public:blink_devtools_frontend_resources", | 228 "//third_party/WebKit/public:blink_devtools_frontend_resources", |
243 ] | 229 ] |
244 } | 230 } |
245 if (cld_version == 0 || cld_version == 2) { | 231 if (cld_version == 0 || cld_version == 2) { |
246 deps += [ | 232 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
247 "//third_party/cld_2:cld2_platform_impl", | |
248 ] | |
249 } | 233 } |
250 } | 234 } |
251 | 235 |
252 if (is_win) { | 236 if (is_win) { |
253 # TODO(brettw) this duplicates "//chrome/common:version" which applies to | 237 # TODO(brettw) this duplicates "//chrome/common:version" which applies to |
254 # Linux. | 238 # Linux. |
255 process_version("version_header") { | 239 process_version("version_header") { |
256 # TODO(brettW) this should have more reduced visibility, but chrome/browser | 240 # TODO(brettW) this should have more reduced visibility, but chrome/browser |
257 # currently depends on this. | 241 # currently depends on this. |
258 #visibility = [ ":*" ] | 242 #visibility = [ ":*" ] |
259 source = "version.h.in" | 243 source = "version.h.in" |
| 244 |
260 # TODO(brettw) this should move to $target_gen_dir/version.h and | 245 # TODO(brettw) this should move to $target_gen_dir/version.h and |
261 # source files including it should reference it via "chrome/version.h" | 246 # source files including it should reference it via "chrome/version.h" |
262 output = "$root_gen_dir/version.h" | 247 output = "$root_gen_dir/version.h" |
263 } | 248 } |
264 } | 249 } |
265 | 250 |
266 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 251 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
267 group("resources") { | 252 group("resources") { |
268 deps = [ | 253 deps = [ |
269 # Note: GYP lists some dependencies in addition to these actions. However, | 254 # Note: GYP lists some dependencies in addition to these actions. However, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 template("chrome_repack_percent") { | 444 template("chrome_repack_percent") { |
460 percent = invoker.percent | 445 percent = invoker.percent |
461 | 446 |
462 repack_name = "${target_name}_repack" | 447 repack_name = "${target_name}_repack" |
463 repack_output_file = "$root_gen_dir/repack/chrome_${percent}_percent.pak" | 448 repack_output_file = "$root_gen_dir/repack/chrome_${percent}_percent.pak" |
464 | 449 |
465 copy_name = target_name | 450 copy_name = target_name |
466 | 451 |
467 repack(repack_name) { | 452 repack(repack_name) { |
468 visibility = [ ":$copy_name" ] | 453 visibility = [ ":$copy_name" ] |
| 454 |
469 # All sources should also have deps for completeness. | 455 # All sources should also have deps for completeness. |
470 sources = [ | 456 sources = [ |
471 "$root_gen_dir/components/components_resources_${percent}_percent.pak", | 457 "$root_gen_dir/components/components_resources_${percent}_percent.pak", |
472 "$root_gen_dir/ui/resources/ui_resources_${percent}_percent.pak", | 458 "$root_gen_dir/ui/resources/ui_resources_${percent}_percent.pak", |
473 "$root_gen_dir/chrome/renderer_resources_${percent}_percent.pak", | 459 "$root_gen_dir/chrome/renderer_resources_${percent}_percent.pak", |
474 "$root_gen_dir/chrome/theme_resources_${percent}_percent.pak", | 460 "$root_gen_dir/chrome/theme_resources_${percent}_percent.pak", |
475 ] | 461 ] |
476 | 462 |
477 deps = [ | 463 deps = [ |
478 "//chrome/app/theme:theme_resources", | 464 "//chrome/app/theme:theme_resources", |
479 "//chrome/renderer:resources", | 465 "//chrome/renderer:resources", |
480 "//components/strings", | 466 "//components/strings", |
481 "//net:net_resources", | 467 "//net:net_resources", |
482 ] | 468 ] |
483 | 469 |
484 if (!is_ios) { | 470 if (!is_ios) { |
485 sources += [ | 471 sources += [ "$root_gen_dir/content/app/resources/content_resources_${perc
ent}_percent.pak" ] |
486 "$root_gen_dir/content/app/resources/content_resources_${percent}_percen
t.pak", | |
487 ] | |
488 deps += [ "//content:resources" ] | 472 deps += [ "//content:resources" ] |
489 } | 473 } |
490 if (use_ash) { | 474 if (use_ash) { |
491 sources += [ "$root_gen_dir/ash/resources/ash_resources_${percent}_percent
.pak" ] | 475 sources += |
| 476 [ "$root_gen_dir/ash/resources/ash_resources_${percent}_percent.pak" ] |
492 deps += [ "//ash/resources" ] | 477 deps += [ "//ash/resources" ] |
493 } | 478 } |
494 if (use_athena) { | 479 if (use_athena) { |
495 sources += [ | 480 sources += [ "$root_gen_dir/athena/resources/athena_resources_${percent}_p
ercent.pak" ] |
496 "$root_gen_dir/athena/resources/athena_resources_${percent}_percent.pak"
, | |
497 ] | |
498 deps += [ "//athena/resources" ] | 481 deps += [ "//athena/resources" ] |
499 } | 482 } |
500 if (is_chromeos) { | 483 if (is_chromeos) { |
501 sources += [ | 484 sources += [ "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_${
percent}_percent.pak" ] |
502 "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_${percent}_pe
rcent.pak", | |
503 ] | |
504 deps += [ "//ui/chromeos/resources" ] | 485 deps += [ "//ui/chromeos/resources" ] |
505 } | 486 } |
506 if (enable_extensions) { | 487 if (enable_extensions) { |
507 sources += [ | 488 sources += [ "$root_gen_dir/extensions/extensions_browser_resources_${perc
ent}_percent.pak" ] |
508 "$root_gen_dir/extensions/extensions_browser_resources_${percent}_percen
t.pak", | |
509 ] | |
510 } | 489 } |
511 | 490 |
512 output = repack_output_file | 491 output = repack_output_file |
513 } | 492 } |
514 | 493 |
515 copy(copy_name) { | 494 copy(copy_name) { |
516 visibility = [ ":*" ] | 495 visibility = [ ":*" ] |
517 deps = [ ":$repack_name" ] | 496 deps = [ |
518 sources = [ repack_output_file ] | 497 ":$repack_name", |
519 outputs = [ "$root_build_dir/chrome_${percent}_percent.pak" ] | 498 ] |
| 499 sources = [ |
| 500 repack_output_file, |
| 501 ] |
| 502 outputs = [ |
| 503 "$root_build_dir/chrome_${percent}_percent.pak", |
| 504 ] |
520 } | 505 } |
521 } | 506 } |
522 | 507 |
523 chrome_repack_percent("repack_chrome_100_percent") { | 508 chrome_repack_percent("repack_chrome_100_percent") { |
524 percent = "100" | 509 percent = "100" |
525 } | 510 } |
526 | 511 |
527 if (enable_hidpi) { | 512 if (enable_hidpi) { |
528 chrome_repack_percent("repack_chrome_200_percent") { | 513 chrome_repack_percent("repack_chrome_200_percent") { |
529 percent = "200" | 514 percent = "200" |
530 } | 515 } |
531 } | 516 } |
532 | 517 |
533 # GYP version: chrome/chrome_resources.gyp:chrome_strings | 518 # GYP version: chrome/chrome_resources.gyp:chrome_strings |
534 group("strings") { | 519 group("strings") { |
535 deps = [ | 520 deps = [ |
536 "//chrome/app:chromium_strings", | 521 "//chrome/app:chromium_strings", |
537 "//chrome/app:generated_resources", | 522 "//chrome/app:generated_resources", |
538 "//chrome/app:google_chrome_strings", | 523 "//chrome/app:google_chrome_strings", |
539 "//chrome/app/resources:locale_settings", | 524 "//chrome/app/resources:locale_settings", |
540 ] | 525 ] |
541 } | 526 } |
542 | 527 |
543 if (is_android) { | 528 if (is_android) { |
| 529 # GYP: //chrome/chrome.gyp:content_setting_java |
| 530 java_cpp_enum("content_setting_javagen") { |
| 531 sources = [ |
| 532 "../components/content_settings/core/common/content_settings.h", |
| 533 ] |
| 534 outputs = [ |
| 535 "org/chromium/chrome/browser/ContentSetting.java", |
| 536 ] |
| 537 } |
544 | 538 |
545 # GYP: //chrome/chrome.gyp:content_setting_java | 539 # GYP: //chrome/chrome.gyp:content_settings_type_java |
546 java_cpp_enum("content_setting_javagen") { | 540 java_cpp_enum("content_settings_type_javagen") { |
547 sources = [ | 541 sources = [ |
548 "../components/content_settings/core/common/content_settings.h" | 542 "../components/content_settings/core/common/content_settings_types.h", |
549 ] | 543 ] |
550 outputs = [ | 544 outputs = [ |
551 "org/chromium/chrome/browser/ContentSetting.java", | 545 "org/chromium/chrome/browser/ContentSettingsType.java", |
552 ] | 546 ] |
| 547 } |
| 548 |
| 549 # GYP: //chrome/chrome.gyp:page_info_connection_type_java |
| 550 java_cpp_enum("page_info_connection_type_javagen") { |
| 551 sources = [ |
| 552 "browser/ui/android/website_settings_popup_android.h", |
| 553 ] |
| 554 outputs = [ |
| 555 "org/chromium/chrome/browser/PageInfoConnectionType.java", |
| 556 ] |
| 557 } |
| 558 |
| 559 # GYP: //chrome/chrome_android.gypi:chrome_android_core |
| 560 static_library("chrome_android_core") { |
| 561 sources = [ |
| 562 "app/android/chrome_android_initializer.cc", |
| 563 "app/android/chrome_android_initializer.h", |
| 564 "app/android/chrome_main_delegate_android.cc", |
| 565 "app/android/chrome_main_delegate_android.h", |
| 566 "app/chrome_main_delegate.cc", |
| 567 "app/chrome_main_delegate.h", |
| 568 ] |
| 569 |
| 570 include_dirs = [ android_ndk_include_dir ] |
| 571 |
| 572 libs = [ |
| 573 "android", |
| 574 "jnigraphics", |
| 575 ] |
| 576 |
| 577 deps = [ |
| 578 "//chrome/browser", |
| 579 "//chrome/browser/ui", |
| 580 "//chrome/plugin", |
| 581 "//chrome/renderer", |
| 582 "//chrome/utility", |
| 583 "//components/enhanced_bookmarks", |
| 584 "//content/public/app:browser", |
| 585 ] |
| 586 } |
553 } | 587 } |
554 | |
555 # GYP: //chrome/chrome.gyp:content_settings_type_java | |
556 java_cpp_enum("content_settings_type_javagen") { | |
557 sources = [ | |
558 "../components/content_settings/core/common/content_settings_types.h" | |
559 ] | |
560 outputs = [ | |
561 "org/chromium/chrome/browser/ContentSettingsType.java", | |
562 ] | |
563 } | |
564 | |
565 # GYP: //chrome/chrome.gyp:page_info_connection_type_java | |
566 java_cpp_enum("page_info_connection_type_javagen") { | |
567 sources = [ | |
568 "browser/ui/android/website_settings_popup_android.h" | |
569 ] | |
570 outputs = [ | |
571 "org/chromium/chrome/browser/PageInfoConnectionType.java", | |
572 ] | |
573 } | |
574 | |
575 # GYP: //chrome/chrome_android.gypi:chrome_android_core | |
576 static_library("chrome_android_core") { | |
577 sources = [ | |
578 "app/android/chrome_android_initializer.cc", | |
579 "app/android/chrome_android_initializer.h", | |
580 "app/android/chrome_main_delegate_android.cc", | |
581 "app/android/chrome_main_delegate_android.h", | |
582 "app/chrome_main_delegate.cc", | |
583 "app/chrome_main_delegate.h", | |
584 ] | |
585 | |
586 include_dirs = [ | |
587 android_ndk_include_dir, | |
588 ] | |
589 | |
590 libs = [ | |
591 "android", | |
592 "jnigraphics", | |
593 ] | |
594 | |
595 deps = [ | |
596 "//chrome/browser", | |
597 "//chrome/browser/ui", | |
598 "//chrome/plugin", | |
599 "//chrome/renderer", | |
600 "//chrome/utility", | |
601 "//components/enhanced_bookmarks", | |
602 "//content/public/app:browser", | |
603 ] | |
604 } | |
605 | |
606 } | |
OLD | NEW |