Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: ui/shell_dialogs/BUILD.gn

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//testing/test.gni") 6 import("//testing/test.gni")
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 } 9 }
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "select_file_dialog_android.h", 56 "select_file_dialog_android.h",
57 ] 57 ]
58 deps += [ 58 deps += [
59 "//ui/android", 59 "//ui/android",
60 "//ui/android:ui_java", 60 "//ui/android:ui_java",
61 "//ui/base:ui_base_jni_headers", 61 "//ui/base:ui_base_jni_headers",
62 ] 62 ]
63 include_dirs = [ "$root_gen_dir/ui" ] 63 include_dirs = [ "$root_gen_dir/ui" ]
64 libs = [ "jnigraphics" ] 64 libs = [ "jnigraphics" ]
65 } 65 }
66
67 if (is_mac) {
68 libs = [
69 "CoreServices.framework",
70 "Foundation.framework",
71 "AppKit.framework",
72 ]
73 }
66 } 74 }
67 75
68 test("shell_dialogs_unittests") { 76 test("shell_dialogs_unittests") {
69 sources = [ 77 sources = [
70 # TODO(karandeepb) : Revisit this once gn gets mac bundle support. 78 # TODO(karandeepb) : Revisit this once gn gets mac bundle support.
71 # "select_file_dialog_mac_unittest.mm", 79 # "select_file_dialog_mac_unittest.mm",
72 "run_all_unittests.cc", 80 "run_all_unittests.cc",
73 "select_file_dialog_win_unittest.cc", 81 "select_file_dialog_win_unittest.cc",
74 ] 82 ]
75 83
76 deps = [ 84 deps = [
77 ":shell_dialogs", 85 ":shell_dialogs",
78 "//base", 86 "//base",
79 "//base/test:test_support", 87 "//base/test:test_support",
80 "//testing/gtest", 88 "//testing/gtest",
81 "//ui/base:base", 89 "//ui/base:base",
82 ] 90 ]
83 } 91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698