Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
| 10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 39 | 39 |
| 40 if (toolkit_views) { | 40 if (toolkit_views) { |
| 41 deps += [ "//ui/views/resources" ] | 41 deps += [ "//ui/views/resources" ] |
| 42 sources += | 42 sources += |
| 43 [ "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak" ] | 43 [ "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak" ] |
| 44 } | 44 } |
| 45 | 45 |
| 46 output = "$root_out_dir/blimp_engine.pak" | 46 output = "$root_out_dir/blimp_engine.pak" |
| 47 } | 47 } |
| 48 | 48 |
| 49 # Config for defining compile-time official build flags. | |
| 50 config("official_build_config") { | |
| 51 visibility = [ ":*" ] # Only targets in this file can depend on this. | |
| 52 defines = [] | |
|
Kevin M
2016/05/18 16:46:42
Why are we zapping the defines? Wouldn't this thro
marcinjb
2016/05/18 17:39:24
Obsolete, however if I didn't have this here, I'd
| |
| 53 if (is_official_build) { | |
| 54 defines += [ "OFFICIAL_BLIMP_BUILD" ] | |
|
Kevin M
2016/05/18 16:46:42
Dumb question, but why can't we use the OFFICIAL_B
marcinjb
2016/05/18 17:39:24
Because I was dumb and missed OFFICIAL_BUILD in fe
| |
| 55 } | |
| 56 } | |
| 57 | |
| 49 source_set("app") { | 58 source_set("app") { |
| 50 sources = [ | 59 sources = [ |
| 51 "app/blimp_browser_main_parts.cc", | 60 "app/blimp_browser_main_parts.cc", |
| 52 "app/blimp_browser_main_parts.h", | 61 "app/blimp_browser_main_parts.h", |
| 53 "app/blimp_content_browser_client.cc", | 62 "app/blimp_content_browser_client.cc", |
| 54 "app/blimp_content_browser_client.h", | 63 "app/blimp_content_browser_client.h", |
| 55 "app/blimp_content_main_delegate.cc", | 64 "app/blimp_content_main_delegate.cc", |
| 56 "app/blimp_content_main_delegate.h", | 65 "app/blimp_content_main_delegate.h", |
| 57 ] | 66 ] |
| 58 | 67 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 211 | 220 |
| 212 deps = [ | 221 deps = [ |
| 213 "//base", | 222 "//base", |
| 214 "//components/crash/content/app:app_breakpad_mac_win_to_be_deleted", | 223 "//components/crash/content/app:app_breakpad_mac_win_to_be_deleted", |
| 215 "//components/crash/content/app:lib", | 224 "//components/crash/content/app:lib", |
| 216 "//components/crash/core/common", | 225 "//components/crash/core/common", |
| 217 "//components/version_info", | 226 "//components/version_info", |
| 218 "//components/version_info:generate_version_info", | 227 "//components/version_info:generate_version_info", |
| 219 "//content/public/common", | 228 "//content/public/common", |
| 220 ] | 229 ] |
| 230 | |
| 231 configs += [ ":official_build_config" ] | |
| 221 } | 232 } |
| 222 | 233 |
| 223 source_set("common") { | 234 source_set("common") { |
| 224 sources = [ | 235 sources = [ |
| 225 "common/blimp_browser_context.cc", | 236 "common/blimp_browser_context.cc", |
| 226 "common/blimp_browser_context.h", | 237 "common/blimp_browser_context.h", |
| 227 "common/blimp_content_client.cc", | 238 "common/blimp_content_client.cc", |
| 228 "common/blimp_content_client.h", | 239 "common/blimp_content_client.h", |
| 229 ] | 240 ] |
| 230 | 241 |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 561 rebase_path(symbol_file, root_build_dir), | 572 rebase_path(symbol_file, root_build_dir), |
| 562 ] | 573 ] |
| 563 | 574 |
| 564 deps = [ | 575 deps = [ |
| 565 ":blimp_engine_app", | 576 ":blimp_engine_app", |
| 566 dump_syms_label, | 577 dump_syms_label, |
| 567 ] | 578 ] |
| 568 } | 579 } |
| 569 } | 580 } |
| 570 } | 581 } |
| OLD | NEW |