| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//mojo/mojo_application_package.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 8 | 8 |
| 9 mojo_application_package("browser") { | 9 mojo_native_application("browser") { |
| 10 sources = [ | 10 sources = [ |
| 11 "main.cc", | 11 "main.cc", |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 deps = [ | 14 deps = [ |
| 15 ":lib", | 15 ":lib", |
| 16 "//mandoline/services/navigation/public/interfaces", | 16 "//mandoline/services/navigation/public/interfaces", |
| 17 "//mojo/application/public/cpp", | 17 "//mojo/application/public/cpp", |
| 18 "//third_party/icu:icudata", | 18 "//third_party/icu:icudata", |
| 19 "//ui/resources:ui_test_pak", | 19 "//ui/resources:ui_test_pak", |
| 20 ] | 20 ] |
| 21 |
| 21 resources = [ | 22 resources = [ |
| 22 "$root_out_dir/icudtl.dat", | 23 "$root_out_dir/icudtl.dat", |
| 23 "$root_out_dir/ui_test.pak", | 24 "$root_out_dir/ui_test.pak", |
| 24 ] | 25 ] |
| 25 } | 26 } |
| 26 | 27 |
| 27 source_set("lib") { | 28 source_set("lib") { |
| 28 sources = [ | 29 sources = [ |
| 29 "browser.cc", | 30 "browser.cc", |
| 30 "browser.h", | 31 "browser.h", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 53 ] | 54 ] |
| 54 deps += [ "//mandoline/ui/aura" ] | 55 deps += [ "//mandoline/ui/aura" ] |
| 55 } else { | 56 } else { |
| 56 assert(is_android) | 57 assert(is_android) |
| 57 sources += [ | 58 sources += [ |
| 58 "android/android_ui.cc", | 59 "android/android_ui.cc", |
| 59 "android/android_ui.h", | 60 "android/android_ui.h", |
| 60 ] | 61 ] |
| 61 } | 62 } |
| 62 } | 63 } |
| OLD | NEW |