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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'chrome', | 8 'target_name': 'chrome', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ 'chrome_initial', ], | 10 'dependencies': [ 'chrome_initial', ], |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 }, | 181 }, |
182 ], | 182 ], |
183 }], | 183 }], |
184 # x11 build. Needed for chrome_main.cc initialization of libraries. | 184 # x11 build. Needed for chrome_main.cc initialization of libraries. |
185 ['use_x11==1', { | 185 ['use_x11==1', { |
186 'dependencies': [ | 186 'dependencies': [ |
187 '../build/linux/system.gyp:x11', | 187 '../build/linux/system.gyp:x11', |
188 '../build/linux/system.gyp:xext', | 188 '../build/linux/system.gyp:xext', |
189 ], | 189 ], |
190 }], | 190 }], |
| 191 ['enable_plugins==1', { |
| 192 'dependencies': [ |
| 193 '../pdf/pdf.gyp:pdf', |
| 194 ], |
| 195 }], |
191 ], | 196 ], |
192 'sources': [ | 197 'sources': [ |
193 'app/chrome_dll_resource.h', | 198 'app/chrome_dll_resource.h', |
194 'app/chrome_main.cc', | 199 'app/chrome_main.cc', |
195 'app/chrome_main_delegate.cc', | 200 'app/chrome_main_delegate.cc', |
196 'app/chrome_main_delegate.h', | 201 'app/chrome_main_delegate.h', |
197 ], | 202 ], |
198 'dependencies': [ | 203 'dependencies': [ |
199 # On Linux, link the dependencies (libraries) that make up actual | 204 # On Linux, link the dependencies (libraries) that make up actual |
200 # Chromium functionality directly into the executable. | 205 # Chromium functionality directly into the executable. |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 ], # postbuilds | 424 ], # postbuilds |
420 }, { # OS != "mac" | 425 }, { # OS != "mac" |
421 'conditions': [ | 426 'conditions': [ |
422 # TODO: add a: | 427 # TODO: add a: |
423 # 'product_name': 'chromium' | 428 # 'product_name': 'chromium' |
424 # whenever we convert the rest of the infrastructure | 429 # whenever we convert the rest of the infrastructure |
425 # (buildbots etc.) to understand the branding gyp define. | 430 # (buildbots etc.) to understand the branding gyp define. |
426 # NOTE: chrome/app/theme/chromium/BRANDING and | 431 # NOTE: chrome/app/theme/chromium/BRANDING and |
427 # chrome/app/theme/google_chrome/BRANDING have the short name | 432 # chrome/app/theme/google_chrome/BRANDING have the short name |
428 # "chrome" etc.; should we try to extract from there instead? | 433 # "chrome" etc.; should we try to extract from there instead? |
429 | |
430 # CrOS does this in a separate build step. | |
431 ['OS=="linux" and chromeos==0 and linux_dump_symbols==1', { | |
432 'dependencies': [ | |
433 '../pdf/pdf.gyp:pdf_linux_symbols', | |
434 ], | |
435 }], # OS=="linux" and chromeos==0 and linux_dump_symbols==1 | |
436 # Android doesn't use pdfium. | |
437 ['OS!="android"', { | |
438 'dependencies': [ | |
439 # On Mac, this is done in chrome_dll.gypi. | |
440 '../pdf/pdf.gyp:pdf', | |
441 ], | |
442 }], # OS=="android" | |
443 ], | 434 ], |
444 'dependencies': [ | 435 'dependencies': [ |
445 '../components/components.gyp:startup_metric_utils', | 436 '../components/components.gyp:startup_metric_utils', |
446 'chrome_resources.gyp:packed_extra_resources', | 437 'chrome_resources.gyp:packed_extra_resources', |
447 'chrome_resources.gyp:packed_resources', | 438 'chrome_resources.gyp:packed_resources', |
448 # Copy Flash Player files to PRODUCT_DIR if applicable. Let the .gyp | 439 # Copy Flash Player files to PRODUCT_DIR if applicable. Let the .gyp |
449 # file decide what to do on a per-OS basis; on Mac, internal plugins | 440 # file decide what to do on a per-OS basis; on Mac, internal plugins |
450 # go inside the framework, so this dependency is in chrome_dll.gypi. | 441 # go inside the framework, so this dependency is in chrome_dll.gypi. |
451 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', | 442 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', |
452 # Copy CDM files to PRODUCT_DIR if applicable. Let the .gyp | 443 # Copy CDM files to PRODUCT_DIR if applicable. Let the .gyp |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 'dependencies': [ | 682 'dependencies': [ |
692 'chrome_nacl_win64', | 683 'chrome_nacl_win64', |
693 ], | 684 ], |
694 }], | 685 }], |
695 ], | 686 ], |
696 }, | 687 }, |
697 ], | 688 ], |
698 }], | 689 }], |
699 ], | 690 ], |
700 } | 691 } |
OLD | NEW |